trinsic_api 2.0.0 → 2.0.2
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/docs/IntegrationStep.md +1 -1
- data/docs/ProviderContract.md +3 -1
- data/docs/ProviderHealth.md +15 -0
- data/docs/WellKnownApi.md +71 -0
- data/lib/trinsic_api/api/attachments_api.rb +1 -1
- data/lib/trinsic_api/api/network_api.rb +1 -1
- data/lib/trinsic_api/api/sessions_api.rb +1 -1
- data/lib/trinsic_api/api/well_known_api.rb +75 -0
- data/lib/trinsic_api/api_client.rb +8 -9
- data/lib/trinsic_api/api_error.rb +1 -1
- data/lib/trinsic_api/configuration.rb +1 -1
- data/lib/trinsic_api/models/aadhaar_input.rb +10 -4
- data/lib/trinsic_api/models/address.rb +10 -4
- data/lib/trinsic_api/models/attachment_access_keys.rb +20 -4
- data/lib/trinsic_api/models/bangladesh_national_id_input.rb +10 -4
- data/lib/trinsic_api/models/brazil_cpf_check_input.rb +10 -4
- data/lib/trinsic_api/models/brazil_digital_cnh_input.rb +10 -4
- data/lib/trinsic_api/models/cancel_session_response.rb +20 -4
- data/lib/trinsic_api/models/create_advanced_provider_session_request.rb +10 -4
- data/lib/trinsic_api/models/create_advanced_provider_session_response.rb +40 -4
- data/lib/trinsic_api/models/create_hosted_provider_session_request.rb +10 -4
- data/lib/trinsic_api/models/create_hosted_provider_session_response.rb +40 -4
- data/lib/trinsic_api/models/create_widget_session_request.rb +10 -4
- data/lib/trinsic_api/models/create_widget_session_response.rb +40 -4
- data/lib/trinsic_api/models/document_data.rb +10 -4
- data/lib/trinsic_api/models/document_scan_attachments.rb +10 -4
- data/lib/trinsic_api/models/document_type.rb +1 -1
- data/lib/trinsic_api/models/get_attachment_request.rb +10 -4
- data/lib/trinsic_api/models/get_attachment_response.rb +30 -4
- data/lib/trinsic_api/models/get_session_response.rb +20 -4
- data/lib/trinsic_api/models/get_session_result_request.rb +20 -4
- data/lib/trinsic_api/models/get_session_result_response.rb +20 -4
- data/lib/trinsic_api/models/http_validation_problem_details.rb +10 -4
- data/lib/trinsic_api/models/identity_data.rb +10 -4
- data/lib/trinsic_api/models/idin_input.rb +10 -4
- data/lib/trinsic_api/models/indonesia_nik_input.rb +20 -4
- data/lib/trinsic_api/models/integration_capability.rb +1 -1
- data/lib/trinsic_api/models/integration_launch_method.rb +1 -1
- data/lib/trinsic_api/models/integration_step.rb +30 -6
- data/lib/trinsic_api/models/kenya_nid_input.rb +20 -4
- data/lib/trinsic_api/models/language.rb +1 -1
- data/lib/trinsic_api/models/list_provider_contracts_response.rb +20 -4
- data/lib/trinsic_api/models/list_providers_response.rb +20 -4
- data/lib/trinsic_api/models/list_sessions_response.rb +40 -4
- data/lib/trinsic_api/models/mexico_curp_input.rb +10 -4
- data/lib/trinsic_api/models/mobile_id_input.rb +10 -4
- data/lib/trinsic_api/models/nigeria_nin_input.rb +20 -4
- data/lib/trinsic_api/models/order_direction.rb +1 -1
- data/lib/trinsic_api/models/person_data.rb +10 -4
- data/lib/trinsic_api/models/philippine_match_input.rb +10 -4
- data/lib/trinsic_api/models/philippine_qr_input.rb +10 -4
- data/lib/trinsic_api/models/problem_details.rb +10 -4
- data/lib/trinsic_api/models/provider_attachments.rb +10 -4
- data/lib/trinsic_api/models/provider_contract.rb +182 -9
- data/lib/trinsic_api/models/provider_health.rb +40 -0
- data/lib/trinsic_api/models/provider_info.rb +40 -4
- data/lib/trinsic_api/models/provider_information.rb +40 -4
- data/lib/trinsic_api/models/provider_input.rb +10 -4
- data/lib/trinsic_api/models/recommend_request.rb +10 -4
- data/lib/trinsic_api/models/recommend_response.rb +40 -4
- data/lib/trinsic_api/models/recommendation_info.rb +10 -4
- data/lib/trinsic_api/models/refresh_step_content_request.rb +10 -4
- data/lib/trinsic_api/models/refresh_step_content_response.rb +20 -4
- data/lib/trinsic_api/models/result_collection.rb +30 -4
- data/lib/trinsic_api/models/result_collection_method.rb +1 -1
- data/lib/trinsic_api/models/session.rb +60 -4
- data/lib/trinsic_api/models/session_error_code.rb +1 -1
- data/lib/trinsic_api/models/session_ordering.rb +1 -1
- data/lib/trinsic_api/models/sex.rb +1 -1
- data/lib/trinsic_api/models/smart_id_input.rb +10 -4
- data/lib/trinsic_api/models/south_africa_nid_input.rb +20 -4
- data/lib/trinsic_api/models/spid_input.rb +10 -4
- data/lib/trinsic_api/models/step_refresh_info.rb +40 -4
- data/lib/trinsic_api/models/sub_provider_metadata.rb +50 -4
- data/lib/trinsic_api/models/trinsic_test_database_lookup_input.rb +10 -4
- data/lib/trinsic_api/models/trinsic_test_sub_providers_input.rb +10 -4
- data/lib/trinsic_api/version.rb +2 -2
- data/lib/trinsic_api.rb +3 -1
- data/spec/api/attachments_api_spec.rb +1 -1
- data/spec/api/network_api_spec.rb +1 -1
- data/spec/api/sessions_api_spec.rb +1 -1
- data/spec/api/well_known_api_spec.rb +44 -0
- data/spec/models/aadhaar_input_spec.rb +1 -1
- data/spec/models/address_spec.rb +1 -1
- data/spec/models/attachment_access_keys_spec.rb +1 -1
- data/spec/models/bangladesh_national_id_input_spec.rb +1 -1
- data/spec/models/brazil_cpf_check_input_spec.rb +1 -1
- data/spec/models/brazil_digital_cnh_input_spec.rb +1 -1
- data/spec/models/cancel_session_response_spec.rb +1 -1
- data/spec/models/create_advanced_provider_session_request_spec.rb +1 -1
- data/spec/models/create_advanced_provider_session_response_spec.rb +1 -1
- data/spec/models/create_hosted_provider_session_request_spec.rb +1 -1
- data/spec/models/create_hosted_provider_session_response_spec.rb +1 -1
- data/spec/models/create_widget_session_request_spec.rb +1 -1
- data/spec/models/create_widget_session_response_spec.rb +1 -1
- data/spec/models/document_data_spec.rb +1 -1
- data/spec/models/document_scan_attachments_spec.rb +1 -1
- data/spec/models/document_type_spec.rb +1 -1
- data/spec/models/get_attachment_request_spec.rb +1 -1
- data/spec/models/get_attachment_response_spec.rb +1 -1
- data/spec/models/get_session_response_spec.rb +1 -1
- data/spec/models/get_session_result_request_spec.rb +1 -1
- data/spec/models/get_session_result_response_spec.rb +1 -1
- data/spec/models/http_validation_problem_details_spec.rb +1 -1
- data/spec/models/identity_data_spec.rb +1 -1
- data/spec/models/idin_input_spec.rb +1 -1
- data/spec/models/indonesia_nik_input_spec.rb +1 -1
- data/spec/models/integration_capability_spec.rb +1 -1
- data/spec/models/integration_launch_method_spec.rb +1 -1
- data/spec/models/integration_step_spec.rb +1 -1
- data/spec/models/kenya_nid_input_spec.rb +1 -1
- data/spec/models/language_spec.rb +1 -1
- data/spec/models/list_provider_contracts_response_spec.rb +1 -1
- data/spec/models/list_providers_response_spec.rb +1 -1
- data/spec/models/list_sessions_response_spec.rb +1 -1
- data/spec/models/mexico_curp_input_spec.rb +1 -1
- data/spec/models/mobile_id_input_spec.rb +1 -1
- data/spec/models/nigeria_nin_input_spec.rb +1 -1
- data/spec/models/order_direction_spec.rb +1 -1
- data/spec/models/person_data_spec.rb +1 -1
- data/spec/models/philippine_match_input_spec.rb +1 -1
- data/spec/models/philippine_qr_input_spec.rb +1 -1
- data/spec/models/problem_details_spec.rb +1 -1
- data/spec/models/provider_attachments_spec.rb +1 -1
- data/spec/models/provider_contract_spec.rb +7 -1
- data/spec/models/provider_health_spec.rb +30 -0
- data/spec/models/provider_info_spec.rb +1 -1
- data/spec/models/provider_information_spec.rb +1 -1
- data/spec/models/provider_input_spec.rb +1 -1
- data/spec/models/recommend_request_spec.rb +1 -1
- data/spec/models/recommend_response_spec.rb +1 -1
- data/spec/models/recommendation_info_spec.rb +1 -1
- data/spec/models/refresh_step_content_request_spec.rb +1 -1
- data/spec/models/refresh_step_content_response_spec.rb +1 -1
- data/spec/models/result_collection_method_spec.rb +1 -1
- data/spec/models/result_collection_spec.rb +1 -1
- data/spec/models/session_error_code_spec.rb +1 -1
- data/spec/models/session_ordering_spec.rb +1 -1
- data/spec/models/session_spec.rb +1 -1
- data/spec/models/sex_spec.rb +1 -1
- data/spec/models/smart_id_input_spec.rb +1 -1
- data/spec/models/south_africa_nid_input_spec.rb +1 -1
- data/spec/models/spid_input_spec.rb +1 -1
- data/spec/models/step_refresh_info_spec.rb +1 -1
- data/spec/models/sub_provider_metadata_spec.rb +1 -1
- data/spec/models/trinsic_test_database_lookup_input_spec.rb +1 -1
- data/spec/models/trinsic_test_sub_providers_input_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- data/trinsic_api.gemspec +1 -1
- metadata +62 -54
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v1
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.13.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -33,9 +33,14 @@ module TrinsicApi
|
|
33
33
|
}
|
34
34
|
end
|
35
35
|
|
36
|
+
# Returns attribute mapping this model knows about
|
37
|
+
def self.acceptable_attribute_map
|
38
|
+
attribute_map
|
39
|
+
end
|
40
|
+
|
36
41
|
# Returns all the JSON keys this model knows about
|
37
42
|
def self.acceptable_attributes
|
38
|
-
|
43
|
+
acceptable_attribute_map.values
|
39
44
|
end
|
40
45
|
|
41
46
|
# Attribute type mapping.
|
@@ -61,9 +66,10 @@ module TrinsicApi
|
|
61
66
|
end
|
62
67
|
|
63
68
|
# check to see if the attribute exists and convert string to symbol for hash key
|
69
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
64
70
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
65
|
-
if (!
|
66
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::CreateAdvancedProviderSessionResponse`. Please check the name to make sure it's valid. List of attributes: " +
|
71
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
72
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::CreateAdvancedProviderSessionResponse`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
67
73
|
end
|
68
74
|
h[k.to_sym] = v
|
69
75
|
}
|
@@ -117,6 +123,36 @@ module TrinsicApi
|
|
117
123
|
true
|
118
124
|
end
|
119
125
|
|
126
|
+
# Custom attribute writer method with validation
|
127
|
+
# @param [Object] session_id Value to be assigned
|
128
|
+
def session_id=(session_id)
|
129
|
+
if session_id.nil?
|
130
|
+
fail ArgumentError, 'session_id cannot be nil'
|
131
|
+
end
|
132
|
+
|
133
|
+
@session_id = session_id
|
134
|
+
end
|
135
|
+
|
136
|
+
# Custom attribute writer method with validation
|
137
|
+
# @param [Object] result_collection Value to be assigned
|
138
|
+
def result_collection=(result_collection)
|
139
|
+
if result_collection.nil?
|
140
|
+
fail ArgumentError, 'result_collection cannot be nil'
|
141
|
+
end
|
142
|
+
|
143
|
+
@result_collection = result_collection
|
144
|
+
end
|
145
|
+
|
146
|
+
# Custom attribute writer method with validation
|
147
|
+
# @param [Object] next_step Value to be assigned
|
148
|
+
def next_step=(next_step)
|
149
|
+
if next_step.nil?
|
150
|
+
fail ArgumentError, 'next_step cannot be nil'
|
151
|
+
end
|
152
|
+
|
153
|
+
@next_step = next_step
|
154
|
+
end
|
155
|
+
|
120
156
|
# Checks equality by comparing each attribute.
|
121
157
|
# @param [Object] Object to be compared
|
122
158
|
def ==(o)
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v1
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.13.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -33,9 +33,14 @@ module TrinsicApi
|
|
33
33
|
}
|
34
34
|
end
|
35
35
|
|
36
|
+
# Returns attribute mapping this model knows about
|
37
|
+
def self.acceptable_attribute_map
|
38
|
+
attribute_map
|
39
|
+
end
|
40
|
+
|
36
41
|
# Returns all the JSON keys this model knows about
|
37
42
|
def self.acceptable_attributes
|
38
|
-
|
43
|
+
acceptable_attribute_map.values
|
39
44
|
end
|
40
45
|
|
41
46
|
# Attribute type mapping.
|
@@ -62,9 +67,10 @@ module TrinsicApi
|
|
62
67
|
end
|
63
68
|
|
64
69
|
# check to see if the attribute exists and convert string to symbol for hash key
|
70
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
65
71
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
66
|
-
if (!
|
67
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::CreateHostedProviderSessionRequest`. Please check the name to make sure it's valid. List of attributes: " +
|
72
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
73
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::CreateHostedProviderSessionRequest`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
68
74
|
end
|
69
75
|
h[k.to_sym] = v
|
70
76
|
}
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v1
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.13.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -33,9 +33,14 @@ module TrinsicApi
|
|
33
33
|
}
|
34
34
|
end
|
35
35
|
|
36
|
+
# Returns attribute mapping this model knows about
|
37
|
+
def self.acceptable_attribute_map
|
38
|
+
attribute_map
|
39
|
+
end
|
40
|
+
|
36
41
|
# Returns all the JSON keys this model knows about
|
37
42
|
def self.acceptable_attributes
|
38
|
-
|
43
|
+
acceptable_attribute_map.values
|
39
44
|
end
|
40
45
|
|
41
46
|
# Attribute type mapping.
|
@@ -61,9 +66,10 @@ module TrinsicApi
|
|
61
66
|
end
|
62
67
|
|
63
68
|
# check to see if the attribute exists and convert string to symbol for hash key
|
69
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
64
70
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
65
|
-
if (!
|
66
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::CreateHostedProviderSessionResponse`. Please check the name to make sure it's valid. List of attributes: " +
|
71
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
72
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::CreateHostedProviderSessionResponse`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
67
73
|
end
|
68
74
|
h[k.to_sym] = v
|
69
75
|
}
|
@@ -117,6 +123,36 @@ module TrinsicApi
|
|
117
123
|
true
|
118
124
|
end
|
119
125
|
|
126
|
+
# Custom attribute writer method with validation
|
127
|
+
# @param [Object] session_id Value to be assigned
|
128
|
+
def session_id=(session_id)
|
129
|
+
if session_id.nil?
|
130
|
+
fail ArgumentError, 'session_id cannot be nil'
|
131
|
+
end
|
132
|
+
|
133
|
+
@session_id = session_id
|
134
|
+
end
|
135
|
+
|
136
|
+
# Custom attribute writer method with validation
|
137
|
+
# @param [Object] launch_url Value to be assigned
|
138
|
+
def launch_url=(launch_url)
|
139
|
+
if launch_url.nil?
|
140
|
+
fail ArgumentError, 'launch_url cannot be nil'
|
141
|
+
end
|
142
|
+
|
143
|
+
@launch_url = launch_url
|
144
|
+
end
|
145
|
+
|
146
|
+
# Custom attribute writer method with validation
|
147
|
+
# @param [Object] results_access_key Value to be assigned
|
148
|
+
def results_access_key=(results_access_key)
|
149
|
+
if results_access_key.nil?
|
150
|
+
fail ArgumentError, 'results_access_key cannot be nil'
|
151
|
+
end
|
152
|
+
|
153
|
+
@results_access_key = results_access_key
|
154
|
+
end
|
155
|
+
|
120
156
|
# Checks equality by comparing each attribute.
|
121
157
|
# @param [Object] Object to be compared
|
122
158
|
def ==(o)
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v1
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.13.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -33,9 +33,14 @@ module TrinsicApi
|
|
33
33
|
}
|
34
34
|
end
|
35
35
|
|
36
|
+
# Returns attribute mapping this model knows about
|
37
|
+
def self.acceptable_attribute_map
|
38
|
+
attribute_map
|
39
|
+
end
|
40
|
+
|
36
41
|
# Returns all the JSON keys this model knows about
|
37
42
|
def self.acceptable_attributes
|
38
|
-
|
43
|
+
acceptable_attribute_map.values
|
39
44
|
end
|
40
45
|
|
41
46
|
# Attribute type mapping.
|
@@ -64,9 +69,10 @@ module TrinsicApi
|
|
64
69
|
end
|
65
70
|
|
66
71
|
# check to see if the attribute exists and convert string to symbol for hash key
|
72
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
67
73
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
68
|
-
if (!
|
69
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::CreateWidgetSessionRequest`. Please check the name to make sure it's valid. List of attributes: " +
|
74
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
75
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::CreateWidgetSessionRequest`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
70
76
|
end
|
71
77
|
h[k.to_sym] = v
|
72
78
|
}
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v1
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.13.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -33,9 +33,14 @@ module TrinsicApi
|
|
33
33
|
}
|
34
34
|
end
|
35
35
|
|
36
|
+
# Returns attribute mapping this model knows about
|
37
|
+
def self.acceptable_attribute_map
|
38
|
+
attribute_map
|
39
|
+
end
|
40
|
+
|
36
41
|
# Returns all the JSON keys this model knows about
|
37
42
|
def self.acceptable_attributes
|
38
|
-
|
43
|
+
acceptable_attribute_map.values
|
39
44
|
end
|
40
45
|
|
41
46
|
# Attribute type mapping.
|
@@ -61,9 +66,10 @@ module TrinsicApi
|
|
61
66
|
end
|
62
67
|
|
63
68
|
# check to see if the attribute exists and convert string to symbol for hash key
|
69
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
64
70
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
65
|
-
if (!
|
66
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::CreateWidgetSessionResponse`. Please check the name to make sure it's valid. List of attributes: " +
|
71
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
72
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::CreateWidgetSessionResponse`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
67
73
|
end
|
68
74
|
h[k.to_sym] = v
|
69
75
|
}
|
@@ -117,6 +123,36 @@ module TrinsicApi
|
|
117
123
|
true
|
118
124
|
end
|
119
125
|
|
126
|
+
# Custom attribute writer method with validation
|
127
|
+
# @param [Object] session_id Value to be assigned
|
128
|
+
def session_id=(session_id)
|
129
|
+
if session_id.nil?
|
130
|
+
fail ArgumentError, 'session_id cannot be nil'
|
131
|
+
end
|
132
|
+
|
133
|
+
@session_id = session_id
|
134
|
+
end
|
135
|
+
|
136
|
+
# Custom attribute writer method with validation
|
137
|
+
# @param [Object] launch_url Value to be assigned
|
138
|
+
def launch_url=(launch_url)
|
139
|
+
if launch_url.nil?
|
140
|
+
fail ArgumentError, 'launch_url cannot be nil'
|
141
|
+
end
|
142
|
+
|
143
|
+
@launch_url = launch_url
|
144
|
+
end
|
145
|
+
|
146
|
+
# Custom attribute writer method with validation
|
147
|
+
# @param [Object] results_access_key Value to be assigned
|
148
|
+
def results_access_key=(results_access_key)
|
149
|
+
if results_access_key.nil?
|
150
|
+
fail ArgumentError, 'results_access_key cannot be nil'
|
151
|
+
end
|
152
|
+
|
153
|
+
@results_access_key = results_access_key
|
154
|
+
end
|
155
|
+
|
120
156
|
# Checks equality by comparing each attribute.
|
121
157
|
# @param [Object] Object to be compared
|
122
158
|
def ==(o)
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v1
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.13.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -61,9 +61,14 @@ module TrinsicApi
|
|
61
61
|
}
|
62
62
|
end
|
63
63
|
|
64
|
+
# Returns attribute mapping this model knows about
|
65
|
+
def self.acceptable_attribute_map
|
66
|
+
attribute_map
|
67
|
+
end
|
68
|
+
|
64
69
|
# Returns all the JSON keys this model knows about
|
65
70
|
def self.acceptable_attributes
|
66
|
-
|
71
|
+
acceptable_attribute_map.values
|
67
72
|
end
|
68
73
|
|
69
74
|
# Attribute type mapping.
|
@@ -98,9 +103,10 @@ module TrinsicApi
|
|
98
103
|
end
|
99
104
|
|
100
105
|
# check to see if the attribute exists and convert string to symbol for hash key
|
106
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
101
107
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
102
|
-
if (!
|
103
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::DocumentData`. Please check the name to make sure it's valid. List of attributes: " +
|
108
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
109
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::DocumentData`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
104
110
|
end
|
105
111
|
h[k.to_sym] = v
|
106
112
|
}
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v1
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.13.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -24,9 +24,14 @@ module TrinsicApi
|
|
24
24
|
}
|
25
25
|
end
|
26
26
|
|
27
|
+
# Returns attribute mapping this model knows about
|
28
|
+
def self.acceptable_attribute_map
|
29
|
+
attribute_map
|
30
|
+
end
|
31
|
+
|
27
32
|
# Returns all the JSON keys this model knows about
|
28
33
|
def self.acceptable_attributes
|
29
|
-
|
34
|
+
acceptable_attribute_map.values
|
30
35
|
end
|
31
36
|
|
32
37
|
# Attribute type mapping.
|
@@ -51,9 +56,10 @@ module TrinsicApi
|
|
51
56
|
end
|
52
57
|
|
53
58
|
# check to see if the attribute exists and convert string to symbol for hash key
|
59
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
54
60
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
55
|
-
if (!
|
56
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::DocumentScanAttachments`. Please check the name to make sure it's valid. List of attributes: " +
|
61
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
62
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::DocumentScanAttachments`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
57
63
|
end
|
58
64
|
h[k.to_sym] = v
|
59
65
|
}
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v1
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.13.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -25,9 +25,14 @@ module TrinsicApi
|
|
25
25
|
}
|
26
26
|
end
|
27
27
|
|
28
|
+
# Returns attribute mapping this model knows about
|
29
|
+
def self.acceptable_attribute_map
|
30
|
+
attribute_map
|
31
|
+
end
|
32
|
+
|
28
33
|
# Returns all the JSON keys this model knows about
|
29
34
|
def self.acceptable_attributes
|
30
|
-
|
35
|
+
acceptable_attribute_map.values
|
31
36
|
end
|
32
37
|
|
33
38
|
# Attribute type mapping.
|
@@ -51,9 +56,10 @@ module TrinsicApi
|
|
51
56
|
end
|
52
57
|
|
53
58
|
# check to see if the attribute exists and convert string to symbol for hash key
|
59
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
54
60
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
55
|
-
if (!
|
56
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::GetAttachmentRequest`. Please check the name to make sure it's valid. List of attributes: " +
|
61
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
62
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::GetAttachmentRequest`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
57
63
|
end
|
58
64
|
h[k.to_sym] = v
|
59
65
|
}
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v1
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.13.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -29,9 +29,14 @@ module TrinsicApi
|
|
29
29
|
}
|
30
30
|
end
|
31
31
|
|
32
|
+
# Returns attribute mapping this model knows about
|
33
|
+
def self.acceptable_attribute_map
|
34
|
+
attribute_map
|
35
|
+
end
|
36
|
+
|
32
37
|
# Returns all the JSON keys this model knows about
|
33
38
|
def self.acceptable_attributes
|
34
|
-
|
39
|
+
acceptable_attribute_map.values
|
35
40
|
end
|
36
41
|
|
37
42
|
# Attribute type mapping.
|
@@ -56,9 +61,10 @@ module TrinsicApi
|
|
56
61
|
end
|
57
62
|
|
58
63
|
# check to see if the attribute exists and convert string to symbol for hash key
|
64
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
59
65
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
60
|
-
if (!
|
61
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::GetAttachmentResponse`. Please check the name to make sure it's valid. List of attributes: " +
|
66
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
67
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::GetAttachmentResponse`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
62
68
|
end
|
63
69
|
h[k.to_sym] = v
|
64
70
|
}
|
@@ -101,6 +107,26 @@ module TrinsicApi
|
|
101
107
|
true
|
102
108
|
end
|
103
109
|
|
110
|
+
# Custom attribute writer method with validation
|
111
|
+
# @param [Object] content Value to be assigned
|
112
|
+
def content=(content)
|
113
|
+
if content.nil?
|
114
|
+
fail ArgumentError, 'content cannot be nil'
|
115
|
+
end
|
116
|
+
|
117
|
+
@content = content
|
118
|
+
end
|
119
|
+
|
120
|
+
# Custom attribute writer method with validation
|
121
|
+
# @param [Object] content_type Value to be assigned
|
122
|
+
def content_type=(content_type)
|
123
|
+
if content_type.nil?
|
124
|
+
fail ArgumentError, 'content_type cannot be nil'
|
125
|
+
end
|
126
|
+
|
127
|
+
@content_type = content_type
|
128
|
+
end
|
129
|
+
|
104
130
|
# Checks equality by comparing each attribute.
|
105
131
|
# @param [Object] Object to be compared
|
106
132
|
def ==(o)
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v1
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.13.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -24,9 +24,14 @@ module TrinsicApi
|
|
24
24
|
}
|
25
25
|
end
|
26
26
|
|
27
|
+
# Returns attribute mapping this model knows about
|
28
|
+
def self.acceptable_attribute_map
|
29
|
+
attribute_map
|
30
|
+
end
|
31
|
+
|
27
32
|
# Returns all the JSON keys this model knows about
|
28
33
|
def self.acceptable_attributes
|
29
|
-
|
34
|
+
acceptable_attribute_map.values
|
30
35
|
end
|
31
36
|
|
32
37
|
# Attribute type mapping.
|
@@ -50,9 +55,10 @@ module TrinsicApi
|
|
50
55
|
end
|
51
56
|
|
52
57
|
# check to see if the attribute exists and convert string to symbol for hash key
|
58
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
53
59
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
54
|
-
if (!
|
55
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::GetSessionResponse`. Please check the name to make sure it's valid. List of attributes: " +
|
60
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
61
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::GetSessionResponse`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
56
62
|
end
|
57
63
|
h[k.to_sym] = v
|
58
64
|
}
|
@@ -84,6 +90,16 @@ module TrinsicApi
|
|
84
90
|
true
|
85
91
|
end
|
86
92
|
|
93
|
+
# Custom attribute writer method with validation
|
94
|
+
# @param [Object] session Value to be assigned
|
95
|
+
def session=(session)
|
96
|
+
if session.nil?
|
97
|
+
fail ArgumentError, 'session cannot be nil'
|
98
|
+
end
|
99
|
+
|
100
|
+
@session = session
|
101
|
+
end
|
102
|
+
|
87
103
|
# Checks equality by comparing each attribute.
|
88
104
|
# @param [Object] Object to be compared
|
89
105
|
def ==(o)
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v1
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.13.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -25,9 +25,14 @@ module TrinsicApi
|
|
25
25
|
}
|
26
26
|
end
|
27
27
|
|
28
|
+
# Returns attribute mapping this model knows about
|
29
|
+
def self.acceptable_attribute_map
|
30
|
+
attribute_map
|
31
|
+
end
|
32
|
+
|
28
33
|
# Returns all the JSON keys this model knows about
|
29
34
|
def self.acceptable_attributes
|
30
|
-
|
35
|
+
acceptable_attribute_map.values
|
31
36
|
end
|
32
37
|
|
33
38
|
# Attribute type mapping.
|
@@ -51,9 +56,10 @@ module TrinsicApi
|
|
51
56
|
end
|
52
57
|
|
53
58
|
# check to see if the attribute exists and convert string to symbol for hash key
|
59
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
54
60
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
55
|
-
if (!
|
56
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::GetSessionResultRequest`. Please check the name to make sure it's valid. List of attributes: " +
|
61
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
62
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::GetSessionResultRequest`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
57
63
|
end
|
58
64
|
h[k.to_sym] = v
|
59
65
|
}
|
@@ -85,6 +91,16 @@ module TrinsicApi
|
|
85
91
|
true
|
86
92
|
end
|
87
93
|
|
94
|
+
# Custom attribute writer method with validation
|
95
|
+
# @param [Object] results_access_key Value to be assigned
|
96
|
+
def results_access_key=(results_access_key)
|
97
|
+
if results_access_key.nil?
|
98
|
+
fail ArgumentError, 'results_access_key cannot be nil'
|
99
|
+
end
|
100
|
+
|
101
|
+
@results_access_key = results_access_key
|
102
|
+
end
|
103
|
+
|
88
104
|
# Checks equality by comparing each attribute.
|
89
105
|
# @param [Object] Object to be compared
|
90
106
|
def ==(o)
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v1
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.13.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -27,9 +27,14 @@ module TrinsicApi
|
|
27
27
|
}
|
28
28
|
end
|
29
29
|
|
30
|
+
# Returns attribute mapping this model knows about
|
31
|
+
def self.acceptable_attribute_map
|
32
|
+
attribute_map
|
33
|
+
end
|
34
|
+
|
30
35
|
# Returns all the JSON keys this model knows about
|
31
36
|
def self.acceptable_attributes
|
32
|
-
|
37
|
+
acceptable_attribute_map.values
|
33
38
|
end
|
34
39
|
|
35
40
|
# Attribute type mapping.
|
@@ -55,9 +60,10 @@ module TrinsicApi
|
|
55
60
|
end
|
56
61
|
|
57
62
|
# check to see if the attribute exists and convert string to symbol for hash key
|
63
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
58
64
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
59
|
-
if (!
|
60
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::GetSessionResultResponse`. Please check the name to make sure it's valid. List of attributes: " +
|
65
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
66
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::GetSessionResultResponse`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
61
67
|
end
|
62
68
|
h[k.to_sym] = v
|
63
69
|
}
|
@@ -93,6 +99,16 @@ module TrinsicApi
|
|
93
99
|
true
|
94
100
|
end
|
95
101
|
|
102
|
+
# Custom attribute writer method with validation
|
103
|
+
# @param [Object] session Value to be assigned
|
104
|
+
def session=(session)
|
105
|
+
if session.nil?
|
106
|
+
fail ArgumentError, 'session cannot be nil'
|
107
|
+
end
|
108
|
+
|
109
|
+
@session = session
|
110
|
+
end
|
111
|
+
|
96
112
|
# Checks equality by comparing each attribute.
|
97
113
|
# @param [Object] Object to be compared
|
98
114
|
def ==(o)
|