late-sdk 0.0.670 → 0.0.671

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: c22ca88ad4c56f331d982d6ae83c690e1bef9ce951906366e641400c14f702da
4
- data.tar.gz: 508db3219c41514ffbea3a3230ceee29ae37deb063496ce625b4072c93c0061e
3
+ metadata.gz: 6c0dfdce582902a8b185c5d9339855c12f580cdc8d8dd3ade600efdc76dece82
4
+ data.tar.gz: 9e77888264b5ff38314415235d7d95132a2ecaf663c1f06584d25e04aa43f935
5
5
  SHA512:
6
- metadata.gz: 2e568e9bc015d40e94e806629c690e6fff682bc5931befe11991a480bfdad5a64b085d984e432716ce7933883414751028dd5298871278a4005890e4d0078cd0
7
- data.tar.gz: b7b6c40959cb2f3fbf12650939b7f40fc58ee763712f6d8184f2de2df123c72eb64e6b13f47ba6094b95a2bcda06eaa83e0bed95596810fa68d39cb5ce234a95
6
+ metadata.gz: 5301b1c7563d56357a963e33b09d72b957dbabfc65a68315d99c841e950f2648d34763e805cfd8711d5ca99d4a2db871871993e0c37eb0d3ba4b34409c58cb58
7
+ data.tar.gz: 7496f41d301ac4f61d684ca3a21e7194f471e45b4c6409cd4a715fcadad5ef141f5fe474cf309389bad956559c0f3db3c44720034bf3be8604f81d8668bad7cc
@@ -6,6 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **message** | **String** | | [optional] |
8
8
  | **post** | [**Post**](Post.md) | | [optional] |
9
+ | **warnings** | **Array<String>** | | [optional] |
9
10
 
10
11
  ## Example
11
12
 
@@ -14,7 +15,8 @@ require 'zernio-sdk'
14
15
 
15
16
  instance = Zernio::PostUpdateResponse.new(
16
17
  message: null,
17
- post: null
18
+ post: null,
19
+ warnings: null
18
20
  )
19
21
  ```
20
22
 
data/docs/PostsApi.md CHANGED
@@ -612,7 +612,7 @@ end
612
612
 
613
613
  Update post
614
614
 
615
- Update an existing post. Draft, scheduled, failed, partial, and cancelled posts can be edited. Published posts can only have their recycling config updated. To promote a draft to scheduled, send `isDraft: false` together with `scheduledFor` (or `publishNow: true`, or `queuedFromProfile`). If `isDraft` is omitted the post keeps its current draft status, so sending only `scheduledFor` to a draft returns 200 but the post remains a draft.
615
+ Update an existing post. Draft, scheduled, failed, partial, and cancelled posts can be edited. Published posts can only have their recycling config updated. To promote a draft to scheduled, send `isDraft: false` together with `scheduledFor` (or `publishNow: true`, or `queuedFromProfile`). If `isDraft` is omitted the post keeps its current draft status, so sending only `scheduledFor` to a draft returns 200 but the post remains a draft. Non-draft updates run the same per-platform validation as post creation (media requirements, platform-specific field rules, etc.) against the resulting platforms, returning 400 on failure.
616
616
 
617
617
  ### Examples
618
618
 
@@ -616,7 +616,7 @@ module Zernio
616
616
  end
617
617
 
618
618
  # Update post
619
- # Update an existing post. Draft, scheduled, failed, partial, and cancelled posts can be edited. Published posts can only have their recycling config updated. To promote a draft to scheduled, send `isDraft: false` together with `scheduledFor` (or `publishNow: true`, or `queuedFromProfile`). If `isDraft` is omitted the post keeps its current draft status, so sending only `scheduledFor` to a draft returns 200 but the post remains a draft.
619
+ # Update an existing post. Draft, scheduled, failed, partial, and cancelled posts can be edited. Published posts can only have their recycling config updated. To promote a draft to scheduled, send `isDraft: false` together with `scheduledFor` (or `publishNow: true`, or `queuedFromProfile`). If `isDraft` is omitted the post keeps its current draft status, so sending only `scheduledFor` to a draft returns 200 but the post remains a draft. Non-draft updates run the same per-platform validation as post creation (media requirements, platform-specific field rules, etc.) against the resulting platforms, returning 400 on failure.
620
620
  # @param post_id [String]
621
621
  # @param update_post_request [UpdatePostRequest]
622
622
  # @param [Hash] opts the optional parameters
@@ -627,7 +627,7 @@ module Zernio
627
627
  end
628
628
 
629
629
  # Update post
630
- # Update an existing post. Draft, scheduled, failed, partial, and cancelled posts can be edited. Published posts can only have their recycling config updated. To promote a draft to scheduled, send `isDraft: false` together with `scheduledFor` (or `publishNow: true`, or `queuedFromProfile`). If `isDraft` is omitted the post keeps its current draft status, so sending only `scheduledFor` to a draft returns 200 but the post remains a draft.
630
+ # Update an existing post. Draft, scheduled, failed, partial, and cancelled posts can be edited. Published posts can only have their recycling config updated. To promote a draft to scheduled, send `isDraft: false` together with `scheduledFor` (or `publishNow: true`, or `queuedFromProfile`). If `isDraft` is omitted the post keeps its current draft status, so sending only `scheduledFor` to a draft returns 200 but the post remains a draft. Non-draft updates run the same per-platform validation as post creation (media requirements, platform-specific field rules, etc.) against the resulting platforms, returning 400 on failure.
631
631
  # @param post_id [String]
632
632
  # @param update_post_request [UpdatePostRequest]
633
633
  # @param [Hash] opts the optional parameters
@@ -19,11 +19,14 @@ module Zernio
19
19
 
20
20
  attr_accessor :post
21
21
 
22
+ attr_accessor :warnings
23
+
22
24
  # Attribute mapping from ruby-style variable name to JSON key.
23
25
  def self.attribute_map
24
26
  {
25
27
  :'message' => :'message',
26
- :'post' => :'post'
28
+ :'post' => :'post',
29
+ :'warnings' => :'warnings'
27
30
  }
28
31
  end
29
32
 
@@ -41,7 +44,8 @@ module Zernio
41
44
  def self.openapi_types
42
45
  {
43
46
  :'message' => :'String',
44
- :'post' => :'Post'
47
+ :'post' => :'Post',
48
+ :'warnings' => :'Array<String>'
45
49
  }
46
50
  end
47
51
 
@@ -74,6 +78,12 @@ module Zernio
74
78
  if attributes.key?(:'post')
75
79
  self.post = attributes[:'post']
76
80
  end
81
+
82
+ if attributes.key?(:'warnings')
83
+ if (value = attributes[:'warnings']).is_a?(Array)
84
+ self.warnings = value
85
+ end
86
+ end
77
87
  end
78
88
 
79
89
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -97,7 +107,8 @@ module Zernio
97
107
  return true if self.equal?(o)
98
108
  self.class == o.class &&
99
109
  message == o.message &&
100
- post == o.post
110
+ post == o.post &&
111
+ warnings == o.warnings
101
112
  end
102
113
 
103
114
  # @see the `==` method
@@ -109,7 +120,7 @@ module Zernio
109
120
  # Calculates hash code according to all attributes.
110
121
  # @return [Integer] Hash code
111
122
  def hash
112
- [message, post].hash
123
+ [message, post, warnings].hash
113
124
  end
114
125
 
115
126
  # Builds the object from hash
@@ -11,5 +11,5 @@ Generator version: 7.19.0
11
11
  =end
12
12
 
13
13
  module Zernio
14
- VERSION = '0.0.670'
14
+ VERSION = '0.0.671'
15
15
  end
data/openapi.yaml CHANGED
@@ -6397,6 +6397,10 @@ components:
6397
6397
  type: string
6398
6398
  post:
6399
6399
  $ref: '#/components/schemas/Post'
6400
+ warnings:
6401
+ type: array
6402
+ items:
6403
+ type: string
6400
6404
  PostDeleteResponse:
6401
6405
  type: object
6402
6406
  properties:
@@ -13393,6 +13397,9 @@ paths:
13393
13397
  To promote a draft to scheduled, send `isDraft: false` together with `scheduledFor` (or `publishNow: true`,
13394
13398
  or `queuedFromProfile`). If `isDraft` is omitted the post keeps its current draft status, so sending only
13395
13399
  `scheduledFor` to a draft returns 200 but the post remains a draft.
13400
+
13401
+ Non-draft updates run the same per-platform validation as post creation (media requirements, platform-specific
13402
+ field rules, etc.) against the resulting platforms, returning 400 on failure.
13396
13403
  parameters:
13397
13404
  - name: postId
13398
13405
  in: path
@@ -146,7 +146,7 @@ describe 'PostsApi' do
146
146
 
147
147
  # unit tests for update_post
148
148
  # Update post
149
- # Update an existing post. Draft, scheduled, failed, partial, and cancelled posts can be edited. Published posts can only have their recycling config updated. To promote a draft to scheduled, send &#x60;isDraft: false&#x60; together with &#x60;scheduledFor&#x60; (or &#x60;publishNow: true&#x60;, or &#x60;queuedFromProfile&#x60;). If &#x60;isDraft&#x60; is omitted the post keeps its current draft status, so sending only &#x60;scheduledFor&#x60; to a draft returns 200 but the post remains a draft.
149
+ # Update an existing post. Draft, scheduled, failed, partial, and cancelled posts can be edited. Published posts can only have their recycling config updated. To promote a draft to scheduled, send &#x60;isDraft: false&#x60; together with &#x60;scheduledFor&#x60; (or &#x60;publishNow: true&#x60;, or &#x60;queuedFromProfile&#x60;). If &#x60;isDraft&#x60; is omitted the post keeps its current draft status, so sending only &#x60;scheduledFor&#x60; to a draft returns 200 but the post remains a draft. Non-draft updates run the same per-platform validation as post creation (media requirements, platform-specific field rules, etc.) against the resulting platforms, returning 400 on failure.
150
150
  # @param post_id
151
151
  # @param update_post_request
152
152
  # @param [Hash] opts the optional parameters
@@ -39,4 +39,10 @@ describe Zernio::PostUpdateResponse do
39
39
  end
40
40
  end
41
41
 
42
+ describe 'test attribute "warnings"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
42
48
  end
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: late-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.670
4
+ version: 0.0.671
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
@@ -4982,7 +4982,7 @@ files:
4982
4982
  - spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
4983
4983
  - spec/models/you_tube_video_retention_response_spec.rb
4984
4984
  - spec/spec_helper.rb
4985
- - zernio-sdk-0.0.670.gem
4985
+ - zernio-sdk-0.0.671.gem
4986
4986
  - zernio-sdk.gemspec
4987
4987
  homepage: https://openapi-generator.tech
4988
4988
  licenses:
Binary file