Class Assignment.Builder

  • Enclosing class:
    Assignment

    public static final class Assignment.Builder
    extends java.lang.Object
    • 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.time.OffsetDateTime updatedAt)
        The date the assignment was last updated
      • updatedAt

        public Assignment.Builder updatedAt​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
        The date the assignment was last updated
      • createdAt

        public Assignment.Builder createdAt​(java.time.OffsetDateTime createdAt)
        The date the assignment was created
      • createdAt

        public Assignment.Builder createdAt​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)
        The date the assignment was created
      • dueDate

        public Assignment.Builder dueDate​(java.time.OffsetDateTime dueDate)
        The date the assignment is due to be completed
      • dueDate

        public Assignment.Builder dueDate​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> dueDate)
        The date the assignment is due to be completed
      • 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