OSPolicyResourceFileResource class
A resource that manages the state of a file.
Constructors
- OSPolicyResourceFileResource({String? content, OSPolicyResourceFile? file, String? path, String? permissions, String? state})
- OSPolicyResourceFileResource.fromJson(Map json_)
Properties
- content ↔ String?
-
A a file with this content.
getter/setter pair
- file ↔ OSPolicyResourceFile?
-
A remote or local source.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- path ↔ String?
-
The absolute path of the file within the VM.
getter/setter pair
- permissions ↔ String?
-
Consists of three octal digits which represent, in order, the permissions
of the owner, group, and other users for the file (similarly to the
numeric mode used in the linux chmod utility).
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state ↔ String?
-
Desired state of the file.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited