package com.dji.sdk.mqtt.requests; import com.dji.sdk.mqtt.CommonTopicRequest; /** * @author sean * @version 1.7 * @date 2023/5/24 */ public class TopicRequestsRequest extends CommonTopicRequest { private String method; private String gateway; public TopicRequestsRequest() { } @Override public String toString() { return "TopicRequestsRequest{" + "method='" + method + '\'' + ", gateway='" + gateway + '\'' + ", tid='" + tid + '\'' + ", bid='" + bid + '\'' + ", timestamp=" + timestamp + ", data=" + data + '}'; } public String getTid() { return tid; } public TopicRequestsRequest setTid(String tid) { this.tid = tid; return this; } public String getBid() { return bid; } public TopicRequestsRequest setBid(String bid) { this.bid = bid; return this; } public Long getTimestamp() { return timestamp; } public TopicRequestsRequest setTimestamp(Long timestamp) { this.timestamp = timestamp; return this; } public T getData() { return data; } public TopicRequestsRequest setData(T data) { this.data = data; return this; } public String getGateway() { return gateway; } public TopicRequestsRequest setGateway(String gateway) { this.gateway = gateway; return this; } public String getMethod() { return method; } public TopicRequestsRequest setMethod(String method) { this.method = method; return this; } }