Skip to content

Commit e13e7c7

Browse files
committed
Travis update: Sep 2024 (Build 796)
[skip ci]
1 parent 3b19760 commit e13e7c7

7 files changed

Lines changed: 615 additions & 6 deletions

File tree

.openapi-generator/FILES

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ docs/Model/SyncNumberLookupSuccess.md
6262
docs/Model/Telegram.md
6363
docs/Model/TextStore.md
6464
docs/Model/Viber.md
65+
docs/Model/ViberVideo.md
6566
docs/Model/WhatsApp.md
6667
docs/Model/WhatsAppComponent.md
6768
docs/Model/WhatsAppCurrency.md
@@ -133,6 +134,7 @@ lib/Model/SyncNumberLookupSuccess.php
133134
lib/Model/Telegram.php
134135
lib/Model/TextStore.php
135136
lib/Model/Viber.php
137+
lib/Model/ViberVideo.php
136138
lib/Model/WhatsApp.php
137139
lib/Model/WhatsAppComponent.php
138140
lib/Model/WhatsAppCurrency.php

docs/Model/OmnimessageMessagesInner.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
1212
**buttonUrl** | **string** | URL of the button, must be specified along with ''text'', ''button_text'' and ''image_url'' (optional) | [optional]
1313
**buttonText** | **string** | Must be specified along with ''text'', ''button_url'', ''button_text'', ''image_url'' (optional) | [optional]
1414
**channel** | **string** | The channel used to deliver the message | [optional] [default to 'telegram']
15+
**video** | [**\Messente\Api\Model\ViberVideo**](ViberVideo.md) | | [optional]
1516
**autoconvert** | **string** | 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]
1617
**udh** | **string** | hex-encoded string containing SMS UDH | [optional]
1718
**template** | [**\Messente\Api\Model\WhatsAppTemplate**](WhatsAppTemplate.md) | | [optional]

docs/Model/Viber.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@ Name | Type | Description | Notes
1212
**buttonUrl** | **string** | URL of the button, must be specified along with ''text'', ''button_text'' and ''image_url'' (optional) | [optional]
1313
**buttonText** | **string** | Must be specified along with ''text'', ''button_url'', ''button_text'', ''image_url'' (optional) | [optional]
1414
**channel** | **string** | The channel used to deliver the message | [optional] [default to 'viber']
15+
**video** | [**\Messente\Api\Model\ViberVideo**](ViberVideo.md) | | [optional]
1516

1617
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)

docs/Model/ViberVideo.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# # ViberVideo
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**url** | **string** | URL pointing to the video resource. |
8+
**thumbnail** | **string** | URL pointing to the video thumbnail resource. |
9+
**fileSize** | **int** | Size of the video file in bytes. Cannot be larger than 200MB. |
10+
**duration** | [**\Messente\Api\Model\WhatsAppParameter[]**](WhatsAppParameter.md) | Duration of the video in seconds. Cannot be longer than 600 seconds. |
11+
12+
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)

lib/Model/OmnimessageMessagesInner.php

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ class OmnimessageMessagesInner implements ModelInterface, ArrayAccess, \JsonSeri
6666
'buttonUrl' => 'string',
6767
'buttonText' => 'string',
6868
'channel' => 'string',
69+
'video' => '\Messente\Api\Model\ViberVideo',
6970
'autoconvert' => 'string',
7071
'udh' => 'string',
7172
'template' => '\Messente\Api\Model\WhatsAppTemplate',
@@ -89,6 +90,7 @@ class OmnimessageMessagesInner implements ModelInterface, ArrayAccess, \JsonSeri
8990
'buttonUrl' => null,
9091
'buttonText' => null,
9192
'channel' => null,
93+
'video' => null,
9294
'autoconvert' => null,
9395
'udh' => null,
9496
'template' => null,
@@ -110,6 +112,7 @@ class OmnimessageMessagesInner implements ModelInterface, ArrayAccess, \JsonSeri
110112
'buttonUrl' => false,
111113
'buttonText' => false,
112114
'channel' => false,
115+
'video' => false,
113116
'autoconvert' => false,
114117
'udh' => false,
115118
'template' => false,
@@ -211,6 +214,7 @@ public function isNullableSetToNull(string $property): bool
211214
'buttonUrl' => 'button_url',
212215
'buttonText' => 'button_text',
213216
'channel' => 'channel',
217+
'video' => 'video',
214218
'autoconvert' => 'autoconvert',
215219
'udh' => 'udh',
216220
'template' => 'template',
@@ -232,6 +236,7 @@ public function isNullableSetToNull(string $property): bool
232236
'buttonUrl' => 'setButtonUrl',
233237
'buttonText' => 'setButtonText',
234238
'channel' => 'setChannel',
239+
'video' => 'setVideo',
235240
'autoconvert' => 'setAutoconvert',
236241
'udh' => 'setUdh',
237242
'template' => 'setTemplate',
@@ -253,6 +258,7 @@ public function isNullableSetToNull(string $property): bool
253258
'buttonUrl' => 'getButtonUrl',
254259
'buttonText' => 'getButtonText',
255260
'channel' => 'getChannel',
261+
'video' => 'getVideo',
256262
'autoconvert' => 'getAutoconvert',
257263
'udh' => 'getUdh',
258264
'template' => 'getTemplate',
@@ -355,6 +361,7 @@ public function __construct(array $data = null)
355361
$this->setIfExists('buttonUrl', $data ?? [], null);
356362
$this->setIfExists('buttonText', $data ?? [], null);
357363
$this->setIfExists('channel', $data ?? [], 'telegram');
364+
$this->setIfExists('video', $data ?? [], null);
358365
$this->setIfExists('autoconvert', $data ?? [], null);
359366
$this->setIfExists('udh', $data ?? [], null);
360367
$this->setIfExists('template', $data ?? [], null);
@@ -651,6 +658,33 @@ public function setChannel($channel)
651658
return $this;
652659
}
653660

661+
/**
662+
* Gets video
663+
*
664+
* @return \Messente\Api\Model\ViberVideo|null
665+
*/
666+
public function getVideo()
667+
{
668+
return $this->container['video'];
669+
}
670+
671+
/**
672+
* Sets video
673+
*
674+
* @param \Messente\Api\Model\ViberVideo|null $video video
675+
*
676+
* @return self
677+
*/
678+
public function setVideo($video)
679+
{
680+
if (is_null($video)) {
681+
throw new \InvalidArgumentException('non-nullable video cannot be null');
682+
}
683+
$this->container['video'] = $video;
684+
685+
return $this;
686+
}
687+
654688
/**
655689
* Gets autoconvert
656690
*

lib/Model/Viber.php

Lines changed: 40 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ class Viber implements ModelInterface, ArrayAccess, \JsonSerializable
6666
'imageUrl' => 'string',
6767
'buttonUrl' => 'string',
6868
'buttonText' => 'string',
69-
'channel' => 'string'
69+
'channel' => 'string',
70+
'video' => '\Messente\Api\Model\ViberVideo'
7071
];
7172

7273
/**
@@ -84,7 +85,8 @@ class Viber implements ModelInterface, ArrayAccess, \JsonSerializable
8485
'imageUrl' => null,
8586
'buttonUrl' => null,
8687
'buttonText' => null,
87-
'channel' => null
88+
'channel' => null,
89+
'video' => null
8890
];
8991

9092
/**
@@ -100,7 +102,8 @@ class Viber implements ModelInterface, ArrayAccess, \JsonSerializable
100102
'imageUrl' => false,
101103
'buttonUrl' => false,
102104
'buttonText' => false,
103-
'channel' => false
105+
'channel' => false,
106+
'video' => false
104107
];
105108

106109
/**
@@ -196,7 +199,8 @@ public function isNullableSetToNull(string $property): bool
196199
'imageUrl' => 'image_url',
197200
'buttonUrl' => 'button_url',
198201
'buttonText' => 'button_text',
199-
'channel' => 'channel'
202+
'channel' => 'channel',
203+
'video' => 'video'
200204
];
201205

202206
/**
@@ -212,7 +216,8 @@ public function isNullableSetToNull(string $property): bool
212216
'imageUrl' => 'setImageUrl',
213217
'buttonUrl' => 'setButtonUrl',
214218
'buttonText' => 'setButtonText',
215-
'channel' => 'setChannel'
219+
'channel' => 'setChannel',
220+
'video' => 'setVideo'
216221
];
217222

218223
/**
@@ -228,7 +233,8 @@ public function isNullableSetToNull(string $property): bool
228233
'imageUrl' => 'getImageUrl',
229234
'buttonUrl' => 'getButtonUrl',
230235
'buttonText' => 'getButtonText',
231-
'channel' => 'getChannel'
236+
'channel' => 'getChannel',
237+
'video' => 'getVideo'
232238
];
233239

234240
/**
@@ -309,6 +315,7 @@ public function __construct(array $data = null)
309315
$this->setIfExists('buttonUrl', $data ?? [], null);
310316
$this->setIfExists('buttonText', $data ?? [], null);
311317
$this->setIfExists('channel', $data ?? [], 'viber');
318+
$this->setIfExists('video', $data ?? [], null);
312319
}
313320

314321
/**
@@ -587,6 +594,33 @@ public function setChannel($channel)
587594

588595
return $this;
589596
}
597+
598+
/**
599+
* Gets video
600+
*
601+
* @return \Messente\Api\Model\ViberVideo|null
602+
*/
603+
public function getVideo()
604+
{
605+
return $this->container['video'];
606+
}
607+
608+
/**
609+
* Sets video
610+
*
611+
* @param \Messente\Api\Model\ViberVideo|null $video video
612+
*
613+
* @return self
614+
*/
615+
public function setVideo($video)
616+
{
617+
if (is_null($video)) {
618+
throw new \InvalidArgumentException('non-nullable video cannot be null');
619+
}
620+
$this->container['video'] = $video;
621+
622+
return $this;
623+
}
590624
/**
591625
* Returns true if offset exists. False otherwise.
592626
*

0 commit comments

Comments
 (0)