late-sdk 0.0.95 → 0.0.96

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 905d4e1c58f5b2710ba9bc81c0531fb385b9b0d423f469bd797ecf6fa0f3e219
4
- data.tar.gz: 7f0677bf41376693b4732af908519a922b9c335e84bf32d5061eb9f6c3226a33
3
+ metadata.gz: 2717864079f8ab4dad84f4a81988f8b2d9b518d34e6069c52b0c4ce2e71e4de3
4
+ data.tar.gz: df29f816d2bf25dc10531ea3b794b12257bdd9cc5c60c6d1acd996504c99962b
5
5
  SHA512:
6
- metadata.gz: 1748471bd7113bac81109dd192d3bae70e98d795fb6abd5ca4b20e997f631dd6caabd5933f60cbaf470a93c8ed348babc257b9191cf35dcca72457b09e974f61
7
- data.tar.gz: 0cc0cd4330849c056ffddf56f8f8ad0f604c161441dadd3a4c0e27e5b00a0c501f2fd4c93a0297b26dfcf5d5039e44f3bbe24448740dbc70366260a66a4b3589
6
+ metadata.gz: 6f21dbc4619729a471e7a6bb217928e41554b0bc2b9c5254b1914db464bf9e06f329667208c240a7590380d0b6a481ca21ce1dfc48bd34a9978c951098d06473
7
+ data.tar.gz: 99f279fb6ff56242de7139b3fd8527d366503cc2fa62d7abebdce8e7aee01e8ee37bd971cbba20e57b6d96d6534d4bbc539255b8fd1530ebba6c201cfcdf0f74
@@ -12,6 +12,7 @@
12
12
  | **tags** | **Array<String>** | Array of keyword tags (max 500 characters combined for YouTube) | [optional] |
13
13
  | **category_id** | **String** | YouTube video category ID | [optional] |
14
14
  | **privacy_status** | **String** | Video privacy setting | [optional] |
15
+ | **thumbnail_url** | **String** | Public URL of a custom thumbnail image (JPEG, PNG, or GIF, max 2 MB, recommended 1280x720). Works on any video you own, including existing videos not published through Zernio. The channel must be verified (phone verification) to set custom thumbnails. | [optional] |
15
16
 
16
17
  ## Example
17
18
 
@@ -26,7 +27,8 @@ instance = Late::UpdatePostMetadataRequest.new(
26
27
  description: null,
27
28
  tags: null,
28
29
  category_id: null,
29
- privacy_status: null
30
+ privacy_status: null,
31
+ thumbnail_url: null
30
32
  )
31
33
  ```
32
34
 
@@ -39,6 +39,9 @@ module Late
39
39
  # Video privacy setting
40
40
  attr_accessor :privacy_status
41
41
 
42
+ # Public URL of a custom thumbnail image (JPEG, PNG, or GIF, max 2 MB, recommended 1280x720). Works on any video you own, including existing videos not published through Zernio. The channel must be verified (phone verification) to set custom thumbnails.
43
+ attr_accessor :thumbnail_url
44
+
42
45
  class EnumAttributeValidator
43
46
  attr_reader :datatype
44
47
  attr_reader :allowable_values
@@ -71,7 +74,8 @@ module Late
71
74
  :'description' => :'description',
72
75
  :'tags' => :'tags',
73
76
  :'category_id' => :'categoryId',
74
- :'privacy_status' => :'privacyStatus'
77
+ :'privacy_status' => :'privacyStatus',
78
+ :'thumbnail_url' => :'thumbnailUrl'
75
79
  }
76
80
  end
77
81
 
@@ -95,7 +99,8 @@ module Late
95
99
  :'description' => :'String',
96
100
  :'tags' => :'Array<String>',
97
101
  :'category_id' => :'String',
98
- :'privacy_status' => :'String'
102
+ :'privacy_status' => :'String',
103
+ :'thumbnail_url' => :'String'
99
104
  }
100
105
  end
101
106
 
@@ -156,6 +161,10 @@ module Late
156
161
  if attributes.key?(:'privacy_status')
157
162
  self.privacy_status = attributes[:'privacy_status']
158
163
  end
164
+
165
+ if attributes.key?(:'thumbnail_url')
166
+ self.thumbnail_url = attributes[:'thumbnail_url']
167
+ end
159
168
  end
160
169
 
161
170
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -233,7 +242,8 @@ module Late
233
242
  description == o.description &&
234
243
  tags == o.tags &&
235
244
  category_id == o.category_id &&
236
- privacy_status == o.privacy_status
245
+ privacy_status == o.privacy_status &&
246
+ thumbnail_url == o.thumbnail_url
237
247
  end
238
248
 
239
249
  # @see the `==` method
@@ -245,7 +255,7 @@ module Late
245
255
  # Calculates hash code according to all attributes.
246
256
  # @return [Integer] Hash code
247
257
  def hash
248
- [platform, video_id, account_id, title, description, tags, category_id, privacy_status].hash
258
+ [platform, video_id, account_id, title, description, tags, category_id, privacy_status, thumbnail_url].hash
249
259
  end
250
260
 
251
261
  # 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.95'
14
+ VERSION = '0.0.96'
15
15
  end
data/openapi.yaml CHANGED
@@ -5777,6 +5777,10 @@ paths:
5777
5777
  type: string
5778
5778
  enum: [public, private, unlisted]
5779
5779
  description: Video privacy setting
5780
+ thumbnailUrl:
5781
+ type: string
5782
+ format: uri
5783
+ description: "Public URL of a custom thumbnail image (JPEG, PNG, or GIF, max 2 MB, recommended 1280x720). Works on any video you own, including existing videos not published through Zernio. The channel must be verified (phone verification) to set custom thumbnails."
5780
5784
  examples:
5781
5785
  post-based:
5782
5786
  summary: Update a video published through Zernio
@@ -5793,6 +5797,13 @@ paths:
5793
5797
  accountId: "68fb37418bbca9c10cbfef26"
5794
5798
  title: "Updated Title with SEO Keywords"
5795
5799
  tags: ["seo", "youtube", "optimization"]
5800
+ update-thumbnail:
5801
+ summary: Update thumbnail on an existing video
5802
+ value:
5803
+ platform: "youtube"
5804
+ videoId: "dQw4w9WgXcQ"
5805
+ accountId: "68fb37418bbca9c10cbfef26"
5806
+ thumbnailUrl: "https://example.com/my-thumbnail.jpg"
5796
5807
  responses:
5797
5808
  '200':
5798
5809
  description: Metadata updated successfully
@@ -83,4 +83,10 @@ describe Late::UpdatePostMetadataRequest do
83
83
  end
84
84
  end
85
85
 
86
+ describe 'test attribute "thumbnail_url"' do
87
+ it 'should work' do
88
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
89
+ end
90
+ end
91
+
86
92
  end
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: late-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.95
4
+ version: 0.0.96
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-03-30 00:00:00.000000000 Z
11
+ date: 2026-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -2247,7 +2247,7 @@ files:
2247
2247
  - spec/models/you_tube_scope_missing_response_scope_status_spec.rb
2248
2248
  - spec/models/you_tube_scope_missing_response_spec.rb
2249
2249
  - spec/spec_helper.rb
2250
- - zernio-sdk-0.0.95.gem
2250
+ - zernio-sdk-0.0.96.gem
2251
2251
  homepage: https://openapi-generator.tech
2252
2252
  licenses:
2253
2253
  - Unlicense
Binary file