Skip to content

Commit 8515e72

Browse files
committed
Travis update: Sep 2024 (Build 798)
[skip ci]
1 parent ba75a85 commit 8515e72

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

docs/ViberVideo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
| **url** | **String** | URL pointing to the video resource. | |
88
| **thumbnail** | **String** | URL pointing to the video thumbnail resource. | |
99
| **file_size** | **Integer** | Size of the video file in bytes. Cannot be larger than 200MB. | |
10-
| **duration** | [**Array<WhatsAppParameter>**](WhatsAppParameter.md) | Duration of the video in seconds. Cannot be longer than 600 seconds. | |
10+
| **duration** | **Integer** | Duration of the video in seconds. Cannot be longer than 600 seconds. | |
1111

1212
## Example
1313

lib/messente_api/models/viber_video.rb

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def self.openapi_types
4949
:'url' => :'String',
5050
:'thumbnail' => :'String',
5151
:'file_size' => :'Integer',
52-
:'duration' => :'Array<WhatsAppParameter>'
52+
:'duration' => :'Integer'
5353
}
5454
end
5555

@@ -93,9 +93,7 @@ def initialize(attributes = {})
9393
end
9494

9595
if attributes.key?(:'duration')
96-
if (value = attributes[:'duration']).is_a?(Array)
97-
self.duration = value
98-
end
96+
self.duration = attributes[:'duration']
9997
else
10098
self.duration = nil
10199
end

0 commit comments

Comments
 (0)