Operation class
A complex type that contains information about a specified operation.
Constructors
-
Operation({DateTime? createDate, String? errorCode, String? errorMessage, String? id, OperationStatus? status, Map<
OperationTargetType, String> ? targets, OperationType? type, DateTime? updateDate}) -
Operation.fromJson(Map<
String, dynamic> json) -
factory
Properties
- createDate → DateTime?
-
The date and time that the request was submitted, in Unix date/time format
and Coordinated Universal Time (UTC). The value of
CreateDate
is accurate to milliseconds. For example, the value1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.final - errorCode → String?
-
The code associated with
ErrorMessage
. Values forErrorCode
include the following:final - errorMessage → String?
-
If the value of
Status
isFAIL
, the reason that the operation failed.final - hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
The ID of the operation that you want to get information about.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → OperationStatus?
-
The status of the operation. Values include the following:
final
-
targets
→ Map<
OperationTargetType, String> ? -
The name of the target entity that is associated with the operation:
final
- type → OperationType?
-
The name of the operation that is associated with the specified ID.
final
- updateDate → DateTime?
-
The date and time that the value of
Status
changed to the current value, in Unix date/time format and Coordinated Universal Time (UTC). The value ofUpdateDate
is accurate to milliseconds. For example, the value1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited