AI-generated Key Takeaways
-
GMTDUpdateDeliveryTaskRequestis an immutable object used to request updates to a delivery task. -
The
initWithTaskID:taskOutcome:taskOutcomeTimestamp:method initializes the object with the task's ID, outcome, and the timestamp of the outcome. -
The
taskID,taskOutcome, andoutcomeTimestampproperties provide read-only access to the task's ID, outcome, and the time the outcome occurred, respectively. -
The
initmethod is unavailable, and users are recommended to useinitWithTaskID:taskOutcome:taskOutcomeTimestamp:instead.
GMTDUpdateDeliveryTaskRequest
@interface GMTDUpdateDeliveryTaskRequest : GMTSImmutableDataAn immutable object representing a request to update a delivery task.
-
Initializes and returns a
GMTDCreateDeliveryTaskRequestobject using the provided attributes.Declaration
Swift
init(taskID: String, taskOutcome: GMTSTaskOutcome, taskOutcomeTimestamp outcomeTimestamp: TimeInterval)Objective-C
- (nonnull instancetype)initWithTaskID:(nonnull GMTDFleetEngineIDString *)taskID taskOutcome:(GMTSTaskOutcome)taskOutcome taskOutcomeTimestamp:(NSTimeInterval)outcomeTimestamp;Parameters
taskIDThe ID of the task.
taskOutcomeThe outcome of the task.
outcomeTimestampThe time when the outcome was reported.
-
Unavailable
Use
-initWithTaskID:taskOutcome:taskOutcomeTimestamp:instead.Declaration
Objective-C
- (null_unspecified instancetype)init; -
The ID of the task.
Declaration
Swift
var taskID: String { get }Objective-C
@property (nonatomic, readonly) GMTDFleetEngineIDString *_Nonnull taskID; -
The outcome of the task.
Declaration
Swift
var taskOutcome: GMTSTaskOutcome { get }Objective-C
@property (nonatomic, readonly) GMTSTaskOutcome taskOutcome; -
The time the outcome occurred.
Declaration
Swift
var outcomeTimestamp: TimeInterval { get }Objective-C
@property (nonatomic, readonly) NSTimeInterval outcomeTimestamp;