Class: WorkOS::DataIntegrationInstallation
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- WorkOS::DataIntegrationInstallation
- Defined in:
- lib/workos/pipes/data_integration_installation.rb
Constant Summary collapse
- HASH_ATTRS =
{ id: :id, connection_role: :connection_role, account_identifier: :account_identifier, account_display_name: :account_display_name, user_id: :user_id, organization_id: :organization_id, api_key_last_4: :api_key_last_4 }.freeze
Instance Attribute Summary collapse
-
#account_display_name ⇒ Object
Returns the value of attribute account_display_name.
-
#account_identifier ⇒ Object
Returns the value of attribute account_identifier.
-
#api_key_last_4 ⇒ Object
Returns the value of attribute api_key_last_4.
-
#connection_role ⇒ Object
Returns the value of attribute connection_role.
-
#id ⇒ Object
Returns the value of attribute id.
-
#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) ⇒ DataIntegrationInstallation
constructor
A new instance of DataIntegrationInstallation.
Constructor Details
#initialize(json) ⇒ DataIntegrationInstallation
Returns a new instance of DataIntegrationInstallation.
26 27 28 29 30 31 32 33 34 35 |
# File 'lib/workos/pipes/data_integration_installation.rb', line 26 def initialize(json) hash = self.class.normalize(json) @id = hash[:id] @connection_role = hash[:connection_role] @account_identifier = hash[:account_identifier] @account_display_name = hash[:account_display_name] @user_id = hash[:user_id] @organization_id = hash[:organization_id] @api_key_last_4 = hash[:api_key_last_4] end |
Instance Attribute Details
#account_display_name ⇒ Object
Returns the value of attribute account_display_name.
17 18 19 |
# File 'lib/workos/pipes/data_integration_installation.rb', line 17 def account_display_name @account_display_name end |
#account_identifier ⇒ Object
Returns the value of attribute account_identifier.
17 18 19 |
# File 'lib/workos/pipes/data_integration_installation.rb', line 17 def account_identifier @account_identifier end |
#api_key_last_4 ⇒ Object
Returns the value of attribute api_key_last_4.
17 18 19 |
# File 'lib/workos/pipes/data_integration_installation.rb', line 17 def api_key_last_4 @api_key_last_4 end |
#connection_role ⇒ Object
Returns the value of attribute connection_role.
17 18 19 |
# File 'lib/workos/pipes/data_integration_installation.rb', line 17 def connection_role @connection_role end |
#id ⇒ Object
Returns the value of attribute id.
17 18 19 |
# File 'lib/workos/pipes/data_integration_installation.rb', line 17 def id @id end |
#organization_id ⇒ Object
Returns the value of attribute organization_id.
17 18 19 |
# File 'lib/workos/pipes/data_integration_installation.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_integration_installation.rb', line 17 def user_id @user_id end |