Class: WorkOS::AuthenticationSSOFailedDataSSO

Inherits:
Types::BaseModel show all
Defined in:
lib/workos/user_management/authentication_sso_failed_data_sso.rb

Constant Summary collapse

HASH_ATTRS =
{
  organization_id: :organization_id,
  connection_id: :connection_id,
  session_id: :session_id
}.freeze

Instance Attribute Summary collapse

Attributes inherited from Types::BaseModel

#last_response

Instance Method Summary collapse

Methods inherited from Types::BaseModel

normalize

Methods included from HashProvider

#inspect, #to_h, #to_json

Constructor Details

#initialize(json) ⇒ AuthenticationSSOFailedDataSSO

Returns a new instance of AuthenticationSSOFailedDataSSO.



18
19
20
21
22
23
# File 'lib/workos/user_management/authentication_sso_failed_data_sso.rb', line 18

def initialize(json)
  hash = self.class.normalize(json)
  @organization_id = hash[:organization_id]
  @connection_id = hash[:connection_id]
  @session_id = hash[:session_id]
end

Instance Attribute Details

#connection_idObject

Returns the value of attribute connection_id.



13
14
15
# File 'lib/workos/user_management/authentication_sso_failed_data_sso.rb', line 13

def connection_id
  @connection_id
end

#organization_idObject

Returns the value of attribute organization_id.



13
14
15
# File 'lib/workos/user_management/authentication_sso_failed_data_sso.rb', line 13

def organization_id
  @organization_id
end

#session_idObject

Returns the value of attribute session_id.



13
14
15
# File 'lib/workos/user_management/authentication_sso_failed_data_sso.rb', line 13

def session_id
  @session_id
end