Skip to content

Commit 555700a

Browse files
committed
Travis update: Dec 2022 (Build 708)
[skip ci]
1 parent 6ffad5a commit 555700a

12 files changed

Lines changed: 13 additions & 159 deletions

File tree

api/openapi.yaml

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1948,17 +1948,10 @@ components:
19481948
description: Phone number or alphanumeric sender name
19491949
type: string
19501950
validity:
1951-
description: |-
1952-
After how many minutes this channel is considered as failed and the next channel is attempted.
1953-
Only one of "ttl" and "validity" can be used.
1951+
description: After how many minutes this channel is considered as failed
1952+
and the next channel is attempted
19541953
example: 360
19551954
type: integer
1956-
ttl:
1957-
description: |-
1958-
After how many seconds this channel is considered as failed and the next channel is attempted.
1959-
Only one of "ttl" and "validity" can be used.
1960-
example: 21600
1961-
type: integer
19621955
text:
19631956
description: Plaintext content for Viber
19641957
type: string
@@ -1994,12 +1987,6 @@ components:
19941987
considered as failed and the next channel is attempted
19951988
example: 360
19961989
type: integer
1997-
ttl:
1998-
description: |-
1999-
After how many seconds this channel is considered as failed and the next channel is attempted.
2000-
Only one of "ttl" and "validity" can be used.
2001-
example: 21600
2002-
type: integer
20031990
text:
20041991
$ref: '#/components/schemas/WhatsAppText'
20051992
image:
@@ -2058,17 +2045,10 @@ components:
20582045
description: Phone number or alphanumeric sender name
20592046
type: string
20602047
validity:
2061-
description: |-
2062-
After how many minutes this channel is considered as failed and the next channel is attempted.
2063-
Only one of "ttl" and "validity" can be used.
2048+
description: After how many minutes this channel is considered as failed
2049+
and the next channel is attempted
20642050
example: 360
20652051
type: integer
2066-
ttl:
2067-
description: |-
2068-
After how many seconds this channel is considered as failed and the next channel is attempted.
2069-
Only one of "ttl" and "validity" can be used.
2070-
example: 21600
2071-
type: integer
20722052
autoconvert:
20732053
description: "Defines how non-GSM characters will be treated:\n\n - \"\
20742054
on\" Use replacement settings from the account's [API Auto Replace settings\

docs/OmnimessageMessagesInner.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
|------------ | ------------- | ------------- | -------------|
1010
|**sender** | **String** | Phone number or alphanumeric sender name | [optional] |
1111
|**validity** | **Integer** | After how many minutes this channel is considered as failed and the next channel is attempted | [optional] |
12-
|**ttl** | **Integer** | After how many seconds this channel is considered as failed and the next channel is attempted. Only one of \"ttl\" and \"validity\" can be used. | [optional] |
1312
|**text** | **String** | Plaintext content for Telegram | |
1413
|**imageUrl** | **String** | URL for the embedded image. Mutually exclusive with \"document_url\" and \"audio_url\" | [optional] |
1514
|**buttonUrl** | **String** | URL of the button, must be specified along with ''text'', ''button_text'' and ''image_url'' (optional) | [optional] |

docs/SMS.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ SMS message content
1010
|------------ | ------------- | ------------- | -------------|
1111
|**text** | **String** | Text content of the SMS | |
1212
|**sender** | **String** | Phone number or alphanumeric sender name | [optional] |
13-
|**validity** | **Integer** | After how many minutes this channel is considered as failed and the next channel is attempted. Only one of \"ttl\" and \"validity\" can be used. | [optional] |
14-
|**ttl** | **Integer** | After how many seconds this channel is considered as failed and the next channel is attempted. Only one of \"ttl\" and \"validity\" can be used. | [optional] |
13+
|**validity** | **Integer** | After how many minutes this channel is considered as failed and the next channel is attempted | [optional] |
1514
|**autoconvert** | [**AutoconvertEnum**](#AutoconvertEnum) | Defines how non-GSM characters will be treated: - \"on\" Use replacement settings from the account's [API Auto Replace settings page](https://dashboard.messente.com/api-settings/auto-replace) (default) - \"full\" All non GSM 03.38 characters will be replaced with suitable alternatives - \"off\" Message content is not modified in any way | [optional] |
1615
|**udh** | **String** | hex-encoded string containing SMS UDH | [optional] |
1716
|**channel** | [**ChannelEnum**](#ChannelEnum) | The channel used to deliver the message | [optional] |

docs/Viber.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ Viber message content
99
| Name | Type | Description | Notes |
1010
|------------ | ------------- | ------------- | -------------|
1111
|**sender** | **String** | Phone number or alphanumeric sender name | [optional] |
12-
|**validity** | **Integer** | After how many minutes this channel is considered as failed and the next channel is attempted. Only one of \"ttl\" and \"validity\" can be used. | [optional] |
13-
|**ttl** | **Integer** | After how many seconds this channel is considered as failed and the next channel is attempted. Only one of \"ttl\" and \"validity\" can be used. | [optional] |
12+
|**validity** | **Integer** | After how many minutes this channel is considered as failed and the next channel is attempted | [optional] |
1413
|**text** | **String** | Plaintext content for Viber | [optional] |
1514
|**imageUrl** | **String** | URL for the embedded image Valid combinations: 1) image_url, 2) text, image_url, button_url, button_text | [optional] |
1615
|**buttonUrl** | **String** | URL of the button, must be specified along with ''text'', ''button_text'' and ''image_url'' (optional) | [optional] |

docs/WhatsApp.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ WhatsApp message content. Only one of \"text\", \"image\", \"document\" or \"a
1010
|------------ | ------------- | ------------- | -------------|
1111
|**sender** | **String** | Phone number or alphanumeric sender name | [optional] |
1212
|**validity** | **Integer** | After how many minutes this channel is considered as failed and the next channel is attempted | [optional] |
13-
|**ttl** | **Integer** | After how many seconds this channel is considered as failed and the next channel is attempted. Only one of \"ttl\" and \"validity\" can be used. | [optional] |
1413
|**text** | [**WhatsAppText**](WhatsAppText.md) | | [optional] |
1514
|**image** | [**WhatsAppImage**](WhatsAppImage.md) | | [optional] |
1615
|**document** | [**WhatsAppDocument**](WhatsAppDocument.md) | | [optional] |

src/main/java/com/messente/api/SMS.java

Lines changed: 3 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,6 @@ public class SMS {
6262
@SerializedName(SERIALIZED_NAME_VALIDITY)
6363
private Integer validity;
6464

65-
public static final String SERIALIZED_NAME_TTL = "ttl";
66-
@SerializedName(SERIALIZED_NAME_TTL)
67-
private Integer ttl;
68-
6965
/**
7066
* Defines how non-GSM characters will be treated: - \"on\" Use replacement settings from the account's [API Auto Replace settings page](https://dashboard.messente.com/api-settings/auto-replace) (default) - \"full\" All non GSM 03.38 characters will be replaced with suitable alternatives - \"off\" Message content is not modified in any way
7167
*/
@@ -228,11 +224,11 @@ public SMS validity(Integer validity) {
228224
}
229225

230226
/**
231-
* After how many minutes this channel is considered as failed and the next channel is attempted. Only one of \"ttl\" and \"validity\" can be used.
227+
* After how many minutes this channel is considered as failed and the next channel is attempted
232228
* @return validity
233229
**/
234230
@javax.annotation.Nullable
235-
@ApiModelProperty(example = "360", value = "After how many minutes this channel is considered as failed and the next channel is attempted. Only one of \"ttl\" and \"validity\" can be used.")
231+
@ApiModelProperty(example = "360", value = "After how many minutes this channel is considered as failed and the next channel is attempted")
236232

237233
public Integer getValidity() {
238234
return validity;
@@ -244,29 +240,6 @@ public void setValidity(Integer validity) {
244240
}
245241

246242

247-
public SMS ttl(Integer ttl) {
248-
249-
this.ttl = ttl;
250-
return this;
251-
}
252-
253-
/**
254-
* After how many seconds this channel is considered as failed and the next channel is attempted. Only one of \"ttl\" and \"validity\" can be used.
255-
* @return ttl
256-
**/
257-
@javax.annotation.Nullable
258-
@ApiModelProperty(example = "21600", value = "After how many seconds this channel is considered as failed and the next channel is attempted. Only one of \"ttl\" and \"validity\" can be used.")
259-
260-
public Integer getTtl() {
261-
return ttl;
262-
}
263-
264-
265-
public void setTtl(Integer ttl) {
266-
this.ttl = ttl;
267-
}
268-
269-
270243
public SMS autoconvert(AutoconvertEnum autoconvert) {
271244

272245
this.autoconvert = autoconvert;
@@ -349,15 +322,14 @@ public boolean equals(Object o) {
349322
return Objects.equals(this.text, SMS.text) &&
350323
Objects.equals(this.sender, SMS.sender) &&
351324
Objects.equals(this.validity, SMS.validity) &&
352-
Objects.equals(this.ttl, SMS.ttl) &&
353325
Objects.equals(this.autoconvert, SMS.autoconvert) &&
354326
Objects.equals(this.udh, SMS.udh) &&
355327
Objects.equals(this.channel, SMS.channel);
356328
}
357329

358330
@Override
359331
public int hashCode() {
360-
return Objects.hash(text, sender, validity, ttl, autoconvert, udh, channel);
332+
return Objects.hash(text, sender, validity, autoconvert, udh, channel);
361333
}
362334

363335
@Override
@@ -367,7 +339,6 @@ public String toString() {
367339
sb.append(" text: ").append(toIndentedString(text)).append("\n");
368340
sb.append(" sender: ").append(toIndentedString(sender)).append("\n");
369341
sb.append(" validity: ").append(toIndentedString(validity)).append("\n");
370-
sb.append(" ttl: ").append(toIndentedString(ttl)).append("\n");
371342
sb.append(" autoconvert: ").append(toIndentedString(autoconvert)).append("\n");
372343
sb.append(" udh: ").append(toIndentedString(udh)).append("\n");
373344
sb.append(" channel: ").append(toIndentedString(channel)).append("\n");
@@ -396,7 +367,6 @@ private String toIndentedString(Object o) {
396367
openapiFields.add("text");
397368
openapiFields.add("sender");
398369
openapiFields.add("validity");
399-
openapiFields.add("ttl");
400370
openapiFields.add("autoconvert");
401371
openapiFields.add("udh");
402372
openapiFields.add("channel");

src/main/java/com/messente/api/Viber.java

Lines changed: 3 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,6 @@ public class Viber {
5858
@SerializedName(SERIALIZED_NAME_VALIDITY)
5959
private Integer validity;
6060

61-
public static final String SERIALIZED_NAME_TTL = "ttl";
62-
@SerializedName(SERIALIZED_NAME_TTL)
63-
private Integer ttl;
64-
6561
public static final String SERIALIZED_NAME_TEXT = "text";
6662
@SerializedName(SERIALIZED_NAME_TEXT)
6763
private String text;
@@ -160,11 +156,11 @@ public Viber validity(Integer validity) {
160156
}
161157

162158
/**
163-
* After how many minutes this channel is considered as failed and the next channel is attempted. Only one of \"ttl\" and \"validity\" can be used.
159+
* After how many minutes this channel is considered as failed and the next channel is attempted
164160
* @return validity
165161
**/
166162
@javax.annotation.Nullable
167-
@ApiModelProperty(example = "360", value = "After how many minutes this channel is considered as failed and the next channel is attempted. Only one of \"ttl\" and \"validity\" can be used.")
163+
@ApiModelProperty(example = "360", value = "After how many minutes this channel is considered as failed and the next channel is attempted")
168164

169165
public Integer getValidity() {
170166
return validity;
@@ -176,29 +172,6 @@ public void setValidity(Integer validity) {
176172
}
177173

178174

179-
public Viber ttl(Integer ttl) {
180-
181-
this.ttl = ttl;
182-
return this;
183-
}
184-
185-
/**
186-
* After how many seconds this channel is considered as failed and the next channel is attempted. Only one of \"ttl\" and \"validity\" can be used.
187-
* @return ttl
188-
**/
189-
@javax.annotation.Nullable
190-
@ApiModelProperty(example = "21600", value = "After how many seconds this channel is considered as failed and the next channel is attempted. Only one of \"ttl\" and \"validity\" can be used.")
191-
192-
public Integer getTtl() {
193-
return ttl;
194-
}
195-
196-
197-
public void setTtl(Integer ttl) {
198-
this.ttl = ttl;
199-
}
200-
201-
202175
public Viber text(String text) {
203176

204177
this.text = text;
@@ -326,7 +299,6 @@ public boolean equals(Object o) {
326299
Viber viber = (Viber) o;
327300
return Objects.equals(this.sender, viber.sender) &&
328301
Objects.equals(this.validity, viber.validity) &&
329-
Objects.equals(this.ttl, viber.ttl) &&
330302
Objects.equals(this.text, viber.text) &&
331303
Objects.equals(this.imageUrl, viber.imageUrl) &&
332304
Objects.equals(this.buttonUrl, viber.buttonUrl) &&
@@ -336,7 +308,7 @@ public boolean equals(Object o) {
336308

337309
@Override
338310
public int hashCode() {
339-
return Objects.hash(sender, validity, ttl, text, imageUrl, buttonUrl, buttonText, channel);
311+
return Objects.hash(sender, validity, text, imageUrl, buttonUrl, buttonText, channel);
340312
}
341313

342314
@Override
@@ -345,7 +317,6 @@ public String toString() {
345317
sb.append("class Viber {\n");
346318
sb.append(" sender: ").append(toIndentedString(sender)).append("\n");
347319
sb.append(" validity: ").append(toIndentedString(validity)).append("\n");
348-
sb.append(" ttl: ").append(toIndentedString(ttl)).append("\n");
349320
sb.append(" text: ").append(toIndentedString(text)).append("\n");
350321
sb.append(" imageUrl: ").append(toIndentedString(imageUrl)).append("\n");
351322
sb.append(" buttonUrl: ").append(toIndentedString(buttonUrl)).append("\n");
@@ -375,7 +346,6 @@ private String toIndentedString(Object o) {
375346
openapiFields = new HashSet<String>();
376347
openapiFields.add("sender");
377348
openapiFields.add("validity");
378-
openapiFields.add("ttl");
379349
openapiFields.add("text");
380350
openapiFields.add("image_url");
381351
openapiFields.add("button_url");

src/main/java/com/messente/api/WhatsApp.java

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,6 @@ public class WhatsApp {
6262
@SerializedName(SERIALIZED_NAME_VALIDITY)
6363
private Integer validity;
6464

65-
public static final String SERIALIZED_NAME_TTL = "ttl";
66-
@SerializedName(SERIALIZED_NAME_TTL)
67-
private Integer ttl;
68-
6965
public static final String SERIALIZED_NAME_TEXT = "text";
7066
@SerializedName(SERIALIZED_NAME_TEXT)
7167
private WhatsAppText text;
@@ -180,29 +176,6 @@ public void setValidity(Integer validity) {
180176
}
181177

182178

183-
public WhatsApp ttl(Integer ttl) {
184-
185-
this.ttl = ttl;
186-
return this;
187-
}
188-
189-
/**
190-
* After how many seconds this channel is considered as failed and the next channel is attempted. Only one of \&quot;ttl\&quot; and \&quot;validity\&quot; can be used.
191-
* @return ttl
192-
**/
193-
@javax.annotation.Nullable
194-
@ApiModelProperty(example = "21600", value = "After how many seconds this channel is considered as failed and the next channel is attempted. Only one of \"ttl\" and \"validity\" can be used.")
195-
196-
public Integer getTtl() {
197-
return ttl;
198-
}
199-
200-
201-
public void setTtl(Integer ttl) {
202-
this.ttl = ttl;
203-
}
204-
205-
206179
public WhatsApp text(WhatsAppText text) {
207180

208181
this.text = text;
@@ -330,7 +303,6 @@ public boolean equals(Object o) {
330303
WhatsApp whatsApp = (WhatsApp) o;
331304
return Objects.equals(this.sender, whatsApp.sender) &&
332305
Objects.equals(this.validity, whatsApp.validity) &&
333-
Objects.equals(this.ttl, whatsApp.ttl) &&
334306
Objects.equals(this.text, whatsApp.text) &&
335307
Objects.equals(this.image, whatsApp.image) &&
336308
Objects.equals(this.document, whatsApp.document) &&
@@ -340,7 +312,7 @@ public boolean equals(Object o) {
340312

341313
@Override
342314
public int hashCode() {
343-
return Objects.hash(sender, validity, ttl, text, image, document, audio, channel);
315+
return Objects.hash(sender, validity, text, image, document, audio, channel);
344316
}
345317

346318
@Override
@@ -349,7 +321,6 @@ public String toString() {
349321
sb.append("class WhatsApp {\n");
350322
sb.append(" sender: ").append(toIndentedString(sender)).append("\n");
351323
sb.append(" validity: ").append(toIndentedString(validity)).append("\n");
352-
sb.append(" ttl: ").append(toIndentedString(ttl)).append("\n");
353324
sb.append(" text: ").append(toIndentedString(text)).append("\n");
354325
sb.append(" image: ").append(toIndentedString(image)).append("\n");
355326
sb.append(" document: ").append(toIndentedString(document)).append("\n");
@@ -379,7 +350,6 @@ private String toIndentedString(Object o) {
379350
openapiFields = new HashSet<String>();
380351
openapiFields.add("sender");
381352
openapiFields.add("validity");
382-
openapiFields.add("ttl");
383353
openapiFields.add("text");
384354
openapiFields.add("image");
385355
openapiFields.add("document");

src/test/java/com/messente/api/OmnimessageMessagesInnerTest.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,6 @@ public void validityTest() {
6262
// TODO: test validity
6363
}
6464

65-
/**
66-
* Test the property 'ttl'
67-
*/
68-
@Test
69-
public void ttlTest() {
70-
// TODO: test ttl
71-
}
72-
7365
/**
7466
* Test the property 'text'
7567
*/

src/test/java/com/messente/api/SMSTest.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,6 @@ public void validityTest() {
6363
// TODO: test validity
6464
}
6565

66-
/**
67-
* Test the property 'ttl'
68-
*/
69-
@Test
70-
public void ttlTest() {
71-
// TODO: test ttl
72-
}
73-
7466
/**
7567
* Test the property 'autoconvert'
7668
*/

0 commit comments

Comments
 (0)