Class: WorkOS::DataIntegrationsGetDataIntegrationAuthorizeUrlRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- WorkOS::DataIntegrationsGetDataIntegrationAuthorizeUrlRequest
- Defined in:
- lib/workos/pipes/data_integrations_get_data_integration_authorize_url_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ account_display_name: :account_display_name, user_id: :user_id, organization_id: :organization_id, connection_owner: :connection_owner, return_to: :return_to, code_challenge: :code_challenge, code_challenge_method: :code_challenge_method, config: :config, 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.
-
#code_challenge ⇒ Object
Returns the value of attribute code_challenge.
-
#code_challenge_method ⇒ Object
Returns the value of attribute code_challenge_method.
-
#config ⇒ Object
Returns the value of attribute config.
-
#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.
-
#return_to ⇒ Object
Returns the value of attribute return_to.
-
#user_id ⇒ Object
Returns the value of attribute user_id.
Instance Method Summary collapse
-
#initialize(json) ⇒ DataIntegrationsGetDataIntegrationAuthorizeUrlRequest
constructor
A new instance of DataIntegrationsGetDataIntegrationAuthorizeUrlRequest.
Constructor Details
#initialize(json) ⇒ DataIntegrationsGetDataIntegrationAuthorizeUrlRequest
Returns a new instance of DataIntegrationsGetDataIntegrationAuthorizeUrlRequest.
32 33 34 35 36 37 38 39 40 41 42 43 44 |
# File 'lib/workos/pipes/data_integrations_get_data_integration_authorize_url_request.rb', line 32 def initialize(json) hash = self.class.normalize(json) @account_display_name = hash[:account_display_name] @user_id = hash[:user_id] @organization_id = hash[:organization_id] @connection_owner = hash[:connection_owner] @return_to = hash[:return_to] @code_challenge = hash[:code_challenge] @code_challenge_method = hash[:code_challenge_method] @config = hash[:config] || {} @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.
20 21 22 |
# File 'lib/workos/pipes/data_integrations_get_data_integration_authorize_url_request.rb', line 20 def account_display_name @account_display_name end |
#code_challenge ⇒ Object
Returns the value of attribute code_challenge.
20 21 22 |
# File 'lib/workos/pipes/data_integrations_get_data_integration_authorize_url_request.rb', line 20 def code_challenge @code_challenge end |
#code_challenge_method ⇒ Object
Returns the value of attribute code_challenge_method.
20 21 22 |
# File 'lib/workos/pipes/data_integrations_get_data_integration_authorize_url_request.rb', line 20 def code_challenge_method @code_challenge_method end |
#config ⇒ Object
Returns the value of attribute config.
20 21 22 |
# File 'lib/workos/pipes/data_integrations_get_data_integration_authorize_url_request.rb', line 20 def config @config end |
#connected_account_id ⇒ Object
Returns the value of attribute connected_account_id.
20 21 22 |
# File 'lib/workos/pipes/data_integrations_get_data_integration_authorize_url_request.rb', line 20 def connected_account_id @connected_account_id end |
#connection_intent ⇒ Object
Returns the value of attribute connection_intent.
20 21 22 |
# File 'lib/workos/pipes/data_integrations_get_data_integration_authorize_url_request.rb', line 20 def connection_intent @connection_intent end |
#connection_owner ⇒ Object
Returns the value of attribute connection_owner.
20 21 22 |
# File 'lib/workos/pipes/data_integrations_get_data_integration_authorize_url_request.rb', line 20 def connection_owner @connection_owner end |
#organization_id ⇒ Object
Returns the value of attribute organization_id.
20 21 22 |
# File 'lib/workos/pipes/data_integrations_get_data_integration_authorize_url_request.rb', line 20 def organization_id @organization_id end |
#return_to ⇒ Object
Returns the value of attribute return_to.
20 21 22 |
# File 'lib/workos/pipes/data_integrations_get_data_integration_authorize_url_request.rb', line 20 def return_to @return_to end |
#user_id ⇒ Object
Returns the value of attribute user_id.
20 21 22 |
# File 'lib/workos/pipes/data_integrations_get_data_integration_authorize_url_request.rb', line 20 def user_id @user_id end |