Class: OpenAI::Models::FineTuning::JobListParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::FineTuning::JobListParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/openai/models/fine_tuning/job_list_params.rb,
sig/openai/models/fine_tuning/job_list_params.rbs
Overview
Instance Attribute Summary collapse
-
#after ⇒ String?
Identifier for the last job from the previous pagination request.
-
#limit ⇒ Integer?
Number of fine-tuning jobs to retrieve.
-
#metadata ⇒ ::Hash[Symbol, String]?
Optional metadata filter.
Attributes included from Internal::Type::RequestParameters
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
-
#initialize(after: nil, limit: nil, metadata: nil, request_options: {}) ⇒ JobListParams
constructor
A new instance of JobListParams.
- #to_hash ⇒ { ?after: String, ?limit: Integer, ?metadata: ::Hash[Symbol, String]?, ?request_options: OpenAI::RequestOptions }
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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_cached, coerce_with_error, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, resolve_type, 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(after: nil, limit: nil, metadata: nil, request_options: {}) ⇒ JobListParams
Returns a new instance of JobListParams.
|
|
# File 'lib/openai/models/fine_tuning/job_list_params.rb', line 35
|
Instance Attribute Details
#after ⇒ String?
Identifier for the last job from the previous pagination request.
15 |
# File 'lib/openai/models/fine_tuning/job_list_params.rb', line 15 optional :after, String |
#limit ⇒ Integer?
Number of fine-tuning jobs to retrieve.
21 |
# File 'lib/openai/models/fine_tuning/job_list_params.rb', line 21 optional :limit, Integer |
#metadata ⇒ ::Hash[Symbol, String]?
Optional metadata filter. To filter, use the syntax metadata[k]=v. Omitting
the parameter or passing an empty object applies no metadata filter. An empty
value, such as metadata[k]=, filters for that key with an empty string value.
To select jobs with null metadata, send the literal query string
metadata=null. Nullable caller types do not specify how a client serializes
null for a deep-object parameter. Use a raw query parameter if the client omits
null. Do not combine the two query forms.
33 |
# File 'lib/openai/models/fine_tuning/job_list_params.rb', line 33 optional :metadata, OpenAI::Internal::Type::HashOf[String], nil?: true |
Instance Method Details
#to_hash ⇒ { ?after: String, ?limit: Integer, ?metadata: ::Hash[Symbol, String]?, ?request_options: OpenAI::RequestOptions }
56 57 58 59 60 61 |
# File 'sig/openai/models/fine_tuning/job_list_params.rbs', line 56
def to_hash: -> {
?after: String,
?limit: Integer,
?metadata: ::Hash[Symbol, String]?,
?request_options: OpenAI::RequestOptions
}
|