package com.priusis.client.service;

import lombok.Builder;
import lombok.Data;

import java.io.Serializable;

@Data
@Builder
public class MqttRpcDataMessage implements Serializable {

    private static final long serialVersionUID = -3133461476074777891L;

    private int requestId;
    private String method;
    private String params;

    @Override
    public String toString() {
        return "{requestId=" + requestId +
                ", method=" + method +
                ", params=" + params +
                '}';
    }
}
