wangmengmeng
2025-04-26 96250617dbbefce55b5966c94880e2b07b6c98df
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
package com.dji.sdk.mqtt.services;
 
import com.dji.sdk.mqtt.CommonTopicResponse;
 
/**
 * Unified Topic request format
 * @author sean.zhou
 * @date 2021/11/15
 * @version 0.1
 */
public class TopicServicesResponse<T> extends CommonTopicResponse<T> {
 
    private String method;
 
    @Override
    public String toString() {
        return "TopicServicesResponse{" +
                "tid='" + tid + '\'' +
                ", bid='" + bid + '\'' +
                ", method='" + method + '\'' +
                ", data=" + data +
                ", timestamp=" + timestamp +
                '}';
    }
 
    public TopicServicesResponse() {
    }
 
    public String getTid() {
        return tid;
    }
 
    public TopicServicesResponse<T> setTid(String tid) {
        this.tid = tid;
        return this;
    }
 
    public String getBid() {
        return bid;
    }
 
    public TopicServicesResponse<T> setBid(String bid) {
        this.bid = bid;
        return this;
    }
 
    public String getMethod() {
        return method;
    }
 
    public TopicServicesResponse<T> setMethod(String method) {
        this.method = method;
        return this;
    }
 
    public T getData() {
        return data;
    }
 
    public TopicServicesResponse<T> setData(T data) {
        this.data = data;
        return this;
    }
 
    public Long getTimestamp() {
        return timestamp;
    }
 
    public TopicServicesResponse<T> setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
        return this;
    }
}