Class Assignment.Builder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.Assignment.Builder
-
- Enclosing class:
- Assignment
public static final class Assignment.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Assignmentbuild()Assignment.BuildercourseId(java.lang.String courseId)Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.Assignment.BuildercourseId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> courseId)Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.Assignment.BuildercreatedAt(java.lang.String createdAt)The date the assignment was createdAssignment.BuildercreatedAt(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> createdAt)The date the assignment was createdAssignment.BuilderdueDate(java.lang.String dueDate)The date the assignment is due to be completedAssignment.BuilderdueDate(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> dueDate)The date the assignment is due to be completedAssignment.BuilderexternalReference(java.lang.String externalReference)Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.Assignment.BuilderexternalReference(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> externalReference)Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.Assignment.Builderid(java.lang.String id)The ID associated with this assignmentAssignment.Builderid(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)The ID associated with this assignmentAssignment.BuilderlearningObjectExternalReference(java.lang.String learningObjectExternalReference)The external reference of the learning object associated with this assignment, this is the main identifier for creating assignments.Assignment.BuilderlearningObjectExternalReference(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> learningObjectExternalReference)The external reference of the learning object associated with this assignment, this is the main identifier for creating assignments.Assignment.BuilderlearningObjectId(java.lang.String learningObjectId)The learning_object_id associated with this assignment.Assignment.BuilderlearningObjectId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> learningObjectId)The learning_object_id associated with this assignment.Assignment.BuilderlearningObjectType(LearningObjectType learningObjectType)The learning object type of the assignmentAssignment.BuilderlearningObjectType(org.openapitools.jackson.nullable.JsonNullable<? extends LearningObjectType> learningObjectType)The learning object type of the assignmentAssignment.Builderprogress(double progress)The progress associated with this assigmentAssignment.Builderprogress(org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> progress)The progress associated with this assigmentAssignment.BuilderremoteCourseId(java.lang.String remoteCourseId)Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.Assignment.BuilderremoteCourseId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteCourseId)Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.Assignment.BuilderremoteId(java.lang.String remoteId)Provider's unique identifierAssignment.BuilderremoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)Provider's unique identifierAssignment.BuilderremoteLearningObjectId(java.lang.String remoteLearningObjectId)Provider's unique identifier of the learning object related to the assignmentAssignment.BuilderremoteLearningObjectId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteLearningObjectId)Provider's unique identifier of the learning object related to the assignmentAssignment.BuilderremoteUserId(java.lang.String remoteUserId)Provider's unique identifier of the user related to the assignmentAssignment.BuilderremoteUserId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteUserId)Provider's unique identifier of the user related to the assignmentAssignment.Builderstatus(AssignmentStatus status)The status of the assignmentAssignment.Builderstatus(org.openapitools.jackson.nullable.JsonNullable<? extends AssignmentStatus> status)The status of the assignmentAssignment.BuilderunifiedCustomFields(java.util.Map<java.lang.String,java.lang.Object> unifiedCustomFields)Custom Unified Fields configured in your StackOne projectAssignment.BuilderunifiedCustomFields(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.Map<java.lang.String,java.lang.Object>> unifiedCustomFields)Custom Unified Fields configured in your StackOne projectAssignment.BuilderupdatedAt(java.lang.String updatedAt)The date the assignment was last updatedAssignment.BuilderupdatedAt(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> updatedAt)The date the assignment was last updatedAssignment.BuilderuserId(java.lang.String userId)The user ID associated with this assignmentAssignment.BuilderuserId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> userId)The user ID associated with this assignment
-
-
-
Method Detail
-
id
public Assignment.Builder id(java.lang.String id)
The ID associated with this assignment
-
id
public Assignment.Builder id(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
The ID associated with this assignment
-
remoteId
public Assignment.Builder remoteId(java.lang.String remoteId)
Provider's unique identifier
-
remoteId
public Assignment.Builder remoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
Provider's unique identifier
-
unifiedCustomFields
public Assignment.Builder unifiedCustomFields(java.util.Map<java.lang.String,java.lang.Object> unifiedCustomFields)
Custom Unified Fields configured in your StackOne project
-
unifiedCustomFields
public Assignment.Builder unifiedCustomFields(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.Map<java.lang.String,java.lang.Object>> unifiedCustomFields)
Custom Unified Fields configured in your StackOne project
-
externalReference
@Deprecated public Assignment.Builder externalReference(java.lang.String externalReference)
Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.The external reference associated with this assignment
-
externalReference
@Deprecated public Assignment.Builder externalReference(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> externalReference)
Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.The external reference associated with this assignment
-
learningObjectId
public Assignment.Builder learningObjectId(java.lang.String learningObjectId)
The learning_object_id associated with this assignment. This is not required unless specified in an integration.
-
learningObjectId
public Assignment.Builder learningObjectId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> learningObjectId)
The learning_object_id associated with this assignment. This is not required unless specified in an integration.
-
remoteLearningObjectId
public Assignment.Builder remoteLearningObjectId(java.lang.String remoteLearningObjectId)
Provider's unique identifier of the learning object related to the assignment
-
remoteLearningObjectId
public Assignment.Builder remoteLearningObjectId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteLearningObjectId)
Provider's unique identifier of the learning object related to the assignment
-
learningObjectExternalReference
public Assignment.Builder learningObjectExternalReference(java.lang.String learningObjectExternalReference)
The external reference of the learning object associated with this assignment, this is the main identifier for creating assignments.
-
learningObjectExternalReference
public Assignment.Builder learningObjectExternalReference(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> learningObjectExternalReference)
The external reference of the learning object associated with this assignment, this is the main identifier for creating assignments.
-
progress
public Assignment.Builder progress(double progress)
The progress associated with this assigment
-
progress
public Assignment.Builder progress(org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> progress)
The progress associated with this assigment
-
updatedAt
public Assignment.Builder updatedAt(java.lang.String updatedAt)
The date the assignment was last updated
-
updatedAt
public Assignment.Builder updatedAt(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> updatedAt)
The date the assignment was last updated
-
createdAt
public Assignment.Builder createdAt(java.lang.String createdAt)
The date the assignment was created
-
createdAt
public Assignment.Builder createdAt(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> createdAt)
The date the assignment was created
-
dueDate
public Assignment.Builder dueDate(java.lang.String dueDate)
The date the assignment is due to be completed
-
dueDate
public Assignment.Builder dueDate(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> dueDate)
The date the assignment is due to be completed
-
status
public Assignment.Builder status(AssignmentStatus status)
The status of the assignment
-
status
public Assignment.Builder status(org.openapitools.jackson.nullable.JsonNullable<? extends AssignmentStatus> status)
The status of the assignment
-
learningObjectType
public Assignment.Builder learningObjectType(LearningObjectType learningObjectType)
The learning object type of the assignment
-
learningObjectType
public Assignment.Builder learningObjectType(org.openapitools.jackson.nullable.JsonNullable<? extends LearningObjectType> learningObjectType)
The learning object type of the assignment
-
userId
public Assignment.Builder userId(java.lang.String userId)
The user ID associated with this assignment
-
userId
public Assignment.Builder userId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> userId)
The user ID associated with this assignment
-
remoteUserId
public Assignment.Builder remoteUserId(java.lang.String remoteUserId)
Provider's unique identifier of the user related to the assignment
-
remoteUserId
public Assignment.Builder remoteUserId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteUserId)
Provider's unique identifier of the user related to the assignment
-
courseId
@Deprecated public Assignment.Builder courseId(java.lang.String courseId)
Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.The course ID associated with this assignment
-
courseId
@Deprecated public Assignment.Builder courseId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> courseId)
Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.The course ID associated with this assignment
-
remoteCourseId
@Deprecated public Assignment.Builder remoteCourseId(java.lang.String remoteCourseId)
Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.Provider's unique identifier of the course related to the assignment
-
remoteCourseId
@Deprecated public Assignment.Builder remoteCourseId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteCourseId)
Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.Provider's unique identifier of the course related to the assignment
-
build
public Assignment build()
-
-