toggle menu
openai-kotlin
common
switch theme
search in API
openai-core
/
com.aallam.openai.api.model
/
ModelPermission
Model
Permission
@
Serializable
data
class
ModelPermission
(
val
id
:
String
,
val
created
:
Long
,
val
allowCreateEngine
:
Boolean
,
val
allowSampling
:
Boolean
,
val
allowLogprobs
:
Boolean
,
val
allowSearchIndices
:
Boolean
,
val
allowView
:
Boolean
,
val
allowFineTuning
:
Boolean
,
val
organization
:
String
,
val
isBlocking
:
Boolean
)
Model permission details.
Members
Constructors
Model
Permission
Link copied to clipboard
constructor
(
id
:
String
,
created
:
Long
,
allowCreateEngine
:
Boolean
,
allowSampling
:
Boolean
,
allowLogprobs
:
Boolean
,
allowSearchIndices
:
Boolean
,
allowView
:
Boolean
,
allowFineTuning
:
Boolean
,
organization
:
String
,
isBlocking
:
Boolean
)
Properties
allow
Create
Engine
Link copied to clipboard
@
SerialName
(
value
=
"allow_create_engine"
)
val
allowCreateEngine
:
Boolean
allow
Fine
Tuning
Link copied to clipboard
@
SerialName
(
value
=
"allow_fine_tuning"
)
val
allowFineTuning
:
Boolean
allow
Logprobs
Link copied to clipboard
@
SerialName
(
value
=
"allow_logprobs"
)
val
allowLogprobs
:
Boolean
allow
Sampling
Link copied to clipboard
@
SerialName
(
value
=
"allow_sampling"
)
val
allowSampling
:
Boolean
allow
Search
Indices
Link copied to clipboard
@
SerialName
(
value
=
"allow_search_indices"
)
val
allowSearchIndices
:
Boolean
allow
View
Link copied to clipboard
@
SerialName
(
value
=
"allow_view"
)
val
allowView
:
Boolean
created
Link copied to clipboard
@
SerialName
(
value
=
"created"
)
val
created
:
Long
id
Link copied to clipboard
@
SerialName
(
value
=
"id"
)
val
id
:
String
is
Blocking
Link copied to clipboard
@
SerialName
(
value
=
"is_blocking"
)
val
isBlocking
:
Boolean
organization
Link copied to clipboard
@
SerialName
(
value
=
"organization"
)
val
organization
:
String