GetFolderResult class
Result data returned by getFolder.
Constructors
- GetFolderResult({required String createTime, required String displayName, required String lifecycleState, required String name, required String parent})
-
Creates a new GetFolderResult.
createTimeTimestamp when the Folder was created. Assigned by the server.displayNameThe folder's display name. A folder's display name must be unique amongst its siblings, e.g. no two folders with the same parent can share the same display name. The display name must start and end with a letter or digit, may contain letters, digits, spaces, hyphens and underscores and can be no longer than 30 characters. This is captured by the regular expression:[\p{L}\p{N}]([\p{L}\p{N}_- ]{0,28}[\p{L}\p{N}])?.lifecycleStateThe lifecycle state of the folder. Updates to the lifecycle_state must be performed via DeleteFolder and UndeleteFolder.nameThe resource name of the Folder. Its format isfolders/{folder_id}, for example: "folders/1234".parentThe Folder's parent's resource name. Updates to the folder's parent must be performed via MoveFolder.const -
GetFolderResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- createTime → String
-
Timestamp when the Folder was created. Assigned by the server.
final
- displayName → String
-
The folder's display name. A folder's display name must be unique amongst its siblings, e.g. no two folders with the same parent can share the same display name. The display name must start and end with a letter or digit, may contain letters, digits, spaces, hyphens and underscores and can be no longer than 30 characters. This is captured by the regular expression:
[\p{L}\p{N}]([\p{L}\p{N}_- ]{0,28}[\p{L}\p{N}])?.final - hashCode → int
-
The hash code for this object.
no setterinherited
- lifecycleState → String
-
The lifecycle state of the folder. Updates to the lifecycle_state must be performed via DeleteFolder and UndeleteFolder.
final
- name → String
-
The resource name of the Folder. Its format is
folders/{folder_id}, for example: "folders/1234".final - parent → String
-
The Folder's parent's resource name. Updates to the folder's parent must be performed via MoveFolder.
final
- 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
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited