late-sdk 0.0.860 → 0.0.861
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 +4 -4
- data/README.md +2 -0
- data/docs/AdAccountsApi.md +1 -1
- data/docs/AdCampaignsApi.md +5 -5
- data/docs/AdInsightsApi.md +1 -1
- data/docs/CampaignBidding.md +5 -1
- data/docs/ConversionsApi.md +2 -2
- data/docs/GetAdsSearchTerms200Response.md +5 -1
- data/docs/GetCampaignBidding200Response.md +4 -0
- data/docs/GetCampaignTargeting200Response.md +5 -1
- data/docs/ListAccountCallouts200Response.md +5 -1
- data/docs/ListAdAccounts200Response.md +5 -1
- data/docs/ListBidStrategies200Response.md +5 -1
- data/docs/ListCampaignNegativeKeywords200Response.md +5 -1
- data/docs/ListConversionActions200Response.md +5 -1
- data/docs/UpdateCampaignTargeting200Response.md +7 -1
- data/docs/UpdateCampaignTargeting200ResponseDevicesInner.md +22 -0
- data/docs/UpdateCampaignTargeting200ResponseLanguagesInner.md +22 -0
- data/lib/zernio-sdk/api/ad_accounts_api.rb +2 -2
- data/lib/zernio-sdk/api/ad_campaigns_api.rb +10 -10
- data/lib/zernio-sdk/api/ad_insights_api.rb +2 -2
- data/lib/zernio-sdk/api/conversions_api.rb +4 -4
- data/lib/zernio-sdk/models/campaign_bidding.rb +25 -4
- data/lib/zernio-sdk/models/get_ads_search_terms200_response.rb +25 -4
- data/lib/zernio-sdk/models/get_campaign_bidding200_response.rb +21 -1
- data/lib/zernio-sdk/models/get_campaign_targeting200_response.rb +25 -4
- data/lib/zernio-sdk/models/list_account_callouts200_response.rb +25 -4
- data/lib/zernio-sdk/models/list_ad_accounts200_response.rb +25 -4
- data/lib/zernio-sdk/models/list_bid_strategies200_response.rb +25 -4
- data/lib/zernio-sdk/models/list_campaign_negative_keywords200_response.rb +25 -4
- data/lib/zernio-sdk/models/list_conversion_actions200_response.rb +25 -4
- data/lib/zernio-sdk/models/update_campaign_targeting200_response.rb +37 -4
- data/lib/zernio-sdk/models/update_campaign_targeting200_response_devices_inner.rb +201 -0
- data/lib/zernio-sdk/models/update_campaign_targeting200_response_languages_inner.rb +165 -0
- data/lib/zernio-sdk/version.rb +1 -1
- data/lib/zernio-sdk.rb +2 -0
- data/openapi.yaml +81 -17
- data/spec/api/ad_accounts_api_spec.rb +1 -1
- data/spec/api/ad_campaigns_api_spec.rb +5 -5
- data/spec/api/ad_insights_api_spec.rb +1 -1
- data/spec/api/conversions_api_spec.rb +2 -2
- data/spec/models/campaign_bidding_spec.rb +12 -0
- data/spec/models/get_ads_search_terms200_response_spec.rb +12 -0
- data/spec/models/get_campaign_bidding200_response_spec.rb +12 -0
- data/spec/models/get_campaign_targeting200_response_spec.rb +12 -0
- data/spec/models/list_account_callouts200_response_spec.rb +12 -0
- data/spec/models/list_ad_accounts200_response_spec.rb +12 -0
- data/spec/models/list_bid_strategies200_response_spec.rb +12 -0
- data/spec/models/list_campaign_negative_keywords200_response_spec.rb +12 -0
- data/spec/models/list_conversion_actions200_response_spec.rb +12 -0
- data/spec/models/update_campaign_targeting200_response_devices_inner_spec.rb +52 -0
- data/spec/models/update_campaign_targeting200_response_languages_inner_spec.rb +48 -0
- data/spec/models/update_campaign_targeting200_response_spec.rb +18 -0
- data/zernio-sdk-0.0.861.gem +0 -0
- metadata +10 -2
- data/zernio-sdk-0.0.860.gem +0 -0
|
@@ -26,6 +26,12 @@ module Zernio
|
|
|
26
26
|
|
|
27
27
|
attr_accessor :portfolio
|
|
28
28
|
|
|
29
|
+
# When this data was fetched from Google. Null when it was never served from cache.
|
|
30
|
+
attr_accessor :cached_at
|
|
31
|
+
|
|
32
|
+
# True when Google's daily API quota was exhausted and this is the last successful fetch, not a live read.
|
|
33
|
+
attr_accessor :stale
|
|
34
|
+
|
|
29
35
|
class EnumAttributeValidator
|
|
30
36
|
attr_reader :datatype
|
|
31
37
|
attr_reader :allowable_values
|
|
@@ -54,7 +60,9 @@ module Zernio
|
|
|
54
60
|
:'channel' => :'channel',
|
|
55
61
|
:'bidding_strategy_type' => :'biddingStrategyType',
|
|
56
62
|
:'bid_spec' => :'bidSpec',
|
|
57
|
-
:'portfolio' => :'portfolio'
|
|
63
|
+
:'portfolio' => :'portfolio',
|
|
64
|
+
:'cached_at' => :'cachedAt',
|
|
65
|
+
:'stale' => :'stale'
|
|
58
66
|
}
|
|
59
67
|
end
|
|
60
68
|
|
|
@@ -74,13 +82,16 @@ module Zernio
|
|
|
74
82
|
:'channel' => :'String',
|
|
75
83
|
:'bidding_strategy_type' => :'String',
|
|
76
84
|
:'bid_spec' => :'CampaignBiddingBidSpec',
|
|
77
|
-
:'portfolio' => :'CampaignBiddingPortfolio'
|
|
85
|
+
:'portfolio' => :'CampaignBiddingPortfolio',
|
|
86
|
+
:'cached_at' => :'Time',
|
|
87
|
+
:'stale' => :'Boolean'
|
|
78
88
|
}
|
|
79
89
|
end
|
|
80
90
|
|
|
81
91
|
# List of attributes with nullable: true
|
|
82
92
|
def self.openapi_nullable
|
|
83
93
|
Set.new([
|
|
94
|
+
:'cached_at',
|
|
84
95
|
])
|
|
85
96
|
end
|
|
86
97
|
|
|
@@ -115,6 +126,14 @@ module Zernio
|
|
|
115
126
|
if attributes.key?(:'portfolio')
|
|
116
127
|
self.portfolio = attributes[:'portfolio']
|
|
117
128
|
end
|
|
129
|
+
|
|
130
|
+
if attributes.key?(:'cached_at')
|
|
131
|
+
self.cached_at = attributes[:'cached_at']
|
|
132
|
+
end
|
|
133
|
+
|
|
134
|
+
if attributes.key?(:'stale')
|
|
135
|
+
self.stale = attributes[:'stale']
|
|
136
|
+
end
|
|
118
137
|
end
|
|
119
138
|
|
|
120
139
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -152,7 +171,9 @@ module Zernio
|
|
|
152
171
|
channel == o.channel &&
|
|
153
172
|
bidding_strategy_type == o.bidding_strategy_type &&
|
|
154
173
|
bid_spec == o.bid_spec &&
|
|
155
|
-
portfolio == o.portfolio
|
|
174
|
+
portfolio == o.portfolio &&
|
|
175
|
+
cached_at == o.cached_at &&
|
|
176
|
+
stale == o.stale
|
|
156
177
|
end
|
|
157
178
|
|
|
158
179
|
# @see the `==` method
|
|
@@ -164,7 +185,7 @@ module Zernio
|
|
|
164
185
|
# Calculates hash code according to all attributes.
|
|
165
186
|
# @return [Integer] Hash code
|
|
166
187
|
def hash
|
|
167
|
-
[channel, bidding_strategy_type, bid_spec, portfolio].hash
|
|
188
|
+
[channel, bidding_strategy_type, bid_spec, portfolio, cached_at, stale].hash
|
|
168
189
|
end
|
|
169
190
|
|
|
170
191
|
# Builds the object from hash
|
|
@@ -21,12 +21,20 @@ module Zernio
|
|
|
21
21
|
|
|
22
22
|
attr_accessor :paging
|
|
23
23
|
|
|
24
|
+
# When this data was fetched from Google. Null when it was never served from cache.
|
|
25
|
+
attr_accessor :cached_at
|
|
26
|
+
|
|
27
|
+
# True when Google's daily API quota was exhausted and this is the last successful fetch, not a live read.
|
|
28
|
+
attr_accessor :stale
|
|
29
|
+
|
|
24
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
25
31
|
def self.attribute_map
|
|
26
32
|
{
|
|
27
33
|
:'customer_id' => :'customerId',
|
|
28
34
|
:'data' => :'data',
|
|
29
|
-
:'paging' => :'paging'
|
|
35
|
+
:'paging' => :'paging',
|
|
36
|
+
:'cached_at' => :'cachedAt',
|
|
37
|
+
:'stale' => :'stale'
|
|
30
38
|
}
|
|
31
39
|
end
|
|
32
40
|
|
|
@@ -45,13 +53,16 @@ module Zernio
|
|
|
45
53
|
{
|
|
46
54
|
:'customer_id' => :'String',
|
|
47
55
|
:'data' => :'Array<GetAdsSearchTerms200ResponseDataInner>',
|
|
48
|
-
:'paging' => :'GetAdsSearchTerms200ResponsePaging'
|
|
56
|
+
:'paging' => :'GetAdsSearchTerms200ResponsePaging',
|
|
57
|
+
:'cached_at' => :'Time',
|
|
58
|
+
:'stale' => :'Boolean'
|
|
49
59
|
}
|
|
50
60
|
end
|
|
51
61
|
|
|
52
62
|
# List of attributes with nullable: true
|
|
53
63
|
def self.openapi_nullable
|
|
54
64
|
Set.new([
|
|
65
|
+
:'cached_at',
|
|
55
66
|
])
|
|
56
67
|
end
|
|
57
68
|
|
|
@@ -84,6 +95,14 @@ module Zernio
|
|
|
84
95
|
if attributes.key?(:'paging')
|
|
85
96
|
self.paging = attributes[:'paging']
|
|
86
97
|
end
|
|
98
|
+
|
|
99
|
+
if attributes.key?(:'cached_at')
|
|
100
|
+
self.cached_at = attributes[:'cached_at']
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
if attributes.key?(:'stale')
|
|
104
|
+
self.stale = attributes[:'stale']
|
|
105
|
+
end
|
|
87
106
|
end
|
|
88
107
|
|
|
89
108
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -108,7 +127,9 @@ module Zernio
|
|
|
108
127
|
self.class == o.class &&
|
|
109
128
|
customer_id == o.customer_id &&
|
|
110
129
|
data == o.data &&
|
|
111
|
-
paging == o.paging
|
|
130
|
+
paging == o.paging &&
|
|
131
|
+
cached_at == o.cached_at &&
|
|
132
|
+
stale == o.stale
|
|
112
133
|
end
|
|
113
134
|
|
|
114
135
|
# @see the `==` method
|
|
@@ -120,7 +141,7 @@ module Zernio
|
|
|
120
141
|
# Calculates hash code according to all attributes.
|
|
121
142
|
# @return [Integer] Hash code
|
|
122
143
|
def hash
|
|
123
|
-
[customer_id, data, paging].hash
|
|
144
|
+
[customer_id, data, paging, cached_at, stale].hash
|
|
124
145
|
end
|
|
125
146
|
|
|
126
147
|
# Builds the object from hash
|
|
@@ -25,6 +25,12 @@ module Zernio
|
|
|
25
25
|
|
|
26
26
|
attr_accessor :portfolio
|
|
27
27
|
|
|
28
|
+
# When this data was fetched from Google. Null when it was never served from cache.
|
|
29
|
+
attr_accessor :cached_at
|
|
30
|
+
|
|
31
|
+
# True when Google's daily API quota was exhausted and this is the last successful fetch, not a live read.
|
|
32
|
+
attr_accessor :stale
|
|
33
|
+
|
|
28
34
|
attr_accessor :campaign_id
|
|
29
35
|
|
|
30
36
|
class EnumAttributeValidator
|
|
@@ -56,6 +62,8 @@ module Zernio
|
|
|
56
62
|
:'bidding_strategy_type' => :'biddingStrategyType',
|
|
57
63
|
:'bid_spec' => :'bidSpec',
|
|
58
64
|
:'portfolio' => :'portfolio',
|
|
65
|
+
:'cached_at' => :'cachedAt',
|
|
66
|
+
:'stale' => :'stale',
|
|
59
67
|
:'campaign_id' => :'campaignId'
|
|
60
68
|
}
|
|
61
69
|
end
|
|
@@ -77,6 +85,8 @@ module Zernio
|
|
|
77
85
|
:'bidding_strategy_type' => :'String',
|
|
78
86
|
:'bid_spec' => :'CampaignBiddingBidSpec',
|
|
79
87
|
:'portfolio' => :'CampaignBiddingPortfolio',
|
|
88
|
+
:'cached_at' => :'Time',
|
|
89
|
+
:'stale' => :'Boolean',
|
|
80
90
|
:'campaign_id' => :'String'
|
|
81
91
|
}
|
|
82
92
|
end
|
|
@@ -126,6 +136,14 @@ module Zernio
|
|
|
126
136
|
self.portfolio = attributes[:'portfolio']
|
|
127
137
|
end
|
|
128
138
|
|
|
139
|
+
if attributes.key?(:'cached_at')
|
|
140
|
+
self.cached_at = attributes[:'cached_at']
|
|
141
|
+
end
|
|
142
|
+
|
|
143
|
+
if attributes.key?(:'stale')
|
|
144
|
+
self.stale = attributes[:'stale']
|
|
145
|
+
end
|
|
146
|
+
|
|
129
147
|
if attributes.key?(:'campaign_id')
|
|
130
148
|
self.campaign_id = attributes[:'campaign_id']
|
|
131
149
|
end
|
|
@@ -167,6 +185,8 @@ module Zernio
|
|
|
167
185
|
bidding_strategy_type == o.bidding_strategy_type &&
|
|
168
186
|
bid_spec == o.bid_spec &&
|
|
169
187
|
portfolio == o.portfolio &&
|
|
188
|
+
cached_at == o.cached_at &&
|
|
189
|
+
stale == o.stale &&
|
|
170
190
|
campaign_id == o.campaign_id
|
|
171
191
|
end
|
|
172
192
|
|
|
@@ -179,7 +199,7 @@ module Zernio
|
|
|
179
199
|
# Calculates hash code according to all attributes.
|
|
180
200
|
# @return [Integer] Hash code
|
|
181
201
|
def hash
|
|
182
|
-
[channel, bidding_strategy_type, bid_spec, portfolio, campaign_id].hash
|
|
202
|
+
[channel, bidding_strategy_type, bid_spec, portfolio, cached_at, stale, campaign_id].hash
|
|
183
203
|
end
|
|
184
204
|
|
|
185
205
|
# Builds the object from hash
|
|
@@ -21,12 +21,20 @@ module Zernio
|
|
|
21
21
|
|
|
22
22
|
attr_accessor :languages
|
|
23
23
|
|
|
24
|
+
# When this targeting was fetched from Google. Null when it was never served from cache.
|
|
25
|
+
attr_accessor :cached_at
|
|
26
|
+
|
|
27
|
+
# True when Google's daily API quota was exhausted and this is the last successful fetch, not a live read.
|
|
28
|
+
attr_accessor :stale
|
|
29
|
+
|
|
24
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
25
31
|
def self.attribute_map
|
|
26
32
|
{
|
|
27
33
|
:'devices' => :'devices',
|
|
28
34
|
:'locations' => :'locations',
|
|
29
|
-
:'languages' => :'languages'
|
|
35
|
+
:'languages' => :'languages',
|
|
36
|
+
:'cached_at' => :'cachedAt',
|
|
37
|
+
:'stale' => :'stale'
|
|
30
38
|
}
|
|
31
39
|
end
|
|
32
40
|
|
|
@@ -45,13 +53,16 @@ module Zernio
|
|
|
45
53
|
{
|
|
46
54
|
:'devices' => :'Array<GetCampaignTargeting200ResponseDevicesInner>',
|
|
47
55
|
:'locations' => :'Array<GetCampaignTargeting200ResponseLocationsInner>',
|
|
48
|
-
:'languages' => :'Array<GetCampaignTargeting200ResponseLanguagesInner>'
|
|
56
|
+
:'languages' => :'Array<GetCampaignTargeting200ResponseLanguagesInner>',
|
|
57
|
+
:'cached_at' => :'Time',
|
|
58
|
+
:'stale' => :'Boolean'
|
|
49
59
|
}
|
|
50
60
|
end
|
|
51
61
|
|
|
52
62
|
# List of attributes with nullable: true
|
|
53
63
|
def self.openapi_nullable
|
|
54
64
|
Set.new([
|
|
65
|
+
:'cached_at',
|
|
55
66
|
])
|
|
56
67
|
end
|
|
57
68
|
|
|
@@ -88,6 +99,14 @@ module Zernio
|
|
|
88
99
|
self.languages = value
|
|
89
100
|
end
|
|
90
101
|
end
|
|
102
|
+
|
|
103
|
+
if attributes.key?(:'cached_at')
|
|
104
|
+
self.cached_at = attributes[:'cached_at']
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
if attributes.key?(:'stale')
|
|
108
|
+
self.stale = attributes[:'stale']
|
|
109
|
+
end
|
|
91
110
|
end
|
|
92
111
|
|
|
93
112
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -112,7 +131,9 @@ module Zernio
|
|
|
112
131
|
self.class == o.class &&
|
|
113
132
|
devices == o.devices &&
|
|
114
133
|
locations == o.locations &&
|
|
115
|
-
languages == o.languages
|
|
134
|
+
languages == o.languages &&
|
|
135
|
+
cached_at == o.cached_at &&
|
|
136
|
+
stale == o.stale
|
|
116
137
|
end
|
|
117
138
|
|
|
118
139
|
# @see the `==` method
|
|
@@ -124,7 +145,7 @@ module Zernio
|
|
|
124
145
|
# Calculates hash code according to all attributes.
|
|
125
146
|
# @return [Integer] Hash code
|
|
126
147
|
def hash
|
|
127
|
-
[devices, locations, languages].hash
|
|
148
|
+
[devices, locations, languages, cached_at, stale].hash
|
|
128
149
|
end
|
|
129
150
|
|
|
130
151
|
# Builds the object from hash
|
|
@@ -19,11 +19,19 @@ module Zernio
|
|
|
19
19
|
|
|
20
20
|
attr_accessor :callouts
|
|
21
21
|
|
|
22
|
+
# When this list was fetched from Google. Null when it was never served from cache.
|
|
23
|
+
attr_accessor :cached_at
|
|
24
|
+
|
|
25
|
+
# True when Google's daily API quota was exhausted and this is the last successful fetch, not a live read.
|
|
26
|
+
attr_accessor :stale
|
|
27
|
+
|
|
22
28
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
23
29
|
def self.attribute_map
|
|
24
30
|
{
|
|
25
31
|
:'customer_id' => :'customerId',
|
|
26
|
-
:'callouts' => :'callouts'
|
|
32
|
+
:'callouts' => :'callouts',
|
|
33
|
+
:'cached_at' => :'cachedAt',
|
|
34
|
+
:'stale' => :'stale'
|
|
27
35
|
}
|
|
28
36
|
end
|
|
29
37
|
|
|
@@ -41,13 +49,16 @@ module Zernio
|
|
|
41
49
|
def self.openapi_types
|
|
42
50
|
{
|
|
43
51
|
:'customer_id' => :'String',
|
|
44
|
-
:'callouts' => :'Array<ListAccountCallouts200ResponseCalloutsInner>'
|
|
52
|
+
:'callouts' => :'Array<ListAccountCallouts200ResponseCalloutsInner>',
|
|
53
|
+
:'cached_at' => :'Time',
|
|
54
|
+
:'stale' => :'Boolean'
|
|
45
55
|
}
|
|
46
56
|
end
|
|
47
57
|
|
|
48
58
|
# List of attributes with nullable: true
|
|
49
59
|
def self.openapi_nullable
|
|
50
60
|
Set.new([
|
|
61
|
+
:'cached_at',
|
|
51
62
|
])
|
|
52
63
|
end
|
|
53
64
|
|
|
@@ -76,6 +87,14 @@ module Zernio
|
|
|
76
87
|
self.callouts = value
|
|
77
88
|
end
|
|
78
89
|
end
|
|
90
|
+
|
|
91
|
+
if attributes.key?(:'cached_at')
|
|
92
|
+
self.cached_at = attributes[:'cached_at']
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
if attributes.key?(:'stale')
|
|
96
|
+
self.stale = attributes[:'stale']
|
|
97
|
+
end
|
|
79
98
|
end
|
|
80
99
|
|
|
81
100
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -99,7 +118,9 @@ module Zernio
|
|
|
99
118
|
return true if self.equal?(o)
|
|
100
119
|
self.class == o.class &&
|
|
101
120
|
customer_id == o.customer_id &&
|
|
102
|
-
callouts == o.callouts
|
|
121
|
+
callouts == o.callouts &&
|
|
122
|
+
cached_at == o.cached_at &&
|
|
123
|
+
stale == o.stale
|
|
103
124
|
end
|
|
104
125
|
|
|
105
126
|
# @see the `==` method
|
|
@@ -111,7 +132,7 @@ module Zernio
|
|
|
111
132
|
# Calculates hash code according to all attributes.
|
|
112
133
|
# @return [Integer] Hash code
|
|
113
134
|
def hash
|
|
114
|
-
[customer_id, callouts].hash
|
|
135
|
+
[customer_id, callouts, cached_at, stale].hash
|
|
115
136
|
end
|
|
116
137
|
|
|
117
138
|
# Builds the object from hash
|
|
@@ -17,10 +17,18 @@ module Zernio
|
|
|
17
17
|
class ListAdAccounts200Response < ApiModelBase
|
|
18
18
|
attr_accessor :accounts
|
|
19
19
|
|
|
20
|
+
# Google only. When this list was fetched from Google. Null when it was never served from cache, or on other platforms.
|
|
21
|
+
attr_accessor :cached_at
|
|
22
|
+
|
|
23
|
+
# Google only. True when Google's daily API quota was exhausted and this is the last successful fetch, not a live read. Absent on other platforms.
|
|
24
|
+
attr_accessor :stale
|
|
25
|
+
|
|
20
26
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
21
27
|
def self.attribute_map
|
|
22
28
|
{
|
|
23
|
-
:'accounts' => :'accounts'
|
|
29
|
+
:'accounts' => :'accounts',
|
|
30
|
+
:'cached_at' => :'cachedAt',
|
|
31
|
+
:'stale' => :'stale'
|
|
24
32
|
}
|
|
25
33
|
end
|
|
26
34
|
|
|
@@ -37,13 +45,16 @@ module Zernio
|
|
|
37
45
|
# Attribute type mapping.
|
|
38
46
|
def self.openapi_types
|
|
39
47
|
{
|
|
40
|
-
:'accounts' => :'Array<ListAdAccounts200ResponseAccountsInner>'
|
|
48
|
+
:'accounts' => :'Array<ListAdAccounts200ResponseAccountsInner>',
|
|
49
|
+
:'cached_at' => :'Time',
|
|
50
|
+
:'stale' => :'Boolean'
|
|
41
51
|
}
|
|
42
52
|
end
|
|
43
53
|
|
|
44
54
|
# List of attributes with nullable: true
|
|
45
55
|
def self.openapi_nullable
|
|
46
56
|
Set.new([
|
|
57
|
+
:'cached_at',
|
|
47
58
|
])
|
|
48
59
|
end
|
|
49
60
|
|
|
@@ -68,6 +79,14 @@ module Zernio
|
|
|
68
79
|
self.accounts = value
|
|
69
80
|
end
|
|
70
81
|
end
|
|
82
|
+
|
|
83
|
+
if attributes.key?(:'cached_at')
|
|
84
|
+
self.cached_at = attributes[:'cached_at']
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
if attributes.key?(:'stale')
|
|
88
|
+
self.stale = attributes[:'stale']
|
|
89
|
+
end
|
|
71
90
|
end
|
|
72
91
|
|
|
73
92
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -90,7 +109,9 @@ module Zernio
|
|
|
90
109
|
def ==(o)
|
|
91
110
|
return true if self.equal?(o)
|
|
92
111
|
self.class == o.class &&
|
|
93
|
-
accounts == o.accounts
|
|
112
|
+
accounts == o.accounts &&
|
|
113
|
+
cached_at == o.cached_at &&
|
|
114
|
+
stale == o.stale
|
|
94
115
|
end
|
|
95
116
|
|
|
96
117
|
# @see the `==` method
|
|
@@ -102,7 +123,7 @@ module Zernio
|
|
|
102
123
|
# Calculates hash code according to all attributes.
|
|
103
124
|
# @return [Integer] Hash code
|
|
104
125
|
def hash
|
|
105
|
-
[accounts].hash
|
|
126
|
+
[accounts, cached_at, stale].hash
|
|
106
127
|
end
|
|
107
128
|
|
|
108
129
|
# Builds the object from hash
|
|
@@ -22,12 +22,20 @@ module Zernio
|
|
|
22
22
|
|
|
23
23
|
attr_accessor :strategies
|
|
24
24
|
|
|
25
|
+
# When this data was fetched from Google. Null when it was never served from cache.
|
|
26
|
+
attr_accessor :cached_at
|
|
27
|
+
|
|
28
|
+
# True when Google's daily API quota was exhausted and this is the last successful fetch, not a live read.
|
|
29
|
+
attr_accessor :stale
|
|
30
|
+
|
|
25
31
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
26
32
|
def self.attribute_map
|
|
27
33
|
{
|
|
28
34
|
:'customer_id' => :'customerId',
|
|
29
35
|
:'currency' => :'currency',
|
|
30
|
-
:'strategies' => :'strategies'
|
|
36
|
+
:'strategies' => :'strategies',
|
|
37
|
+
:'cached_at' => :'cachedAt',
|
|
38
|
+
:'stale' => :'stale'
|
|
31
39
|
}
|
|
32
40
|
end
|
|
33
41
|
|
|
@@ -46,13 +54,16 @@ module Zernio
|
|
|
46
54
|
{
|
|
47
55
|
:'customer_id' => :'String',
|
|
48
56
|
:'currency' => :'String',
|
|
49
|
-
:'strategies' => :'Array<PortfolioBidStrategy>'
|
|
57
|
+
:'strategies' => :'Array<PortfolioBidStrategy>',
|
|
58
|
+
:'cached_at' => :'Time',
|
|
59
|
+
:'stale' => :'Boolean'
|
|
50
60
|
}
|
|
51
61
|
end
|
|
52
62
|
|
|
53
63
|
# List of attributes with nullable: true
|
|
54
64
|
def self.openapi_nullable
|
|
55
65
|
Set.new([
|
|
66
|
+
:'cached_at',
|
|
56
67
|
])
|
|
57
68
|
end
|
|
58
69
|
|
|
@@ -85,6 +96,14 @@ module Zernio
|
|
|
85
96
|
self.strategies = value
|
|
86
97
|
end
|
|
87
98
|
end
|
|
99
|
+
|
|
100
|
+
if attributes.key?(:'cached_at')
|
|
101
|
+
self.cached_at = attributes[:'cached_at']
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
if attributes.key?(:'stale')
|
|
105
|
+
self.stale = attributes[:'stale']
|
|
106
|
+
end
|
|
88
107
|
end
|
|
89
108
|
|
|
90
109
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -109,7 +128,9 @@ module Zernio
|
|
|
109
128
|
self.class == o.class &&
|
|
110
129
|
customer_id == o.customer_id &&
|
|
111
130
|
currency == o.currency &&
|
|
112
|
-
strategies == o.strategies
|
|
131
|
+
strategies == o.strategies &&
|
|
132
|
+
cached_at == o.cached_at &&
|
|
133
|
+
stale == o.stale
|
|
113
134
|
end
|
|
114
135
|
|
|
115
136
|
# @see the `==` method
|
|
@@ -121,7 +142,7 @@ module Zernio
|
|
|
121
142
|
# Calculates hash code according to all attributes.
|
|
122
143
|
# @return [Integer] Hash code
|
|
123
144
|
def hash
|
|
124
|
-
[customer_id, currency, strategies].hash
|
|
145
|
+
[customer_id, currency, strategies, cached_at, stale].hash
|
|
125
146
|
end
|
|
126
147
|
|
|
127
148
|
# Builds the object from hash
|
|
@@ -17,10 +17,18 @@ module Zernio
|
|
|
17
17
|
class ListCampaignNegativeKeywords200Response < ApiModelBase
|
|
18
18
|
attr_accessor :keywords
|
|
19
19
|
|
|
20
|
+
# When this list was fetched from Google. Null when it was never served from cache.
|
|
21
|
+
attr_accessor :cached_at
|
|
22
|
+
|
|
23
|
+
# True when Google's daily API quota was exhausted and this is the last successful fetch, not a live read.
|
|
24
|
+
attr_accessor :stale
|
|
25
|
+
|
|
20
26
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
21
27
|
def self.attribute_map
|
|
22
28
|
{
|
|
23
|
-
:'keywords' => :'keywords'
|
|
29
|
+
:'keywords' => :'keywords',
|
|
30
|
+
:'cached_at' => :'cachedAt',
|
|
31
|
+
:'stale' => :'stale'
|
|
24
32
|
}
|
|
25
33
|
end
|
|
26
34
|
|
|
@@ -37,13 +45,16 @@ module Zernio
|
|
|
37
45
|
# Attribute type mapping.
|
|
38
46
|
def self.openapi_types
|
|
39
47
|
{
|
|
40
|
-
:'keywords' => :'Array<ListCampaignNegativeKeywords200ResponseKeywordsInner>'
|
|
48
|
+
:'keywords' => :'Array<ListCampaignNegativeKeywords200ResponseKeywordsInner>',
|
|
49
|
+
:'cached_at' => :'Time',
|
|
50
|
+
:'stale' => :'Boolean'
|
|
41
51
|
}
|
|
42
52
|
end
|
|
43
53
|
|
|
44
54
|
# List of attributes with nullable: true
|
|
45
55
|
def self.openapi_nullable
|
|
46
56
|
Set.new([
|
|
57
|
+
:'cached_at',
|
|
47
58
|
])
|
|
48
59
|
end
|
|
49
60
|
|
|
@@ -68,6 +79,14 @@ module Zernio
|
|
|
68
79
|
self.keywords = value
|
|
69
80
|
end
|
|
70
81
|
end
|
|
82
|
+
|
|
83
|
+
if attributes.key?(:'cached_at')
|
|
84
|
+
self.cached_at = attributes[:'cached_at']
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
if attributes.key?(:'stale')
|
|
88
|
+
self.stale = attributes[:'stale']
|
|
89
|
+
end
|
|
71
90
|
end
|
|
72
91
|
|
|
73
92
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -90,7 +109,9 @@ module Zernio
|
|
|
90
109
|
def ==(o)
|
|
91
110
|
return true if self.equal?(o)
|
|
92
111
|
self.class == o.class &&
|
|
93
|
-
keywords == o.keywords
|
|
112
|
+
keywords == o.keywords &&
|
|
113
|
+
cached_at == o.cached_at &&
|
|
114
|
+
stale == o.stale
|
|
94
115
|
end
|
|
95
116
|
|
|
96
117
|
# @see the `==` method
|
|
@@ -102,7 +123,7 @@ module Zernio
|
|
|
102
123
|
# Calculates hash code according to all attributes.
|
|
103
124
|
# @return [Integer] Hash code
|
|
104
125
|
def hash
|
|
105
|
-
[keywords].hash
|
|
126
|
+
[keywords, cached_at, stale].hash
|
|
106
127
|
end
|
|
107
128
|
|
|
108
129
|
# Builds the object from hash
|
|
@@ -20,11 +20,19 @@ module Zernio
|
|
|
20
20
|
|
|
21
21
|
attr_accessor :actions
|
|
22
22
|
|
|
23
|
+
# When this list was fetched from Google. Null when it was never served from cache.
|
|
24
|
+
attr_accessor :cached_at
|
|
25
|
+
|
|
26
|
+
# True when Google's daily API quota was exhausted and this is the last successful fetch, not a live read.
|
|
27
|
+
attr_accessor :stale
|
|
28
|
+
|
|
23
29
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
24
30
|
def self.attribute_map
|
|
25
31
|
{
|
|
26
32
|
:'customer_id' => :'customerId',
|
|
27
|
-
:'actions' => :'actions'
|
|
33
|
+
:'actions' => :'actions',
|
|
34
|
+
:'cached_at' => :'cachedAt',
|
|
35
|
+
:'stale' => :'stale'
|
|
28
36
|
}
|
|
29
37
|
end
|
|
30
38
|
|
|
@@ -42,13 +50,16 @@ module Zernio
|
|
|
42
50
|
def self.openapi_types
|
|
43
51
|
{
|
|
44
52
|
:'customer_id' => :'String',
|
|
45
|
-
:'actions' => :'Array<ConversionAction>'
|
|
53
|
+
:'actions' => :'Array<ConversionAction>',
|
|
54
|
+
:'cached_at' => :'Time',
|
|
55
|
+
:'stale' => :'Boolean'
|
|
46
56
|
}
|
|
47
57
|
end
|
|
48
58
|
|
|
49
59
|
# List of attributes with nullable: true
|
|
50
60
|
def self.openapi_nullable
|
|
51
61
|
Set.new([
|
|
62
|
+
:'cached_at',
|
|
52
63
|
])
|
|
53
64
|
end
|
|
54
65
|
|
|
@@ -77,6 +88,14 @@ module Zernio
|
|
|
77
88
|
self.actions = value
|
|
78
89
|
end
|
|
79
90
|
end
|
|
91
|
+
|
|
92
|
+
if attributes.key?(:'cached_at')
|
|
93
|
+
self.cached_at = attributes[:'cached_at']
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
if attributes.key?(:'stale')
|
|
97
|
+
self.stale = attributes[:'stale']
|
|
98
|
+
end
|
|
80
99
|
end
|
|
81
100
|
|
|
82
101
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -100,7 +119,9 @@ module Zernio
|
|
|
100
119
|
return true if self.equal?(o)
|
|
101
120
|
self.class == o.class &&
|
|
102
121
|
customer_id == o.customer_id &&
|
|
103
|
-
actions == o.actions
|
|
122
|
+
actions == o.actions &&
|
|
123
|
+
cached_at == o.cached_at &&
|
|
124
|
+
stale == o.stale
|
|
104
125
|
end
|
|
105
126
|
|
|
106
127
|
# @see the `==` method
|
|
@@ -112,7 +133,7 @@ module Zernio
|
|
|
112
133
|
# Calculates hash code according to all attributes.
|
|
113
134
|
# @return [Integer] Hash code
|
|
114
135
|
def hash
|
|
115
|
-
[customer_id, actions].hash
|
|
136
|
+
[customer_id, actions, cached_at, stale].hash
|
|
116
137
|
end
|
|
117
138
|
|
|
118
139
|
# Builds the object from hash
|