Class: OpenAI::Models::FineTuning::Checkpoints::PermissionListParams

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_list_params.rb

Overview

Defined Under Namespace

Modules: Order

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

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

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

Parameters:

  • fine_tuned_model_checkpoint (String)
  • after (String) (defaults to: nil)

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

  • limit (Integer) (defaults to: nil)

    Number of permissions to retrieve.

  • order (Symbol, OpenAI::Models::FineTuning::Checkpoints::PermissionListParams::Order) (defaults to: nil)

    The order in which to retrieve permissions.

  • project_id (String) (defaults to: nil)

    The ID of the project to get permissions for.

  • request_options (OpenAI::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


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


Instance Attribute Details

#afterString?

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

Returns:

  • (String, nil)


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

optional :after, String

#fine_tuned_model_checkpointString

Returns:

  • (String)


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

required :fine_tuned_model_checkpoint, String

#limitInteger?

Number of permissions to retrieve.

Returns:

  • (Integer, nil)


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

optional :limit, Integer

#orderSymbol, ...

The order in which to retrieve permissions.



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

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

#project_idString?

The ID of the project to get permissions for.

Returns:

  • (String, nil)


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

optional :project_id, String