Class: WorkOS::AgentBlueprintsTokenValidateTokenRequest

Inherits:
Types::BaseModel
  • Object
show all
Defined in:
lib/workos/agents/agent_blueprints_token_validate_token_request.rb

Constant Summary collapse

HASH_ATTRS =
{
  agent_access_token: :agent_access_token
}.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ AgentBlueprintsTokenValidateTokenRequest

Returns a new instance of AgentBlueprintsTokenValidateTokenRequest.



13
14
15
16
# File 'lib/workos/agents/agent_blueprints_token_validate_token_request.rb', line 13

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

Instance Attribute Details

#agent_access_tokenObject

Returns the value of attribute agent_access_token.



11
12
13
# File 'lib/workos/agents/agent_blueprints_token_validate_token_request.rb', line 11

def agent_access_token
  @agent_access_token
end