plainrouter-sdk 0.1.1 → 0.2.0
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 -2
- data/lib/plainrouter/client.rb +73 -1
- data/lib/plainrouter/openapi/api/action_dry_run_api_api.rb +96 -0
- data/lib/plainrouter/openapi/api/action_proposal_api_api.rb +96 -0
- data/lib/plainrouter/openapi/api/action_read_api_api.rb +404 -0
- data/lib/plainrouter/openapi/api/event_api.rb +15 -15
- data/lib/plainrouter/openapi/api/operations_api.rb +24 -28
- data/lib/plainrouter/openapi/api/sandbox_api.rb +74 -17
- data/lib/plainrouter/openapi/api_client.rb +2 -2
- data/lib/plainrouter/openapi/api_error.rb +2 -2
- data/lib/plainrouter/openapi/api_model_base.rb +2 -2
- data/lib/plainrouter/openapi/configuration.rb +10 -3
- data/lib/plainrouter/openapi/models/action_batch_read.rb +164 -0
- data/lib/plainrouter/openapi/models/action_batch_read_data.rb +450 -0
- data/lib/plainrouter/openapi/models/action_current_disposition.rb +294 -0
- data/lib/plainrouter/openapi/models/action_decision_receipt_read.rb +244 -0
- data/lib/plainrouter/openapi/models/action_decision_receipt_read_chain_entry.rb +190 -0
- data/lib/plainrouter/openapi/models/action_detail_read.rb +164 -0
- data/lib/plainrouter/openapi/models/action_dry_run_read.rb +164 -0
- data/lib/plainrouter/openapi/models/action_dry_run_read_dry_run.rb +166 -0
- data/lib/plainrouter/openapi/models/action_dry_run_read_dry_run_actions_inner.rb +103 -0
- data/lib/plainrouter/openapi/models/action_dry_run_read_dry_run_actions_inner_any_of.rb +376 -0
- data/lib/plainrouter/openapi/models/action_dry_run_read_dry_run_actions_inner_any_of1.rb +268 -0
- data/lib/plainrouter/openapi/models/action_dry_run_read_dry_run_actions_inner_any_of_diff.rb +162 -0
- data/lib/plainrouter/openapi/models/action_dry_run_read_dry_run_actions_inner_any_of_target_entity.rb +199 -0
- data/lib/plainrouter/openapi/models/action_list_read.rb +192 -0
- data/lib/plainrouter/openapi/models/action_list_read_meta.rb +242 -0
- data/lib/plainrouter/openapi/models/action_policy_read.rb +164 -0
- data/lib/plainrouter/openapi/models/action_policy_read_data.rb +380 -0
- data/lib/plainrouter/openapi/models/action_proposal_input.rb +378 -0
- data/lib/plainrouter/openapi/models/action_proposal_input_actions_inner.rb +115 -0
- data/lib/plainrouter/openapi/models/action_proposal_input_actions_inner_any_of.rb +303 -0
- data/lib/plainrouter/openapi/models/action_proposal_input_actions_inner_any_of1.rb +303 -0
- data/lib/plainrouter/openapi/models/action_proposal_input_actions_inner_any_of10.rb +303 -0
- data/lib/plainrouter/openapi/models/action_proposal_input_actions_inner_any_of10_params.rb +356 -0
- data/lib/plainrouter/openapi/models/action_proposal_input_actions_inner_any_of11.rb +303 -0
- data/lib/plainrouter/openapi/models/action_proposal_input_actions_inner_any_of11_params.rb +173 -0
- data/lib/plainrouter/openapi/models/action_proposal_input_actions_inner_any_of12.rb +303 -0
- data/lib/plainrouter/openapi/models/action_proposal_input_actions_inner_any_of12_params.rb +188 -0
- data/lib/plainrouter/openapi/models/action_proposal_input_actions_inner_any_of13.rb +303 -0
- data/lib/plainrouter/openapi/models/action_proposal_input_actions_inner_any_of13_params.rb +259 -0
- data/lib/plainrouter/openapi/models/action_proposal_input_actions_inner_any_of2.rb +303 -0
- data/lib/plainrouter/openapi/models/action_proposal_input_actions_inner_any_of3.rb +303 -0
- data/lib/plainrouter/openapi/models/action_proposal_input_actions_inner_any_of4.rb +303 -0
- data/lib/plainrouter/openapi/models/action_proposal_input_actions_inner_any_of4_target_entity.rb +253 -0
- data/lib/plainrouter/openapi/models/action_proposal_input_actions_inner_any_of5.rb +303 -0
- data/lib/plainrouter/openapi/models/action_proposal_input_actions_inner_any_of6.rb +303 -0
- data/lib/plainrouter/openapi/models/action_proposal_input_actions_inner_any_of7.rb +303 -0
- data/lib/plainrouter/openapi/models/action_proposal_input_actions_inner_any_of8.rb +303 -0
- data/lib/plainrouter/openapi/models/action_proposal_input_actions_inner_any_of9.rb +303 -0
- data/lib/plainrouter/openapi/models/action_proposal_input_actions_inner_any_of_params.rb +173 -0
- data/lib/plainrouter/openapi/models/action_proposal_input_actions_inner_any_of_target_entity.rb +264 -0
- data/lib/plainrouter/openapi/models/action_proposal_input_evidence_inner.rb +262 -0
- data/lib/plainrouter/openapi/models/action_proposal_read.rb +164 -0
- data/lib/plainrouter/openapi/models/action_proposal_read_proposal.rb +452 -0
- data/lib/plainrouter/openapi/models/action_proposal_read_proposal_actions_inner.rb +386 -0
- data/lib/plainrouter/openapi/models/action_proposal_read_proposal_actions_inner_params.rb +103 -0
- data/lib/plainrouter/openapi/models/action_proposal_read_proposal_proposed_by.rb +202 -0
- data/lib/plainrouter/openapi/models/action_read_item.rb +516 -0
- data/lib/plainrouter/openapi/models/create_event200_response.rb +2 -2
- data/lib/plainrouter/openapi/models/create_event202_response.rb +218 -0
- data/lib/plainrouter/openapi/models/create_event202_response_warnings_inner.rb +240 -0
- data/lib/plainrouter/openapi/models/create_event_request.rb +2 -2
- data/lib/plainrouter/openapi/models/create_event_request_any_of.rb +2 -2
- data/lib/plainrouter/openapi/models/create_event_request_any_of1.rb +2 -2
- data/lib/plainrouter/openapi/models/create_event_request_any_of_event_time.rb +2 -2
- data/lib/plainrouter/openapi/models/create_event_request_any_of_value_data.rb +2 -2
- data/lib/plainrouter/openapi/models/delete_user_data200_response.rb +2 -2
- data/lib/plainrouter/openapi/models/delete_user_data_request.rb +35 -36
- data/lib/plainrouter/openapi/models/delivery_status.rb +2 -2
- data/lib/plainrouter/openapi/models/destination.rb +30 -3
- data/lib/plainrouter/openapi/models/destination_credential_source.rb +3 -4
- data/lib/plainrouter/openapi/models/destination_status.rb +2 -2
- data/lib/plainrouter/openapi/models/destination_type.rb +2 -2
- data/lib/plainrouter/openapi/models/emq_snapshot.rb +30 -3
- data/lib/plainrouter/openapi/models/error_message.rb +2 -2
- data/lib/plainrouter/openapi/models/event.rb +89 -45
- data/lib/plainrouter/openapi/models/get_emq_report200_response.rb +2 -2
- data/lib/plainrouter/openapi/models/get_emq_report200_response_snapshots_inner.rb +30 -3
- data/lib/plainrouter/openapi/models/get_event200_response.rb +2 -2
- data/lib/plainrouter/openapi/models/get_event200_response_deliveries_inner.rb +30 -3
- data/lib/plainrouter/openapi/models/get_event200_response_event.rb +31 -4
- data/lib/plainrouter/openapi/models/get_event200_response_event_consent.rb +2 -2
- data/lib/plainrouter/openapi/models/get_event200_response_event_deliveries_inner.rb +30 -3
- data/lib/plainrouter/openapi/models/get_event200_response_event_user_data_hashed.rb +104 -0
- data/lib/plainrouter/openapi/models/get_event200_response_lineage.rb +2 -2
- data/lib/plainrouter/openapi/models/get_event200_response_lineage_children_inner.rb +31 -4
- data/lib/plainrouter/openapi/models/get_event200_response_lineage_parent.rb +31 -4
- data/lib/plainrouter/openapi/models/get_reconciliation_report200_response.rb +2 -2
- data/lib/plainrouter/openapi/models/get_reconciliation_report200_response_reports_inner.rb +30 -3
- data/lib/plainrouter/openapi/models/get_reconciliation_report200_response_reports_inner_buckets_value.rb +2 -2
- data/lib/plainrouter/openapi/models/get_reconciliation_report200_response_reports_inner_event_counts.rb +2 -2
- data/lib/plainrouter/openapi/models/get_reconciliation_report200_response_reports_inner_event_counts_accepted.rb +2 -2
- data/lib/plainrouter/openapi/models/get_sandbox200_response.rb +2 -2
- data/lib/plainrouter/openapi/models/get_sandbox200_response_self_serve_key.rb +32 -6
- data/lib/plainrouter/openapi/models/{create_sandbox_key201_response.rb → get_sandbox200_response_self_serve_key_issued_key.rb} +6 -6
- data/lib/plainrouter/openapi/models/{create_sandbox_key201_response_use.rb → get_sandbox200_response_self_serve_key_issued_key_use.rb} +5 -5
- data/lib/plainrouter/openapi/models/get_sandbox200_response_try.rb +2 -2
- data/lib/plainrouter/openapi/models/get_sandbox200_response_try_body.rb +2 -2
- data/lib/plainrouter/openapi/models/get_sandbox200_response_try_body_value_data.rb +2 -2
- data/lib/plainrouter/openapi/models/ingestion_warning_code.rb +39 -0
- data/lib/plainrouter/openapi/models/jurisdiction_policy_class.rb +2 -2
- data/lib/plainrouter/openapi/models/list_events200_response.rb +2 -2
- data/lib/plainrouter/openapi/models/list_events200_response_events.rb +2 -2
- data/lib/plainrouter/openapi/models/list_events200_response_events_links_inner.rb +2 -2
- data/lib/plainrouter/openapi/models/list_events200_response_metrics.rb +2 -2
- data/lib/plainrouter/openapi/models/list_events_by_cursor200_response.rb +2 -2
- data/lib/plainrouter/openapi/models/list_events_by_cursor200_response_events.rb +2 -2
- data/lib/plainrouter/openapi/models/reconciliation_report.rb +31 -3
- data/lib/plainrouter/openapi/models/replay_deliveries202_response.rb +2 -2
- data/lib/plainrouter/openapi/models/replay_deliveries_request.rb +2 -2
- data/lib/plainrouter/openapi/models/send_test_purchase200_response.rb +2 -2
- data/lib/plainrouter/openapi/models/send_test_purchase422_response.rb +2 -2
- data/lib/plainrouter/openapi/models/send_test_purchase_request.rb +2 -2
- data/lib/plainrouter/openapi/models/set_destination_test_mode200_response.rb +2 -2
- data/lib/plainrouter/openapi/models/set_destination_test_mode200_response_destination.rb +30 -3
- data/lib/plainrouter/openapi/models/set_destination_test_mode_request.rb +2 -2
- data/lib/plainrouter/openapi/models/traffic_class.rb +2 -2
- data/lib/plainrouter/openapi/models/validate_sandbox_event200_response.rb +2 -2
- data/lib/plainrouter/openapi/models/validate_sandbox_event_request.rb +2 -2
- data/lib/plainrouter/openapi/models/validate_sandbox_event_request_value_data.rb +2 -2
- data/lib/plainrouter/openapi/models/validation_error.rb +2 -2
- data/lib/plainrouter/openapi/version.rb +3 -3
- data/lib/plainrouter/openapi.rb +58 -4
- data/lib/plainrouter/version.rb +1 -1
- metadata +61 -7
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
#
|
|
2
|
+
#Plainrouter Conversion API
|
|
3
3
|
|
|
4
|
-
#
|
|
4
|
+
#Plainrouter public Signals Conversion API.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 0.5.0
|
|
7
7
|
|
|
@@ -17,6 +17,9 @@ module PlainRouter::OpenAPI
|
|
|
17
17
|
class GetReconciliationReport200ResponseReportsInner < ApiModelBase
|
|
18
18
|
attr_accessor :id
|
|
19
19
|
|
|
20
|
+
attr_accessor :workspace_id
|
|
21
|
+
|
|
22
|
+
# Deprecated alias of workspace_id; contains the workspace ID in decimal string form.
|
|
20
23
|
attr_accessor :signal_tracker_id
|
|
21
24
|
|
|
22
25
|
attr_accessor :destination_id
|
|
@@ -47,6 +50,7 @@ module PlainRouter::OpenAPI
|
|
|
47
50
|
def self.attribute_map
|
|
48
51
|
{
|
|
49
52
|
:'id' => :'id',
|
|
53
|
+
:'workspace_id' => :'workspace_id',
|
|
50
54
|
:'signal_tracker_id' => :'signal_tracker_id',
|
|
51
55
|
:'destination_id' => :'destination_id',
|
|
52
56
|
:'report_date' => :'report_date',
|
|
@@ -77,6 +81,7 @@ module PlainRouter::OpenAPI
|
|
|
77
81
|
def self.openapi_types
|
|
78
82
|
{
|
|
79
83
|
:'id' => :'Integer',
|
|
84
|
+
:'workspace_id' => :'Integer',
|
|
80
85
|
:'signal_tracker_id' => :'String',
|
|
81
86
|
:'destination_id' => :'String',
|
|
82
87
|
:'report_date' => :'String',
|
|
@@ -123,6 +128,12 @@ module PlainRouter::OpenAPI
|
|
|
123
128
|
self.id = nil
|
|
124
129
|
end
|
|
125
130
|
|
|
131
|
+
if attributes.key?(:'workspace_id')
|
|
132
|
+
self.workspace_id = attributes[:'workspace_id']
|
|
133
|
+
else
|
|
134
|
+
self.workspace_id = nil
|
|
135
|
+
end
|
|
136
|
+
|
|
126
137
|
if attributes.key?(:'signal_tracker_id')
|
|
127
138
|
self.signal_tracker_id = attributes[:'signal_tracker_id']
|
|
128
139
|
else
|
|
@@ -213,6 +224,10 @@ module PlainRouter::OpenAPI
|
|
|
213
224
|
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
|
214
225
|
end
|
|
215
226
|
|
|
227
|
+
if @workspace_id.nil?
|
|
228
|
+
invalid_properties.push('invalid value for "workspace_id", workspace_id cannot be nil.')
|
|
229
|
+
end
|
|
230
|
+
|
|
216
231
|
if @signal_tracker_id.nil?
|
|
217
232
|
invalid_properties.push('invalid value for "signal_tracker_id", signal_tracker_id cannot be nil.')
|
|
218
233
|
end
|
|
@@ -265,6 +280,7 @@ module PlainRouter::OpenAPI
|
|
|
265
280
|
def valid?
|
|
266
281
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
267
282
|
return false if @id.nil?
|
|
283
|
+
return false if @workspace_id.nil?
|
|
268
284
|
return false if @signal_tracker_id.nil?
|
|
269
285
|
return false if @destination_id.nil?
|
|
270
286
|
return false if @report_date.nil?
|
|
@@ -289,6 +305,16 @@ module PlainRouter::OpenAPI
|
|
|
289
305
|
@id = id
|
|
290
306
|
end
|
|
291
307
|
|
|
308
|
+
# Custom attribute writer method with validation
|
|
309
|
+
# @param [Object] workspace_id Value to be assigned
|
|
310
|
+
def workspace_id=(workspace_id)
|
|
311
|
+
if workspace_id.nil?
|
|
312
|
+
fail ArgumentError, 'workspace_id cannot be nil'
|
|
313
|
+
end
|
|
314
|
+
|
|
315
|
+
@workspace_id = workspace_id
|
|
316
|
+
end
|
|
317
|
+
|
|
292
318
|
# Custom attribute writer method with validation
|
|
293
319
|
# @param [Object] signal_tracker_id Value to be assigned
|
|
294
320
|
def signal_tracker_id=(signal_tracker_id)
|
|
@@ -405,6 +431,7 @@ module PlainRouter::OpenAPI
|
|
|
405
431
|
return true if self.equal?(o)
|
|
406
432
|
self.class == o.class &&
|
|
407
433
|
id == o.id &&
|
|
434
|
+
workspace_id == o.workspace_id &&
|
|
408
435
|
signal_tracker_id == o.signal_tracker_id &&
|
|
409
436
|
destination_id == o.destination_id &&
|
|
410
437
|
report_date == o.report_date &&
|
|
@@ -429,7 +456,7 @@ module PlainRouter::OpenAPI
|
|
|
429
456
|
# Calculates hash code according to all attributes.
|
|
430
457
|
# @return [Integer] Hash code
|
|
431
458
|
def hash
|
|
432
|
-
[id, signal_tracker_id, destination_id, report_date, accepted_count, meta_count, observed_gap, event_counts, buckets, unexplained_residual, status, created_at, updated_at, destination].hash
|
|
459
|
+
[id, workspace_id, signal_tracker_id, destination_id, report_date, accepted_count, meta_count, observed_gap, event_counts, buckets, unexplained_residual, status, created_at, updated_at, destination].hash
|
|
433
460
|
end
|
|
434
461
|
|
|
435
462
|
# Builds the object from hash
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
#
|
|
2
|
+
#Plainrouter Conversion API
|
|
3
3
|
|
|
4
|
-
#
|
|
4
|
+
#Plainrouter public Signals Conversion API.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 0.5.0
|
|
7
7
|
|
|
@@ -23,13 +23,16 @@ module PlainRouter::OpenAPI
|
|
|
23
23
|
|
|
24
24
|
attr_accessor :description
|
|
25
25
|
|
|
26
|
+
attr_accessor :issued_key
|
|
27
|
+
|
|
26
28
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
27
29
|
def self.attribute_map
|
|
28
30
|
{
|
|
29
31
|
:'method' => :'method',
|
|
30
32
|
:'url' => :'url',
|
|
31
33
|
:'authentication_required' => :'authentication_required',
|
|
32
|
-
:'description' => :'description'
|
|
34
|
+
:'description' => :'description',
|
|
35
|
+
:'issued_key' => :'issued_key'
|
|
33
36
|
}
|
|
34
37
|
end
|
|
35
38
|
|
|
@@ -49,7 +52,8 @@ module PlainRouter::OpenAPI
|
|
|
49
52
|
:'method' => :'String',
|
|
50
53
|
:'url' => :'String',
|
|
51
54
|
:'authentication_required' => :'Boolean',
|
|
52
|
-
:'description' => :'String'
|
|
55
|
+
:'description' => :'String',
|
|
56
|
+
:'issued_key' => :'GetSandbox200ResponseSelfServeKeyIssuedKey'
|
|
53
57
|
}
|
|
54
58
|
end
|
|
55
59
|
|
|
@@ -98,6 +102,12 @@ module PlainRouter::OpenAPI
|
|
|
98
102
|
else
|
|
99
103
|
self.description = nil
|
|
100
104
|
end
|
|
105
|
+
|
|
106
|
+
if attributes.key?(:'issued_key')
|
|
107
|
+
self.issued_key = attributes[:'issued_key']
|
|
108
|
+
else
|
|
109
|
+
self.issued_key = nil
|
|
110
|
+
end
|
|
101
111
|
end
|
|
102
112
|
|
|
103
113
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -121,6 +131,10 @@ module PlainRouter::OpenAPI
|
|
|
121
131
|
invalid_properties.push('invalid value for "description", description cannot be nil.')
|
|
122
132
|
end
|
|
123
133
|
|
|
134
|
+
if @issued_key.nil?
|
|
135
|
+
invalid_properties.push('invalid value for "issued_key", issued_key cannot be nil.')
|
|
136
|
+
end
|
|
137
|
+
|
|
124
138
|
invalid_properties
|
|
125
139
|
end
|
|
126
140
|
|
|
@@ -132,6 +146,7 @@ module PlainRouter::OpenAPI
|
|
|
132
146
|
return false if @url.nil?
|
|
133
147
|
return false if @authentication_required.nil?
|
|
134
148
|
return false if @description.nil?
|
|
149
|
+
return false if @issued_key.nil?
|
|
135
150
|
true
|
|
136
151
|
end
|
|
137
152
|
|
|
@@ -175,6 +190,16 @@ module PlainRouter::OpenAPI
|
|
|
175
190
|
@description = description
|
|
176
191
|
end
|
|
177
192
|
|
|
193
|
+
# Custom attribute writer method with validation
|
|
194
|
+
# @param [Object] issued_key Value to be assigned
|
|
195
|
+
def issued_key=(issued_key)
|
|
196
|
+
if issued_key.nil?
|
|
197
|
+
fail ArgumentError, 'issued_key cannot be nil'
|
|
198
|
+
end
|
|
199
|
+
|
|
200
|
+
@issued_key = issued_key
|
|
201
|
+
end
|
|
202
|
+
|
|
178
203
|
# Checks equality by comparing each attribute.
|
|
179
204
|
# @param [Object] Object to be compared
|
|
180
205
|
def ==(o)
|
|
@@ -183,7 +208,8 @@ module PlainRouter::OpenAPI
|
|
|
183
208
|
method == o.method &&
|
|
184
209
|
url == o.url &&
|
|
185
210
|
authentication_required == o.authentication_required &&
|
|
186
|
-
description == o.description
|
|
211
|
+
description == o.description &&
|
|
212
|
+
issued_key == o.issued_key
|
|
187
213
|
end
|
|
188
214
|
|
|
189
215
|
# @see the `==` method
|
|
@@ -195,7 +221,7 @@ module PlainRouter::OpenAPI
|
|
|
195
221
|
# Calculates hash code according to all attributes.
|
|
196
222
|
# @return [Integer] Hash code
|
|
197
223
|
def hash
|
|
198
|
-
[method, url, authentication_required, description].hash
|
|
224
|
+
[method, url, authentication_required, description, issued_key].hash
|
|
199
225
|
end
|
|
200
226
|
|
|
201
227
|
# Builds the object from hash
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
#
|
|
2
|
+
#Plainrouter Conversion API
|
|
3
3
|
|
|
4
|
-
#
|
|
4
|
+
#Plainrouter public Signals Conversion API.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 0.5.0
|
|
7
7
|
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PlainRouter::OpenAPI
|
|
17
|
-
class
|
|
17
|
+
class GetSandbox200ResponseSelfServeKeyIssuedKey < ApiModelBase
|
|
18
18
|
attr_accessor :api_key
|
|
19
19
|
|
|
20
20
|
attr_accessor :token_type
|
|
@@ -61,7 +61,7 @@ module PlainRouter::OpenAPI
|
|
|
61
61
|
:'expires_at' => :'String',
|
|
62
62
|
:'scope' => :'String',
|
|
63
63
|
:'production_access' => :'Boolean',
|
|
64
|
-
:'use' => :'
|
|
64
|
+
:'use' => :'GetSandbox200ResponseSelfServeKeyIssuedKeyUse'
|
|
65
65
|
}
|
|
66
66
|
end
|
|
67
67
|
|
|
@@ -75,14 +75,14 @@ module PlainRouter::OpenAPI
|
|
|
75
75
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
76
76
|
def initialize(attributes = {})
|
|
77
77
|
if (!attributes.is_a?(Hash))
|
|
78
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PlainRouter::OpenAPI::
|
|
78
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PlainRouter::OpenAPI::GetSandbox200ResponseSelfServeKeyIssuedKey` initialize method"
|
|
79
79
|
end
|
|
80
80
|
|
|
81
81
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
82
82
|
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
83
83
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
84
84
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
85
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PlainRouter::OpenAPI::
|
|
85
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PlainRouter::OpenAPI::GetSandbox200ResponseSelfServeKeyIssuedKey`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
86
86
|
end
|
|
87
87
|
h[k.to_sym] = v
|
|
88
88
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
#
|
|
2
|
+
#Plainrouter Conversion API
|
|
3
3
|
|
|
4
|
-
#
|
|
4
|
+
#Plainrouter public Signals Conversion API.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 0.5.0
|
|
7
7
|
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PlainRouter::OpenAPI
|
|
17
|
-
class
|
|
17
|
+
class GetSandbox200ResponseSelfServeKeyIssuedKeyUse < ApiModelBase
|
|
18
18
|
attr_accessor :method
|
|
19
19
|
|
|
20
20
|
attr_accessor :url
|
|
@@ -59,14 +59,14 @@ module PlainRouter::OpenAPI
|
|
|
59
59
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
60
60
|
def initialize(attributes = {})
|
|
61
61
|
if (!attributes.is_a?(Hash))
|
|
62
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PlainRouter::OpenAPI::
|
|
62
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PlainRouter::OpenAPI::GetSandbox200ResponseSelfServeKeyIssuedKeyUse` initialize method"
|
|
63
63
|
end
|
|
64
64
|
|
|
65
65
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
66
66
|
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
67
67
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
68
68
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
69
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PlainRouter::OpenAPI::
|
|
69
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PlainRouter::OpenAPI::GetSandbox200ResponseSelfServeKeyIssuedKeyUse`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
70
70
|
end
|
|
71
71
|
h[k.to_sym] = v
|
|
72
72
|
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Plainrouter Conversion API
|
|
3
|
+
|
|
4
|
+
#Plainrouter public Signals Conversion API.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.5.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.25.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module PlainRouter::OpenAPI
|
|
17
|
+
class IngestionWarningCode
|
|
18
|
+
CONSENT_CAPTURED_AT_INVALID = "consent_captured_at_invalid".freeze
|
|
19
|
+
|
|
20
|
+
def self.all_vars
|
|
21
|
+
@all_vars ||= [CONSENT_CAPTURED_AT_INVALID].freeze
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
# Builds the enum from string
|
|
25
|
+
# @param [String] The enum value in the form of the string
|
|
26
|
+
# @return [String] The enum value
|
|
27
|
+
def self.build_from_hash(value)
|
|
28
|
+
new.build_from_hash(value)
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
# Builds the enum from string
|
|
32
|
+
# @param [String] The enum value in the form of the string
|
|
33
|
+
# @return [String] The enum value
|
|
34
|
+
def build_from_hash(value)
|
|
35
|
+
return value if IngestionWarningCode.all_vars.include?(value)
|
|
36
|
+
raise "Invalid ENUM value #{value} for class #IngestionWarningCode"
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
#
|
|
2
|
+
#Plainrouter Conversion API
|
|
3
3
|
|
|
4
|
-
#
|
|
4
|
+
#Plainrouter public Signals Conversion API.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 0.5.0
|
|
7
7
|
|
|
@@ -17,6 +17,9 @@ module PlainRouter::OpenAPI
|
|
|
17
17
|
class ReconciliationReport < ApiModelBase
|
|
18
18
|
attr_accessor :id
|
|
19
19
|
|
|
20
|
+
attr_accessor :workspace_id
|
|
21
|
+
|
|
22
|
+
# Deprecated alias of workspace_id; contains the workspace ID in decimal string form.
|
|
20
23
|
attr_accessor :signal_tracker_id
|
|
21
24
|
|
|
22
25
|
attr_accessor :destination_id
|
|
@@ -41,12 +44,14 @@ module PlainRouter::OpenAPI
|
|
|
41
44
|
|
|
42
45
|
attr_accessor :updated_at
|
|
43
46
|
|
|
47
|
+
# Meta outbound clicks. Days before 2026-06-29, or not re-read by the daily sync since 2026-09-27, may still hold Meta link clicks or all clicks.
|
|
44
48
|
attr_accessor :claimed_clicks
|
|
45
49
|
|
|
46
50
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
47
51
|
def self.attribute_map
|
|
48
52
|
{
|
|
49
53
|
:'id' => :'id',
|
|
54
|
+
:'workspace_id' => :'workspace_id',
|
|
50
55
|
:'signal_tracker_id' => :'signal_tracker_id',
|
|
51
56
|
:'destination_id' => :'destination_id',
|
|
52
57
|
:'report_date' => :'report_date',
|
|
@@ -77,6 +82,7 @@ module PlainRouter::OpenAPI
|
|
|
77
82
|
def self.openapi_types
|
|
78
83
|
{
|
|
79
84
|
:'id' => :'Integer',
|
|
85
|
+
:'workspace_id' => :'Integer',
|
|
80
86
|
:'signal_tracker_id' => :'String',
|
|
81
87
|
:'destination_id' => :'String',
|
|
82
88
|
:'report_date' => :'Time',
|
|
@@ -124,6 +130,12 @@ module PlainRouter::OpenAPI
|
|
|
124
130
|
self.id = nil
|
|
125
131
|
end
|
|
126
132
|
|
|
133
|
+
if attributes.key?(:'workspace_id')
|
|
134
|
+
self.workspace_id = attributes[:'workspace_id']
|
|
135
|
+
else
|
|
136
|
+
self.workspace_id = nil
|
|
137
|
+
end
|
|
138
|
+
|
|
127
139
|
if attributes.key?(:'signal_tracker_id')
|
|
128
140
|
self.signal_tracker_id = attributes[:'signal_tracker_id']
|
|
129
141
|
else
|
|
@@ -216,6 +228,10 @@ module PlainRouter::OpenAPI
|
|
|
216
228
|
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
|
217
229
|
end
|
|
218
230
|
|
|
231
|
+
if @workspace_id.nil?
|
|
232
|
+
invalid_properties.push('invalid value for "workspace_id", workspace_id cannot be nil.')
|
|
233
|
+
end
|
|
234
|
+
|
|
219
235
|
if @signal_tracker_id.nil?
|
|
220
236
|
invalid_properties.push('invalid value for "signal_tracker_id", signal_tracker_id cannot be nil.')
|
|
221
237
|
end
|
|
@@ -264,6 +280,7 @@ module PlainRouter::OpenAPI
|
|
|
264
280
|
def valid?
|
|
265
281
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
266
282
|
return false if @id.nil?
|
|
283
|
+
return false if @workspace_id.nil?
|
|
267
284
|
return false if @signal_tracker_id.nil?
|
|
268
285
|
return false if @destination_id.nil?
|
|
269
286
|
return false if @report_date.nil?
|
|
@@ -287,6 +304,16 @@ module PlainRouter::OpenAPI
|
|
|
287
304
|
@id = id
|
|
288
305
|
end
|
|
289
306
|
|
|
307
|
+
# Custom attribute writer method with validation
|
|
308
|
+
# @param [Object] workspace_id Value to be assigned
|
|
309
|
+
def workspace_id=(workspace_id)
|
|
310
|
+
if workspace_id.nil?
|
|
311
|
+
fail ArgumentError, 'workspace_id cannot be nil'
|
|
312
|
+
end
|
|
313
|
+
|
|
314
|
+
@workspace_id = workspace_id
|
|
315
|
+
end
|
|
316
|
+
|
|
290
317
|
# Custom attribute writer method with validation
|
|
291
318
|
# @param [Object] signal_tracker_id Value to be assigned
|
|
292
319
|
def signal_tracker_id=(signal_tracker_id)
|
|
@@ -393,6 +420,7 @@ module PlainRouter::OpenAPI
|
|
|
393
420
|
return true if self.equal?(o)
|
|
394
421
|
self.class == o.class &&
|
|
395
422
|
id == o.id &&
|
|
423
|
+
workspace_id == o.workspace_id &&
|
|
396
424
|
signal_tracker_id == o.signal_tracker_id &&
|
|
397
425
|
destination_id == o.destination_id &&
|
|
398
426
|
report_date == o.report_date &&
|
|
@@ -417,7 +445,7 @@ module PlainRouter::OpenAPI
|
|
|
417
445
|
# Calculates hash code according to all attributes.
|
|
418
446
|
# @return [Integer] Hash code
|
|
419
447
|
def hash
|
|
420
|
-
[id, signal_tracker_id, destination_id, report_date, accepted_count, meta_count, observed_gap, event_counts, buckets, unexplained_residual, status, created_at, updated_at, claimed_clicks].hash
|
|
448
|
+
[id, workspace_id, signal_tracker_id, destination_id, report_date, accepted_count, meta_count, observed_gap, event_counts, buckets, unexplained_residual, status, created_at, updated_at, claimed_clicks].hash
|
|
421
449
|
end
|
|
422
450
|
|
|
423
451
|
# Builds the object from hash
|