OpenAIModelModelPermission class final
- Annotations
-
- @immutable
Constructors
- OpenAIModelModelPermission({String? id, DateTime? created, bool? allowCreateEngine, bool? allowSampling, bool? allowLogprobs, bool? allowSearchIndices, bool? allowView, bool? allowFineTuning, String? organization, String? group, bool? isBlocking})
-
This class is used to represent an OpenAI model permission, it's used in OpenAIModelModel.
const
-
OpenAIModelModelPermission.fromMap(Map<
String, dynamic> json) -
This method is used to convert a Map<String, dynamic> object to a OpenAIModelModelPermission object.
factory
Properties
- allowCreateEngine → bool?
-
Whether the permission allows the user to create engines.
final
- allowFineTuning → bool?
-
Whether the permission allows the user to fine-tune the model.
final
- allowLogprobs → bool?
-
Whether the permission allows the user to view logprobs.
final
- allowSampling → bool?
-
Whether the permission allows the user to sample from the model.
final
- allowSearchIndices → bool?
-
Whether the permission allows the user to search indices.
final
- allowView → bool?
-
Whether the permission allows the user to view the model.
final
- created → DateTime?
-
The time the permission was created.
final
- group → String?
-
The group of the permission.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String?
-
The ID of the permission.
final
- isBlocking → bool?
-
Whether the permission is blocking.
final
- organization → String?
-
The organization of the permission.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
covariant OpenAIModelModelPermission other) → bool -
The equality operator.
override