Class: WorkOS::DataIntegrationsUpsertClientCredentialsRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- WorkOS::DataIntegrationsUpsertClientCredentialsRequest
- Defined in:
- lib/workos/pipes/data_integrations_upsert_client_credentials_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, client_id: :client_id, client_secret: :client_secret, config: :config }.freeze
Instance Attribute Summary collapse
-
#client_id ⇒ Object
Returns the value of attribute client_id.
-
#client_secret ⇒ Object
Returns the value of attribute client_secret.
-
#config ⇒ Object
Returns the value of attribute config.
-
#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.
-
#user_id ⇒ Object
Returns the value of attribute user_id.
Instance Method Summary collapse
-
#initialize(json) ⇒ DataIntegrationsUpsertClientCredentialsRequest
constructor
A new instance of DataIntegrationsUpsertClientCredentialsRequest.
Constructor Details
#initialize(json) ⇒ DataIntegrationsUpsertClientCredentialsRequest
Returns a new instance of DataIntegrationsUpsertClientCredentialsRequest.
26 27 28 29 30 31 32 33 34 35 |
# File 'lib/workos/pipes/data_integrations_upsert_client_credentials_request.rb', line 26 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] @client_id = hash[:client_id] @client_secret = hash[:client_secret] @config = hash[:config] || {} end |
Instance Attribute Details
#client_id ⇒ Object
Returns the value of attribute client_id.
17 18 19 |
# File 'lib/workos/pipes/data_integrations_upsert_client_credentials_request.rb', line 17 def client_id @client_id end |
#client_secret ⇒ Object
Returns the value of attribute client_secret.
17 18 19 |
# File 'lib/workos/pipes/data_integrations_upsert_client_credentials_request.rb', line 17 def client_secret @client_secret end |
#config ⇒ Object
Returns the value of attribute config.
17 18 19 |
# File 'lib/workos/pipes/data_integrations_upsert_client_credentials_request.rb', line 17 def config @config end |
#connected_account_id ⇒ Object
Returns the value of attribute connected_account_id.
17 18 19 |
# File 'lib/workos/pipes/data_integrations_upsert_client_credentials_request.rb', line 17 def connected_account_id @connected_account_id end |
#connection_owner ⇒ Object
Returns the value of attribute connection_owner.
17 18 19 |
# File 'lib/workos/pipes/data_integrations_upsert_client_credentials_request.rb', line 17 def connection_owner @connection_owner end |
#organization_id ⇒ Object
Returns the value of attribute organization_id.
17 18 19 |
# File 'lib/workos/pipes/data_integrations_upsert_client_credentials_request.rb', line 17 def organization_id @organization_id end |
#user_id ⇒ Object
Returns the value of attribute user_id.
17 18 19 |
# File 'lib/workos/pipes/data_integrations_upsert_client_credentials_request.rb', line 17 def user_id @user_id end |