Class: OpenAI::Models::FineTuning::Checkpoints::PermissionCreateResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/openai/models/fine_tuning/checkpoints/permission_create_response.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

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, 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(id: , created_at: , project_id: , object: :"checkpoint.permission") ⇒ Object

The ‘checkpoint.permission` object represents a permission for a fine-tuned model checkpoint.

Parameters:

  • id (String) (defaults to: )

    The permission identifier, which can be referenced in the API endpoints.

  • created_at (Integer) (defaults to: )

    The Unix timestamp (in seconds) for when the permission was created.

  • project_id (String) (defaults to: )

    The project identifier that the permission is for.

  • object (Symbol, :"checkpoint.permission") (defaults to: :"checkpoint.permission")

    The object type, which is always “checkpoint.permission”.



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

Instance Attribute Details

#created_atInteger

The Unix timestamp (in seconds) for when the permission was created.

Returns:

  • (Integer)


19
# File 'lib/openai/models/fine_tuning/checkpoints/permission_create_response.rb', line 19

required :created_at, Integer

#idString

The permission identifier, which can be referenced in the API endpoints.

Returns:

  • (String)


13
# File 'lib/openai/models/fine_tuning/checkpoints/permission_create_response.rb', line 13

required :id, String

#objectSymbol, :"checkpoint.permission"

The object type, which is always “checkpoint.permission”.

Returns:

  • (Symbol, :"checkpoint.permission")


25
# File 'lib/openai/models/fine_tuning/checkpoints/permission_create_response.rb', line 25

required :object, const: :"checkpoint.permission"

#project_idString

The project identifier that the permission is for.

Returns:

  • (String)


31
# File 'lib/openai/models/fine_tuning/checkpoints/permission_create_response.rb', line 31

required :project_id, String