LeaseWorkItemRequest class

Request to lease WorkItems.

Constructors

LeaseWorkItemRequest({String? currentWorkerTime, String? location, String? requestedLeaseDuration, Map<String, Object?>? unifiedWorkerRequest, List<String>? workItemTypes, List<String>? workerCapabilities, String? workerId})
LeaseWorkItemRequest.fromJson(Map _json)

Properties

currentWorkerTime String?
The current timestamp at the worker.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
location String?
The regional endpoint that contains the WorkItem's job.
getter/setter pair
requestedLeaseDuration String?
The initial lease period.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
unifiedWorkerRequest Map<String, Object?>?
Untranslated bag-of-bytes WorkRequest from UnifiedWorker.
getter/setter pair
workerCapabilities List<String>?
Worker capabilities.
getter/setter pair
workerId String?
Identifies the worker leasing work -- typically the ID of the virtual machine running the worker.
getter/setter pair
workItemTypes List<String>?
Filter for WorkItem type.
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