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