late-sdk 0.0.90 → 0.0.92

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -1
  3. data/docs/ConnectApi.md +146 -4
  4. data/docs/GetYoutubePlaylists200Response.md +20 -0
  5. data/docs/GetYoutubePlaylists200ResponsePlaylistsInner.md +28 -0
  6. data/docs/InstagramPlatformData.md +6 -2
  7. data/docs/MediaItem.md +1 -1
  8. data/docs/MessagesApi.md +16 -16
  9. data/docs/{UpdateRedditSubreddits200Response.md → UpdateYoutubeDefaultPlaylist200Response.md} +2 -2
  10. data/docs/UpdateYoutubeDefaultPlaylistRequest.md +20 -0
  11. data/docs/WebhooksApi.md +4 -4
  12. data/docs/YouTubePlatformData.md +3 -1
  13. data/lib/late-sdk/api/connect_api.rb +140 -3
  14. data/lib/late-sdk/api/messages_api.rb +12 -12
  15. data/lib/late-sdk/api/webhooks_api.rb +3 -3
  16. data/lib/late-sdk/models/get_youtube_playlists200_response.rb +158 -0
  17. data/lib/late-sdk/models/get_youtube_playlists200_response_playlists_inner.rb +226 -0
  18. data/lib/late-sdk/models/instagram_platform_data.rb +25 -5
  19. data/lib/late-sdk/models/media_item.rb +1 -1
  20. data/lib/late-sdk/models/{update_reddit_subreddits200_response.rb → update_youtube_default_playlist200_response.rb} +3 -3
  21. data/lib/late-sdk/models/update_youtube_default_playlist_request.rb +173 -0
  22. data/lib/late-sdk/models/you_tube_platform_data.rb +14 -4
  23. data/lib/late-sdk/version.rb +1 -1
  24. data/lib/late-sdk.rb +4 -1
  25. data/openapi.yaml +102 -2
  26. data/spec/api/connect_api_spec.rb +26 -1
  27. data/spec/api/messages_api_spec.rb +4 -4
  28. data/spec/api/webhooks_api_spec.rb +1 -1
  29. data/spec/models/get_youtube_playlists200_response_playlists_inner_spec.rb +70 -0
  30. data/spec/models/get_youtube_playlists200_response_spec.rb +42 -0
  31. data/spec/models/instagram_platform_data_spec.rb +12 -0
  32. data/spec/models/{update_reddit_subreddits200_response_spec.rb → update_youtube_default_playlist200_response_spec.rb} +6 -6
  33. data/spec/models/update_youtube_default_playlist_request_spec.rb +42 -0
  34. data/spec/models/you_tube_platform_data_spec.rb +6 -0
  35. data/zernio-sdk-0.0.92.gem +0 -0
  36. metadata +19 -7
  37. data/zernio-sdk-0.0.90.gem +0 -0
@@ -0,0 +1,226 @@
1
+ =begin
2
+ #Zernio API
3
+
4
+ #API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
5
+
6
+ The version of the OpenAPI document: 1.0.1
7
+ Contact: support@zernio.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.19.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module Late
17
+ class GetYoutubePlaylists200ResponsePlaylistsInner < ApiModelBase
18
+ attr_accessor :id
19
+
20
+ attr_accessor :title
21
+
22
+ attr_accessor :description
23
+
24
+ attr_accessor :privacy
25
+
26
+ attr_accessor :item_count
27
+
28
+ attr_accessor :thumbnail_url
29
+
30
+ class EnumAttributeValidator
31
+ attr_reader :datatype
32
+ attr_reader :allowable_values
33
+
34
+ def initialize(datatype, allowable_values)
35
+ @allowable_values = allowable_values.map do |value|
36
+ case datatype.to_s
37
+ when /Integer/i
38
+ value.to_i
39
+ when /Float/i
40
+ value.to_f
41
+ else
42
+ value
43
+ end
44
+ end
45
+ end
46
+
47
+ def valid?(value)
48
+ !value || allowable_values.include?(value)
49
+ end
50
+ end
51
+
52
+ # Attribute mapping from ruby-style variable name to JSON key.
53
+ def self.attribute_map
54
+ {
55
+ :'id' => :'id',
56
+ :'title' => :'title',
57
+ :'description' => :'description',
58
+ :'privacy' => :'privacy',
59
+ :'item_count' => :'itemCount',
60
+ :'thumbnail_url' => :'thumbnailUrl'
61
+ }
62
+ end
63
+
64
+ # Returns attribute mapping this model knows about
65
+ def self.acceptable_attribute_map
66
+ attribute_map
67
+ end
68
+
69
+ # Returns all the JSON keys this model knows about
70
+ def self.acceptable_attributes
71
+ acceptable_attribute_map.values
72
+ end
73
+
74
+ # Attribute type mapping.
75
+ def self.openapi_types
76
+ {
77
+ :'id' => :'String',
78
+ :'title' => :'String',
79
+ :'description' => :'String',
80
+ :'privacy' => :'String',
81
+ :'item_count' => :'Integer',
82
+ :'thumbnail_url' => :'String'
83
+ }
84
+ end
85
+
86
+ # List of attributes with nullable: true
87
+ def self.openapi_nullable
88
+ Set.new([
89
+ ])
90
+ end
91
+
92
+ # Initializes the object
93
+ # @param [Hash] attributes Model attributes in the form of hash
94
+ def initialize(attributes = {})
95
+ if (!attributes.is_a?(Hash))
96
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Late::GetYoutubePlaylists200ResponsePlaylistsInner` initialize method"
97
+ end
98
+
99
+ # check to see if the attribute exists and convert string to symbol for hash key
100
+ acceptable_attribute_map = self.class.acceptable_attribute_map
101
+ attributes = attributes.each_with_object({}) { |(k, v), h|
102
+ if (!acceptable_attribute_map.key?(k.to_sym))
103
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Late::GetYoutubePlaylists200ResponsePlaylistsInner`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
104
+ end
105
+ h[k.to_sym] = v
106
+ }
107
+
108
+ if attributes.key?(:'id')
109
+ self.id = attributes[:'id']
110
+ end
111
+
112
+ if attributes.key?(:'title')
113
+ self.title = attributes[:'title']
114
+ end
115
+
116
+ if attributes.key?(:'description')
117
+ self.description = attributes[:'description']
118
+ end
119
+
120
+ if attributes.key?(:'privacy')
121
+ self.privacy = attributes[:'privacy']
122
+ end
123
+
124
+ if attributes.key?(:'item_count')
125
+ self.item_count = attributes[:'item_count']
126
+ end
127
+
128
+ if attributes.key?(:'thumbnail_url')
129
+ self.thumbnail_url = attributes[:'thumbnail_url']
130
+ end
131
+ end
132
+
133
+ # Show invalid properties with the reasons. Usually used together with valid?
134
+ # @return Array for valid properties with the reasons
135
+ def list_invalid_properties
136
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
137
+ invalid_properties = Array.new
138
+ invalid_properties
139
+ end
140
+
141
+ # Check to see if the all the properties in the model are valid
142
+ # @return true if the model is valid
143
+ def valid?
144
+ warn '[DEPRECATED] the `valid?` method is obsolete'
145
+ privacy_validator = EnumAttributeValidator.new('String', ["public", "private", "unlisted"])
146
+ return false unless privacy_validator.valid?(@privacy)
147
+ true
148
+ end
149
+
150
+ # Custom attribute writer method checking allowed values (enum).
151
+ # @param [Object] privacy Object to be assigned
152
+ def privacy=(privacy)
153
+ validator = EnumAttributeValidator.new('String', ["public", "private", "unlisted"])
154
+ unless validator.valid?(privacy)
155
+ fail ArgumentError, "invalid value for \"privacy\", must be one of #{validator.allowable_values}."
156
+ end
157
+ @privacy = privacy
158
+ end
159
+
160
+ # Checks equality by comparing each attribute.
161
+ # @param [Object] Object to be compared
162
+ def ==(o)
163
+ return true if self.equal?(o)
164
+ self.class == o.class &&
165
+ id == o.id &&
166
+ title == o.title &&
167
+ description == o.description &&
168
+ privacy == o.privacy &&
169
+ item_count == o.item_count &&
170
+ thumbnail_url == o.thumbnail_url
171
+ end
172
+
173
+ # @see the `==` method
174
+ # @param [Object] Object to be compared
175
+ def eql?(o)
176
+ self == o
177
+ end
178
+
179
+ # Calculates hash code according to all attributes.
180
+ # @return [Integer] Hash code
181
+ def hash
182
+ [id, title, description, privacy, item_count, thumbnail_url].hash
183
+ end
184
+
185
+ # Builds the object from hash
186
+ # @param [Hash] attributes Model attributes in the form of hash
187
+ # @return [Object] Returns the model itself
188
+ def self.build_from_hash(attributes)
189
+ return nil unless attributes.is_a?(Hash)
190
+ attributes = attributes.transform_keys(&:to_sym)
191
+ transformed_hash = {}
192
+ openapi_types.each_pair do |key, type|
193
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
194
+ transformed_hash["#{key}"] = nil
195
+ elsif type =~ /\AArray<(.*)>/i
196
+ # check to ensure the input is an array given that the attribute
197
+ # is documented as an array but the input is not
198
+ if attributes[attribute_map[key]].is_a?(Array)
199
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
200
+ end
201
+ elsif !attributes[attribute_map[key]].nil?
202
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
203
+ end
204
+ end
205
+ new(transformed_hash)
206
+ end
207
+
208
+ # Returns the object in the form of hash
209
+ # @return [Hash] Returns the object in the form of hash
210
+ def to_hash
211
+ hash = {}
212
+ self.class.attribute_map.each_pair do |attr, param|
213
+ value = self.send(attr)
214
+ if value.nil?
215
+ is_nullable = self.class.openapi_nullable.include?(attr)
216
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
217
+ end
218
+
219
+ hash[param] = _to_hash(value)
220
+ end
221
+ hash
222
+ end
223
+
224
+ end
225
+
226
+ end
@@ -36,9 +36,15 @@ module Late
36
36
  # Custom name for original audio in Reels. Replaces the default \"Original Audio\" label. Can only be set once.
37
37
  attr_accessor :audio_name
38
38
 
39
- # Millisecond offset from video start for the Reel thumbnail. Ignored if a custom thumbnail URL is provided. Defaults to 0.
39
+ # Millisecond offset from video start for the Reel cover frame. Ignored when instagramThumbnail or reelCover is provided. Defaults to 0.
40
40
  attr_accessor :thumb_offset
41
41
 
42
+ # Custom cover image URL for Instagram Reels (JPG or PNG, publicly accessible). Overrides thumbOffset when provided. Also accepted as reelCover (alias).
43
+ attr_accessor :instagram_thumbnail
44
+
45
+ # Alias for instagramThumbnail. If both are provided, instagramThumbnail takes priority.
46
+ attr_accessor :reel_cover
47
+
42
48
  class EnumAttributeValidator
43
49
  attr_reader :datatype
44
50
  attr_reader :allowable_values
@@ -71,7 +77,9 @@ module Late
71
77
  :'trial_params' => :'trialParams',
72
78
  :'user_tags' => :'userTags',
73
79
  :'audio_name' => :'audioName',
74
- :'thumb_offset' => :'thumbOffset'
80
+ :'thumb_offset' => :'thumbOffset',
81
+ :'instagram_thumbnail' => :'instagramThumbnail',
82
+ :'reel_cover' => :'reelCover'
75
83
  }
76
84
  end
77
85
 
@@ -95,7 +103,9 @@ module Late
95
103
  :'trial_params' => :'InstagramPlatformDataTrialParams',
96
104
  :'user_tags' => :'Array<InstagramPlatformDataUserTagsInner>',
97
105
  :'audio_name' => :'String',
98
- :'thumb_offset' => :'Integer'
106
+ :'thumb_offset' => :'Integer',
107
+ :'instagram_thumbnail' => :'String',
108
+ :'reel_cover' => :'String'
99
109
  }
100
110
  end
101
111
 
@@ -158,6 +168,14 @@ module Late
158
168
  if attributes.key?(:'thumb_offset')
159
169
  self.thumb_offset = attributes[:'thumb_offset']
160
170
  end
171
+
172
+ if attributes.key?(:'instagram_thumbnail')
173
+ self.instagram_thumbnail = attributes[:'instagram_thumbnail']
174
+ end
175
+
176
+ if attributes.key?(:'reel_cover')
177
+ self.reel_cover = attributes[:'reel_cover']
178
+ end
161
179
  end
162
180
 
163
181
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -218,7 +236,9 @@ module Late
218
236
  trial_params == o.trial_params &&
219
237
  user_tags == o.user_tags &&
220
238
  audio_name == o.audio_name &&
221
- thumb_offset == o.thumb_offset
239
+ thumb_offset == o.thumb_offset &&
240
+ instagram_thumbnail == o.instagram_thumbnail &&
241
+ reel_cover == o.reel_cover
222
242
  end
223
243
 
224
244
  # @see the `==` method
@@ -230,7 +250,7 @@ module Late
230
250
  # Calculates hash code according to all attributes.
231
251
  # @return [Integer] Hash code
232
252
  def hash
233
- [content_type, share_to_feed, collaborators, first_comment, trial_params, user_tags, audio_name, thumb_offset].hash
253
+ [content_type, share_to_feed, collaborators, first_comment, trial_params, user_tags, audio_name, thumb_offset, instagram_thumbnail, reel_cover].hash
234
254
  end
235
255
 
236
256
  # Builds the object from hash
@@ -34,7 +34,7 @@ module Late
34
34
  # Optional custom thumbnail/cover image URL for videos. Supported for Facebook video posts, Facebook Reels, and regular video uploads. Max 10MB, JPG/PNG recommended.
35
35
  attr_accessor :thumbnail
36
36
 
37
- # Optional custom cover image URL for Instagram Reels
37
+ # Custom cover image URL for Instagram Reels. Can also be set via platformSpecificData.instagramThumbnail or platformSpecificData.reelCover. Resolution order: this field > platformSpecificData.instagramThumbnail > platformSpecificData.reelCover > platformSpecificData.thumbnailUrl (legacy).
38
38
  attr_accessor :instagram_thumbnail
39
39
 
40
40
  # Internal flag indicating the image was resized for TikTok
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module Late
17
- class UpdateRedditSubreddits200Response < ApiModelBase
17
+ class UpdateYoutubeDefaultPlaylist200Response < ApiModelBase
18
18
  attr_accessor :success
19
19
 
20
20
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -51,14 +51,14 @@ module Late
51
51
  # @param [Hash] attributes Model attributes in the form of hash
52
52
  def initialize(attributes = {})
53
53
  if (!attributes.is_a?(Hash))
54
- fail ArgumentError, "The input argument (attributes) must be a hash in `Late::UpdateRedditSubreddits200Response` initialize method"
54
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Late::UpdateYoutubeDefaultPlaylist200Response` initialize method"
55
55
  end
56
56
 
57
57
  # check to see if the attribute exists and convert string to symbol for hash key
58
58
  acceptable_attribute_map = self.class.acceptable_attribute_map
59
59
  attributes = attributes.each_with_object({}) { |(k, v), h|
60
60
  if (!acceptable_attribute_map.key?(k.to_sym))
61
- fail ArgumentError, "`#{k}` is not a valid attribute in `Late::UpdateRedditSubreddits200Response`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
61
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Late::UpdateYoutubeDefaultPlaylist200Response`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
62
62
  end
63
63
  h[k.to_sym] = v
64
64
  }
@@ -0,0 +1,173 @@
1
+ =begin
2
+ #Zernio API
3
+
4
+ #API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
5
+
6
+ The version of the OpenAPI document: 1.0.1
7
+ Contact: support@zernio.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.19.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module Late
17
+ class UpdateYoutubeDefaultPlaylistRequest < ApiModelBase
18
+ attr_accessor :default_playlist_id
19
+
20
+ attr_accessor :default_playlist_name
21
+
22
+ # Attribute mapping from ruby-style variable name to JSON key.
23
+ def self.attribute_map
24
+ {
25
+ :'default_playlist_id' => :'defaultPlaylistId',
26
+ :'default_playlist_name' => :'defaultPlaylistName'
27
+ }
28
+ end
29
+
30
+ # Returns attribute mapping this model knows about
31
+ def self.acceptable_attribute_map
32
+ attribute_map
33
+ end
34
+
35
+ # Returns all the JSON keys this model knows about
36
+ def self.acceptable_attributes
37
+ acceptable_attribute_map.values
38
+ end
39
+
40
+ # Attribute type mapping.
41
+ def self.openapi_types
42
+ {
43
+ :'default_playlist_id' => :'String',
44
+ :'default_playlist_name' => :'String'
45
+ }
46
+ end
47
+
48
+ # List of attributes with nullable: true
49
+ def self.openapi_nullable
50
+ Set.new([
51
+ ])
52
+ end
53
+
54
+ # Initializes the object
55
+ # @param [Hash] attributes Model attributes in the form of hash
56
+ def initialize(attributes = {})
57
+ if (!attributes.is_a?(Hash))
58
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Late::UpdateYoutubeDefaultPlaylistRequest` initialize method"
59
+ end
60
+
61
+ # check to see if the attribute exists and convert string to symbol for hash key
62
+ acceptable_attribute_map = self.class.acceptable_attribute_map
63
+ attributes = attributes.each_with_object({}) { |(k, v), h|
64
+ if (!acceptable_attribute_map.key?(k.to_sym))
65
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Late::UpdateYoutubeDefaultPlaylistRequest`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
66
+ end
67
+ h[k.to_sym] = v
68
+ }
69
+
70
+ if attributes.key?(:'default_playlist_id')
71
+ self.default_playlist_id = attributes[:'default_playlist_id']
72
+ else
73
+ self.default_playlist_id = nil
74
+ end
75
+
76
+ if attributes.key?(:'default_playlist_name')
77
+ self.default_playlist_name = attributes[:'default_playlist_name']
78
+ end
79
+ end
80
+
81
+ # Show invalid properties with the reasons. Usually used together with valid?
82
+ # @return Array for valid properties with the reasons
83
+ def list_invalid_properties
84
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
85
+ invalid_properties = Array.new
86
+ if @default_playlist_id.nil?
87
+ invalid_properties.push('invalid value for "default_playlist_id", default_playlist_id cannot be nil.')
88
+ end
89
+
90
+ invalid_properties
91
+ end
92
+
93
+ # Check to see if the all the properties in the model are valid
94
+ # @return true if the model is valid
95
+ def valid?
96
+ warn '[DEPRECATED] the `valid?` method is obsolete'
97
+ return false if @default_playlist_id.nil?
98
+ true
99
+ end
100
+
101
+ # Custom attribute writer method with validation
102
+ # @param [Object] default_playlist_id Value to be assigned
103
+ def default_playlist_id=(default_playlist_id)
104
+ if default_playlist_id.nil?
105
+ fail ArgumentError, 'default_playlist_id cannot be nil'
106
+ end
107
+
108
+ @default_playlist_id = default_playlist_id
109
+ end
110
+
111
+ # Checks equality by comparing each attribute.
112
+ # @param [Object] Object to be compared
113
+ def ==(o)
114
+ return true if self.equal?(o)
115
+ self.class == o.class &&
116
+ default_playlist_id == o.default_playlist_id &&
117
+ default_playlist_name == o.default_playlist_name
118
+ end
119
+
120
+ # @see the `==` method
121
+ # @param [Object] Object to be compared
122
+ def eql?(o)
123
+ self == o
124
+ end
125
+
126
+ # Calculates hash code according to all attributes.
127
+ # @return [Integer] Hash code
128
+ def hash
129
+ [default_playlist_id, default_playlist_name].hash
130
+ end
131
+
132
+ # Builds the object from hash
133
+ # @param [Hash] attributes Model attributes in the form of hash
134
+ # @return [Object] Returns the model itself
135
+ def self.build_from_hash(attributes)
136
+ return nil unless attributes.is_a?(Hash)
137
+ attributes = attributes.transform_keys(&:to_sym)
138
+ transformed_hash = {}
139
+ openapi_types.each_pair do |key, type|
140
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
141
+ transformed_hash["#{key}"] = nil
142
+ elsif type =~ /\AArray<(.*)>/i
143
+ # check to ensure the input is an array given that the attribute
144
+ # is documented as an array but the input is not
145
+ if attributes[attribute_map[key]].is_a?(Array)
146
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
147
+ end
148
+ elsif !attributes[attribute_map[key]].nil?
149
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
150
+ end
151
+ end
152
+ new(transformed_hash)
153
+ end
154
+
155
+ # Returns the object in the form of hash
156
+ # @return [Hash] Returns the object in the form of hash
157
+ def to_hash
158
+ hash = {}
159
+ self.class.attribute_map.each_pair do |attr, param|
160
+ value = self.send(attr)
161
+ if value.nil?
162
+ is_nullable = self.class.openapi_nullable.include?(attr)
163
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
164
+ end
165
+
166
+ hash[param] = _to_hash(value)
167
+ end
168
+ hash
169
+ end
170
+
171
+ end
172
+
173
+ end
@@ -34,6 +34,9 @@ module Late
34
34
  # YouTube video category ID. Defaults to 22 (People & Blogs). Common: 1 (Film), 2 (Autos), 10 (Music), 15 (Pets), 17 (Sports), 20 (Gaming), 23 (Comedy), 24 (Entertainment), 25 (News), 26 (Howto), 27 (Education), 28 (Science & Tech).
35
35
  attr_accessor :category_id
36
36
 
37
+ # Optional YouTube playlist ID to add the video to after upload (e.g. 'PLxxxxxxxxxxxxx'). Use GET /v1/accounts/{id}/youtube-playlists to list available playlists. Works for both immediate and scheduled uploads. Quota cost: 50 YouTube API units per call.
38
+ attr_accessor :playlist_id
39
+
37
40
  class EnumAttributeValidator
38
41
  attr_reader :datatype
39
42
  attr_reader :allowable_values
@@ -64,7 +67,8 @@ module Late
64
67
  :'made_for_kids' => :'madeForKids',
65
68
  :'first_comment' => :'firstComment',
66
69
  :'contains_synthetic_media' => :'containsSyntheticMedia',
67
- :'category_id' => :'categoryId'
70
+ :'category_id' => :'categoryId',
71
+ :'playlist_id' => :'playlistId'
68
72
  }
69
73
  end
70
74
 
@@ -86,7 +90,8 @@ module Late
86
90
  :'made_for_kids' => :'Boolean',
87
91
  :'first_comment' => :'String',
88
92
  :'contains_synthetic_media' => :'Boolean',
89
- :'category_id' => :'String'
93
+ :'category_id' => :'String',
94
+ :'playlist_id' => :'String'
90
95
  }
91
96
  end
92
97
 
@@ -143,6 +148,10 @@ module Late
143
148
  else
144
149
  self.category_id = '22'
145
150
  end
151
+
152
+ if attributes.key?(:'playlist_id')
153
+ self.playlist_id = attributes[:'playlist_id']
154
+ end
146
155
  end
147
156
 
148
157
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -220,7 +229,8 @@ module Late
220
229
  made_for_kids == o.made_for_kids &&
221
230
  first_comment == o.first_comment &&
222
231
  contains_synthetic_media == o.contains_synthetic_media &&
223
- category_id == o.category_id
232
+ category_id == o.category_id &&
233
+ playlist_id == o.playlist_id
224
234
  end
225
235
 
226
236
  # @see the `==` method
@@ -232,7 +242,7 @@ module Late
232
242
  # Calculates hash code according to all attributes.
233
243
  # @return [Integer] Hash code
234
244
  def hash
235
- [title, visibility, made_for_kids, first_comment, contains_synthetic_media, category_id].hash
245
+ [title, visibility, made_for_kids, first_comment, contains_synthetic_media, category_id, playlist_id].hash
236
246
  end
237
247
 
238
248
  # Builds the object from hash
@@ -11,5 +11,5 @@ Generator version: 7.19.0
11
11
  =end
12
12
 
13
13
  module Late
14
- VERSION = '0.0.90'
14
+ VERSION = '0.0.92'
15
15
  end
data/lib/late-sdk.rb CHANGED
@@ -335,6 +335,8 @@ require 'late-sdk/models/get_you_tube_daily_views403_response'
335
335
  require 'late-sdk/models/get_you_tube_daily_views500_response'
336
336
  require 'late-sdk/models/get_you_tube_transcript200_response'
337
337
  require 'late-sdk/models/get_you_tube_transcript200_response_segments_inner'
338
+ require 'late-sdk/models/get_youtube_playlists200_response'
339
+ require 'late-sdk/models/get_youtube_playlists200_response_playlists_inner'
338
340
  require 'late-sdk/models/google_business_platform_data'
339
341
  require 'late-sdk/models/google_business_platform_data_call_to_action'
340
342
  require 'late-sdk/models/handle_o_auth_callback_request'
@@ -618,7 +620,6 @@ require 'late-sdk/models/update_profile200_response'
618
620
  require 'late-sdk/models/update_profile_request'
619
621
  require 'late-sdk/models/update_queue_slot200_response'
620
622
  require 'late-sdk/models/update_queue_slot_request'
621
- require 'late-sdk/models/update_reddit_subreddits200_response'
622
623
  require 'late-sdk/models/update_reddit_subreddits_request'
623
624
  require 'late-sdk/models/update_sequence200_response'
624
625
  require 'late-sdk/models/update_sequence200_response_sequence'
@@ -635,6 +636,8 @@ require 'late-sdk/models/update_whats_app_group_chat_request'
635
636
  require 'late-sdk/models/update_whats_app_template200_response'
636
637
  require 'late-sdk/models/update_whats_app_template200_response_template'
637
638
  require 'late-sdk/models/update_whats_app_template_request'
639
+ require 'late-sdk/models/update_youtube_default_playlist200_response'
640
+ require 'late-sdk/models/update_youtube_default_playlist_request'
638
641
  require 'late-sdk/models/upload_media_direct200_response'
639
642
  require 'late-sdk/models/upload_token_response'
640
643
  require 'late-sdk/models/upload_token_status_response'