Skip to content

Commit 40be664

Browse files
committed
Travis update: Dec 2022 (Build 708)
[skip ci]
1 parent 1da002c commit 40be664

6 files changed

Lines changed: 9 additions & 96 deletions

File tree

docs/SMS.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**text** | **str** | Text content of the SMS |
88
**sender** | **str** | Phone number or alphanumeric sender name | [optional]
9-
**validity** | **int** | 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]
10-
**ttl** | **int** | 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]
9+
**validity** | **int** | After how many minutes this channel is considered as failed and the next channel is attempted | [optional]
1110
**autoconvert** | **str** | 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]
1211
**udh** | **str** | hex-encoded string containing SMS UDH | [optional]
1312
**channel** | **str** | The channel used to deliver the message | [optional] [default to 'sms']

docs/Viber.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ Viber message content
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**sender** | **str** | Phone number or alphanumeric sender name | [optional]
8-
**validity** | **int** | 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]
9-
**ttl** | **int** | 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]
8+
**validity** | **int** | After how many minutes this channel is considered as failed and the next channel is attempted | [optional]
109
**text** | **str** | Plaintext content for Viber | [optional]
1110
**image_url** | **str** | URL for the embedded image Valid combinations: 1) image_url, 2) text, image_url, button_url, button_text | [optional]
1211
**button_url** | **str** | 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
@@ -6,7 +6,6 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**sender** | **str** | Phone number or alphanumeric sender name | [optional]
88
**validity** | **int** | After how many minutes this channel is considered as failed and the next channel is attempted | [optional]
9-
**ttl** | **int** | 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]
109
**text** | [**WhatsAppText**](WhatsAppText.md) | | [optional]
1110
**image** | [**WhatsAppImage**](WhatsAppImage.md) | | [optional]
1211
**document** | [**WhatsAppDocument**](WhatsAppDocument.md) | | [optional]

messente_api/models/sms.py

Lines changed: 3 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ class SMS(object):
3737
'text': 'str',
3838
'sender': 'str',
3939
'validity': 'int',
40-
'ttl': 'int',
4140
'autoconvert': 'str',
4241
'udh': 'str',
4342
'channel': 'str'
@@ -47,13 +46,12 @@ class SMS(object):
4746
'text': 'text',
4847
'sender': 'sender',
4948
'validity': 'validity',
50-
'ttl': 'ttl',
5149
'autoconvert': 'autoconvert',
5250
'udh': 'udh',
5351
'channel': 'channel'
5452
}
5553

56-
def __init__(self, text=None, sender=None, validity=None, ttl=None, autoconvert=None, udh=None, channel='sms', local_vars_configuration=None): # noqa: E501
54+
def __init__(self, text=None, sender=None, validity=None, autoconvert=None, udh=None, channel='sms', local_vars_configuration=None): # noqa: E501
5755
"""SMS - a model defined in OpenAPI""" # noqa: E501
5856
if local_vars_configuration is None:
5957
local_vars_configuration = Configuration()
@@ -62,7 +60,6 @@ def __init__(self, text=None, sender=None, validity=None, ttl=None, autoconvert=
6260
self._text = None
6361
self._sender = None
6462
self._validity = None
65-
self._ttl = None
6663
self._autoconvert = None
6764
self._udh = None
6865
self._channel = None
@@ -73,8 +70,6 @@ def __init__(self, text=None, sender=None, validity=None, ttl=None, autoconvert=
7370
self.sender = sender
7471
if validity is not None:
7572
self.validity = validity
76-
if ttl is not None:
77-
self.ttl = ttl
7873
if autoconvert is not None:
7974
self.autoconvert = autoconvert
8075
if udh is not None:
@@ -134,7 +129,7 @@ def sender(self, sender):
134129
def validity(self):
135130
"""Gets the validity of this SMS. # noqa: E501
136131
137-
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. # noqa: E501
132+
After how many minutes this channel is considered as failed and the next channel is attempted # noqa: E501
138133
139134
:return: The validity of this SMS. # noqa: E501
140135
:rtype: int
@@ -145,37 +140,14 @@ def validity(self):
145140
def validity(self, validity):
146141
"""Sets the validity of this SMS.
147142
148-
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. # noqa: E501
143+
After how many minutes this channel is considered as failed and the next channel is attempted # noqa: E501
149144
150145
:param validity: The validity of this SMS. # noqa: E501
151146
:type validity: int
152147
"""
153148

154149
self._validity = validity
155150

156-
@property
157-
def ttl(self):
158-
"""Gets the ttl of this SMS. # noqa: E501
159-
160-
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. # noqa: E501
161-
162-
:return: The ttl of this SMS. # noqa: E501
163-
:rtype: int
164-
"""
165-
return self._ttl
166-
167-
@ttl.setter
168-
def ttl(self, ttl):
169-
"""Sets the ttl of this SMS.
170-
171-
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. # noqa: E501
172-
173-
:param ttl: The ttl of this SMS. # noqa: E501
174-
:type ttl: int
175-
"""
176-
177-
self._ttl = ttl
178-
179151
@property
180152
def autoconvert(self):
181153
"""Gets the autoconvert of this SMS. # noqa: E501

messente_api/models/viber.py

Lines changed: 3 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ class Viber(object):
3636
openapi_types = {
3737
'sender': 'str',
3838
'validity': 'int',
39-
'ttl': 'int',
4039
'text': 'str',
4140
'image_url': 'str',
4241
'button_url': 'str',
@@ -47,23 +46,21 @@ class Viber(object):
4746
attribute_map = {
4847
'sender': 'sender',
4948
'validity': 'validity',
50-
'ttl': 'ttl',
5149
'text': 'text',
5250
'image_url': 'image_url',
5351
'button_url': 'button_url',
5452
'button_text': 'button_text',
5553
'channel': 'channel'
5654
}
5755

58-
def __init__(self, sender=None, validity=None, ttl=None, text=None, image_url=None, button_url=None, button_text=None, channel='viber', local_vars_configuration=None): # noqa: E501
56+
def __init__(self, sender=None, validity=None, text=None, image_url=None, button_url=None, button_text=None, channel='viber', local_vars_configuration=None): # noqa: E501
5957
"""Viber - a model defined in OpenAPI""" # noqa: E501
6058
if local_vars_configuration is None:
6159
local_vars_configuration = Configuration()
6260
self.local_vars_configuration = local_vars_configuration
6361

6462
self._sender = None
6563
self._validity = None
66-
self._ttl = None
6764
self._text = None
6865
self._image_url = None
6966
self._button_url = None
@@ -75,8 +72,6 @@ def __init__(self, sender=None, validity=None, ttl=None, text=None, image_url=No
7572
self.sender = sender
7673
if validity is not None:
7774
self.validity = validity
78-
if ttl is not None:
79-
self.ttl = ttl
8075
if text is not None:
8176
self.text = text
8277
if image_url is not None:
@@ -115,7 +110,7 @@ def sender(self, sender):
115110
def validity(self):
116111
"""Gets the validity of this Viber. # noqa: E501
117112
118-
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. # noqa: E501
113+
After how many minutes this channel is considered as failed and the next channel is attempted # noqa: E501
119114
120115
:return: The validity of this Viber. # noqa: E501
121116
:rtype: int
@@ -126,37 +121,14 @@ def validity(self):
126121
def validity(self, validity):
127122
"""Sets the validity of this Viber.
128123
129-
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. # noqa: E501
124+
After how many minutes this channel is considered as failed and the next channel is attempted # noqa: E501
130125
131126
:param validity: The validity of this Viber. # noqa: E501
132127
:type validity: int
133128
"""
134129

135130
self._validity = validity
136131

137-
@property
138-
def ttl(self):
139-
"""Gets the ttl of this Viber. # noqa: E501
140-
141-
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. # noqa: E501
142-
143-
:return: The ttl of this Viber. # noqa: E501
144-
:rtype: int
145-
"""
146-
return self._ttl
147-
148-
@ttl.setter
149-
def ttl(self, ttl):
150-
"""Sets the ttl of this Viber.
151-
152-
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. # noqa: E501
153-
154-
:param ttl: The ttl of this Viber. # noqa: E501
155-
:type ttl: int
156-
"""
157-
158-
self._ttl = ttl
159-
160132
@property
161133
def text(self):
162134
"""Gets the text of this Viber. # noqa: E501

messente_api/models/whats_app.py

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ class WhatsApp(object):
3636
openapi_types = {
3737
'sender': 'str',
3838
'validity': 'int',
39-
'ttl': 'int',
4039
'text': 'WhatsAppText',
4140
'image': 'WhatsAppImage',
4241
'document': 'WhatsAppDocument',
@@ -47,23 +46,21 @@ class WhatsApp(object):
4746
attribute_map = {
4847
'sender': 'sender',
4948
'validity': 'validity',
50-
'ttl': 'ttl',
5149
'text': 'text',
5250
'image': 'image',
5351
'document': 'document',
5452
'audio': 'audio',
5553
'channel': 'channel'
5654
}
5755

58-
def __init__(self, sender=None, validity=None, ttl=None, text=None, image=None, document=None, audio=None, channel='whatsapp', local_vars_configuration=None): # noqa: E501
56+
def __init__(self, sender=None, validity=None, text=None, image=None, document=None, audio=None, channel='whatsapp', local_vars_configuration=None): # noqa: E501
5957
"""WhatsApp - a model defined in OpenAPI""" # noqa: E501
6058
if local_vars_configuration is None:
6159
local_vars_configuration = Configuration()
6260
self.local_vars_configuration = local_vars_configuration
6361

6462
self._sender = None
6563
self._validity = None
66-
self._ttl = None
6764
self._text = None
6865
self._image = None
6966
self._document = None
@@ -75,8 +72,6 @@ def __init__(self, sender=None, validity=None, ttl=None, text=None, image=None,
7572
self.sender = sender
7673
if validity is not None:
7774
self.validity = validity
78-
if ttl is not None:
79-
self.ttl = ttl
8075
if text is not None:
8176
self.text = text
8277
if image is not None:
@@ -134,29 +129,6 @@ def validity(self, validity):
134129

135130
self._validity = validity
136131

137-
@property
138-
def ttl(self):
139-
"""Gets the ttl of this WhatsApp. # noqa: E501
140-
141-
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. # noqa: E501
142-
143-
:return: The ttl of this WhatsApp. # noqa: E501
144-
:rtype: int
145-
"""
146-
return self._ttl
147-
148-
@ttl.setter
149-
def ttl(self, ttl):
150-
"""Sets the ttl of this WhatsApp.
151-
152-
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. # noqa: E501
153-
154-
:param ttl: The ttl of this WhatsApp. # noqa: E501
155-
:type ttl: int
156-
"""
157-
158-
self._ttl = ttl
159-
160132
@property
161133
def text(self):
162134
"""Gets the text of this WhatsApp. # noqa: E501

0 commit comments

Comments
 (0)