Class Assignment


  • public class Assignment
    extends java.lang.Object
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Assignment.Builder  
    • Constructor Summary

      Constructors 
      Constructor Description
      Assignment()  
      Assignment​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId, org.openapitools.jackson.nullable.JsonNullable<? extends java.util.Map<java.lang.String,​java.lang.Object>> unifiedCustomFields, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> externalReference, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> learningObjectId, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteLearningObjectId, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> learningObjectExternalReference, org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> progress, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> dueDate, org.openapitools.jackson.nullable.JsonNullable<? extends AssignmentStatus> status, org.openapitools.jackson.nullable.JsonNullable<? extends LearningObjectType> learningObjectType, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> userId, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteUserId, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> certificateUrl, org.openapitools.jackson.nullable.JsonNullable<? extends AssignmentResult1> result, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> completedAt, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> courseId, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteCourseId)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static Assignment.Builder builder()  
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> certificateUrl()
      The certification URL associated with this assignment
      org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> completedAt()
      The date the content was completed
      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.
      org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt()
      The date the assignment was created
      org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> dueDate()
      The date the assignment is due to be completed
      boolean equals​(java.lang.Object o)  
      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.
      int hashCode()  
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id()
      The ID associated with this assignment
      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.
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> learningObjectId()
      The learning_object_id associated with this assignment.
      org.openapitools.jackson.nullable.JsonNullable<LearningObjectType> learningObjectType()
      The learning object type of the assignment
      org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> progress()
      The progress associated with this assigment
      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.
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId()
      Provider's unique identifier
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteLearningObjectId()
      Provider's unique identifier of the learning object related to the assignment
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteUserId()
      Provider's unique identifier of the user related to the assignment
      org.openapitools.jackson.nullable.JsonNullable<AssignmentResult1> result()
      The result of the assignment
      org.openapitools.jackson.nullable.JsonNullable<AssignmentStatus> status()
      The status of the assignment
      java.lang.String toString()  
      org.openapitools.jackson.nullable.JsonNullable<java.util.Map<java.lang.String,​java.lang.Object>> unifiedCustomFields()
      Custom Unified Fields configured in your StackOne project
      org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt()
      The date the assignment was last updated
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> userId()
      The user ID associated with this assignment
      Assignment withCertificateUrl​(java.lang.String certificateUrl)
      The certification URL associated with this assignment
      Assignment withCertificateUrl​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> certificateUrl)
      The certification URL associated with this assignment
      Assignment withCompletedAt​(java.time.OffsetDateTime completedAt)
      The date the content was completed
      Assignment withCompletedAt​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> completedAt)
      The date the content was completed
      Assignment withCourseId​(java.lang.String courseId)
      Deprecated.
      field: This will be removed in a future release, please migrate away from it as soon as possible.
      Assignment withCourseId​(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 withCreatedAt​(java.time.OffsetDateTime createdAt)
      The date the assignment was created
      Assignment withCreatedAt​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)
      The date the assignment was created
      Assignment withDueDate​(java.time.OffsetDateTime dueDate)
      The date the assignment is due to be completed
      Assignment withDueDate​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> dueDate)
      The date the assignment is due to be completed
      Assignment withExternalReference​(java.lang.String externalReference)
      Deprecated.
      field: This will be removed in a future release, please migrate away from it as soon as possible.
      Assignment withExternalReference​(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 withId​(java.lang.String id)
      The ID associated with this assignment
      Assignment withId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
      The ID associated with this assignment
      Assignment withLearningObjectExternalReference​(java.lang.String learningObjectExternalReference)
      The external reference of the learning object associated with this assignment, this is the main identifier for creating assignments.
      Assignment withLearningObjectExternalReference​(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 withLearningObjectId​(java.lang.String learningObjectId)
      The learning_object_id associated with this assignment.
      Assignment withLearningObjectId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> learningObjectId)
      The learning_object_id associated with this assignment.
      Assignment withLearningObjectType​(LearningObjectType learningObjectType)
      The learning object type of the assignment
      Assignment withLearningObjectType​(org.openapitools.jackson.nullable.JsonNullable<? extends LearningObjectType> learningObjectType)
      The learning object type of the assignment
      Assignment withProgress​(double progress)
      The progress associated with this assigment
      Assignment withProgress​(org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> progress)
      The progress associated with this assigment
      Assignment withRemoteCourseId​(java.lang.String remoteCourseId)
      Deprecated.
      field: This will be removed in a future release, please migrate away from it as soon as possible.
      Assignment withRemoteCourseId​(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 withRemoteId​(java.lang.String remoteId)
      Provider's unique identifier
      Assignment withRemoteId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
      Provider's unique identifier
      Assignment withRemoteLearningObjectId​(java.lang.String remoteLearningObjectId)
      Provider's unique identifier of the learning object related to the assignment
      Assignment withRemoteLearningObjectId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteLearningObjectId)
      Provider's unique identifier of the learning object related to the assignment
      Assignment withRemoteUserId​(java.lang.String remoteUserId)
      Provider's unique identifier of the user related to the assignment
      Assignment withRemoteUserId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteUserId)
      Provider's unique identifier of the user related to the assignment
      Assignment withResult​(AssignmentResult1 result)
      The result of the assignment
      Assignment withResult​(org.openapitools.jackson.nullable.JsonNullable<? extends AssignmentResult1> result)
      The result of the assignment
      Assignment withStatus​(AssignmentStatus status)
      The status of the assignment
      Assignment withStatus​(org.openapitools.jackson.nullable.JsonNullable<? extends AssignmentStatus> status)
      The status of the assignment
      Assignment withUnifiedCustomFields​(java.util.Map<java.lang.String,​java.lang.Object> unifiedCustomFields)
      Custom Unified Fields configured in your StackOne project
      Assignment withUnifiedCustomFields​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.Map<java.lang.String,​java.lang.Object>> unifiedCustomFields)
      Custom Unified Fields configured in your StackOne project
      Assignment withUpdatedAt​(java.time.OffsetDateTime updatedAt)
      The date the assignment was last updated
      Assignment withUpdatedAt​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
      The date the assignment was last updated
      Assignment withUserId​(java.lang.String userId)
      The user ID associated with this assignment
      Assignment withUserId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> userId)
      The user ID associated with this assignment
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Assignment

        public Assignment​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id,
                          org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId,
                          org.openapitools.jackson.nullable.JsonNullable<? extends java.util.Map<java.lang.String,​java.lang.Object>> unifiedCustomFields,
                          org.openapitools.jackson.nullable.JsonNullable<java.lang.String> externalReference,
                          org.openapitools.jackson.nullable.JsonNullable<java.lang.String> learningObjectId,
                          org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteLearningObjectId,
                          org.openapitools.jackson.nullable.JsonNullable<java.lang.String> learningObjectExternalReference,
                          org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> progress,
                          org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt,
                          org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt,
                          org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> dueDate,
                          org.openapitools.jackson.nullable.JsonNullable<? extends AssignmentStatus> status,
                          org.openapitools.jackson.nullable.JsonNullable<? extends LearningObjectType> learningObjectType,
                          org.openapitools.jackson.nullable.JsonNullable<java.lang.String> userId,
                          org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteUserId,
                          org.openapitools.jackson.nullable.JsonNullable<java.lang.String> certificateUrl,
                          org.openapitools.jackson.nullable.JsonNullable<? extends AssignmentResult1> result,
                          org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> completedAt,
                          org.openapitools.jackson.nullable.JsonNullable<java.lang.String> courseId,
                          org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteCourseId)
      • Assignment

        public Assignment()
    • Method Detail

      • id

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id()
        The ID associated with this assignment
      • remoteId

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId()
        Provider's unique identifier
      • unifiedCustomFields

        public org.openapitools.jackson.nullable.JsonNullable<java.util.Map<java.lang.String,​java.lang.Object>> unifiedCustomFields()
        Custom Unified Fields configured in your StackOne project
      • externalReference

        @Deprecated
        public 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 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 org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteLearningObjectId()
        Provider's unique identifier of the learning object related to the assignment
      • learningObjectExternalReference

        public 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 org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> progress()
        The progress associated with this assigment
      • updatedAt

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

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

        public org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> dueDate()
        The date the assignment is due to be completed
      • status

        public org.openapitools.jackson.nullable.JsonNullable<AssignmentStatus> status()
        The status of the assignment
      • learningObjectType

        public org.openapitools.jackson.nullable.JsonNullable<LearningObjectType> learningObjectType()
        The learning object type of the assignment
      • userId

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> userId()
        The user ID associated with this assignment
      • remoteUserId

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteUserId()
        Provider's unique identifier of the user related to the assignment
      • certificateUrl

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> certificateUrl()
        The certification URL associated with this assignment
      • result

        public org.openapitools.jackson.nullable.JsonNullable<AssignmentResult1> result()
        The result of the assignment
      • completedAt

        public org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> completedAt()
        The date the content was completed
      • courseId

        @Deprecated
        public 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 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
      • withId

        public Assignment withId​(java.lang.String id)
        The ID associated with this assignment
      • withId

        public Assignment withId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
        The ID associated with this assignment
      • withRemoteId

        public Assignment withRemoteId​(java.lang.String remoteId)
        Provider's unique identifier
      • withRemoteId

        public Assignment withRemoteId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
        Provider's unique identifier
      • withUnifiedCustomFields

        public Assignment withUnifiedCustomFields​(java.util.Map<java.lang.String,​java.lang.Object> unifiedCustomFields)
        Custom Unified Fields configured in your StackOne project
      • withUnifiedCustomFields

        public Assignment withUnifiedCustomFields​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.Map<java.lang.String,​java.lang.Object>> unifiedCustomFields)
        Custom Unified Fields configured in your StackOne project
      • withExternalReference

        @Deprecated
        public Assignment withExternalReference​(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
      • withExternalReference

        @Deprecated
        public Assignment withExternalReference​(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
      • withLearningObjectId

        public Assignment withLearningObjectId​(java.lang.String learningObjectId)
        The learning_object_id associated with this assignment. This is not required unless specified in an integration.
      • withLearningObjectId

        public Assignment withLearningObjectId​(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.
      • withRemoteLearningObjectId

        public Assignment withRemoteLearningObjectId​(java.lang.String remoteLearningObjectId)
        Provider's unique identifier of the learning object related to the assignment
      • withRemoteLearningObjectId

        public Assignment withRemoteLearningObjectId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteLearningObjectId)
        Provider's unique identifier of the learning object related to the assignment
      • withLearningObjectExternalReference

        public Assignment withLearningObjectExternalReference​(java.lang.String learningObjectExternalReference)
        The external reference of the learning object associated with this assignment, this is the main identifier for creating assignments.
      • withLearningObjectExternalReference

        public Assignment withLearningObjectExternalReference​(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.
      • withProgress

        public Assignment withProgress​(double progress)
        The progress associated with this assigment
      • withProgress

        public Assignment withProgress​(org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> progress)
        The progress associated with this assigment
      • withUpdatedAt

        public Assignment withUpdatedAt​(java.time.OffsetDateTime updatedAt)
        The date the assignment was last updated
      • withUpdatedAt

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

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

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

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

        public Assignment withDueDate​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> dueDate)
        The date the assignment is due to be completed
      • withStatus

        public Assignment withStatus​(org.openapitools.jackson.nullable.JsonNullable<? extends AssignmentStatus> status)
        The status of the assignment
      • withLearningObjectType

        public Assignment withLearningObjectType​(LearningObjectType learningObjectType)
        The learning object type of the assignment
      • withLearningObjectType

        public Assignment withLearningObjectType​(org.openapitools.jackson.nullable.JsonNullable<? extends LearningObjectType> learningObjectType)
        The learning object type of the assignment
      • withUserId

        public Assignment withUserId​(java.lang.String userId)
        The user ID associated with this assignment
      • withUserId

        public Assignment withUserId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> userId)
        The user ID associated with this assignment
      • withRemoteUserId

        public Assignment withRemoteUserId​(java.lang.String remoteUserId)
        Provider's unique identifier of the user related to the assignment
      • withRemoteUserId

        public Assignment withRemoteUserId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteUserId)
        Provider's unique identifier of the user related to the assignment
      • withCertificateUrl

        public Assignment withCertificateUrl​(java.lang.String certificateUrl)
        The certification URL associated with this assignment
      • withCertificateUrl

        public Assignment withCertificateUrl​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> certificateUrl)
        The certification URL associated with this assignment
      • withResult

        public Assignment withResult​(org.openapitools.jackson.nullable.JsonNullable<? extends AssignmentResult1> result)
        The result of the assignment
      • withCompletedAt

        public Assignment withCompletedAt​(java.time.OffsetDateTime completedAt)
        The date the content was completed
      • withCompletedAt

        public Assignment withCompletedAt​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> completedAt)
        The date the content was completed
      • withCourseId

        @Deprecated
        public Assignment withCourseId​(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
      • withCourseId

        @Deprecated
        public Assignment withCourseId​(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
      • withRemoteCourseId

        @Deprecated
        public Assignment withRemoteCourseId​(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
      • withRemoteCourseId

        @Deprecated
        public Assignment withRemoteCourseId​(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
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object