Class Completion.Builder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.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 Completionbuild()Completion.BuildercertificateUrl(java.lang.String certificateUrl)The certification URL associated with this completionCompletion.BuildercertificateUrl(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> certificateUrl)The certification URL associated with this completionCompletion.BuildercompletedAt(java.time.OffsetDateTime completedAt)The date the content was completedCompletion.BuildercompletedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> completedAt)The date the content was completedCompletion.BuildercontentExternalReference(java.lang.String contentExternalReference)Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.Completion.BuildercontentExternalReference(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.BuildercontentId(java.lang.String contentId)Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.Completion.BuildercontentId(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.BuildercourseId(java.lang.String courseId)Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.Completion.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.Completion.BuildercreatedAt(java.time.OffsetDateTime createdAt)The created date of the completionCompletion.BuildercreatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)The created date of the completionCompletion.BuilderexternalId(java.lang.String externalId)Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.Completion.BuilderexternalId(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.BuilderexternalReference(java.lang.String externalReference)Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.Completion.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.Completion.Builderid(java.lang.String id)The ID associated with this completionCompletion.Builderid(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)The ID associated with this completionCompletion.BuilderlearningObjectExternalReference(java.lang.String learningObjectExternalReference)The external reference of the learning object associated with this completion, this is the main identifier for creating completions.Completion.BuilderlearningObjectExternalReference(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.BuilderlearningObjectId(java.lang.String learningObjectId)The id of the learning object associated with this completion.Completion.BuilderlearningObjectId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> learningObjectId)The id of the learning object associated with this completion.Completion.BuilderlearningObjectType(CompletionLearningObjectType learningObjectType)The learning object type of the completionCompletion.BuilderlearningObjectType(org.openapitools.jackson.nullable.JsonNullable<? extends CompletionLearningObjectType> learningObjectType)The learning object type of the completionCompletion.BuilderremoteContentId(java.lang.String remoteContentId)Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.Completion.BuilderremoteContentId(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.BuilderremoteCourseId(java.lang.String remoteCourseId)Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.Completion.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.Completion.BuilderremoteExternalId(java.lang.String remoteExternalId)Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.Completion.BuilderremoteExternalId(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.BuilderremoteId(java.lang.String remoteId)Provider's unique identifierCompletion.BuilderremoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)Provider's unique identifierCompletion.BuilderremoteLearningObjectId(java.lang.String remoteLearningObjectId)Provider's unique identifier of the learning object related to the completionCompletion.BuilderremoteLearningObjectId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteLearningObjectId)Provider's unique identifier of the learning object related to the completionCompletion.BuilderremoteUserId(java.lang.String remoteUserId)Provider's unique identifier of the user related to the completionCompletion.BuilderremoteUserId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteUserId)Provider's unique identifier of the user related to the completionCompletion.Builderresult(CompletionResult1 result)The result of the completionCompletion.Builderresult(org.openapitools.jackson.nullable.JsonNullable<? extends CompletionResult1> result)The result of the completionCompletion.BuildertimeSpent(java.lang.String timeSpent)ISO 8601 duration format representing the time spent on completing the learning objectCompletion.BuildertimeSpent(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> timeSpent)ISO 8601 duration format representing the time spent on completing the learning objectCompletion.BuilderunifiedCustomFields(java.util.Map<java.lang.String,java.lang.Object> unifiedCustomFields)Custom Unified Fields configured in your StackOne projectCompletion.BuilderunifiedCustomFields(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.Map<java.lang.String,java.lang.Object>> unifiedCustomFields)Custom Unified Fields configured in your StackOne projectCompletion.BuilderupdatedAt(java.time.OffsetDateTime updatedAt)The updated date of the completionCompletion.BuilderupdatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)The updated date of the completionCompletion.BuilderuserId(java.lang.String userId)The user ID associated with this completionCompletion.BuilderuserId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> userId)The user ID associated with this completion
-
-
-
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
-
result
public Completion.Builder result(CompletionResult1 result)
The result of the completion
-
result
public Completion.Builder result(org.openapitools.jackson.nullable.JsonNullable<? extends CompletionResult1> result)
The result of the 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
-
learningObjectType
public Completion.Builder learningObjectType(CompletionLearningObjectType learningObjectType)
The learning object type of the completion
-
learningObjectType
public Completion.Builder learningObjectType(org.openapitools.jackson.nullable.JsonNullable<? extends CompletionLearningObjectType> learningObjectType)
The learning object type 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
-
build
public Completion build()
-
-