1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package de.kaiserpfalzedv.services.sms77.model;
19
20 import com.fasterxml.jackson.annotation.JsonInclude;
21
22 import lombok.AllArgsConstructor;
23 import lombok.EqualsAndHashCode;
24 import lombok.Getter;
25 import lombok.NoArgsConstructor;
26 import lombok.ToString;
27 import lombok.experimental.SuperBuilder;
28 import lombok.extern.jackson.Jacksonized;
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
74
75
76 @Jacksonized
77 @SuperBuilder(toBuilder = true)
78 @AllArgsConstructor
79 @NoArgsConstructor
80 @Getter
81 @ToString(onlyExplicitlyIncluded = true)
82 @EqualsAndHashCode(onlyExplicitlyIncluded = true)
83 @JsonInclude(JsonInclude.Include.NON_ABSENT)
84 public class SmsResult {
85 private String success;
86 private Double total_price;
87 private Double balance;
88 private String debug;
89 private String sms_type;
90
91
92
93
94
95
96
97 @Jacksonized
98 @SuperBuilder(toBuilder = true)
99 @AllArgsConstructor
100 @NoArgsConstructor
101 @Getter
102 @ToString(onlyExplicitlyIncluded = true)
103 @EqualsAndHashCode(onlyExplicitlyIncluded = true)
104 @JsonInclude(JsonInclude.Include.NON_ABSENT)
105 public static class MessageResult {
106 private String id;
107 private String sender;
108 private String recipient;
109 private String text;
110 private String encoding;
111 private String label;
112 private Integer parts;
113 private String udh;
114 private boolean is_binary;
115 private Double price;
116 private boolean success;
117 private Integer error;
118 private String error_text;
119 }
120 }