Class: WorkOS::DataIntegrationsUpsertApiKeyRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- WorkOS::DataIntegrationsUpsertApiKeyRequest
- Defined in:
- lib/workos/pipes/data_integrations_upsert_api_key_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ account_display_name: :account_display_name, account_identifier: :account_identifier, user_id: :user_id, organization_id: :organization_id, connection_owner: :connection_owner, secret: :secret, connection_intent: :connection_intent, connected_account_id: :connected_account_id }.freeze
Instance Attribute Summary collapse
-
#account_display_name ⇒ Object
Returns the value of attribute account_display_name.
-
#account_identifier ⇒ Object
Returns the value of attribute account_identifier.
-
#connected_account_id ⇒ Object
Returns the value of attribute connected_account_id.
-
#connection_intent ⇒ Object
Returns the value of attribute connection_intent.
-
#connection_owner ⇒ Object
Returns the value of attribute connection_owner.
-
#organization_id ⇒ Object
Returns the value of attribute organization_id.
-
#secret ⇒ Object
Returns the value of attribute secret.
-
#user_id ⇒ Object
Returns the value of attribute user_id.
Instance Method Summary collapse
-
#initialize(json) ⇒ DataIntegrationsUpsertApiKeyRequest
constructor
A new instance of DataIntegrationsUpsertApiKeyRequest.
Constructor Details
#initialize(json) ⇒ DataIntegrationsUpsertApiKeyRequest
Returns a new instance of DataIntegrationsUpsertApiKeyRequest.
28 29 30 31 32 33 34 35 36 37 38 |
# File 'lib/workos/pipes/data_integrations_upsert_api_key_request.rb', line 28 def initialize(json) hash = self.class.normalize(json) @account_display_name = hash[:account_display_name] @account_identifier = hash[:account_identifier] @user_id = hash[:user_id] @organization_id = hash[:organization_id] @connection_owner = hash[:connection_owner] @secret = hash[:secret] @connection_intent = hash[:connection_intent] @connected_account_id = hash[:connected_account_id] end |
Instance Attribute Details
#account_display_name ⇒ Object
Returns the value of attribute account_display_name.
18 19 20 |
# File 'lib/workos/pipes/data_integrations_upsert_api_key_request.rb', line 18 def account_display_name @account_display_name end |
#account_identifier ⇒ Object
Returns the value of attribute account_identifier.
18 19 20 |
# File 'lib/workos/pipes/data_integrations_upsert_api_key_request.rb', line 18 def account_identifier @account_identifier end |
#connected_account_id ⇒ Object
Returns the value of attribute connected_account_id.
18 19 20 |
# File 'lib/workos/pipes/data_integrations_upsert_api_key_request.rb', line 18 def connected_account_id @connected_account_id end |
#connection_intent ⇒ Object
Returns the value of attribute connection_intent.
18 19 20 |
# File 'lib/workos/pipes/data_integrations_upsert_api_key_request.rb', line 18 def connection_intent @connection_intent end |
#connection_owner ⇒ Object
Returns the value of attribute connection_owner.
18 19 20 |
# File 'lib/workos/pipes/data_integrations_upsert_api_key_request.rb', line 18 def connection_owner @connection_owner end |
#organization_id ⇒ Object
Returns the value of attribute organization_id.
18 19 20 |
# File 'lib/workos/pipes/data_integrations_upsert_api_key_request.rb', line 18 def organization_id @organization_id end |
#secret ⇒ Object
Returns the value of attribute secret.
18 19 20 |
# File 'lib/workos/pipes/data_integrations_upsert_api_key_request.rb', line 18 def secret @secret end |
#user_id ⇒ Object
Returns the value of attribute user_id.
18 19 20 |
# File 'lib/workos/pipes/data_integrations_upsert_api_key_request.rb', line 18 def user_id @user_id end |