Resource class Access Manager

Represents a resource in PAM.

Constructors

Resource(ResourceType type, {String? name, String? pattern, bool? create = false, bool? delete = false, bool? manage = false, bool? read = false, bool? write = false, bool? get = false, bool? update = false, bool? join = false, int bit = 0})

Properties

bit int
Readonly bitfield. Contains permissions for this resource.
no setter
create bool
no setter
delete bool
no setter
get bool
no setter
hashCode int
The hash code for this object.
no setterinherited
join bool
no setter
manage bool
no setter
name String?
Name of the resource.
getter/setter pair
pattern String?
Pattern to specify matching resource names
getter/setter pair
read bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type ResourceType
Type of the resource.
getter/setter pair
update bool
no setter
write bool
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
replace({ResourceType? type, String? name, String? pattern, bool? create, bool? delete, bool? manage, bool? read, bool? write, bool? get, bool? update, bool? join}) Resource
Returns a new Resource based on this one, but with some parts replaced.
toString() String
A string representation of this object.
inherited

Operators

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