File tree 1 file changed +20
-1
lines changed
api/src/main/java/com/messagebird/objects
1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -11,13 +11,13 @@ public class VerifyRequest implements Serializable {
11
11
private String originator ;
12
12
private String reference ;
13
13
private MsgType type ;
14
+ private DataCodingType datacoding = DataCodingType .plain ;
14
15
private String template ;
15
16
private Integer timeout ;
16
17
private Integer tokenLength ;
17
18
private Gender voice ;
18
19
private Language language ;
19
20
20
-
21
21
public VerifyRequest (String recipient ) {
22
22
this .recipient = recipient ;
23
23
}
@@ -54,6 +54,24 @@ public void setType(MsgType type) {
54
54
this .type = type ;
55
55
}
56
56
57
+ /**
58
+ * The datacoding used by the template.
59
+ *
60
+ * @return returns plain or unicode
61
+ */
62
+ public DataCodingType getDatacoding () {
63
+ return datacoding ;
64
+ }
65
+
66
+ /**
67
+ * The datacoding used by the template.
68
+ *
69
+ * @param datacoding
70
+ */
71
+ public void setDatacoding (DataCodingType datacoding ) {
72
+ this .datacoding = datacoding ;
73
+ }
74
+
57
75
public String getTemplate () {
58
76
return template ;
59
77
}
@@ -93,4 +111,5 @@ public Language getLanguage() {
93
111
public void setLanguage (Language language ) {
94
112
this .language = language ;
95
113
}
114
+
96
115
}
You can’t perform that action at this time.
0 commit comments