Permission class

Annotations
  • @freezed

Constructors

Permission({String? id, String? object, int? created, @JsonKey(name: "allow_create_engine") bool? allowCreateEngine, @JsonKey(name: "allow_sampling") bool? allowSampling, @JsonKey(name: "allow_log_probs") bool? allowLogProbs, @JsonKey(name: "allow_search_indices") bool? allowSearchIndices, @JsonKey(name: "allow_view") bool? allowView, @JsonKey(name: "allow_fine_tuning") bool? allowFineTuning, String? organization, String? group, @JsonKey(name: "is_blocking") bool? isBlocking})
const
factory
Permission.fromJson(Map<String, Object?> json)
factory

Properties

allowCreateEngine bool?
no setterinherited
allowFineTuning bool?
no setterinherited
allowLogProbs bool?
no setterinherited
allowSampling bool?
no setterinherited
allowSearchIndices bool?
no setterinherited
allowView bool?
no setterinherited
copyWith → $PermissionCopyWith<Permission>
no setterinherited
created int?
no setterinherited
group String?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String?
no setterinherited
isBlocking bool?
no setterinherited
object String?
no setterinherited
organization String?
no setterinherited
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
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited