Class Completion.Builder

  • Enclosing class:
    Completion

    public static final class Completion.Builder
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      Completion build()  
      Completion.Builder certificateUrl​(java.lang.String certificateUrl)
      The certification URL associated with this completion
      Completion.Builder certificateUrl​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> certificateUrl)
      The certification URL associated with this completion
      Completion.Builder completedAt​(java.time.OffsetDateTime completedAt)
      The date the content was completed
      Completion.Builder completedAt​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> completedAt)
      The date the content was completed
      Completion.Builder contentExternalReference​(java.lang.String contentExternalReference)
      Deprecated.
      field: This will be removed in a future release, please migrate away from it as soon as possible.
      Completion.Builder contentExternalReference​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> contentExternalReference)
      Deprecated.
      field: This will be removed in a future release, please migrate away from it as soon as possible.
      Completion.Builder contentId​(java.lang.String contentId)
      Deprecated.
      field: This will be removed in a future release, please migrate away from it as soon as possible.
      Completion.Builder contentId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> contentId)
      Deprecated.
      field: This will be removed in a future release, please migrate away from it as soon as possible.
      Completion.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.
      Completion.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.
      Completion.Builder createdAt​(java.time.OffsetDateTime createdAt)
      The created date of the completion
      Completion.Builder createdAt​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)
      The created date of the completion
      Completion.Builder externalId​(java.lang.String externalId)
      Deprecated.
      field: This will be removed in a future release, please migrate away from it as soon as possible.
      Completion.Builder externalId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> externalId)
      Deprecated.
      field: This will be removed in a future release, please migrate away from it as soon as possible.
      Completion.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.
      Completion.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.
      Completion.Builder id​(java.lang.String id)
      The ID associated with this completion
      Completion.Builder id​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
      The ID associated with this completion
      Completion.Builder learningObjectExternalReference​(java.lang.String learningObjectExternalReference)
      The external reference of the learning object associated with this completion, this is the main identifier for creating completions.
      Completion.Builder learningObjectExternalReference​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> learningObjectExternalReference)
      The external reference of the learning object associated with this completion, this is the main identifier for creating completions.
      Completion.Builder learningObjectId​(java.lang.String learningObjectId)
      The id of the learning object associated with this completion.
      Completion.Builder learningObjectId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> learningObjectId)
      The id of the learning object associated with this completion.
      Completion.Builder learningObjectType​(CompletionLearningObjectType learningObjectType)
      The learning object type of the completion
      Completion.Builder learningObjectType​(org.openapitools.jackson.nullable.JsonNullable<? extends CompletionLearningObjectType> learningObjectType)
      The learning object type of the completion
      Completion.Builder remoteContentId​(java.lang.String remoteContentId)
      Deprecated.
      field: This will be removed in a future release, please migrate away from it as soon as possible.
      Completion.Builder remoteContentId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteContentId)
      Deprecated.
      field: This will be removed in a future release, please migrate away from it as soon as possible.
      Completion.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.
      Completion.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.
      Completion.Builder remoteExternalId​(java.lang.String remoteExternalId)
      Deprecated.
      field: This will be removed in a future release, please migrate away from it as soon as possible.
      Completion.Builder remoteExternalId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteExternalId)
      Deprecated.
      field: This will be removed in a future release, please migrate away from it as soon as possible.
      Completion.Builder remoteId​(java.lang.String remoteId)
      Provider's unique identifier
      Completion.Builder remoteId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
      Provider's unique identifier
      Completion.Builder remoteLearningObjectId​(java.lang.String remoteLearningObjectId)
      Provider's unique identifier of the learning object related to the completion
      Completion.Builder remoteLearningObjectId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteLearningObjectId)
      Provider's unique identifier of the learning object related to the completion
      Completion.Builder remoteUserId​(java.lang.String remoteUserId)
      Provider's unique identifier of the user related to the completion
      Completion.Builder remoteUserId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteUserId)
      Provider's unique identifier of the user related to the completion
      Completion.Builder result​(CompletionResult1 result)
      The result of the completion
      Completion.Builder result​(org.openapitools.jackson.nullable.JsonNullable<? extends CompletionResult1> result)
      The result of the completion
      Completion.Builder timeSpent​(java.lang.String timeSpent)
      ISO 8601 duration format representing the time spent on completing the learning object
      Completion.Builder timeSpent​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> timeSpent)
      ISO 8601 duration format representing the time spent on completing the learning object
      Completion.Builder unifiedCustomFields​(java.util.Map<java.lang.String,​java.lang.Object> unifiedCustomFields)
      Custom Unified Fields configured in your StackOne project
      Completion.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
      Completion.Builder updatedAt​(java.time.OffsetDateTime updatedAt)
      The updated date of the completion
      Completion.Builder updatedAt​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
      The updated date of the completion
      Completion.Builder userId​(java.lang.String userId)
      The user ID associated with this completion
      Completion.Builder userId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> userId)
      The user ID associated with this completion
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • id

        public Completion.Builder id​(java.lang.String id)
        The ID associated with this completion
      • id

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

        public Completion.Builder remoteId​(java.lang.String remoteId)
        Provider's unique identifier
      • remoteId

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

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

        public Completion.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
      • learningObjectExternalReference

        public Completion.Builder learningObjectExternalReference​(java.lang.String learningObjectExternalReference)
        The external reference of the learning object associated with this completion, this is the main identifier for creating completions.
      • learningObjectExternalReference

        public Completion.Builder learningObjectExternalReference​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> learningObjectExternalReference)
        The external reference of the learning object associated with this completion, this is the main identifier for creating completions.
      • externalReference

        @Deprecated
        public Completion.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 completion
      • externalReference

        @Deprecated
        public Completion.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 completion
      • completedAt

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

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

        public Completion.Builder createdAt​(java.time.OffsetDateTime createdAt)
        The created date of the completion
      • createdAt

        public Completion.Builder createdAt​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)
        The created date of the completion
      • updatedAt

        public Completion.Builder updatedAt​(java.time.OffsetDateTime updatedAt)
        The updated date of the completion
      • updatedAt

        public Completion.Builder updatedAt​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
        The updated date of the completion
      • learningObjectId

        public Completion.Builder learningObjectId​(java.lang.String learningObjectId)
        The id of the learning object associated with this completion. This is not required unless specified in an integration.
      • learningObjectId

        public Completion.Builder learningObjectId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> learningObjectId)
        The id of the learning object associated with this completion. This is not required unless specified in an integration.
      • remoteLearningObjectId

        public Completion.Builder remoteLearningObjectId​(java.lang.String remoteLearningObjectId)
        Provider's unique identifier of the learning object related to the completion
      • remoteLearningObjectId

        public Completion.Builder remoteLearningObjectId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteLearningObjectId)
        Provider's unique identifier of the learning object related to the completion
      • userId

        public Completion.Builder userId​(java.lang.String userId)
        The user ID associated with this completion
      • userId

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

        public Completion.Builder remoteUserId​(java.lang.String remoteUserId)
        Provider's unique identifier of the user related to the completion
      • remoteUserId

        public Completion.Builder remoteUserId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteUserId)
        Provider's unique identifier of the user related to the completion
      • timeSpent

        public Completion.Builder timeSpent​(java.lang.String timeSpent)
        ISO 8601 duration format representing the time spent on completing the learning object
      • timeSpent

        public Completion.Builder timeSpent​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> timeSpent)
        ISO 8601 duration format representing the time spent on completing the learning object
      • certificateUrl

        public Completion.Builder certificateUrl​(java.lang.String certificateUrl)
        The certification URL associated with this completion
      • certificateUrl

        public Completion.Builder certificateUrl​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> certificateUrl)
        The certification URL associated with this completion
      • externalId

        @Deprecated
        public Completion.Builder externalId​(java.lang.String externalId)
        Deprecated.
        field: This will be removed in a future release, please migrate away from it as soon as possible.
        The external ID associated with this completion
      • externalId

        @Deprecated
        public Completion.Builder externalId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> externalId)
        Deprecated.
        field: This will be removed in a future release, please migrate away from it as soon as possible.
        The external ID associated with this completion
      • contentExternalReference

        @Deprecated
        public Completion.Builder contentExternalReference​(java.lang.String contentExternalReference)
        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 content
      • contentExternalReference

        @Deprecated
        public Completion.Builder contentExternalReference​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> contentExternalReference)
        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 content
      • remoteExternalId

        @Deprecated
        public Completion.Builder remoteExternalId​(java.lang.String remoteExternalId)
        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 content external reference
      • remoteExternalId

        @Deprecated
        public Completion.Builder remoteExternalId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteExternalId)
        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 content external reference
      • contentId

        @Deprecated
        public Completion.Builder contentId​(java.lang.String contentId)
        Deprecated.
        field: This will be removed in a future release, please migrate away from it as soon as possible.
        The content ID associated with this completion
      • contentId

        @Deprecated
        public Completion.Builder contentId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> contentId)
        Deprecated.
        field: This will be removed in a future release, please migrate away from it as soon as possible.
        The content ID associated with this completion
      • remoteContentId

        @Deprecated
        public Completion.Builder remoteContentId​(java.lang.String remoteContentId)
        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 content associated with the completion
      • remoteContentId

        @Deprecated
        public Completion.Builder remoteContentId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteContentId)
        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 content associated with the completion
      • courseId

        @Deprecated
        public Completion.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 completion
      • courseId

        @Deprecated
        public Completion.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 completion
      • remoteCourseId

        @Deprecated
        public Completion.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 associated with the completion
      • remoteCourseId

        @Deprecated
        public Completion.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 associated with the completion