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.
Files changed (151) hide show
  1. checksums.yaml +4 -4
  2. data/docs/IntegrationStep.md +1 -1
  3. data/docs/ProviderContract.md +3 -1
  4. data/docs/ProviderHealth.md +15 -0
  5. data/docs/WellKnownApi.md +71 -0
  6. data/lib/trinsic_api/api/attachments_api.rb +1 -1
  7. data/lib/trinsic_api/api/network_api.rb +1 -1
  8. data/lib/trinsic_api/api/sessions_api.rb +1 -1
  9. data/lib/trinsic_api/api/well_known_api.rb +75 -0
  10. data/lib/trinsic_api/api_client.rb +8 -9
  11. data/lib/trinsic_api/api_error.rb +1 -1
  12. data/lib/trinsic_api/configuration.rb +1 -1
  13. data/lib/trinsic_api/models/aadhaar_input.rb +10 -4
  14. data/lib/trinsic_api/models/address.rb +10 -4
  15. data/lib/trinsic_api/models/attachment_access_keys.rb +20 -4
  16. data/lib/trinsic_api/models/bangladesh_national_id_input.rb +10 -4
  17. data/lib/trinsic_api/models/brazil_cpf_check_input.rb +10 -4
  18. data/lib/trinsic_api/models/brazil_digital_cnh_input.rb +10 -4
  19. data/lib/trinsic_api/models/cancel_session_response.rb +20 -4
  20. data/lib/trinsic_api/models/create_advanced_provider_session_request.rb +10 -4
  21. data/lib/trinsic_api/models/create_advanced_provider_session_response.rb +40 -4
  22. data/lib/trinsic_api/models/create_hosted_provider_session_request.rb +10 -4
  23. data/lib/trinsic_api/models/create_hosted_provider_session_response.rb +40 -4
  24. data/lib/trinsic_api/models/create_widget_session_request.rb +10 -4
  25. data/lib/trinsic_api/models/create_widget_session_response.rb +40 -4
  26. data/lib/trinsic_api/models/document_data.rb +10 -4
  27. data/lib/trinsic_api/models/document_scan_attachments.rb +10 -4
  28. data/lib/trinsic_api/models/document_type.rb +1 -1
  29. data/lib/trinsic_api/models/get_attachment_request.rb +10 -4
  30. data/lib/trinsic_api/models/get_attachment_response.rb +30 -4
  31. data/lib/trinsic_api/models/get_session_response.rb +20 -4
  32. data/lib/trinsic_api/models/get_session_result_request.rb +20 -4
  33. data/lib/trinsic_api/models/get_session_result_response.rb +20 -4
  34. data/lib/trinsic_api/models/http_validation_problem_details.rb +10 -4
  35. data/lib/trinsic_api/models/identity_data.rb +10 -4
  36. data/lib/trinsic_api/models/idin_input.rb +10 -4
  37. data/lib/trinsic_api/models/indonesia_nik_input.rb +20 -4
  38. data/lib/trinsic_api/models/integration_capability.rb +1 -1
  39. data/lib/trinsic_api/models/integration_launch_method.rb +1 -1
  40. data/lib/trinsic_api/models/integration_step.rb +30 -6
  41. data/lib/trinsic_api/models/kenya_nid_input.rb +20 -4
  42. data/lib/trinsic_api/models/language.rb +1 -1
  43. data/lib/trinsic_api/models/list_provider_contracts_response.rb +20 -4
  44. data/lib/trinsic_api/models/list_providers_response.rb +20 -4
  45. data/lib/trinsic_api/models/list_sessions_response.rb +40 -4
  46. data/lib/trinsic_api/models/mexico_curp_input.rb +10 -4
  47. data/lib/trinsic_api/models/mobile_id_input.rb +10 -4
  48. data/lib/trinsic_api/models/nigeria_nin_input.rb +20 -4
  49. data/lib/trinsic_api/models/order_direction.rb +1 -1
  50. data/lib/trinsic_api/models/person_data.rb +10 -4
  51. data/lib/trinsic_api/models/philippine_match_input.rb +10 -4
  52. data/lib/trinsic_api/models/philippine_qr_input.rb +10 -4
  53. data/lib/trinsic_api/models/problem_details.rb +10 -4
  54. data/lib/trinsic_api/models/provider_attachments.rb +10 -4
  55. data/lib/trinsic_api/models/provider_contract.rb +182 -9
  56. data/lib/trinsic_api/models/provider_health.rb +40 -0
  57. data/lib/trinsic_api/models/provider_info.rb +40 -4
  58. data/lib/trinsic_api/models/provider_information.rb +40 -4
  59. data/lib/trinsic_api/models/provider_input.rb +10 -4
  60. data/lib/trinsic_api/models/recommend_request.rb +10 -4
  61. data/lib/trinsic_api/models/recommend_response.rb +40 -4
  62. data/lib/trinsic_api/models/recommendation_info.rb +10 -4
  63. data/lib/trinsic_api/models/refresh_step_content_request.rb +10 -4
  64. data/lib/trinsic_api/models/refresh_step_content_response.rb +20 -4
  65. data/lib/trinsic_api/models/result_collection.rb +30 -4
  66. data/lib/trinsic_api/models/result_collection_method.rb +1 -1
  67. data/lib/trinsic_api/models/session.rb +60 -4
  68. data/lib/trinsic_api/models/session_error_code.rb +1 -1
  69. data/lib/trinsic_api/models/session_ordering.rb +1 -1
  70. data/lib/trinsic_api/models/sex.rb +1 -1
  71. data/lib/trinsic_api/models/smart_id_input.rb +10 -4
  72. data/lib/trinsic_api/models/south_africa_nid_input.rb +20 -4
  73. data/lib/trinsic_api/models/spid_input.rb +10 -4
  74. data/lib/trinsic_api/models/step_refresh_info.rb +40 -4
  75. data/lib/trinsic_api/models/sub_provider_metadata.rb +50 -4
  76. data/lib/trinsic_api/models/trinsic_test_database_lookup_input.rb +10 -4
  77. data/lib/trinsic_api/models/trinsic_test_sub_providers_input.rb +10 -4
  78. data/lib/trinsic_api/version.rb +2 -2
  79. data/lib/trinsic_api.rb +3 -1
  80. data/spec/api/attachments_api_spec.rb +1 -1
  81. data/spec/api/network_api_spec.rb +1 -1
  82. data/spec/api/sessions_api_spec.rb +1 -1
  83. data/spec/api/well_known_api_spec.rb +44 -0
  84. data/spec/models/aadhaar_input_spec.rb +1 -1
  85. data/spec/models/address_spec.rb +1 -1
  86. data/spec/models/attachment_access_keys_spec.rb +1 -1
  87. data/spec/models/bangladesh_national_id_input_spec.rb +1 -1
  88. data/spec/models/brazil_cpf_check_input_spec.rb +1 -1
  89. data/spec/models/brazil_digital_cnh_input_spec.rb +1 -1
  90. data/spec/models/cancel_session_response_spec.rb +1 -1
  91. data/spec/models/create_advanced_provider_session_request_spec.rb +1 -1
  92. data/spec/models/create_advanced_provider_session_response_spec.rb +1 -1
  93. data/spec/models/create_hosted_provider_session_request_spec.rb +1 -1
  94. data/spec/models/create_hosted_provider_session_response_spec.rb +1 -1
  95. data/spec/models/create_widget_session_request_spec.rb +1 -1
  96. data/spec/models/create_widget_session_response_spec.rb +1 -1
  97. data/spec/models/document_data_spec.rb +1 -1
  98. data/spec/models/document_scan_attachments_spec.rb +1 -1
  99. data/spec/models/document_type_spec.rb +1 -1
  100. data/spec/models/get_attachment_request_spec.rb +1 -1
  101. data/spec/models/get_attachment_response_spec.rb +1 -1
  102. data/spec/models/get_session_response_spec.rb +1 -1
  103. data/spec/models/get_session_result_request_spec.rb +1 -1
  104. data/spec/models/get_session_result_response_spec.rb +1 -1
  105. data/spec/models/http_validation_problem_details_spec.rb +1 -1
  106. data/spec/models/identity_data_spec.rb +1 -1
  107. data/spec/models/idin_input_spec.rb +1 -1
  108. data/spec/models/indonesia_nik_input_spec.rb +1 -1
  109. data/spec/models/integration_capability_spec.rb +1 -1
  110. data/spec/models/integration_launch_method_spec.rb +1 -1
  111. data/spec/models/integration_step_spec.rb +1 -1
  112. data/spec/models/kenya_nid_input_spec.rb +1 -1
  113. data/spec/models/language_spec.rb +1 -1
  114. data/spec/models/list_provider_contracts_response_spec.rb +1 -1
  115. data/spec/models/list_providers_response_spec.rb +1 -1
  116. data/spec/models/list_sessions_response_spec.rb +1 -1
  117. data/spec/models/mexico_curp_input_spec.rb +1 -1
  118. data/spec/models/mobile_id_input_spec.rb +1 -1
  119. data/spec/models/nigeria_nin_input_spec.rb +1 -1
  120. data/spec/models/order_direction_spec.rb +1 -1
  121. data/spec/models/person_data_spec.rb +1 -1
  122. data/spec/models/philippine_match_input_spec.rb +1 -1
  123. data/spec/models/philippine_qr_input_spec.rb +1 -1
  124. data/spec/models/problem_details_spec.rb +1 -1
  125. data/spec/models/provider_attachments_spec.rb +1 -1
  126. data/spec/models/provider_contract_spec.rb +7 -1
  127. data/spec/models/provider_health_spec.rb +30 -0
  128. data/spec/models/provider_info_spec.rb +1 -1
  129. data/spec/models/provider_information_spec.rb +1 -1
  130. data/spec/models/provider_input_spec.rb +1 -1
  131. data/spec/models/recommend_request_spec.rb +1 -1
  132. data/spec/models/recommend_response_spec.rb +1 -1
  133. data/spec/models/recommendation_info_spec.rb +1 -1
  134. data/spec/models/refresh_step_content_request_spec.rb +1 -1
  135. data/spec/models/refresh_step_content_response_spec.rb +1 -1
  136. data/spec/models/result_collection_method_spec.rb +1 -1
  137. data/spec/models/result_collection_spec.rb +1 -1
  138. data/spec/models/session_error_code_spec.rb +1 -1
  139. data/spec/models/session_ordering_spec.rb +1 -1
  140. data/spec/models/session_spec.rb +1 -1
  141. data/spec/models/sex_spec.rb +1 -1
  142. data/spec/models/smart_id_input_spec.rb +1 -1
  143. data/spec/models/south_africa_nid_input_spec.rb +1 -1
  144. data/spec/models/spid_input_spec.rb +1 -1
  145. data/spec/models/step_refresh_info_spec.rb +1 -1
  146. data/spec/models/sub_provider_metadata_spec.rb +1 -1
  147. data/spec/models/trinsic_test_database_lookup_input_spec.rb +1 -1
  148. data/spec/models/trinsic_test_sub_providers_input_spec.rb +1 -1
  149. data/spec/spec_helper.rb +1 -1
  150. data/trinsic_api.gemspec +1 -1
  151. 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.8.0
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
- attribute_map.values
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 (!self.class.attribute_map.key?(k.to_sym))
57
- fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::RecommendRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
62
+ if (!acceptable_attribute_map.key?(k.to_sym))
63
+ fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::RecommendRequest`. 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.8.0
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
- attribute_map.values
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 (!self.class.attribute_map.key?(k.to_sym))
66
- fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::RecommendResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
71
+ if (!acceptable_attribute_map.key?(k.to_sym))
72
+ fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::RecommendResponse`. 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
  }
@@ -123,6 +129,36 @@ module TrinsicApi
123
129
  true
124
130
  end
125
131
 
132
+ # Custom attribute writer method with validation
133
+ # @param [Object] recognized Value to be assigned
134
+ def recognized=(recognized)
135
+ if recognized.nil?
136
+ fail ArgumentError, 'recognized cannot be nil'
137
+ end
138
+
139
+ @recognized = recognized
140
+ end
141
+
142
+ # Custom attribute writer method with validation
143
+ # @param [Object] relevant Value to be assigned
144
+ def relevant=(relevant)
145
+ if relevant.nil?
146
+ fail ArgumentError, 'relevant cannot be nil'
147
+ end
148
+
149
+ @relevant = relevant
150
+ end
151
+
152
+ # Custom attribute writer method with validation
153
+ # @param [Object] remainder Value to be assigned
154
+ def remainder=(remainder)
155
+ if remainder.nil?
156
+ fail ArgumentError, 'remainder cannot be nil'
157
+ end
158
+
159
+ @remainder = remainder
160
+ end
161
+
126
162
  # Checks equality by comparing each attribute.
127
163
  # @param [Object] Object to be compared
128
164
  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.8.0
9
+ Generator version: 7.13.0
10
10
 
11
11
  =end
12
12
 
@@ -38,9 +38,14 @@ module TrinsicApi
38
38
  }
39
39
  end
40
40
 
41
+ # Returns attribute mapping this model knows about
42
+ def self.acceptable_attribute_map
43
+ attribute_map
44
+ end
45
+
41
46
  # Returns all the JSON keys this model knows about
42
47
  def self.acceptable_attributes
43
- attribute_map.values
48
+ acceptable_attribute_map.values
44
49
  end
45
50
 
46
51
  # 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 (!self.class.attribute_map.key?(k.to_sym))
76
- fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::RecommendationInfo`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
81
+ if (!acceptable_attribute_map.key?(k.to_sym))
82
+ fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::RecommendationInfo`. 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.8.0
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
- attribute_map.values
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 (!self.class.attribute_map.key?(k.to_sym))
57
- fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::RefreshStepContentRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
62
+ if (!acceptable_attribute_map.key?(k.to_sym))
63
+ fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::RefreshStepContentRequest`. 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.8.0
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
- attribute_map.values
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 (!self.class.attribute_map.key?(k.to_sym))
56
- fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::RefreshStepContentResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
61
+ if (!acceptable_attribute_map.key?(k.to_sym))
62
+ fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::RefreshStepContentResponse`. 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] next_step Value to be assigned
96
+ def next_step=(next_step)
97
+ if next_step.nil?
98
+ fail ArgumentError, 'next_step cannot be nil'
99
+ end
100
+
101
+ @next_step = next_step
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.8.0
9
+ Generator version: 7.13.0
10
10
 
11
11
  =end
12
12
 
@@ -51,9 +51,14 @@ module TrinsicApi
51
51
  }
52
52
  end
53
53
 
54
+ # Returns attribute mapping this model knows about
55
+ def self.acceptable_attribute_map
56
+ attribute_map
57
+ end
58
+
54
59
  # Returns all the JSON keys this model knows about
55
60
  def self.acceptable_attributes
56
- attribute_map.values
61
+ acceptable_attribute_map.values
57
62
  end
58
63
 
59
64
  # Attribute type mapping.
@@ -78,9 +83,10 @@ module TrinsicApi
78
83
  end
79
84
 
80
85
  # check to see if the attribute exists and convert string to symbol for hash key
86
+ acceptable_attribute_map = self.class.acceptable_attribute_map
81
87
  attributes = attributes.each_with_object({}) { |(k, v), h|
82
- if (!self.class.attribute_map.key?(k.to_sym))
83
- fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::ResultCollection`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
88
+ if (!acceptable_attribute_map.key?(k.to_sym))
89
+ fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::ResultCollection`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
84
90
  end
85
91
  h[k.to_sym] = v
86
92
  }
@@ -123,6 +129,26 @@ module TrinsicApi
123
129
  true
124
130
  end
125
131
 
132
+ # Custom attribute writer method with validation
133
+ # @param [Object] method Value to be assigned
134
+ def method=(method)
135
+ if method.nil?
136
+ fail ArgumentError, 'method cannot be nil'
137
+ end
138
+
139
+ @method = method
140
+ end
141
+
142
+ # Custom attribute writer method with validation
143
+ # @param [Object] results_access_key Value to be assigned
144
+ def results_access_key=(results_access_key)
145
+ if results_access_key.nil?
146
+ fail ArgumentError, 'results_access_key cannot be nil'
147
+ end
148
+
149
+ @results_access_key = results_access_key
150
+ end
151
+
126
152
  # Checks equality by comparing each attribute.
127
153
  # @param [Object] Object to be compared
128
154
  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.8.0
9
+ Generator version: 7.13.0
10
10
 
11
11
  =end
12
12
 
@@ -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.8.0
9
+ Generator version: 7.13.0
10
10
 
11
11
  =end
12
12
 
@@ -66,9 +66,14 @@ module TrinsicApi
66
66
  }
67
67
  end
68
68
 
69
+ # Returns attribute mapping this model knows about
70
+ def self.acceptable_attribute_map
71
+ attribute_map
72
+ end
73
+
69
74
  # Returns all the JSON keys this model knows about
70
75
  def self.acceptable_attributes
71
- attribute_map.values
76
+ acceptable_attribute_map.values
72
77
  end
73
78
 
74
79
  # 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 (!self.class.attribute_map.key?(k.to_sym))
103
- fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::Session`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
108
+ if (!acceptable_attribute_map.key?(k.to_sym))
109
+ fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::Session`. 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
  }
@@ -180,6 +186,56 @@ module TrinsicApi
180
186
  true
181
187
  end
182
188
 
189
+ # Custom attribute writer method with validation
190
+ # @param [Object] id Value to be assigned
191
+ def id=(id)
192
+ if id.nil?
193
+ fail ArgumentError, 'id cannot be nil'
194
+ end
195
+
196
+ @id = id
197
+ end
198
+
199
+ # Custom attribute writer method with validation
200
+ # @param [Object] done Value to be assigned
201
+ def done=(done)
202
+ if done.nil?
203
+ fail ArgumentError, 'done cannot be nil'
204
+ end
205
+
206
+ @done = done
207
+ end
208
+
209
+ # Custom attribute writer method with validation
210
+ # @param [Object] success Value to be assigned
211
+ def success=(success)
212
+ if success.nil?
213
+ fail ArgumentError, 'success cannot be nil'
214
+ end
215
+
216
+ @success = success
217
+ end
218
+
219
+ # Custom attribute writer method with validation
220
+ # @param [Object] created Value to be assigned
221
+ def created=(created)
222
+ if created.nil?
223
+ fail ArgumentError, 'created cannot be nil'
224
+ end
225
+
226
+ @created = created
227
+ end
228
+
229
+ # Custom attribute writer method with validation
230
+ # @param [Object] updated Value to be assigned
231
+ def updated=(updated)
232
+ if updated.nil?
233
+ fail ArgumentError, 'updated cannot be nil'
234
+ end
235
+
236
+ @updated = updated
237
+ end
238
+
183
239
  # Checks equality by comparing each attribute.
184
240
  # @param [Object] Object to be compared
185
241
  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.8.0
9
+ Generator version: 7.13.0
10
10
 
11
11
  =end
12
12
 
@@ -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.8.0
9
+ Generator version: 7.13.0
10
10
 
11
11
  =end
12
12
 
@@ -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.8.0
9
+ Generator version: 7.13.0
10
10
 
11
11
  =end
12
12
 
@@ -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.8.0
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
- attribute_map.values
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 (!self.class.attribute_map.key?(k.to_sym))
57
- fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::SmartIdInput`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
62
+ if (!acceptable_attribute_map.key?(k.to_sym))
63
+ fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::SmartIdInput`. 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.8.0
9
+ Generator version: 7.13.0
10
10
 
11
11
  =end
12
12
 
@@ -37,9 +37,14 @@ module TrinsicApi
37
37
  }
38
38
  end
39
39
 
40
+ # Returns attribute mapping this model knows about
41
+ def self.acceptable_attribute_map
42
+ attribute_map
43
+ end
44
+
40
45
  # Returns all the JSON keys this model knows about
41
46
  def self.acceptable_attributes
42
- attribute_map.values
47
+ acceptable_attribute_map.values
43
48
  end
44
49
 
45
50
  # Attribute type mapping.
@@ -66,9 +71,10 @@ module TrinsicApi
66
71
  end
67
72
 
68
73
  # check to see if the attribute exists and convert string to symbol for hash key
74
+ acceptable_attribute_map = self.class.acceptable_attribute_map
69
75
  attributes = attributes.each_with_object({}) { |(k, v), h|
70
- if (!self.class.attribute_map.key?(k.to_sym))
71
- fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::SouthAfricaNidInput`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
76
+ if (!acceptable_attribute_map.key?(k.to_sym))
77
+ fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::SouthAfricaNidInput`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
72
78
  end
73
79
  h[k.to_sym] = v
74
80
  }
@@ -173,6 +179,16 @@ module TrinsicApi
173
179
  @full_name = full_name
174
180
  end
175
181
 
182
+ # Custom attribute writer method with validation
183
+ # @param [Object] date_of_birth Value to be assigned
184
+ def date_of_birth=(date_of_birth)
185
+ if date_of_birth.nil?
186
+ fail ArgumentError, 'date_of_birth cannot be nil'
187
+ end
188
+
189
+ @date_of_birth = date_of_birth
190
+ end
191
+
176
192
  # Custom attribute writer method with validation
177
193
  # @param [Object] gender Value to be assigned
178
194
  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.8.0
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
- attribute_map.values
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 (!self.class.attribute_map.key?(k.to_sym))
57
- fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::SpidInput`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
62
+ if (!acceptable_attribute_map.key?(k.to_sym))
63
+ fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::SpidInput`. 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.8.0
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
- attribute_map.values
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 (!self.class.attribute_map.key?(k.to_sym))
66
- fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::StepRefreshInfo`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
71
+ if (!acceptable_attribute_map.key?(k.to_sym))
72
+ fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::StepRefreshInfo`. 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] expires_at Value to be assigned
128
+ def expires_at=(expires_at)
129
+ if expires_at.nil?
130
+ fail ArgumentError, 'expires_at cannot be nil'
131
+ end
132
+
133
+ @expires_at = expires_at
134
+ end
135
+
136
+ # Custom attribute writer method with validation
137
+ # @param [Object] refresh_after Value to be assigned
138
+ def refresh_after=(refresh_after)
139
+ if refresh_after.nil?
140
+ fail ArgumentError, 'refresh_after cannot be nil'
141
+ end
142
+
143
+ @refresh_after = refresh_after
144
+ end
145
+
146
+ # Custom attribute writer method with validation
147
+ # @param [Object] time_to_live_seconds Value to be assigned
148
+ def time_to_live_seconds=(time_to_live_seconds)
149
+ if time_to_live_seconds.nil?
150
+ fail ArgumentError, 'time_to_live_seconds cannot be nil'
151
+ end
152
+
153
+ @time_to_live_seconds = time_to_live_seconds
154
+ end
155
+
120
156
  # Checks equality by comparing each attribute.
121
157
  # @param [Object] Object to be compared
122
158
  def ==(o)