Class: WorkOS::DataIntegrationsListResponseDataConnectedAccount
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- WorkOS::DataIntegrationsListResponseDataConnectedAccount
- Defined in:
- lib/workos/pipes/data_integrations_list_response_data_connected_account.rb
Constant Summary collapse
- HASH_ATTRS =
{ object: :object, id: :id, user_id: :user_id, organization_id: :organization_id, scopes: :scopes, state: :state, created_at: :created_at, updated_at: :updated_at, userlandUserId: :userland_user_id }.freeze
Instance Attribute Summary collapse
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#id ⇒ Object
Returns the value of attribute id.
-
#object ⇒ Object
Returns the value of attribute object.
-
#organization_id ⇒ Object
Returns the value of attribute organization_id.
-
#scopes ⇒ Object
Returns the value of attribute scopes.
-
#state ⇒ Object
Returns the value of attribute state.
-
#updated_at ⇒ Object
Returns the value of attribute updated_at.
-
#user_id ⇒ Object
Returns the value of attribute user_id.
-
#userland_user_id ⇒ Object
deprecated
Deprecated.
Use ‘user_id` instead.
Attributes inherited from Types::BaseModel
Instance Method Summary collapse
-
#initialize(json) ⇒ DataIntegrationsListResponseDataConnectedAccount
constructor
A new instance of DataIntegrationsListResponseDataConnectedAccount.
Methods inherited from Types::BaseModel
Methods included from HashProvider
Constructor Details
#initialize(json) ⇒ DataIntegrationsListResponseDataConnectedAccount
Returns a new instance of DataIntegrationsListResponseDataConnectedAccount.
39 40 41 42 43 44 45 46 47 48 49 50 |
# File 'lib/workos/pipes/data_integrations_list_response_data_connected_account.rb', line 39 def initialize(json) hash = self.class.normalize(json) @object = hash[:object] @id = hash[:id] @user_id = hash[:user_id] @organization_id = hash[:organization_id] @scopes = hash[:scopes] || [] @state = hash[:state] @created_at = hash[:created_at] @updated_at = hash[:updated_at] @userland_user_id = hash[:userlandUserId] end |
Instance Attribute Details
#created_at ⇒ Object
Returns the value of attribute created_at.
22 23 24 |
# File 'lib/workos/pipes/data_integrations_list_response_data_connected_account.rb', line 22 def created_at @created_at end |
#id ⇒ Object
Returns the value of attribute id.
22 23 24 |
# File 'lib/workos/pipes/data_integrations_list_response_data_connected_account.rb', line 22 def id @id end |
#object ⇒ Object
Returns the value of attribute object.
22 23 24 |
# File 'lib/workos/pipes/data_integrations_list_response_data_connected_account.rb', line 22 def object @object end |
#organization_id ⇒ Object
Returns the value of attribute organization_id.
22 23 24 |
# File 'lib/workos/pipes/data_integrations_list_response_data_connected_account.rb', line 22 def organization_id @organization_id end |
#scopes ⇒ Object
Returns the value of attribute scopes.
22 23 24 |
# File 'lib/workos/pipes/data_integrations_list_response_data_connected_account.rb', line 22 def scopes @scopes end |
#state ⇒ Object
Returns the value of attribute state.
22 23 24 |
# File 'lib/workos/pipes/data_integrations_list_response_data_connected_account.rb', line 22 def state @state end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
22 23 24 |
# File 'lib/workos/pipes/data_integrations_list_response_data_connected_account.rb', line 22 def updated_at @updated_at end |
#user_id ⇒ Object
Returns the value of attribute user_id.
22 23 24 |
# File 'lib/workos/pipes/data_integrations_list_response_data_connected_account.rb', line 22 def user_id @user_id end |
#userland_user_id ⇒ Object
Use ‘user_id` instead.
22 23 24 25 26 27 28 29 30 |
# File 'lib/workos/pipes/data_integrations_list_response_data_connected_account.rb', line 22 attr_accessor \ :object, :id, :user_id, :organization_id, :scopes, :state, :created_at, :updated_at |