Class: WorkOS::PipesConnectedAccountConnectionFailedData
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- WorkOS::PipesConnectedAccountConnectionFailedData
- Defined in:
- lib/workos/shared/pipes_connected_account_connection_failed_data.rb
Constant Summary collapse
- HASH_ATTRS =
{ object: :object, data_integration_id: :data_integration_id, provider_slug: :provider_slug, user_id: :user_id, organization_id: :organization_id, error_code: :error_code, error_reason: :error_reason, provider_error: :provider_error, provider_error_description: :provider_error_description, created_at: :created_at }.freeze
Instance Attribute Summary collapse
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#data_integration_id ⇒ Object
Returns the value of attribute data_integration_id.
-
#error_code ⇒ Object
Returns the value of attribute error_code.
-
#error_reason ⇒ Object
Returns the value of attribute error_reason.
-
#object ⇒ Object
Returns the value of attribute object.
-
#organization_id ⇒ Object
Returns the value of attribute organization_id.
-
#provider_error ⇒ Object
Returns the value of attribute provider_error.
-
#provider_error_description ⇒ Object
Returns the value of attribute provider_error_description.
-
#provider_slug ⇒ Object
Returns the value of attribute provider_slug.
-
#user_id ⇒ Object
Returns the value of attribute user_id.
Instance Method Summary collapse
-
#initialize(json) ⇒ PipesConnectedAccountConnectionFailedData
constructor
A new instance of PipesConnectedAccountConnectionFailedData.
Constructor Details
#initialize(json) ⇒ PipesConnectedAccountConnectionFailedData
Returns a new instance of PipesConnectedAccountConnectionFailedData.
32 33 34 35 36 37 38 39 40 41 42 43 44 |
# File 'lib/workos/shared/pipes_connected_account_connection_failed_data.rb', line 32 def initialize(json) hash = self.class.normalize(json) @object = hash[:object] @data_integration_id = hash[:data_integration_id] @provider_slug = hash[:provider_slug] @user_id = hash[:user_id] @organization_id = hash[:organization_id] @error_code = hash[:error_code] @error_reason = hash[:error_reason] @provider_error = hash[:provider_error] @provider_error_description = hash[:provider_error_description] @created_at = hash[:created_at] end |
Instance Attribute Details
#created_at ⇒ Object
Returns the value of attribute created_at.
20 21 22 |
# File 'lib/workos/shared/pipes_connected_account_connection_failed_data.rb', line 20 def created_at @created_at end |
#data_integration_id ⇒ Object
Returns the value of attribute data_integration_id.
20 21 22 |
# File 'lib/workos/shared/pipes_connected_account_connection_failed_data.rb', line 20 def data_integration_id @data_integration_id end |
#error_code ⇒ Object
Returns the value of attribute error_code.
20 21 22 |
# File 'lib/workos/shared/pipes_connected_account_connection_failed_data.rb', line 20 def error_code @error_code end |
#error_reason ⇒ Object
Returns the value of attribute error_reason.
20 21 22 |
# File 'lib/workos/shared/pipes_connected_account_connection_failed_data.rb', line 20 def error_reason @error_reason end |
#object ⇒ Object
Returns the value of attribute object.
20 21 22 |
# File 'lib/workos/shared/pipes_connected_account_connection_failed_data.rb', line 20 def object @object end |
#organization_id ⇒ Object
Returns the value of attribute organization_id.
20 21 22 |
# File 'lib/workos/shared/pipes_connected_account_connection_failed_data.rb', line 20 def organization_id @organization_id end |
#provider_error ⇒ Object
Returns the value of attribute provider_error.
20 21 22 |
# File 'lib/workos/shared/pipes_connected_account_connection_failed_data.rb', line 20 def provider_error @provider_error end |
#provider_error_description ⇒ Object
Returns the value of attribute provider_error_description.
20 21 22 |
# File 'lib/workos/shared/pipes_connected_account_connection_failed_data.rb', line 20 def provider_error_description @provider_error_description end |
#provider_slug ⇒ Object
Returns the value of attribute provider_slug.
20 21 22 |
# File 'lib/workos/shared/pipes_connected_account_connection_failed_data.rb', line 20 def provider_slug @provider_slug end |
#user_id ⇒ Object
Returns the value of attribute user_id.
20 21 22 |
# File 'lib/workos/shared/pipes_connected_account_connection_failed_data.rb', line 20 def user_id @user_id end |