PermissionScheme class

Details of a permission scheme.

Constructors

PermissionScheme({String? description, String? expand, int? id, required String name, List<PermissionGrant>? permissions, Scope? scope, String? self})
PermissionScheme.fromJson(Map<String, Object?> json)
factory

Properties

description String?
A description for the permission scheme.
final
expand String?
The expand options available for the permission scheme.
final
hashCode int
The hash code for this object.
no setterinherited
id int?
The ID of the permission scheme.
final
name String
The name of the permission scheme. Must be unique.
final
permissions List<PermissionGrant>
The permission scheme to create or update. See About permission schemes and grants for more information.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scope Scope?
The scope of the permission scheme.
final
self String?
The URL of the permission scheme.
final

Methods

copyWith({String? description, String? expand, int? id, String? name, List<PermissionGrant>? permissions, Scope? scope, String? self}) PermissionScheme
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
toString() String
A string representation of this object.
inherited

Operators

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