trinsic_api 2.0.1 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c4f23ecceaf01bbc42f2fa2089457277132aa516d5820a316da9d9ea75f3cfb6
4
- data.tar.gz: 10caa0a74ff4142f0c536c2a95adc0cc04888d80f2f3fd357af99a87a9c2560b
3
+ metadata.gz: fc489dfadbeb323638c770c3cc51a0b220b6b88da7b6fbdb5fe92b438f44ff14
4
+ data.tar.gz: acc1edcdf3948c505b4eeb25c84049b0074c5f1c561940c51cd6f1591e8a7aa8
5
5
  SHA512:
6
- metadata.gz: 4024fb98584c58df4d3cb55d4e3330a68db481f8ce495b9ff7ae669a0105454a9902bd4eb8d036b555f125d1838acd590c1e94d50c5127905a866c58958c76e5
7
- data.tar.gz: c3766c8b8116a393e621f711ba475fb3659f48874d7531ef810884d3285f84cc5628d652b7262c33664e2e1a0572ee83e6e62fffd16277a5957e6d03d90b3b4d
6
+ metadata.gz: '0895fa0965b191ae2ac364e81e7028e3310ce3327d685d0ab4ba3b8506901d83be0cf2910b5a33d4fc6bf6b87d38ee7debbc48015a975bd57a5fd5a36547efa6'
7
+ data.tar.gz: 257f427c31a0a8fffb25992fdb723f3e32c92f84cea4e1f6577dde5c8fe198c475b3ce5712046d875e47a6525a9e3806fc3fd4618380566792d42a4980094dd9
@@ -19,7 +19,7 @@
19
19
  | **has_trinsic_interface** | **Boolean** | Whether there exists a Trinsic-hosted UI for this Provider. This is `true` for any Provider which is not a simple, OIDC-like redirect flow. | |
20
20
  | **supports_advanced_provider_sessions** | **Boolean** | Whether this Provider can be fully whitelabeled/OEMed through the Advanced Provider Sessions API. If `false`, the Provider may still be launched through Advanced Provider Sessions; however, it will necessarily require a Trinsic-hosted UI to function. | |
21
21
  | **sub_providers** | [**Array<SubProviderMetadata>**](SubProviderMetadata.md) | 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. | [optional] |
22
- | **status** | [**ProviderHealth**](ProviderHealth.md) | The current status of the provider and if it is available to launch. If the status is disabled, there is an issue that prevents a provider being able to launch a session. | |
22
+ | **health** | [**ProviderHealth**](ProviderHealth.md) | The health for an integration to be able to successfully perform a verification session. | |
23
23
 
24
24
  ## Example
25
25
 
@@ -42,7 +42,7 @@ instance = TrinsicApi::ProviderContract.new(
42
42
  has_trinsic_interface: true,
43
43
  supports_advanced_provider_sessions: true,
44
44
  sub_providers: null,
45
- status: null
45
+ health: null
46
46
  )
47
47
  ```
48
48
 
@@ -60,8 +60,8 @@ module TrinsicApi
60
60
  # 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.
61
61
  attr_accessor :sub_providers
62
62
 
63
- # The current status of the provider and if it is available to launch. If the status is disabled, there is an issue that prevents a provider being able to launch a session.
64
- attr_accessor :status
63
+ # The health for an integration to be able to successfully perform a verification session.
64
+ attr_accessor :health
65
65
 
66
66
  class EnumAttributeValidator
67
67
  attr_reader :datatype
@@ -103,7 +103,7 @@ module TrinsicApi
103
103
  :'has_trinsic_interface' => :'hasTrinsicInterface',
104
104
  :'supports_advanced_provider_sessions' => :'supportsAdvancedProviderSessions',
105
105
  :'sub_providers' => :'subProviders',
106
- :'status' => :'status'
106
+ :'health' => :'health'
107
107
  }
108
108
  end
109
109
 
@@ -135,7 +135,7 @@ module TrinsicApi
135
135
  :'has_trinsic_interface' => :'Boolean',
136
136
  :'supports_advanced_provider_sessions' => :'Boolean',
137
137
  :'sub_providers' => :'Array<SubProviderMetadata>',
138
- :'status' => :'ProviderHealth'
138
+ :'health' => :'ProviderHealth'
139
139
  }
140
140
  end
141
141
 
@@ -256,10 +256,10 @@ module TrinsicApi
256
256
  end
257
257
  end
258
258
 
259
- if attributes.key?(:'status')
260
- self.status = attributes[:'status']
259
+ if attributes.key?(:'health')
260
+ self.health = attributes[:'health']
261
261
  else
262
- self.status = nil
262
+ self.health = nil
263
263
  end
264
264
  end
265
265
 
@@ -324,8 +324,8 @@ module TrinsicApi
324
324
  invalid_properties.push('invalid value for "supports_advanced_provider_sessions", supports_advanced_provider_sessions cannot be nil.')
325
325
  end
326
326
 
327
- if @status.nil?
328
- invalid_properties.push('invalid value for "status", status cannot be nil.')
327
+ if @health.nil?
328
+ invalid_properties.push('invalid value for "health", health cannot be nil.')
329
329
  end
330
330
 
331
331
  invalid_properties
@@ -349,7 +349,7 @@ module TrinsicApi
349
349
  return false if @requires_input.nil?
350
350
  return false if @has_trinsic_interface.nil?
351
351
  return false if @supports_advanced_provider_sessions.nil?
352
- return false if @status.nil?
352
+ return false if @health.nil?
353
353
  true
354
354
  end
355
355
 
@@ -494,13 +494,13 @@ module TrinsicApi
494
494
  end
495
495
 
496
496
  # Custom attribute writer method with validation
497
- # @param [Object] status Value to be assigned
498
- def status=(status)
499
- if status.nil?
500
- fail ArgumentError, 'status cannot be nil'
497
+ # @param [Object] health Value to be assigned
498
+ def health=(health)
499
+ if health.nil?
500
+ fail ArgumentError, 'health cannot be nil'
501
501
  end
502
502
 
503
- @status = status
503
+ @health = health
504
504
  end
505
505
 
506
506
  # Checks equality by comparing each attribute.
@@ -523,7 +523,7 @@ module TrinsicApi
523
523
  has_trinsic_interface == o.has_trinsic_interface &&
524
524
  supports_advanced_provider_sessions == o.supports_advanced_provider_sessions &&
525
525
  sub_providers == o.sub_providers &&
526
- status == o.status
526
+ health == o.health
527
527
  end
528
528
 
529
529
  # @see the `==` method
@@ -535,7 +535,7 @@ module TrinsicApi
535
535
  # Calculates hash code according to all attributes.
536
536
  # @return [Integer] Hash code
537
537
  def hash
538
- [id, name, 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, sub_providers, status].hash
538
+ [id, name, 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, sub_providers, health].hash
539
539
  end
540
540
 
541
541
  # Builds the object from hash
@@ -11,5 +11,5 @@ Generator version: 7.13.0
11
11
  =end
12
12
 
13
13
  module TrinsicApi
14
- VERSION = '2.0.1'
14
+ VERSION = '2.0.2'
15
15
  end
@@ -117,7 +117,7 @@ describe TrinsicApi::ProviderContract do
117
117
  end
118
118
  end
119
119
 
120
- describe 'test attribute "status"' do
120
+ describe 'test attribute "health"' do
121
121
  it 'should work' do
122
122
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
123
123
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trinsic_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Trinsic