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 =
{ user_id: :user_id, organization_id: :organization_id, return_to: :return_to }.freeze
Instance Attribute Summary collapse
-
#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.
Attributes inherited from Types::BaseModel
Instance Method Summary collapse
-
#initialize(json) ⇒ DataIntegrationsGetDataIntegrationAuthorizeUrlRequest
constructor
A new instance of DataIntegrationsGetDataIntegrationAuthorizeUrlRequest.
Methods inherited from Types::BaseModel
Methods included from HashProvider
Constructor Details
#initialize(json) ⇒ DataIntegrationsGetDataIntegrationAuthorizeUrlRequest
Returns a new instance of DataIntegrationsGetDataIntegrationAuthorizeUrlRequest.
18 19 20 21 22 23 |
# File 'lib/workos/pipes/data_integrations_get_data_integration_authorize_url_request.rb', line 18 def initialize(json) hash = self.class.normalize(json) @user_id = hash[:user_id] @organization_id = hash[:organization_id] @return_to = hash[:return_to] end |
Instance Attribute Details
#organization_id ⇒ Object
Returns the value of attribute organization_id.
13 14 15 |
# File 'lib/workos/pipes/data_integrations_get_data_integration_authorize_url_request.rb', line 13 def organization_id @organization_id end |
#return_to ⇒ Object
Returns the value of attribute return_to.
13 14 15 |
# File 'lib/workos/pipes/data_integrations_get_data_integration_authorize_url_request.rb', line 13 def return_to @return_to end |
#user_id ⇒ Object
Returns the value of attribute user_id.
13 14 15 |
# File 'lib/workos/pipes/data_integrations_get_data_integration_authorize_url_request.rb', line 13 def user_id @user_id end |