Class: OpenAI::Models::FineTuning::Checkpoints::PermissionRetrieveParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/openai/models/fine_tuning/checkpoints/permission_retrieve_params.rb,
sig/openai/models/fine_tuning/checkpoints/permission_retrieve_params.rbs

Overview

See Also:

  • OpenAI::Resources::FineTuning::Checkpoints::Permissions#retrieve

Defined Under Namespace

Modules: Order

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Attributes inherited from Internal::Type::BaseModel

#last_response

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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(fine_tuned_model_checkpoint:, after: nil, limit: nil, order: nil, project_id: nil, request_options: {}) ⇒ Object

Parameters:

  • after (defaults to: nil) —

    Identifier for the last permission ID from the previous pagination request.

  • limit (defaults to: nil) —

    Number of permissions to retrieve.

  • order (defaults to: nil) —

    The order in which to retrieve permissions.

  • project_id (defaults to: nil) —

    The ID of the project to get permissions for.



# File 'lib/openai/models/fine_tuning/checkpoints/permission_retrieve_params.rb', line 41

Instance Attribute Details

#after ⇒ String?

Identifier for the last permission ID from the previous pagination request.

Returns:

  • (String, nil)


21
# File 'lib/openai/models/fine_tuning/checkpoints/permission_retrieve_params.rb', line 21

optional :after, String

#fine_tuned_model_checkpoint ⇒ String

Parameters:

  • value (String)

Returns:

  • (String)


15
# File 'lib/openai/models/fine_tuning/checkpoints/permission_retrieve_params.rb', line 15

required :fine_tuned_model_checkpoint, String

#limit ⇒ Integer?

Number of permissions to retrieve.

Returns:

  • (Integer, nil)


27
# File 'lib/openai/models/fine_tuning/checkpoints/permission_retrieve_params.rb', line 27

optional :limit, Integer

#order ⇒ OpenAI::Models::FineTuning::Checkpoints::PermissionRetrieveParams::order?

The order in which to retrieve permissions.

Returns:

  • (OpenAI::Models::FineTuning::Checkpoints::PermissionRetrieveParams::order, nil)


33
# File 'lib/openai/models/fine_tuning/checkpoints/permission_retrieve_params.rb', line 33

optional :order, enum: -> { OpenAI::FineTuning::Checkpoints::PermissionRetrieveParams::Order }

#project_id ⇒ String?

The ID of the project to get permissions for.

Returns:

  • (String, nil)


39
# File 'lib/openai/models/fine_tuning/checkpoints/permission_retrieve_params.rb', line 39

optional :project_id, String

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


64
# File 'sig/openai/models/fine_tuning/checkpoints/permission_retrieve_params.rbs', line 64

def to_hash: -> {