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 =
{ user_id: :user_id, organization_id: :organization_id, connected_account_id: :connected_account_id, connection_owner: :connection_owner, secret: :secret }.freeze
Instance Attribute Summary collapse
-
#connected_account_id ⇒ Object
Returns the value of attribute connected_account_id.
-
#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.
22 23 24 25 26 27 28 29 |
# File 'lib/workos/pipes/data_integrations_upsert_api_key_request.rb', line 22 def initialize(json) hash = self.class.normalize(json) @user_id = hash[:user_id] @organization_id = hash[:organization_id] @connected_account_id = hash[:connected_account_id] @connection_owner = hash[:connection_owner] @secret = hash[:secret] end |
Instance Attribute Details
#connected_account_id ⇒ Object
Returns the value of attribute connected_account_id.
15 16 17 |
# File 'lib/workos/pipes/data_integrations_upsert_api_key_request.rb', line 15 def connected_account_id @connected_account_id end |
#connection_owner ⇒ Object
Returns the value of attribute connection_owner.
15 16 17 |
# File 'lib/workos/pipes/data_integrations_upsert_api_key_request.rb', line 15 def connection_owner @connection_owner end |
#organization_id ⇒ Object
Returns the value of attribute organization_id.
15 16 17 |
# File 'lib/workos/pipes/data_integrations_upsert_api_key_request.rb', line 15 def organization_id @organization_id end |
#secret ⇒ Object
Returns the value of attribute secret.
15 16 17 |
# File 'lib/workos/pipes/data_integrations_upsert_api_key_request.rb', line 15 def secret @secret end |
#user_id ⇒ Object
Returns the value of attribute user_id.
15 16 17 |
# File 'lib/workos/pipes/data_integrations_upsert_api_key_request.rb', line 15 def user_id @user_id end |