Class: WorkOS::DsyncGroupUpdatedData
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- WorkOS::DsyncGroupUpdatedData
- Defined in:
- lib/workos/directory_sync/dsync_group_updated_data.rb
Constant Summary collapse
- HASH_ATTRS =
{ object: :object, id: :id, idp_id: :idp_id, directory_id: :directory_id, organization_id: :organization_id, name: :name, raw_attributes: :raw_attributes, created_at: :created_at, updated_at: :updated_at, previous_attributes: :previous_attributes }.freeze
Instance Attribute Summary collapse
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#directory_id ⇒ Object
Returns the value of attribute directory_id.
-
#id ⇒ Object
Returns the value of attribute id.
-
#idp_id ⇒ Object
Returns the value of attribute idp_id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#object ⇒ Object
Returns the value of attribute object.
-
#organization_id ⇒ Object
Returns the value of attribute organization_id.
-
#previous_attributes ⇒ Object
Returns the value of attribute previous_attributes.
-
#raw_attributes ⇒ Object
Returns the value of attribute raw_attributes.
-
#updated_at ⇒ Object
Returns the value of attribute updated_at.
Attributes inherited from Types::BaseModel
Instance Method Summary collapse
-
#initialize(json) ⇒ DsyncGroupUpdatedData
constructor
A new instance of DsyncGroupUpdatedData.
Methods inherited from Types::BaseModel
Methods included from HashProvider
Constructor Details
#initialize(json) ⇒ DsyncGroupUpdatedData
Returns a new instance of DsyncGroupUpdatedData.
32 33 34 35 36 37 38 39 40 41 42 43 44 |
# File 'lib/workos/directory_sync/dsync_group_updated_data.rb', line 32 def initialize(json) hash = self.class.normalize(json) @object = hash[:object] @id = hash[:id] @idp_id = hash[:idp_id] @directory_id = hash[:directory_id] @organization_id = hash[:organization_id] @name = hash[:name] @raw_attributes = hash[:raw_attributes] || {} @created_at = hash[:created_at] @updated_at = hash[:updated_at] @previous_attributes = hash[:previous_attributes] || {} end |
Instance Attribute Details
#created_at ⇒ Object
Returns the value of attribute created_at.
20 21 22 |
# File 'lib/workos/directory_sync/dsync_group_updated_data.rb', line 20 def created_at @created_at end |
#directory_id ⇒ Object
Returns the value of attribute directory_id.
20 21 22 |
# File 'lib/workos/directory_sync/dsync_group_updated_data.rb', line 20 def directory_id @directory_id end |
#id ⇒ Object
Returns the value of attribute id.
20 21 22 |
# File 'lib/workos/directory_sync/dsync_group_updated_data.rb', line 20 def id @id end |
#idp_id ⇒ Object
Returns the value of attribute idp_id.
20 21 22 |
# File 'lib/workos/directory_sync/dsync_group_updated_data.rb', line 20 def idp_id @idp_id end |
#name ⇒ Object
Returns the value of attribute name.
20 21 22 |
# File 'lib/workos/directory_sync/dsync_group_updated_data.rb', line 20 def name @name end |
#object ⇒ Object
Returns the value of attribute object.
20 21 22 |
# File 'lib/workos/directory_sync/dsync_group_updated_data.rb', line 20 def object @object end |
#organization_id ⇒ Object
Returns the value of attribute organization_id.
20 21 22 |
# File 'lib/workos/directory_sync/dsync_group_updated_data.rb', line 20 def organization_id @organization_id end |
#previous_attributes ⇒ Object
Returns the value of attribute previous_attributes.
20 21 22 |
# File 'lib/workos/directory_sync/dsync_group_updated_data.rb', line 20 def previous_attributes @previous_attributes end |
#raw_attributes ⇒ Object
Returns the value of attribute raw_attributes.
20 21 22 |
# File 'lib/workos/directory_sync/dsync_group_updated_data.rb', line 20 def raw_attributes @raw_attributes end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
20 21 22 |
# File 'lib/workos/directory_sync/dsync_group_updated_data.rb', line 20 def updated_at @updated_at end |