trinsic_api 2.2.0.pre.alpha1 → 2.3.0.pre.alpha1

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 (70) hide show
  1. checksums.yaml +4 -4
  2. data/docs/AddRedirectUriResponse.md +18 -0
  3. data/docs/ContractField.md +2 -0
  4. data/docs/ContractIdentifierField.md +22 -0
  5. data/docs/CreateVerificationProfileResponse.md +18 -0
  6. data/docs/EnvironmentRedirectUrisAddRequest.md +18 -0
  7. data/docs/EnvironmentRedirectUrisApi.md +222 -0
  8. data/docs/FaydaProviderOutput.md +18 -0
  9. data/docs/Identifier.md +22 -0
  10. data/docs/IdentityData.md +5 -1
  11. data/docs/ListEnvironmentRedirectUrisResponse.md +20 -0
  12. data/docs/ListVerificationProfilesResponse.md +20 -0
  13. data/docs/MexicoCurpProviderOutput.md +18 -0
  14. data/docs/NetworkApi.md +7 -5
  15. data/docs/ProviderContract.md +2 -0
  16. data/docs/ProviderOutput.md +22 -0
  17. data/docs/RedirectUriResponse.md +20 -0
  18. data/docs/SessionsApi.md +14 -14
  19. data/docs/SpidBillingInformation.md +22 -0
  20. data/docs/SpidInput.md +3 -1
  21. data/docs/SpidProviderOutput.md +26 -0
  22. data/docs/VerificationProfileResponse.md +28 -0
  23. data/docs/VerificationProfilesApi.md +231 -0
  24. data/lib/trinsic_api/api/environment_redirect_uris_api.rb +228 -0
  25. data/lib/trinsic_api/api/network_api.rb +6 -2
  26. data/lib/trinsic_api/api/sessions_api.rb +18 -18
  27. data/lib/trinsic_api/api/verification_profiles_api.rb +273 -0
  28. data/lib/trinsic_api/models/add_redirect_uri_response.rb +237 -0
  29. data/lib/trinsic_api/models/contract_field.rb +28 -1
  30. data/lib/trinsic_api/models/contract_identifier_field.rb +315 -0
  31. data/lib/trinsic_api/models/create_verification_profile_response.rb +238 -0
  32. data/lib/trinsic_api/models/environment_redirect_uris_add_request.rb +237 -0
  33. data/lib/trinsic_api/models/fayda_provider_output.rb +222 -0
  34. data/lib/trinsic_api/models/identifier.rb +289 -0
  35. data/lib/trinsic_api/models/identity_data.rb +43 -5
  36. data/lib/trinsic_api/models/list_environment_redirect_uris_response.rb +268 -0
  37. data/lib/trinsic_api/models/list_verification_profiles_response.rb +266 -0
  38. data/lib/trinsic_api/models/mexico_curp_provider_output.rb +222 -0
  39. data/lib/trinsic_api/models/provider_contract.rb +14 -1
  40. data/lib/trinsic_api/models/provider_output.rb +241 -0
  41. data/lib/trinsic_api/models/redirect_uri_response.rb +263 -0
  42. data/lib/trinsic_api/models/spid_billing_information.rb +293 -0
  43. data/lib/trinsic_api/models/spid_input.rb +16 -5
  44. data/lib/trinsic_api/models/spid_provider_output.rb +266 -0
  45. data/lib/trinsic_api/models/verification_profile_response.rb +375 -0
  46. data/lib/trinsic_api/version.rb +1 -1
  47. data/lib/trinsic_api.rb +16 -0
  48. data/spec/api/environment_redirect_uris_api_spec.rb +72 -0
  49. data/spec/api/network_api_spec.rb +3 -1
  50. data/spec/api/sessions_api_spec.rb +2 -2
  51. data/spec/api/verification_profiles_api_spec.rb +76 -0
  52. data/spec/models/add_redirect_uri_response_spec.rb +36 -0
  53. data/spec/models/contract_field_spec.rb +6 -0
  54. data/spec/models/contract_identifier_field_spec.rb +48 -0
  55. data/spec/models/create_verification_profile_response_spec.rb +36 -0
  56. data/spec/models/environment_redirect_uris_add_request_spec.rb +36 -0
  57. data/spec/models/fayda_provider_output_spec.rb +36 -0
  58. data/spec/models/identifier_spec.rb +48 -0
  59. data/spec/models/identity_data_spec.rb +12 -0
  60. data/spec/models/list_environment_redirect_uris_response_spec.rb +42 -0
  61. data/spec/models/list_verification_profiles_response_spec.rb +42 -0
  62. data/spec/models/mexico_curp_provider_output_spec.rb +36 -0
  63. data/spec/models/provider_contract_spec.rb +6 -0
  64. data/spec/models/provider_output_spec.rb +48 -0
  65. data/spec/models/redirect_uri_response_spec.rb +42 -0
  66. data/spec/models/spid_billing_information_spec.rb +48 -0
  67. data/spec/models/spid_input_spec.rb +6 -0
  68. data/spec/models/spid_provider_output_spec.rb +60 -0
  69. data/spec/models/verification_profile_response_spec.rb +66 -0
  70. metadata +66 -2
@@ -0,0 +1,266 @@
1
+ =begin
2
+ #Trinsic API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v1
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.13.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module TrinsicApi
17
+ class ListVerificationProfilesResponse
18
+ attr_accessor :verification_profiles
19
+
20
+ # Whether there are additional pages of verification profiles to retrieve
21
+ attr_accessor :more
22
+
23
+ # Attribute mapping from ruby-style variable name to JSON key.
24
+ def self.attribute_map
25
+ {
26
+ :'verification_profiles' => :'verificationProfiles',
27
+ :'more' => :'more'
28
+ }
29
+ end
30
+
31
+ # Returns attribute mapping this model knows about
32
+ def self.acceptable_attribute_map
33
+ attribute_map
34
+ end
35
+
36
+ # Returns all the JSON keys this model knows about
37
+ def self.acceptable_attributes
38
+ acceptable_attribute_map.values
39
+ end
40
+
41
+ # Attribute type mapping.
42
+ def self.openapi_types
43
+ {
44
+ :'verification_profiles' => :'Array<VerificationProfileResponse>',
45
+ :'more' => :'Boolean'
46
+ }
47
+ end
48
+
49
+ # List of attributes with nullable: true
50
+ def self.openapi_nullable
51
+ Set.new([
52
+ ])
53
+ end
54
+
55
+ # Initializes the object
56
+ # @param [Hash] attributes Model attributes in the form of hash
57
+ def initialize(attributes = {})
58
+ if (!attributes.is_a?(Hash))
59
+ fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::ListVerificationProfilesResponse` initialize method"
60
+ end
61
+
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
64
+ attributes = attributes.each_with_object({}) { |(k, v), h|
65
+ if (!acceptable_attribute_map.key?(k.to_sym))
66
+ fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::ListVerificationProfilesResponse`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
67
+ end
68
+ h[k.to_sym] = v
69
+ }
70
+
71
+ if attributes.key?(:'verification_profiles')
72
+ if (value = attributes[:'verification_profiles']).is_a?(Array)
73
+ self.verification_profiles = value
74
+ end
75
+ else
76
+ self.verification_profiles = nil
77
+ end
78
+
79
+ if attributes.key?(:'more')
80
+ self.more = attributes[:'more']
81
+ else
82
+ self.more = nil
83
+ end
84
+ end
85
+
86
+ # Show invalid properties with the reasons. Usually used together with valid?
87
+ # @return Array for valid properties with the reasons
88
+ def list_invalid_properties
89
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
90
+ invalid_properties = Array.new
91
+ if @verification_profiles.nil?
92
+ invalid_properties.push('invalid value for "verification_profiles", verification_profiles cannot be nil.')
93
+ end
94
+
95
+ if @more.nil?
96
+ invalid_properties.push('invalid value for "more", more cannot be nil.')
97
+ end
98
+
99
+ invalid_properties
100
+ end
101
+
102
+ # Check to see if the all the properties in the model are valid
103
+ # @return true if the model is valid
104
+ def valid?
105
+ warn '[DEPRECATED] the `valid?` method is obsolete'
106
+ return false if @verification_profiles.nil?
107
+ return false if @more.nil?
108
+ true
109
+ end
110
+
111
+ # Custom attribute writer method with validation
112
+ # @param [Object] verification_profiles Value to be assigned
113
+ def verification_profiles=(verification_profiles)
114
+ if verification_profiles.nil?
115
+ fail ArgumentError, 'verification_profiles cannot be nil'
116
+ end
117
+
118
+ @verification_profiles = verification_profiles
119
+ end
120
+
121
+ # Custom attribute writer method with validation
122
+ # @param [Object] more Value to be assigned
123
+ def more=(more)
124
+ if more.nil?
125
+ fail ArgumentError, 'more cannot be nil'
126
+ end
127
+
128
+ @more = more
129
+ end
130
+
131
+ # Checks equality by comparing each attribute.
132
+ # @param [Object] Object to be compared
133
+ def ==(o)
134
+ return true if self.equal?(o)
135
+ self.class == o.class &&
136
+ verification_profiles == o.verification_profiles &&
137
+ more == o.more
138
+ end
139
+
140
+ # @see the `==` method
141
+ # @param [Object] Object to be compared
142
+ def eql?(o)
143
+ self == o
144
+ end
145
+
146
+ # Calculates hash code according to all attributes.
147
+ # @return [Integer] Hash code
148
+ def hash
149
+ [verification_profiles, more].hash
150
+ end
151
+
152
+ # Builds the object from hash
153
+ # @param [Hash] attributes Model attributes in the form of hash
154
+ # @return [Object] Returns the model itself
155
+ def self.build_from_hash(attributes)
156
+ return nil unless attributes.is_a?(Hash)
157
+ attributes = attributes.transform_keys(&:to_sym)
158
+ transformed_hash = {}
159
+ openapi_types.each_pair do |key, type|
160
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
161
+ transformed_hash["#{key}"] = nil
162
+ elsif type =~ /\AArray<(.*)>/i
163
+ # check to ensure the input is an array given that the attribute
164
+ # is documented as an array but the input is not
165
+ if attributes[attribute_map[key]].is_a?(Array)
166
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
167
+ end
168
+ elsif !attributes[attribute_map[key]].nil?
169
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
170
+ end
171
+ end
172
+ new(transformed_hash)
173
+ end
174
+
175
+ # Deserializes the data based on type
176
+ # @param string type Data type
177
+ # @param string value Value to be deserialized
178
+ # @return [Object] Deserialized data
179
+ def self._deserialize(type, value)
180
+ case type.to_sym
181
+ when :Time
182
+ Time.parse(value)
183
+ when :Date
184
+ Date.parse(value)
185
+ when :String
186
+ value.to_s
187
+ when :Integer
188
+ value.to_i
189
+ when :Float
190
+ value.to_f
191
+ when :Boolean
192
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
193
+ true
194
+ else
195
+ false
196
+ end
197
+ when :Object
198
+ # generic object (usually a Hash), return directly
199
+ value
200
+ when /\AArray<(?<inner_type>.+)>\z/
201
+ inner_type = Regexp.last_match[:inner_type]
202
+ value.map { |v| _deserialize(inner_type, v) }
203
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
204
+ k_type = Regexp.last_match[:k_type]
205
+ v_type = Regexp.last_match[:v_type]
206
+ {}.tap do |hash|
207
+ value.each do |k, v|
208
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
209
+ end
210
+ end
211
+ else # model
212
+ # models (e.g. Pet) or oneOf
213
+ klass = TrinsicApi.const_get(type)
214
+ klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
215
+ end
216
+ end
217
+
218
+ # Returns the string representation of the object
219
+ # @return [String] String presentation of the object
220
+ def to_s
221
+ to_hash.to_s
222
+ end
223
+
224
+ # to_body is an alias to to_hash (backward compatibility)
225
+ # @return [Hash] Returns the object in the form of hash
226
+ def to_body
227
+ to_hash
228
+ end
229
+
230
+ # Returns the object in the form of hash
231
+ # @return [Hash] Returns the object in the form of hash
232
+ def to_hash
233
+ hash = {}
234
+ self.class.attribute_map.each_pair do |attr, param|
235
+ value = self.send(attr)
236
+ if value.nil?
237
+ is_nullable = self.class.openapi_nullable.include?(attr)
238
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
239
+ end
240
+
241
+ hash[param] = _to_hash(value)
242
+ end
243
+ hash
244
+ end
245
+
246
+ # Outputs non-array value in the form of hash
247
+ # For object, use to_hash. Otherwise, just return the value
248
+ # @param [Object] value Any valid value
249
+ # @return [Hash] Returns the value in the form of hash
250
+ def _to_hash(value)
251
+ if value.is_a?(Array)
252
+ value.compact.map { |v| _to_hash(v) }
253
+ elsif value.is_a?(Hash)
254
+ {}.tap do |hash|
255
+ value.each { |k, v| hash[k] = _to_hash(v) }
256
+ end
257
+ elsif value.respond_to? :to_hash
258
+ value.to_hash
259
+ else
260
+ value
261
+ end
262
+ end
263
+
264
+ end
265
+
266
+ end
@@ -0,0 +1,222 @@
1
+ =begin
2
+ #Trinsic API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v1
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.13.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module TrinsicApi
17
+ class MexicoCurpProviderOutput
18
+ # Curp status for the subject. Possible values: - AN: Alta Normal (Normal registration) - Active - AH: Alta con Homonimia (Registration with homonymy) - Active - RCC: Registro de cambio afectando a CURP (Change affecting CURP) - Active - RCN: Registro de cambio no afectando a CURP (Change not affecting CURP) - Active - BAP: Baja por documento apócrifo (Low due to apocryphal document) - Inactive - BSU: Baja sin uso (Low curp without use) - Inactive - BD: Baja por defunción (Low curp due to death) - Inactive - BDM: Baja administrativa (Low, due to administrative process) - Inactive - BDP: Baja por adopción (Low, due to adoption) - Inactive - BJD: Baja Judicial (Low for judicial reasons) - Inactive
19
+ attr_accessor :curp_status
20
+
21
+ # Attribute mapping from ruby-style variable name to JSON key.
22
+ def self.attribute_map
23
+ {
24
+ :'curp_status' => :'curpStatus'
25
+ }
26
+ end
27
+
28
+ # Returns attribute mapping this model knows about
29
+ def self.acceptable_attribute_map
30
+ attribute_map
31
+ end
32
+
33
+ # Returns all the JSON keys this model knows about
34
+ def self.acceptable_attributes
35
+ acceptable_attribute_map.values
36
+ end
37
+
38
+ # Attribute type mapping.
39
+ def self.openapi_types
40
+ {
41
+ :'curp_status' => :'String'
42
+ }
43
+ end
44
+
45
+ # List of attributes with nullable: true
46
+ def self.openapi_nullable
47
+ Set.new([
48
+ :'curp_status'
49
+ ])
50
+ end
51
+
52
+ # Initializes the object
53
+ # @param [Hash] attributes Model attributes in the form of hash
54
+ def initialize(attributes = {})
55
+ if (!attributes.is_a?(Hash))
56
+ fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::MexicoCurpProviderOutput` initialize method"
57
+ end
58
+
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
61
+ attributes = attributes.each_with_object({}) { |(k, v), h|
62
+ if (!acceptable_attribute_map.key?(k.to_sym))
63
+ fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::MexicoCurpProviderOutput`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
64
+ end
65
+ h[k.to_sym] = v
66
+ }
67
+
68
+ if attributes.key?(:'curp_status')
69
+ self.curp_status = attributes[:'curp_status']
70
+ end
71
+ end
72
+
73
+ # Show invalid properties with the reasons. Usually used together with valid?
74
+ # @return Array for valid properties with the reasons
75
+ def list_invalid_properties
76
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
77
+ invalid_properties = Array.new
78
+ invalid_properties
79
+ end
80
+
81
+ # Check to see if the all the properties in the model are valid
82
+ # @return true if the model is valid
83
+ def valid?
84
+ warn '[DEPRECATED] the `valid?` method is obsolete'
85
+ true
86
+ end
87
+
88
+ # Checks equality by comparing each attribute.
89
+ # @param [Object] Object to be compared
90
+ def ==(o)
91
+ return true if self.equal?(o)
92
+ self.class == o.class &&
93
+ curp_status == o.curp_status
94
+ end
95
+
96
+ # @see the `==` method
97
+ # @param [Object] Object to be compared
98
+ def eql?(o)
99
+ self == o
100
+ end
101
+
102
+ # Calculates hash code according to all attributes.
103
+ # @return [Integer] Hash code
104
+ def hash
105
+ [curp_status].hash
106
+ end
107
+
108
+ # Builds the object from hash
109
+ # @param [Hash] attributes Model attributes in the form of hash
110
+ # @return [Object] Returns the model itself
111
+ def self.build_from_hash(attributes)
112
+ return nil unless attributes.is_a?(Hash)
113
+ attributes = attributes.transform_keys(&:to_sym)
114
+ transformed_hash = {}
115
+ openapi_types.each_pair do |key, type|
116
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
117
+ transformed_hash["#{key}"] = nil
118
+ elsif type =~ /\AArray<(.*)>/i
119
+ # check to ensure the input is an array given that the attribute
120
+ # is documented as an array but the input is not
121
+ if attributes[attribute_map[key]].is_a?(Array)
122
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
123
+ end
124
+ elsif !attributes[attribute_map[key]].nil?
125
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
126
+ end
127
+ end
128
+ new(transformed_hash)
129
+ end
130
+
131
+ # Deserializes the data based on type
132
+ # @param string type Data type
133
+ # @param string value Value to be deserialized
134
+ # @return [Object] Deserialized data
135
+ def self._deserialize(type, value)
136
+ case type.to_sym
137
+ when :Time
138
+ Time.parse(value)
139
+ when :Date
140
+ Date.parse(value)
141
+ when :String
142
+ value.to_s
143
+ when :Integer
144
+ value.to_i
145
+ when :Float
146
+ value.to_f
147
+ when :Boolean
148
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
149
+ true
150
+ else
151
+ false
152
+ end
153
+ when :Object
154
+ # generic object (usually a Hash), return directly
155
+ value
156
+ when /\AArray<(?<inner_type>.+)>\z/
157
+ inner_type = Regexp.last_match[:inner_type]
158
+ value.map { |v| _deserialize(inner_type, v) }
159
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
160
+ k_type = Regexp.last_match[:k_type]
161
+ v_type = Regexp.last_match[:v_type]
162
+ {}.tap do |hash|
163
+ value.each do |k, v|
164
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
165
+ end
166
+ end
167
+ else # model
168
+ # models (e.g. Pet) or oneOf
169
+ klass = TrinsicApi.const_get(type)
170
+ klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
171
+ end
172
+ end
173
+
174
+ # Returns the string representation of the object
175
+ # @return [String] String presentation of the object
176
+ def to_s
177
+ to_hash.to_s
178
+ end
179
+
180
+ # to_body is an alias to to_hash (backward compatibility)
181
+ # @return [Hash] Returns the object in the form of hash
182
+ def to_body
183
+ to_hash
184
+ end
185
+
186
+ # Returns the object in the form of hash
187
+ # @return [Hash] Returns the object in the form of hash
188
+ def to_hash
189
+ hash = {}
190
+ self.class.attribute_map.each_pair do |attr, param|
191
+ value = self.send(attr)
192
+ if value.nil?
193
+ is_nullable = self.class.openapi_nullable.include?(attr)
194
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
195
+ end
196
+
197
+ hash[param] = _to_hash(value)
198
+ end
199
+ hash
200
+ end
201
+
202
+ # Outputs non-array value in the form of hash
203
+ # For object, use to_hash. Otherwise, just return the value
204
+ # @param [Object] value Any valid value
205
+ # @return [Hash] Returns the value in the form of hash
206
+ def _to_hash(value)
207
+ if value.is_a?(Array)
208
+ value.compact.map { |v| _to_hash(v) }
209
+ elsif value.is_a?(Hash)
210
+ {}.tap do |hash|
211
+ value.each { |k, v| hash[k] = _to_hash(v) }
212
+ end
213
+ elsif value.respond_to? :to_hash
214
+ value.to_hash
215
+ else
216
+ value
217
+ end
218
+ end
219
+
220
+ end
221
+
222
+ end
@@ -66,6 +66,9 @@ module TrinsicApi
66
66
  # Information about the fields that this Provider will return in verification results.
67
67
  attr_accessor :available_fields
68
68
 
69
+ # Information about the identifiers this Provider returns in verification results.
70
+ attr_accessor :available_identifiers
71
+
69
72
  # Metadata about the sub-providers which are available for this Provider. For example, Italy's SPID is a Provider which aggregates access to multiple sub-providers.
70
73
  attr_accessor :sub_providers
71
74
 
@@ -114,6 +117,7 @@ module TrinsicApi
114
117
  :'supports_advanced_provider_sessions' => :'supportsAdvancedProviderSessions',
115
118
  :'supports_direct_provider_sessions' => :'supportsDirectProviderSessions',
116
119
  :'available_fields' => :'availableFields',
120
+ :'available_identifiers' => :'availableIdentifiers',
117
121
  :'sub_providers' => :'subProviders',
118
122
  :'health' => :'health'
119
123
  }
@@ -149,6 +153,7 @@ module TrinsicApi
149
153
  :'supports_advanced_provider_sessions' => :'Boolean',
150
154
  :'supports_direct_provider_sessions' => :'Boolean',
151
155
  :'available_fields' => :'Array<ContractField>',
156
+ :'available_identifiers' => :'Array<ContractIdentifierField>',
152
157
  :'sub_providers' => :'Array<SubProviderMetadata>',
153
158
  :'health' => :'ProviderHealth'
154
159
  }
@@ -158,6 +163,7 @@ module TrinsicApi
158
163
  def self.openapi_nullable
159
164
  Set.new([
160
165
  :'available_fields',
166
+ :'available_identifiers',
161
167
  :'sub_providers',
162
168
  ])
163
169
  end
@@ -284,6 +290,12 @@ module TrinsicApi
284
290
  end
285
291
  end
286
292
 
293
+ if attributes.key?(:'available_identifiers')
294
+ if (value = attributes[:'available_identifiers']).is_a?(Array)
295
+ self.available_identifiers = value
296
+ end
297
+ end
298
+
287
299
  if attributes.key?(:'sub_providers')
288
300
  if (value = attributes[:'sub_providers']).is_a?(Array)
289
301
  self.sub_providers = value
@@ -589,6 +601,7 @@ module TrinsicApi
589
601
  supports_advanced_provider_sessions == o.supports_advanced_provider_sessions &&
590
602
  supports_direct_provider_sessions == o.supports_direct_provider_sessions &&
591
603
  available_fields == o.available_fields &&
604
+ available_identifiers == o.available_identifiers &&
592
605
  sub_providers == o.sub_providers &&
593
606
  health == o.health
594
607
  end
@@ -602,7 +615,7 @@ module TrinsicApi
602
615
  # Calculates hash code according to all attributes.
603
616
  # @return [Integer] Hash code
604
617
  def hash
605
- [id, name, subtext, description, logo_url, available, geography, regions, launch_method, collection_method, results_may_be_delayed_after_redirect, has_refreshable_content, requires_input, has_trinsic_interface, supports_advanced_provider_sessions, supports_direct_provider_sessions, available_fields, sub_providers, health].hash
618
+ [id, name, subtext, description, logo_url, available, geography, regions, launch_method, collection_method, results_may_be_delayed_after_redirect, has_refreshable_content, requires_input, has_trinsic_interface, supports_advanced_provider_sessions, supports_direct_provider_sessions, available_fields, available_identifiers, sub_providers, health].hash
606
619
  end
607
620
 
608
621
  # Builds the object from hash