Class: OpenAI::Models::FineTuning::Checkpoints::PermissionRetrieveResponse::Data
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::FineTuning::Checkpoints::PermissionRetrieveResponse::Data
- Defined in:
- lib/openai/models/fine_tuning/checkpoints/permission_retrieve_response.rb
Instance Attribute Summary collapse
-
#created_at ⇒ Integer
The Unix timestamp (in seconds) for when the permission was created.
-
#id ⇒ String
The permission identifier, which can be referenced in the API endpoints.
-
#object ⇒ Symbol, :"checkpoint.permission"
The object type, which is always “checkpoint.permission”.
-
#project_id ⇒ String
The project identifier that the permission is for.
Instance Method Summary collapse
-
#initialize(id: , created_at: , project_id: , object: :"checkpoint.permission") ⇒ Object
constructor
The ‘checkpoint.permission` object represents a permission for a fine-tuned model checkpoint.
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.
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'lib/openai/models/fine_tuning/checkpoints/permission_retrieve_response.rb', line 42 class Data < OpenAI::Internal::Type::BaseModel # @!attribute id # The permission identifier, which can be referenced in the API endpoints. # # @return [String] required :id, String # @!attribute created_at # The Unix timestamp (in seconds) for when the permission was created. # # @return [Integer] required :created_at, Integer # @!attribute object # The object type, which is always "checkpoint.permission". # # @return [Symbol, :"checkpoint.permission"] required :object, const: :"checkpoint.permission" # @!attribute project_id # The project identifier that the permission is for. # # @return [String] required :project_id, String # @!method initialize(id:, created_at:, project_id:, object: :"checkpoint.permission") # The `checkpoint.permission` object represents a permission for a fine-tuned # model checkpoint. # # @param id [String] The permission identifier, which can be referenced in the API endpoints. # # @param created_at [Integer] The Unix timestamp (in seconds) for when the permission was created. # # @param project_id [String] The project identifier that the permission is for. # # @param object [Symbol, :"checkpoint.permission"] The object type, which is always "checkpoint.permission". end |
Instance Attribute Details
#created_at ⇒ Integer
The Unix timestamp (in seconds) for when the permission was created.
53 |
# File 'lib/openai/models/fine_tuning/checkpoints/permission_retrieve_response.rb', line 53 required :created_at, Integer |
#id ⇒ String
The permission identifier, which can be referenced in the API endpoints.
47 |
# File 'lib/openai/models/fine_tuning/checkpoints/permission_retrieve_response.rb', line 47 required :id, String |
#object ⇒ Symbol, :"checkpoint.permission"
The object type, which is always “checkpoint.permission”.
59 |
# File 'lib/openai/models/fine_tuning/checkpoints/permission_retrieve_response.rb', line 59 required :object, const: :"checkpoint.permission" |
#project_id ⇒ String
The project identifier that the permission is for.
65 |
# File 'lib/openai/models/fine_tuning/checkpoints/permission_retrieve_response.rb', line 65 required :project_id, String |