Class: WorkOS::AgentRegistrationClaimClaimCompletion
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- WorkOS::AgentRegistrationClaimClaimCompletion
- Defined in:
- lib/workos/agents/agent_registration_claim_claim_completion.rb
Constant Summary collapse
- HASH_ATTRS =
{ id: :id, created_at: :created_at, updated_at: :updated_at, expires_at: :expires_at, claimed_at: :claimed_at }.freeze
Instance Attribute Summary collapse
-
#claimed_at ⇒ Object
Returns the value of attribute claimed_at.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#expires_at ⇒ Object
Returns the value of attribute expires_at.
-
#id ⇒ Object
Returns the value of attribute id.
-
#updated_at ⇒ Object
Returns the value of attribute updated_at.
Instance Method Summary collapse
-
#initialize(json) ⇒ AgentRegistrationClaimClaimCompletion
constructor
A new instance of AgentRegistrationClaimClaimCompletion.
Constructor Details
#initialize(json) ⇒ AgentRegistrationClaimClaimCompletion
Returns a new instance of AgentRegistrationClaimClaimCompletion.
22 23 24 25 26 27 28 29 |
# File 'lib/workos/agents/agent_registration_claim_claim_completion.rb', line 22 def initialize(json) hash = self.class.normalize(json) @id = hash[:id] @created_at = hash[:created_at] @updated_at = hash[:updated_at] @expires_at = hash[:expires_at] @claimed_at = hash[:claimed_at] end |
Instance Attribute Details
#claimed_at ⇒ Object
Returns the value of attribute claimed_at.
15 16 17 |
# File 'lib/workos/agents/agent_registration_claim_claim_completion.rb', line 15 def claimed_at @claimed_at end |
#created_at ⇒ Object
Returns the value of attribute created_at.
15 16 17 |
# File 'lib/workos/agents/agent_registration_claim_claim_completion.rb', line 15 def created_at @created_at end |
#expires_at ⇒ Object
Returns the value of attribute expires_at.
15 16 17 |
# File 'lib/workos/agents/agent_registration_claim_claim_completion.rb', line 15 def expires_at @expires_at end |
#id ⇒ Object
Returns the value of attribute id.
15 16 17 |
# File 'lib/workos/agents/agent_registration_claim_claim_completion.rb', line 15 def id @id end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
15 16 17 |
# File 'lib/workos/agents/agent_registration_claim_claim_completion.rb', line 15 def updated_at @updated_at end |