Class: OpenAI::Models::Beta::AgentBrowserAuthenticationSubmitParam::Field
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Beta::AgentBrowserAuthenticationSubmitParam::Field
- Defined in:
- lib/openai/models/beta/agent_browser_authentication_submit_param.rb,
sig/openai/models/beta/agent_browser_authentication_submit_param.rbs
Instance Attribute Summary collapse
-
#field_id ⇒ String
The field ID from the required action.
-
#value ⇒ String
The value to enter into the registered control.
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
-
#initialize(field_id:, value:) ⇒ Field
constructor
A new instance of Field.
- #to_hash ⇒ { field_id: String, value: String }
Methods inherited from Internal::Type::BaseModel
==, #==, #[], #_request_id, #_set_last_response, coerce, #deconstruct_keys, #deep_to_h, dump, #encode_with, 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, coerce_with_error, 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(field_id:, value:) ⇒ Field
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 |
# File 'lib/openai/models/beta/agent_browser_authentication_submit_param.rb', line 45 class Field < OpenAI::Internal::Type::BaseModel # @!attribute field_id # The field ID from the required action. # # @return [String] required :field_id, String # @!attribute value # The value to enter into the registered control. # # @return [String] required :value, String # @!method initialize(field_id:, value:) # One user-entered value, including non-password fields such as an email address. # # @param field_id [String] # The field ID from the required action. # # @param value [String] # The value to enter into the registered control. end |
Instance Attribute Details
#field_id ⇒ String
The field ID from the required action.
50 |
# File 'lib/openai/models/beta/agent_browser_authentication_submit_param.rb', line 50 required :field_id, String |
#value ⇒ String
The value to enter into the registered control.
56 |
# File 'lib/openai/models/beta/agent_browser_authentication_submit_param.rb', line 56 required :value, String |
Instance Method Details
#to_hash ⇒ { field_id: String, value: String }
58 |
# File 'sig/openai/models/beta/agent_browser_authentication_submit_param.rbs', line 58 def to_hash: -> { field_id: String, value: String } |