late-sdk 0.0.717 → 0.0.718

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: 20efc230d817966471f98f541ec52d6dd8548c0fc9c46a2145ae51d77d5539c5
4
- data.tar.gz: 5af538803d26aaa9c59dfb65db42163048baacef5b47651b8fa4ccf01c3437ef
3
+ metadata.gz: cd22055bc590e01ff23ae8698497bc3222c759e231d33de786e684ca11c5e775
4
+ data.tar.gz: 4707bfe07c0cb3408f98852251a0602f43cf71b65bcb6b19280bd899424e0337
5
5
  SHA512:
6
- metadata.gz: d97b7e2c8d9a7c4c10caabf261dafe144b71a8450e466eb4bb572151ee025601a35230f617e074e48f6ffab39c2ac028e6069b688b0367b595adf964aef437f4
7
- data.tar.gz: 519033c717802ce8732acba4e4e33dcacecb56f90a78789914b86f340aec9c70560a5c98ce7c217ddb8edf1a3271fbada72feb4dcca2f32f0771931ef2fe7a65
6
+ metadata.gz: 4367a665e3a13b3d977b234e0e99d4de66ee352a77a2bf02095132016f3ce777fb618abd1584bd4bec7b2f35d3bf6865e213f63d6964cac01d54c41a44a94deb
7
+ data.tar.gz: a78175473e3c2880b9cdf6bc5edc9b1590f19022fab3dca90422d92e57055c224edc503cbc3f7b263c780c186a4cde74cf10c5a3ce845f1d1848d299eabadda9
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **backfill_pending** | **Boolean** | | |
7
+ | **backfill_pending** | **Boolean** | Always true on this response. Part of the requested range is still being backfilled; retry until the request returns 200. | |
8
8
  | **ad** | [**AdAnalyticsResponseAd**](AdAnalyticsResponseAd.md) | | [optional] |
9
9
  | **analytics** | [**CampaignAnalyticsResponseAnalytics**](CampaignAnalyticsResponseAnalytics.md) | | [optional] |
10
10
 
@@ -6,7 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **campaigns** | [**Array<AdTreeCampaign>**](AdTreeCampaign.md) | | [optional] |
8
8
  | **pagination** | [**Pagination**](Pagination.md) | | [optional] |
9
- | **backfill_pending** | **Boolean** | | |
9
+ | **backfill_pending** | **Boolean** | Always true on this response. Part of the requested range is still being backfilled; retry until the request returns 200. | |
10
10
 
11
11
  ## Example
12
12
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **backfill_pending** | **Boolean** | | |
7
+ | **backfill_pending** | **Boolean** | Always true on this response. Part of the requested range is still being backfilled; retry until the request returns 200. | |
8
8
  | **rows** | [**Array<AdsTimelineResponseRowsInner>**](AdsTimelineResponseRowsInner.md) | | [optional] |
9
9
 
10
10
  ## Example
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **backfill_pending** | **Boolean** | | |
7
+ | **backfill_pending** | **Boolean** | Always true on this response. Part of the requested range is still being backfilled; retry until the request returns 200. | |
8
8
  | **campaign** | [**CampaignAnalyticsResponseCampaign**](CampaignAnalyticsResponseCampaign.md) | | [optional] |
9
9
  | **analytics** | [**CampaignAnalyticsResponseAnalytics**](CampaignAnalyticsResponseAnalytics.md) | | [optional] |
10
10
 
@@ -6,7 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **ads** | [**Array<Ad>**](Ad.md) | | [optional] |
8
8
  | **pagination** | [**Pagination**](Pagination.md) | | [optional] |
9
- | **backfill_pending** | **Boolean** | | |
9
+ | **backfill_pending** | **Boolean** | Always true on this response. Part of the requested range is still being backfilled; retry until the request returns 200. | |
10
10
 
11
11
  ## Example
12
12
 
@@ -15,34 +15,13 @@ require 'time'
15
15
 
16
16
  module Zernio
17
17
  class GetAdAnalytics202Response < ApiModelBase
18
+ # Always true on this response. Part of the requested range is still being backfilled; retry until the request returns 200.
18
19
  attr_accessor :backfill_pending
19
20
 
20
21
  attr_accessor :ad
21
22
 
22
23
  attr_accessor :analytics
23
24
 
24
- class EnumAttributeValidator
25
- attr_reader :datatype
26
- attr_reader :allowable_values
27
-
28
- def initialize(datatype, allowable_values)
29
- @allowable_values = allowable_values.map do |value|
30
- case datatype.to_s
31
- when /Integer/i
32
- value.to_i
33
- when /Float/i
34
- value.to_f
35
- else
36
- value
37
- end
38
- end
39
- end
40
-
41
- def valid?(value)
42
- !value || allowable_values.include?(value)
43
- end
44
- end
45
-
46
25
  # Attribute mapping from ruby-style variable name to JSON key.
47
26
  def self.attribute_map
48
27
  {
@@ -132,18 +111,16 @@ module Zernio
132
111
  def valid?
133
112
  warn '[DEPRECATED] the `valid?` method is obsolete'
134
113
  return false if @backfill_pending.nil?
135
- backfill_pending_validator = EnumAttributeValidator.new('Boolean', ["true"])
136
- return false unless backfill_pending_validator.valid?(@backfill_pending)
137
114
  true
138
115
  end
139
116
 
140
- # Custom attribute writer method checking allowed values (enum).
141
- # @param [Object] backfill_pending Object to be assigned
117
+ # Custom attribute writer method with validation
118
+ # @param [Object] backfill_pending Value to be assigned
142
119
  def backfill_pending=(backfill_pending)
143
- validator = EnumAttributeValidator.new('Boolean', ["true"])
144
- unless validator.valid?(backfill_pending)
145
- fail ArgumentError, "invalid value for \"backfill_pending\", must be one of #{validator.allowable_values}."
120
+ if backfill_pending.nil?
121
+ fail ArgumentError, 'backfill_pending cannot be nil'
146
122
  end
123
+
147
124
  @backfill_pending = backfill_pending
148
125
  end
149
126
 
@@ -19,30 +19,9 @@ module Zernio
19
19
 
20
20
  attr_accessor :pagination
21
21
 
22
+ # Always true on this response. Part of the requested range is still being backfilled; retry until the request returns 200.
22
23
  attr_accessor :backfill_pending
23
24
 
24
- class EnumAttributeValidator
25
- attr_reader :datatype
26
- attr_reader :allowable_values
27
-
28
- def initialize(datatype, allowable_values)
29
- @allowable_values = allowable_values.map do |value|
30
- case datatype.to_s
31
- when /Integer/i
32
- value.to_i
33
- when /Float/i
34
- value.to_f
35
- else
36
- value
37
- end
38
- end
39
- end
40
-
41
- def valid?(value)
42
- !value || allowable_values.include?(value)
43
- end
44
- end
45
-
46
25
  # Attribute mapping from ruby-style variable name to JSON key.
47
26
  def self.attribute_map
48
27
  {
@@ -134,18 +113,16 @@ module Zernio
134
113
  def valid?
135
114
  warn '[DEPRECATED] the `valid?` method is obsolete'
136
115
  return false if @backfill_pending.nil?
137
- backfill_pending_validator = EnumAttributeValidator.new('Boolean', ["true"])
138
- return false unless backfill_pending_validator.valid?(@backfill_pending)
139
116
  true
140
117
  end
141
118
 
142
- # Custom attribute writer method checking allowed values (enum).
143
- # @param [Object] backfill_pending Object to be assigned
119
+ # Custom attribute writer method with validation
120
+ # @param [Object] backfill_pending Value to be assigned
144
121
  def backfill_pending=(backfill_pending)
145
- validator = EnumAttributeValidator.new('Boolean', ["true"])
146
- unless validator.valid?(backfill_pending)
147
- fail ArgumentError, "invalid value for \"backfill_pending\", must be one of #{validator.allowable_values}."
122
+ if backfill_pending.nil?
123
+ fail ArgumentError, 'backfill_pending cannot be nil'
148
124
  end
125
+
149
126
  @backfill_pending = backfill_pending
150
127
  end
151
128
 
@@ -15,32 +15,11 @@ require 'time'
15
15
 
16
16
  module Zernio
17
17
  class GetAdsTimeline202Response < ApiModelBase
18
+ # Always true on this response. Part of the requested range is still being backfilled; retry until the request returns 200.
18
19
  attr_accessor :backfill_pending
19
20
 
20
21
  attr_accessor :rows
21
22
 
22
- class EnumAttributeValidator
23
- attr_reader :datatype
24
- attr_reader :allowable_values
25
-
26
- def initialize(datatype, allowable_values)
27
- @allowable_values = allowable_values.map do |value|
28
- case datatype.to_s
29
- when /Integer/i
30
- value.to_i
31
- when /Float/i
32
- value.to_f
33
- else
34
- value
35
- end
36
- end
37
- end
38
-
39
- def valid?(value)
40
- !value || allowable_values.include?(value)
41
- end
42
- end
43
-
44
23
  # Attribute mapping from ruby-style variable name to JSON key.
45
24
  def self.attribute_map
46
25
  {
@@ -126,18 +105,16 @@ module Zernio
126
105
  def valid?
127
106
  warn '[DEPRECATED] the `valid?` method is obsolete'
128
107
  return false if @backfill_pending.nil?
129
- backfill_pending_validator = EnumAttributeValidator.new('Boolean', ["true"])
130
- return false unless backfill_pending_validator.valid?(@backfill_pending)
131
108
  true
132
109
  end
133
110
 
134
- # Custom attribute writer method checking allowed values (enum).
135
- # @param [Object] backfill_pending Object to be assigned
111
+ # Custom attribute writer method with validation
112
+ # @param [Object] backfill_pending Value to be assigned
136
113
  def backfill_pending=(backfill_pending)
137
- validator = EnumAttributeValidator.new('Boolean', ["true"])
138
- unless validator.valid?(backfill_pending)
139
- fail ArgumentError, "invalid value for \"backfill_pending\", must be one of #{validator.allowable_values}."
114
+ if backfill_pending.nil?
115
+ fail ArgumentError, 'backfill_pending cannot be nil'
140
116
  end
117
+
141
118
  @backfill_pending = backfill_pending
142
119
  end
143
120
 
@@ -15,34 +15,13 @@ require 'time'
15
15
 
16
16
  module Zernio
17
17
  class GetCampaignAnalytics202Response < ApiModelBase
18
+ # Always true on this response. Part of the requested range is still being backfilled; retry until the request returns 200.
18
19
  attr_accessor :backfill_pending
19
20
 
20
21
  attr_accessor :campaign
21
22
 
22
23
  attr_accessor :analytics
23
24
 
24
- class EnumAttributeValidator
25
- attr_reader :datatype
26
- attr_reader :allowable_values
27
-
28
- def initialize(datatype, allowable_values)
29
- @allowable_values = allowable_values.map do |value|
30
- case datatype.to_s
31
- when /Integer/i
32
- value.to_i
33
- when /Float/i
34
- value.to_f
35
- else
36
- value
37
- end
38
- end
39
- end
40
-
41
- def valid?(value)
42
- !value || allowable_values.include?(value)
43
- end
44
- end
45
-
46
25
  # Attribute mapping from ruby-style variable name to JSON key.
47
26
  def self.attribute_map
48
27
  {
@@ -132,18 +111,16 @@ module Zernio
132
111
  def valid?
133
112
  warn '[DEPRECATED] the `valid?` method is obsolete'
134
113
  return false if @backfill_pending.nil?
135
- backfill_pending_validator = EnumAttributeValidator.new('Boolean', ["true"])
136
- return false unless backfill_pending_validator.valid?(@backfill_pending)
137
114
  true
138
115
  end
139
116
 
140
- # Custom attribute writer method checking allowed values (enum).
141
- # @param [Object] backfill_pending Object to be assigned
117
+ # Custom attribute writer method with validation
118
+ # @param [Object] backfill_pending Value to be assigned
142
119
  def backfill_pending=(backfill_pending)
143
- validator = EnumAttributeValidator.new('Boolean', ["true"])
144
- unless validator.valid?(backfill_pending)
145
- fail ArgumentError, "invalid value for \"backfill_pending\", must be one of #{validator.allowable_values}."
120
+ if backfill_pending.nil?
121
+ fail ArgumentError, 'backfill_pending cannot be nil'
146
122
  end
123
+
147
124
  @backfill_pending = backfill_pending
148
125
  end
149
126
 
@@ -19,30 +19,9 @@ module Zernio
19
19
 
20
20
  attr_accessor :pagination
21
21
 
22
+ # Always true on this response. Part of the requested range is still being backfilled; retry until the request returns 200.
22
23
  attr_accessor :backfill_pending
23
24
 
24
- class EnumAttributeValidator
25
- attr_reader :datatype
26
- attr_reader :allowable_values
27
-
28
- def initialize(datatype, allowable_values)
29
- @allowable_values = allowable_values.map do |value|
30
- case datatype.to_s
31
- when /Integer/i
32
- value.to_i
33
- when /Float/i
34
- value.to_f
35
- else
36
- value
37
- end
38
- end
39
- end
40
-
41
- def valid?(value)
42
- !value || allowable_values.include?(value)
43
- end
44
- end
45
-
46
25
  # Attribute mapping from ruby-style variable name to JSON key.
47
26
  def self.attribute_map
48
27
  {
@@ -134,18 +113,16 @@ module Zernio
134
113
  def valid?
135
114
  warn '[DEPRECATED] the `valid?` method is obsolete'
136
115
  return false if @backfill_pending.nil?
137
- backfill_pending_validator = EnumAttributeValidator.new('Boolean', ["true"])
138
- return false unless backfill_pending_validator.valid?(@backfill_pending)
139
116
  true
140
117
  end
141
118
 
142
- # Custom attribute writer method checking allowed values (enum).
143
- # @param [Object] backfill_pending Object to be assigned
119
+ # Custom attribute writer method with validation
120
+ # @param [Object] backfill_pending Value to be assigned
144
121
  def backfill_pending=(backfill_pending)
145
- validator = EnumAttributeValidator.new('Boolean', ["true"])
146
- unless validator.valid?(backfill_pending)
147
- fail ArgumentError, "invalid value for \"backfill_pending\", must be one of #{validator.allowable_values}."
122
+ if backfill_pending.nil?
123
+ fail ArgumentError, 'backfill_pending cannot be nil'
148
124
  end
125
+
149
126
  @backfill_pending = backfill_pending
150
127
  end
151
128
 
@@ -11,5 +11,5 @@ Generator version: 7.19.0
11
11
  =end
12
12
 
13
13
  module Zernio
14
- VERSION = '0.0.717'
14
+ VERSION = '0.0.718'
15
15
  end
data/openapi.yaml CHANGED
@@ -38193,7 +38193,7 @@ paths:
38193
38193
  - type: object
38194
38194
  required: [backfillPending]
38195
38195
  properties:
38196
- backfillPending: { type: boolean, const: true }
38196
+ backfillPending: { type: boolean, description: 'Always true on this response. Part of the requested range is still being backfilled; retry until the request returns 200.' }
38197
38197
  '400': { $ref: '#/components/responses/BadRequest' }
38198
38198
  '401': { $ref: '#/components/responses/Unauthorized' }
38199
38199
  '403':
@@ -39343,7 +39343,7 @@ paths:
39343
39343
  - type: object
39344
39344
  required: [backfillPending]
39345
39345
  properties:
39346
- backfillPending: { type: boolean, const: true }
39346
+ backfillPending: { type: boolean, description: 'Always true on this response. Part of the requested range is still being backfilled; retry until the request returns 200.' }
39347
39347
  '401': { $ref: '#/components/responses/Unauthorized' }
39348
39348
  '403':
39349
39349
  description: Ads access required. Legacy plans need the Ads add-on; included by default on usage-based plans.
@@ -39396,7 +39396,7 @@ paths:
39396
39396
  - type: object
39397
39397
  required: [backfillPending]
39398
39398
  properties:
39399
- backfillPending: { type: boolean, const: true }
39399
+ backfillPending: { type: boolean, description: 'Always true on this response. Part of the requested range is still being backfilled; retry until the request returns 200.' }
39400
39400
  '400': { $ref: '#/components/responses/BadRequest' }
39401
39401
  '401': { $ref: '#/components/responses/Unauthorized' }
39402
39402
  '403':
@@ -39669,7 +39669,7 @@ paths:
39669
39669
  - type: object
39670
39670
  required: [backfillPending]
39671
39671
  properties:
39672
- backfillPending: { type: boolean, const: true }
39672
+ backfillPending: { type: boolean, description: 'Always true on this response. Part of the requested range is still being backfilled; retry until the request returns 200.' }
39673
39673
  '400':
39674
39674
  description: "Invalid parameter (e.g. an unknown `breakdowns` dimension). The message lists the offending value(s) and the supported set."
39675
39675
  content:
@@ -40101,7 +40101,7 @@ paths:
40101
40101
  - type: object
40102
40102
  required: [backfillPending]
40103
40103
  properties:
40104
- backfillPending: { type: boolean, const: true }
40104
+ backfillPending: { type: boolean, description: 'Always true on this response. Part of the requested range is still being backfilled; retry until the request returns 200.' }
40105
40105
  '400':
40106
40106
  description: "Invalid parameter (e.g. an unknown `breakdowns` dimension). The message lists the offending value(s) and the supported set."
40107
40107
  content:
@@ -30,10 +30,6 @@ describe Zernio::GetAdAnalytics202Response do
30
30
  describe 'test attribute "backfill_pending"' do
31
31
  it 'should work' do
32
32
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('Boolean', ["true"])
34
- # validator.allowable_values.each do |value|
35
- # expect { instance.backfill_pending = value }.not_to raise_error
36
- # end
37
33
  end
38
34
  end
39
35
 
@@ -42,10 +42,6 @@ describe Zernio::GetAdTree202Response do
42
42
  describe 'test attribute "backfill_pending"' do
43
43
  it 'should work' do
44
44
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('Boolean', ["true"])
46
- # validator.allowable_values.each do |value|
47
- # expect { instance.backfill_pending = value }.not_to raise_error
48
- # end
49
45
  end
50
46
  end
51
47
 
@@ -30,10 +30,6 @@ describe Zernio::GetAdsTimeline202Response do
30
30
  describe 'test attribute "backfill_pending"' do
31
31
  it 'should work' do
32
32
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('Boolean', ["true"])
34
- # validator.allowable_values.each do |value|
35
- # expect { instance.backfill_pending = value }.not_to raise_error
36
- # end
37
33
  end
38
34
  end
39
35
 
@@ -30,10 +30,6 @@ describe Zernio::GetCampaignAnalytics202Response do
30
30
  describe 'test attribute "backfill_pending"' do
31
31
  it 'should work' do
32
32
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('Boolean', ["true"])
34
- # validator.allowable_values.each do |value|
35
- # expect { instance.backfill_pending = value }.not_to raise_error
36
- # end
37
33
  end
38
34
  end
39
35
 
@@ -42,10 +42,6 @@ describe Zernio::ListAds202Response do
42
42
  describe 'test attribute "backfill_pending"' do
43
43
  it 'should work' do
44
44
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('Boolean', ["true"])
46
- # validator.allowable_values.each do |value|
47
- # expect { instance.backfill_pending = value }.not_to raise_error
48
- # end
49
45
  end
50
46
  end
51
47
 
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.717
4
+ version: 0.0.718
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
@@ -5318,7 +5318,7 @@ files:
5318
5318
  - spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
5319
5319
  - spec/models/you_tube_video_retention_response_spec.rb
5320
5320
  - spec/spec_helper.rb
5321
- - zernio-sdk-0.0.717.gem
5321
+ - zernio-sdk-0.0.718.gem
5322
5322
  - zernio-sdk.gemspec
5323
5323
  homepage: https://openapi-generator.tech
5324
5324
  licenses:
Binary file