trinsic_api 2.0.0 → 2.0.1
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
|
|
@@ -39,9 +39,14 @@ module TrinsicApi
|
|
39
39
|
}
|
40
40
|
end
|
41
41
|
|
42
|
+
# Returns attribute mapping this model knows about
|
43
|
+
def self.acceptable_attribute_map
|
44
|
+
attribute_map
|
45
|
+
end
|
46
|
+
|
42
47
|
# Returns all the JSON keys this model knows about
|
43
48
|
def self.acceptable_attributes
|
44
|
-
|
49
|
+
acceptable_attribute_map.values
|
45
50
|
end
|
46
51
|
|
47
52
|
# Attribute type mapping.
|
@@ -82,9 +87,10 @@ module TrinsicApi
|
|
82
87
|
end
|
83
88
|
|
84
89
|
# check to see if the attribute exists and convert string to symbol for hash key
|
90
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
85
91
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
86
|
-
if (!
|
87
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::HttpValidationProblemDetails`. Please check the name to make sure it's valid. List of attributes: " +
|
92
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
93
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::HttpValidationProblemDetails`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
88
94
|
end
|
89
95
|
h[k.to_sym] = v
|
90
96
|
}
|
@@ -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
|
|
@@ -36,9 +36,14 @@ module TrinsicApi
|
|
36
36
|
}
|
37
37
|
end
|
38
38
|
|
39
|
+
# Returns attribute mapping this model knows about
|
40
|
+
def self.acceptable_attribute_map
|
41
|
+
attribute_map
|
42
|
+
end
|
43
|
+
|
39
44
|
# Returns all the JSON keys this model knows about
|
40
45
|
def self.acceptable_attributes
|
41
|
-
|
46
|
+
acceptable_attribute_map.values
|
42
47
|
end
|
43
48
|
|
44
49
|
# Attribute type mapping.
|
@@ -71,9 +76,10 @@ module TrinsicApi
|
|
71
76
|
end
|
72
77
|
|
73
78
|
# check to see if the attribute exists and convert string to symbol for hash key
|
79
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
74
80
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
75
|
-
if (!
|
76
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::IdentityData`. Please check the name to make sure it's valid. List of attributes: " +
|
81
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
82
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::IdentityData`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
77
83
|
end
|
78
84
|
h[k.to_sym] = v
|
79
85
|
}
|
@@ -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.
|
@@ -52,9 +57,10 @@ module TrinsicApi
|
|
52
57
|
end
|
53
58
|
|
54
59
|
# check to see if the attribute exists and convert string to symbol for hash key
|
60
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
55
61
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
56
|
-
if (!
|
57
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::IdinInput`. Please check the name to make sure it's valid. List of attributes: " +
|
62
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
63
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::IdinInput`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
58
64
|
end
|
59
65
|
h[k.to_sym] = v
|
60
66
|
}
|
@@ -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::IndonesiaNikInput`. 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::IndonesiaNikInput`. 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
|
}
|
@@ -152,6 +158,16 @@ module TrinsicApi
|
|
152
158
|
@full_name = full_name
|
153
159
|
end
|
154
160
|
|
161
|
+
# Custom attribute writer method with validation
|
162
|
+
# @param [Object] date_of_birth Value to be assigned
|
163
|
+
def date_of_birth=(date_of_birth)
|
164
|
+
if date_of_birth.nil?
|
165
|
+
fail ArgumentError, 'date_of_birth cannot be nil'
|
166
|
+
end
|
167
|
+
|
168
|
+
@date_of_birth = date_of_birth
|
169
|
+
end
|
170
|
+
|
155
171
|
# Custom attribute writer method with validation
|
156
172
|
# @param [Object] nik_id_number Value to be assigned
|
157
173
|
def nik_id_number=(nik_id_number)
|
@@ -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
|
|
@@ -56,9 +56,14 @@ module TrinsicApi
|
|
56
56
|
}
|
57
57
|
end
|
58
58
|
|
59
|
+
# Returns attribute mapping this model knows about
|
60
|
+
def self.acceptable_attribute_map
|
61
|
+
attribute_map
|
62
|
+
end
|
63
|
+
|
59
64
|
# Returns all the JSON keys this model knows about
|
60
65
|
def self.acceptable_attributes
|
61
|
-
|
66
|
+
acceptable_attribute_map.values
|
62
67
|
end
|
63
68
|
|
64
69
|
# Attribute type mapping.
|
@@ -85,9 +90,10 @@ module TrinsicApi
|
|
85
90
|
end
|
86
91
|
|
87
92
|
# check to see if the attribute exists and convert string to symbol for hash key
|
93
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
88
94
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
89
|
-
if (!
|
90
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::IntegrationStep`. Please check the name to make sure it's valid. List of attributes: " +
|
95
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
96
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::IntegrationStep`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
91
97
|
end
|
92
98
|
h[k.to_sym] = v
|
93
99
|
}
|
@@ -106,8 +112,6 @@ module TrinsicApi
|
|
106
112
|
|
107
113
|
if attributes.key?(:'refresh')
|
108
114
|
self.refresh = attributes[:'refresh']
|
109
|
-
else
|
110
|
-
self.refresh = nil
|
111
115
|
end
|
112
116
|
end
|
113
117
|
|
@@ -136,6 +140,26 @@ module TrinsicApi
|
|
136
140
|
true
|
137
141
|
end
|
138
142
|
|
143
|
+
# Custom attribute writer method with validation
|
144
|
+
# @param [Object] method Value to be assigned
|
145
|
+
def method=(method)
|
146
|
+
if method.nil?
|
147
|
+
fail ArgumentError, 'method cannot be nil'
|
148
|
+
end
|
149
|
+
|
150
|
+
@method = method
|
151
|
+
end
|
152
|
+
|
153
|
+
# Custom attribute writer method with validation
|
154
|
+
# @param [Object] content Value to be assigned
|
155
|
+
def content=(content)
|
156
|
+
if content.nil?
|
157
|
+
fail ArgumentError, 'content cannot be nil'
|
158
|
+
end
|
159
|
+
|
160
|
+
@content = content
|
161
|
+
end
|
162
|
+
|
139
163
|
# Checks equality by comparing each attribute.
|
140
164
|
# @param [Object] Object to be compared
|
141
165
|
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
|
|
@@ -45,9 +45,14 @@ module TrinsicApi
|
|
45
45
|
}
|
46
46
|
end
|
47
47
|
|
48
|
+
# Returns attribute mapping this model knows about
|
49
|
+
def self.acceptable_attribute_map
|
50
|
+
attribute_map
|
51
|
+
end
|
52
|
+
|
48
53
|
# Returns all the JSON keys this model knows about
|
49
54
|
def self.acceptable_attributes
|
50
|
-
|
55
|
+
acceptable_attribute_map.values
|
51
56
|
end
|
52
57
|
|
53
58
|
# Attribute type mapping.
|
@@ -77,9 +82,10 @@ module TrinsicApi
|
|
77
82
|
end
|
78
83
|
|
79
84
|
# check to see if the attribute exists and convert string to symbol for hash key
|
85
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
80
86
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
81
|
-
if (!
|
82
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::KenyaNidInput`. Please check the name to make sure it's valid. List of attributes: " +
|
87
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
88
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::KenyaNidInput`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
83
89
|
end
|
84
90
|
h[k.to_sym] = v
|
85
91
|
}
|
@@ -218,6 +224,16 @@ module TrinsicApi
|
|
218
224
|
@last_name = last_name
|
219
225
|
end
|
220
226
|
|
227
|
+
# Custom attribute writer method with validation
|
228
|
+
# @param [Object] date_of_birth Value to be assigned
|
229
|
+
def date_of_birth=(date_of_birth)
|
230
|
+
if date_of_birth.nil?
|
231
|
+
fail ArgumentError, 'date_of_birth cannot be nil'
|
232
|
+
end
|
233
|
+
|
234
|
+
@date_of_birth = date_of_birth
|
235
|
+
end
|
236
|
+
|
221
237
|
# Custom attribute writer method with validation
|
222
238
|
# @param [Object] gender Value to be assigned
|
223
239
|
def gender=(gender)
|
@@ -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::ListProviderContractsResponse`. 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::ListProviderContractsResponse`. 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
|
}
|
@@ -87,6 +93,16 @@ module TrinsicApi
|
|
87
93
|
true
|
88
94
|
end
|
89
95
|
|
96
|
+
# Custom attribute writer method with validation
|
97
|
+
# @param [Object] provider_contracts Value to be assigned
|
98
|
+
def provider_contracts=(provider_contracts)
|
99
|
+
if provider_contracts.nil?
|
100
|
+
fail ArgumentError, 'provider_contracts cannot be nil'
|
101
|
+
end
|
102
|
+
|
103
|
+
@provider_contracts = provider_contracts
|
104
|
+
end
|
105
|
+
|
90
106
|
# Checks equality by comparing each attribute.
|
91
107
|
# @param [Object] Object to be compared
|
92
108
|
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::ListProvidersResponse`. 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::ListProvidersResponse`. 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
|
}
|
@@ -87,6 +93,16 @@ module TrinsicApi
|
|
87
93
|
true
|
88
94
|
end
|
89
95
|
|
96
|
+
# Custom attribute writer method with validation
|
97
|
+
# @param [Object] providers Value to be assigned
|
98
|
+
def providers=(providers)
|
99
|
+
if providers.nil?
|
100
|
+
fail ArgumentError, 'providers cannot be nil'
|
101
|
+
end
|
102
|
+
|
103
|
+
@providers = providers
|
104
|
+
end
|
105
|
+
|
90
106
|
# Checks equality by comparing each attribute.
|
91
107
|
# @param [Object] Object to be compared
|
92
108
|
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
|
|
@@ -32,9 +32,14 @@ module TrinsicApi
|
|
32
32
|
}
|
33
33
|
end
|
34
34
|
|
35
|
+
# Returns attribute mapping this model knows about
|
36
|
+
def self.acceptable_attribute_map
|
37
|
+
attribute_map
|
38
|
+
end
|
39
|
+
|
35
40
|
# Returns all the JSON keys this model knows about
|
36
41
|
def self.acceptable_attributes
|
37
|
-
|
42
|
+
acceptable_attribute_map.values
|
38
43
|
end
|
39
44
|
|
40
45
|
# Attribute type mapping.
|
@@ -60,9 +65,10 @@ module TrinsicApi
|
|
60
65
|
end
|
61
66
|
|
62
67
|
# check to see if the attribute exists and convert string to symbol for hash key
|
68
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
63
69
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
64
|
-
if (!
|
65
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::ListSessionsResponse`. Please check the name to make sure it's valid. List of attributes: " +
|
70
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
71
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::ListSessionsResponse`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
66
72
|
end
|
67
73
|
h[k.to_sym] = v
|
68
74
|
}
|
@@ -118,6 +124,36 @@ module TrinsicApi
|
|
118
124
|
true
|
119
125
|
end
|
120
126
|
|
127
|
+
# Custom attribute writer method with validation
|
128
|
+
# @param [Object] sessions Value to be assigned
|
129
|
+
def sessions=(sessions)
|
130
|
+
if sessions.nil?
|
131
|
+
fail ArgumentError, 'sessions cannot be nil'
|
132
|
+
end
|
133
|
+
|
134
|
+
@sessions = sessions
|
135
|
+
end
|
136
|
+
|
137
|
+
# Custom attribute writer method with validation
|
138
|
+
# @param [Object] total Value to be assigned
|
139
|
+
def total=(total)
|
140
|
+
if total.nil?
|
141
|
+
fail ArgumentError, 'total cannot be nil'
|
142
|
+
end
|
143
|
+
|
144
|
+
@total = total
|
145
|
+
end
|
146
|
+
|
147
|
+
# Custom attribute writer method with validation
|
148
|
+
# @param [Object] more Value to be assigned
|
149
|
+
def more=(more)
|
150
|
+
if more.nil?
|
151
|
+
fail ArgumentError, 'more cannot be nil'
|
152
|
+
end
|
153
|
+
|
154
|
+
@more = more
|
155
|
+
end
|
156
|
+
|
121
157
|
# Checks equality by comparing each attribute.
|
122
158
|
# @param [Object] Object to be compared
|
123
159
|
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::MexicoCurpInput`. 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::MexicoCurpInput`. 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
|
|
@@ -55,9 +55,14 @@ module TrinsicApi
|
|
55
55
|
}
|
56
56
|
end
|
57
57
|
|
58
|
+
# Returns attribute mapping this model knows about
|
59
|
+
def self.acceptable_attribute_map
|
60
|
+
attribute_map
|
61
|
+
end
|
62
|
+
|
58
63
|
# Returns all the JSON keys this model knows about
|
59
64
|
def self.acceptable_attributes
|
60
|
-
|
65
|
+
acceptable_attribute_map.values
|
61
66
|
end
|
62
67
|
|
63
68
|
# Attribute type mapping.
|
@@ -86,9 +91,10 @@ module TrinsicApi
|
|
86
91
|
end
|
87
92
|
|
88
93
|
# check to see if the attribute exists and convert string to symbol for hash key
|
94
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
89
95
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
90
|
-
if (!
|
91
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::MobileIdInput`. Please check the name to make sure it's valid. List of attributes: " +
|
96
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
97
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::MobileIdInput`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
92
98
|
end
|
93
99
|
h[k.to_sym] = v
|
94
100
|
}
|
@@ -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
|
|
@@ -49,9 +49,14 @@ module TrinsicApi
|
|
49
49
|
}
|
50
50
|
end
|
51
51
|
|
52
|
+
# Returns attribute mapping this model knows about
|
53
|
+
def self.acceptable_attribute_map
|
54
|
+
attribute_map
|
55
|
+
end
|
56
|
+
|
52
57
|
# Returns all the JSON keys this model knows about
|
53
58
|
def self.acceptable_attributes
|
54
|
-
|
59
|
+
acceptable_attribute_map.values
|
55
60
|
end
|
56
61
|
|
57
62
|
# Attribute type mapping.
|
@@ -84,9 +89,10 @@ module TrinsicApi
|
|
84
89
|
end
|
85
90
|
|
86
91
|
# check to see if the attribute exists and convert string to symbol for hash key
|
92
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
87
93
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
88
|
-
if (!
|
89
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::NigeriaNinInput`. Please check the name to make sure it's valid. List of attributes: " +
|
94
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
95
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::NigeriaNinInput`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
90
96
|
end
|
91
97
|
h[k.to_sym] = v
|
92
98
|
}
|
@@ -217,6 +223,16 @@ module TrinsicApi
|
|
217
223
|
@last_name = last_name
|
218
224
|
end
|
219
225
|
|
226
|
+
# Custom attribute writer method with validation
|
227
|
+
# @param [Object] date_of_birth Value to be assigned
|
228
|
+
def date_of_birth=(date_of_birth)
|
229
|
+
if date_of_birth.nil?
|
230
|
+
fail ArgumentError, 'date_of_birth cannot be nil'
|
231
|
+
end
|
232
|
+
|
233
|
+
@date_of_birth = date_of_birth
|
234
|
+
end
|
235
|
+
|
220
236
|
# Custom attribute writer method with validation
|
221
237
|
# @param [Object] national_id_number Value to be assigned
|
222
238
|
def national_id_number=(national_id_number)
|