hxb
2022-11-22 b3513b1713bb979d0a69c5a8c4ddcd038f184e6e
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
package com.mm.android.deviceaddmodule.openapi.data;
 
import com.google.gson.Gson;
import com.google.gson.JsonObject;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
 
public class DeviceLeadingInfoData implements Serializable {
    public DeviceLeadingInfoData.RequestData data = new DeviceLeadingInfoData.RequestData();
 
    public static class Response {
        public DeviceLeadingInfoData.ResponseData data;
        public String body;
 
        public void parseData(JsonObject json) {
            Gson gson = new Gson();
            this.data = gson.fromJson(json.toString(), DeviceLeadingInfoData.ResponseData.class);
            JsonObject jsonObject=new JsonObject();
            jsonObject.addProperty("code","0");
            jsonObject.addProperty("desc","操作成功");
            jsonObject.add("data",json);
            body=jsonObject.toString();
        }
    }
 
    public static class ResponseData implements Serializable{
        public List<DeviceLeadingInfoData.ResponseData.IntroductionsElement> introductions = new ArrayList();
        public List<DeviceLeadingInfoData.ResponseData.ImagesElement> images = new ArrayList();
        public String updateTime;
 
        public static class ImagesElement implements Serializable{
            public String imageName;
            public String imageUrl;
 
            @Override
            public String toString() {
                return "ImagesElement{" +
                        "imageName='" + imageName + '\'' +
                        ", imageUrl='" + imageUrl + '\'' +
                        '}';
            }
        }
 
        public static class IntroductionsElement implements Serializable{
            public String introductionContent;
            public String introductionName;
 
            @Override
            public String toString() {
                return "IntroductionsElement{" +
                        "introductionContent='" + introductionContent + '\'' +
                        ", introductionName='" + introductionName + '\'' +
                        '}';
            }
        }
    }
 
    public static class RequestData implements Serializable{
        public String token;
        public String deviceModelName;
 
        @Override
        public String toString() {
            return "RequestData{" +
                    "token='" + token + '\'' +
                    ", deviceModelName='" + deviceModelName + '\'' +
                    '}';
        }
    }
}