Class: WorkOS::AgentBlueprintsTokenMintTokenRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- WorkOS::AgentBlueprintsTokenMintTokenRequest
- Defined in:
- lib/workos/agents/agent_blueprints_token_mint_token_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ type: :type, user_access_token: :user_access_token, intent: :intent, organization_id: :organization_id, agent_access_token: :agent_access_token, refresh_token: :refresh_token }.freeze
Instance Attribute Summary collapse
-
#agent_access_token ⇒ Object
Returns the value of attribute agent_access_token.
-
#intent ⇒ Object
Returns the value of attribute intent.
-
#organization_id ⇒ Object
Returns the value of attribute organization_id.
-
#refresh_token ⇒ Object
Returns the value of attribute refresh_token.
-
#type ⇒ Object
Returns the value of attribute type.
-
#user_access_token ⇒ Object
Returns the value of attribute user_access_token.
Instance Method Summary collapse
-
#initialize(json) ⇒ AgentBlueprintsTokenMintTokenRequest
constructor
A new instance of AgentBlueprintsTokenMintTokenRequest.
Constructor Details
#initialize(json) ⇒ AgentBlueprintsTokenMintTokenRequest
Returns a new instance of AgentBlueprintsTokenMintTokenRequest.
24 25 26 27 28 29 30 31 32 |
# File 'lib/workos/agents/agent_blueprints_token_mint_token_request.rb', line 24 def initialize(json) hash = self.class.normalize(json) @type = hash[:type] @user_access_token = hash[:user_access_token] @intent = hash[:intent] @organization_id = hash[:organization_id] @agent_access_token = hash[:agent_access_token] @refresh_token = hash[:refresh_token] end |
Instance Attribute Details
#agent_access_token ⇒ Object
Returns the value of attribute agent_access_token.
16 17 18 |
# File 'lib/workos/agents/agent_blueprints_token_mint_token_request.rb', line 16 def agent_access_token @agent_access_token end |
#intent ⇒ Object
Returns the value of attribute intent.
16 17 18 |
# File 'lib/workos/agents/agent_blueprints_token_mint_token_request.rb', line 16 def intent @intent end |
#organization_id ⇒ Object
Returns the value of attribute organization_id.
16 17 18 |
# File 'lib/workos/agents/agent_blueprints_token_mint_token_request.rb', line 16 def organization_id @organization_id end |
#refresh_token ⇒ Object
Returns the value of attribute refresh_token.
16 17 18 |
# File 'lib/workos/agents/agent_blueprints_token_mint_token_request.rb', line 16 def refresh_token @refresh_token end |
#type ⇒ Object
Returns the value of attribute type.
16 17 18 |
# File 'lib/workos/agents/agent_blueprints_token_mint_token_request.rb', line 16 def type @type end |
#user_access_token ⇒ Object
Returns the value of attribute user_access_token.
16 17 18 |
# File 'lib/workos/agents/agent_blueprints_token_mint_token_request.rb', line 16 def user_access_token @user_access_token end |