Assignment
public struct Assignment : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The date and time the Worker accepted the assignment.
Declaration
Swift
public let acceptTime: TimeStamp?
-
The Worker’s answers submitted for the HIT contained in a QuestionFormAnswers document, if the Worker provides an answer. If the Worker does not provide any answers, Answer may contain a QuestionFormAnswers document, or Answer may be empty.
Declaration
Swift
public let answer: String?
-
If the Worker has submitted results and the Requester has approved the results, ApprovalTime is the date and time the Requester approved the results. This value is omitted from the assignment if the Requester has not yet approved the results.
Declaration
Swift
public let approvalTime: TimeStamp?
-
A unique identifier for the assignment.
Declaration
Swift
public let assignmentId: String?
-
The status of the assignment.
Declaration
Swift
public let assignmentStatus: AssignmentStatus?
-
If results have been submitted, AutoApprovalTime is the date and time the results of the assignment results are considered Approved automatically if they have not already been explicitly approved or rejected by the Requester. This value is derived from the auto-approval delay specified by the Requester in the HIT. This value is omitted from the assignment if the Worker has not yet submitted results.
Declaration
Swift
public let autoApprovalTime: TimeStamp?
-
The date and time of the deadline for the assignment. This value is derived from the deadline specification for the HIT and the date and time the Worker accepted the HIT.
Declaration
Swift
public let deadline: TimeStamp?
-
The ID of the HIT.
Declaration
Swift
public let hITId: String?
-
If the Worker has submitted results and the Requester has rejected the results, RejectionTime is the date and time the Requester rejected the results.
Declaration
Swift
public let rejectionTime: TimeStamp?
-
The feedback string included with the call to the ApproveAssignment operation or the RejectAssignment operation, if the Requester approved or rejected the assignment and specified feedback.
Declaration
Swift
public let requesterFeedback: String?
-
If the Worker has submitted results, SubmitTime is the date and time the assignment was submitted. This value is omitted from the assignment if the Worker has not yet submitted results.
Declaration
Swift
public let submitTime: TimeStamp?
-
The ID of the Worker who accepted the HIT.
Declaration
Swift
public let workerId: String?
-
init(acceptTime:answer:approvalTime:assignmentId:assignmentStatus:autoApprovalTime:deadline:hITId:rejectionTime:requesterFeedback:submitTime:workerId:)
Undocumented
Declaration
Swift
public init(acceptTime: TimeStamp? = nil, answer: String? = nil, approvalTime: TimeStamp? = nil, assignmentId: String? = nil, assignmentStatus: AssignmentStatus? = nil, autoApprovalTime: TimeStamp? = nil, deadline: TimeStamp? = nil, hITId: String? = nil, rejectionTime: TimeStamp? = nil, requesterFeedback: String? = nil, submitTime: TimeStamp? = nil, workerId: String? = nil)