Class: WorkOS::AgentBlueprintsUpdateRequestSessionSetting
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- WorkOS::AgentBlueprintsUpdateRequestSessionSetting
- Defined in:
- lib/workos/agents/agent_blueprints_update_request_session_setting.rb
Constant Summary collapse
- HASH_ATTRS =
{ max_age_seconds: :max_age_seconds, access_token_ttl_seconds: :access_token_ttl_seconds, refresh_token_ttl_seconds: :refresh_token_ttl_seconds }.freeze
Instance Attribute Summary collapse
-
#access_token_ttl_seconds ⇒ Object
Returns the value of attribute access_token_ttl_seconds.
-
#max_age_seconds ⇒ Object
Returns the value of attribute max_age_seconds.
-
#refresh_token_ttl_seconds ⇒ Object
Returns the value of attribute refresh_token_ttl_seconds.
Instance Method Summary collapse
-
#initialize(json) ⇒ AgentBlueprintsUpdateRequestSessionSetting
constructor
A new instance of AgentBlueprintsUpdateRequestSessionSetting.
Constructor Details
#initialize(json) ⇒ AgentBlueprintsUpdateRequestSessionSetting
Returns a new instance of AgentBlueprintsUpdateRequestSessionSetting.
18 19 20 21 22 23 |
# File 'lib/workos/agents/agent_blueprints_update_request_session_setting.rb', line 18 def initialize(json) hash = self.class.normalize(json) @max_age_seconds = hash[:max_age_seconds] @access_token_ttl_seconds = hash[:access_token_ttl_seconds] @refresh_token_ttl_seconds = hash[:refresh_token_ttl_seconds] end |
Instance Attribute Details
#access_token_ttl_seconds ⇒ Object
Returns the value of attribute access_token_ttl_seconds.
13 14 15 |
# File 'lib/workos/agents/agent_blueprints_update_request_session_setting.rb', line 13 def access_token_ttl_seconds @access_token_ttl_seconds end |
#max_age_seconds ⇒ Object
Returns the value of attribute max_age_seconds.
13 14 15 |
# File 'lib/workos/agents/agent_blueprints_update_request_session_setting.rb', line 13 def max_age_seconds @max_age_seconds end |
#refresh_token_ttl_seconds ⇒ Object
Returns the value of attribute refresh_token_ttl_seconds.
13 14 15 |
# File 'lib/workos/agents/agent_blueprints_update_request_session_setting.rb', line 13 def refresh_token_ttl_seconds @refresh_token_ttl_seconds end |