Class: WorkOS::UserIdentitiesGetItem
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- WorkOS::UserIdentitiesGetItem
- Defined in:
- lib/workos/user_management/user_identities_get_item.rb
Constant Summary collapse
- HASH_ATTRS =
{ idp_id: :idp_id, type: :type, provider: :provider }.freeze
Instance Attribute Summary collapse
-
#idp_id ⇒ Object
Returns the value of attribute idp_id.
-
#provider ⇒ Object
Returns the value of attribute provider.
-
#type ⇒ Object
Returns the value of attribute type.
Attributes inherited from Types::BaseModel
Instance Method Summary collapse
-
#initialize(json) ⇒ UserIdentitiesGetItem
constructor
A new instance of UserIdentitiesGetItem.
Methods inherited from Types::BaseModel
Methods included from HashProvider
Constructor Details
#initialize(json) ⇒ UserIdentitiesGetItem
Returns a new instance of UserIdentitiesGetItem.
18 19 20 21 22 23 |
# File 'lib/workos/user_management/user_identities_get_item.rb', line 18 def initialize(json) hash = self.class.normalize(json) @idp_id = hash[:idp_id] @type = hash[:type] @provider = hash[:provider] end |
Instance Attribute Details
#idp_id ⇒ Object
Returns the value of attribute idp_id.
13 14 15 |
# File 'lib/workos/user_management/user_identities_get_item.rb', line 13 def idp_id @idp_id end |
#provider ⇒ Object
Returns the value of attribute provider.
13 14 15 |
# File 'lib/workos/user_management/user_identities_get_item.rb', line 13 def provider @provider end |
#type ⇒ Object
Returns the value of attribute type.
13 14 15 |
# File 'lib/workos/user_management/user_identities_get_item.rb', line 13 def type @type end |