Class: Stagehand::Models::SessionStartParams::BrowserbaseSessionCreateParams::BrowserSettings::Context
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Stagehand::Models::SessionStartParams::BrowserbaseSessionCreateParams::BrowserSettings::Context
- Defined in:
- lib/stagehand/models/session_start_params.rb,
sig/stagehand/models/session_start_params.rbs
Overview
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ Context
constructor
A new instance of Context.
- #to_hash ⇒ { id: String, persist: bool }
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize ⇒ Context
Returns a new instance of Context.
568 |
# File 'sig/stagehand/models/session_start_params.rbs', line 568
def initialize: (id: String, ?persist: bool) -> void
|
Instance Attribute Details
#id ⇒ String
498 |
# File 'lib/stagehand/models/session_start_params.rb', line 498 required :id, String |
#persist ⇒ Boolean?
503 |
# File 'lib/stagehand/models/session_start_params.rb', line 503 optional :persist, Stagehand::Internal::Type::Boolean |
Instance Method Details
#to_hash ⇒ { id: String, persist: bool }
570 |
# File 'sig/stagehand/models/session_start_params.rbs', line 570
def to_hash: -> { id: String, persist: bool }
|