zernio-sdk 0.0.97 → 0.0.98

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: e606f9b4b509e0d7ff461be43ba9d7a3e6e9bc0f16ab77d86fccfe3f40da2ca8
4
- data.tar.gz: 16912a47063422c695c84a5ef1fd9c9d4413d203eab4a44995b193c4d0b8cce5
3
+ metadata.gz: 25f9fffc9f8bb4e3e84bfc70b0c87d0ab30a1aa0d1b7acc4d90c4a03d02b046f
4
+ data.tar.gz: 8b6f2bd7ff2cf225d89d94ee1a076c28eabe917ec6846ec8b443ce3bdafb3c26
5
5
  SHA512:
6
- metadata.gz: 36e69aac2fbd33c221e83b0b79a8454663870e4fae4cc38bca902bb9fceee72a22553cc2e31af4820e4aa64f99c1c4c74f9e28334885cfbb2dd3b72ff8936c09
7
- data.tar.gz: b60d7f72a99a8ff36ff9e5eb29d188d908721b980eb027d396fd7772d570d69b50029284102bca5464e5654af6f593e68974381ca2c2c96b2fedd697ec80f33a
6
+ metadata.gz: 400824e76b734f8a62fa2acca8b8fc39d5c9edb9517eafa7c02c48b6ab2be58a65abd5d4b571b00eb43e8ad5d38d862a26c986fa5b09ebd42da580bc43c86d22
7
+ data.tar.gz: 26555e192e9eece7c51ab65a0652f5710995795fe52c4621cff19cd286c87b7b307529ffb84594169866d523e6f0fce7413567864acbbb029af3f72af88a6d2a
@@ -13,6 +13,9 @@
13
13
  | **category_id** | **String** | YouTube video category ID | [optional] |
14
14
  | **privacy_status** | **String** | Video privacy setting | [optional] |
15
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] |
16
+ | **made_for_kids** | **Boolean** | COPPA compliance flag. Set true for child-directed content (restricts comments, notifications, ad targeting). | [optional] |
17
+ | **contains_synthetic_media** | **Boolean** | AI-generated content disclosure. Set true if the video contains synthetic content that could be mistaken for real. YouTube may add a label. | [optional] |
18
+ | **playlist_id** | **String** | YouTube playlist ID to add the video to (e.g. 'PLxxxxxxxxxxxxx'). Use GET /v1/accounts/{id}/youtube-playlists to list available playlists. Only playlists owned by the channel are supported. | [optional] |
16
19
 
17
20
  ## Example
18
21
 
@@ -28,7 +31,10 @@ instance = Late::UpdatePostMetadataRequest.new(
28
31
  tags: null,
29
32
  category_id: null,
30
33
  privacy_status: null,
31
- thumbnail_url: null
34
+ thumbnail_url: null,
35
+ made_for_kids: null,
36
+ contains_synthetic_media: null,
37
+ playlist_id: null
32
38
  )
33
39
  ```
34
40
 
@@ -42,6 +42,15 @@ module Late
42
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
43
  attr_accessor :thumbnail_url
44
44
 
45
+ # COPPA compliance flag. Set true for child-directed content (restricts comments, notifications, ad targeting).
46
+ attr_accessor :made_for_kids
47
+
48
+ # AI-generated content disclosure. Set true if the video contains synthetic content that could be mistaken for real. YouTube may add a label.
49
+ attr_accessor :contains_synthetic_media
50
+
51
+ # YouTube playlist ID to add the video to (e.g. 'PLxxxxxxxxxxxxx'). Use GET /v1/accounts/{id}/youtube-playlists to list available playlists. Only playlists owned by the channel are supported.
52
+ attr_accessor :playlist_id
53
+
45
54
  class EnumAttributeValidator
46
55
  attr_reader :datatype
47
56
  attr_reader :allowable_values
@@ -75,7 +84,10 @@ module Late
75
84
  :'tags' => :'tags',
76
85
  :'category_id' => :'categoryId',
77
86
  :'privacy_status' => :'privacyStatus',
78
- :'thumbnail_url' => :'thumbnailUrl'
87
+ :'thumbnail_url' => :'thumbnailUrl',
88
+ :'made_for_kids' => :'madeForKids',
89
+ :'contains_synthetic_media' => :'containsSyntheticMedia',
90
+ :'playlist_id' => :'playlistId'
79
91
  }
80
92
  end
81
93
 
@@ -100,7 +112,10 @@ module Late
100
112
  :'tags' => :'Array<String>',
101
113
  :'category_id' => :'String',
102
114
  :'privacy_status' => :'String',
103
- :'thumbnail_url' => :'String'
115
+ :'thumbnail_url' => :'String',
116
+ :'made_for_kids' => :'Boolean',
117
+ :'contains_synthetic_media' => :'Boolean',
118
+ :'playlist_id' => :'String'
104
119
  }
105
120
  end
106
121
 
@@ -165,6 +180,18 @@ module Late
165
180
  if attributes.key?(:'thumbnail_url')
166
181
  self.thumbnail_url = attributes[:'thumbnail_url']
167
182
  end
183
+
184
+ if attributes.key?(:'made_for_kids')
185
+ self.made_for_kids = attributes[:'made_for_kids']
186
+ end
187
+
188
+ if attributes.key?(:'contains_synthetic_media')
189
+ self.contains_synthetic_media = attributes[:'contains_synthetic_media']
190
+ end
191
+
192
+ if attributes.key?(:'playlist_id')
193
+ self.playlist_id = attributes[:'playlist_id']
194
+ end
168
195
  end
169
196
 
170
197
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -243,7 +270,10 @@ module Late
243
270
  tags == o.tags &&
244
271
  category_id == o.category_id &&
245
272
  privacy_status == o.privacy_status &&
246
- thumbnail_url == o.thumbnail_url
273
+ thumbnail_url == o.thumbnail_url &&
274
+ made_for_kids == o.made_for_kids &&
275
+ contains_synthetic_media == o.contains_synthetic_media &&
276
+ playlist_id == o.playlist_id
247
277
  end
248
278
 
249
279
  # @see the `==` method
@@ -255,7 +285,7 @@ module Late
255
285
  # Calculates hash code according to all attributes.
256
286
  # @return [Integer] Hash code
257
287
  def hash
258
- [platform, video_id, account_id, title, description, tags, category_id, privacy_status, thumbnail_url].hash
288
+ [platform, video_id, account_id, title, description, tags, category_id, privacy_status, thumbnail_url, made_for_kids, contains_synthetic_media, playlist_id].hash
259
289
  end
260
290
 
261
291
  # 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.97'
14
+ VERSION = '0.0.98'
15
15
  end
data/openapi.yaml CHANGED
@@ -5792,6 +5792,15 @@ paths:
5792
5792
  type: string
5793
5793
  format: uri
5794
5794
  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."
5795
+ madeForKids:
5796
+ type: boolean
5797
+ description: "COPPA compliance flag. Set true for child-directed content (restricts comments, notifications, ad targeting)."
5798
+ containsSyntheticMedia:
5799
+ type: boolean
5800
+ description: "AI-generated content disclosure. Set true if the video contains synthetic content that could be mistaken for real. YouTube may add a label."
5801
+ playlistId:
5802
+ type: string
5803
+ description: "YouTube playlist ID to add the video to (e.g. 'PLxxxxxxxxxxxxx'). Use GET /v1/accounts/{id}/youtube-playlists to list available playlists. Only playlists owned by the channel are supported."
5795
5804
  examples:
5796
5805
  post-based:
5797
5806
  summary: Update a video published through Zernio
@@ -89,4 +89,22 @@ describe Late::UpdatePostMetadataRequest do
89
89
  end
90
90
  end
91
91
 
92
+ describe 'test attribute "made_for_kids"' do
93
+ it 'should work' do
94
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
95
+ end
96
+ end
97
+
98
+ describe 'test attribute "contains_synthetic_media"' do
99
+ it 'should work' do
100
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
101
+ end
102
+ end
103
+
104
+ describe 'test attribute "playlist_id"' do
105
+ it 'should work' do
106
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
107
+ end
108
+ end
109
+
92
110
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zernio-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.97
4
+ version: 0.0.98
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-31 00:00:00.000000000 Z
11
+ date: 2026-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus