Class: WorkOS::DataIntegrationsGetUserTokenRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- WorkOS::DataIntegrationsGetUserTokenRequest
- Defined in:
- lib/workos/pipes/data_integrations_get_user_token_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ user_id: :user_id, organization_id: :organization_id }.freeze
Instance Attribute Summary collapse
-
#organization_id ⇒ Object
Returns the value of attribute organization_id.
-
#user_id ⇒ Object
Returns the value of attribute user_id.
Attributes inherited from Types::BaseModel
Instance Method Summary collapse
-
#initialize(json) ⇒ DataIntegrationsGetUserTokenRequest
constructor
A new instance of DataIntegrationsGetUserTokenRequest.
Methods inherited from Types::BaseModel
Methods included from HashProvider
Constructor Details
#initialize(json) ⇒ DataIntegrationsGetUserTokenRequest
Returns a new instance of DataIntegrationsGetUserTokenRequest.
16 17 18 19 20 |
# File 'lib/workos/pipes/data_integrations_get_user_token_request.rb', line 16 def initialize(json) hash = self.class.normalize(json) @user_id = hash[:user_id] @organization_id = hash[:organization_id] end |
Instance Attribute Details
#organization_id ⇒ Object
Returns the value of attribute organization_id.
12 13 14 |
# File 'lib/workos/pipes/data_integrations_get_user_token_request.rb', line 12 def organization_id @organization_id end |
#user_id ⇒ Object
Returns the value of attribute user_id.
12 13 14 |
# File 'lib/workos/pipes/data_integrations_get_user_token_request.rb', line 12 def user_id @user_id end |