Class Content.Builder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.Content.Builder
-
- Enclosing class:
- Content
public static final class Content.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Content.Builderactive(boolean active)Whether the content is active and available for users.Content.Builderactive(org.openapitools.jackson.nullable.JsonNullable<java.lang.Boolean> active)Whether the content is active and available for users.Contentbuild()Content.Buildercategories(java.util.List<Category> categories)The categories associated with this contentContent.Buildercategories(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<Category>> categories)The categories associated with this contentContent.BuildercontentType(ContentType contentType)The type of contentContent.BuildercontentType(org.openapitools.jackson.nullable.JsonNullable<? extends ContentType> contentType)The type of contentContent.BuildercontentUrl(java.lang.String contentUrl)The external URL of the contentContent.BuildercontentUrl(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> contentUrl)The external URL of the contentContent.BuildercourseIds(java.util.List<java.lang.String> courseIds)The parent ID/IDs associated with this contentContent.BuildercourseIds(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> courseIds)The parent ID/IDs associated with this contentContent.BuildercoverUrl(java.lang.String coverUrl)The URL of the thumbnail image associated with the content.Content.BuildercoverUrl(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> coverUrl)The URL of the thumbnail image associated with the content.Content.BuildercreatedAt(java.time.OffsetDateTime createdAt)The date on which the content was created.Content.BuildercreatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)The date on which the content was created.Content.Builderdescription(java.lang.String description)The description of the contentContent.Builderdescription(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> description)The description of the contentContent.Builderduration(java.lang.String duration)The duration of the content following the ISO8601 standard.Content.Builderduration(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> duration)The duration of the content following the ISO8601 standard.Content.BuilderexternalReference(java.lang.String externalReference)The external ID associated with this contentContent.BuilderexternalReference(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> externalReference)The external ID associated with this contentContent.Builderid(java.lang.String id)Unique identifierContent.Builderid(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)Unique identifierContent.Builderlanguages(java.util.List<LanguageEnum> languages)The languages associated with this contentContent.Builderlanguages(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<LanguageEnum>> languages)The languages associated with this contentContent.Builderlocalizations(java.util.List<LocalizationModel> localizations)Localised content informationContent.Builderlocalizations(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<LocalizationModel>> localizations)Localised content informationContent.BuildermobileLaunchContentUrl(java.lang.String mobileLaunchContentUrl)The mobile friendly URL of the contentContent.BuildermobileLaunchContentUrl(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> mobileLaunchContentUrl)The mobile friendly URL of the contentContent.Builderorder(double order)The order of the individual content within a content grouping.Content.Builderorder(org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> order)The order of the individual content within a content grouping.Content.Builderprovider(java.lang.String provider)The name of the content providerContent.Builderprovider(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> provider)The name of the content providerContent.BuilderremoteCourseIds(java.util.List<java.lang.String> remoteCourseIds)Provider's unique identifier of the parent course ID associated with this contentContent.BuilderremoteCourseIds(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> remoteCourseIds)Provider's unique identifier of the parent course ID associated with this contentContent.BuilderremoteId(java.lang.String remoteId)Provider's unique identifierContent.BuilderremoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)Provider's unique identifierContent.BuildershortDescription(java.lang.String shortDescription)Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.Content.BuildershortDescription(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> shortDescription)Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.Content.Builderskills(java.util.List<Skills> skills)The skills associated with this courseContent.Builderskills(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<Skills>> skills)The skills associated with this courseContent.Buildertags(java.util.List<java.lang.String> tags)A list of tags associated with the contentContent.Buildertags(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> tags)A list of tags associated with the contentContent.Buildertitle(java.lang.String title)The title of the contentContent.Buildertitle(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> title)The title of the contentContent.BuilderunifiedCustomFields(java.util.Map<java.lang.String,java.lang.Object> unifiedCustomFields)Custom Unified Fields configured in your StackOne projectContent.BuilderunifiedCustomFields(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.Map<java.lang.String,java.lang.Object>> unifiedCustomFields)Custom Unified Fields configured in your StackOne projectContent.BuilderupdatedAt(java.time.OffsetDateTime updatedAt)The date on which the content was last updated.Content.BuilderupdatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)The date on which the content was last updated.
-
-
-
Method Detail
-
id
public Content.Builder id(java.lang.String id)
Unique identifier
-
id
public Content.Builder id(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
Unique identifier
-
remoteId
public Content.Builder remoteId(java.lang.String remoteId)
Provider's unique identifier
-
remoteId
public Content.Builder remoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
Provider's unique identifier
-
unifiedCustomFields
public Content.Builder unifiedCustomFields(java.util.Map<java.lang.String,java.lang.Object> unifiedCustomFields)
Custom Unified Fields configured in your StackOne project
-
unifiedCustomFields
public Content.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
public Content.Builder externalReference(java.lang.String externalReference)
The external ID associated with this content
-
externalReference
public Content.Builder externalReference(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> externalReference)
The external ID associated with this content
-
courseIds
public Content.Builder courseIds(java.util.List<java.lang.String> courseIds)
The parent ID/IDs associated with this content
-
courseIds
public Content.Builder courseIds(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> courseIds)
The parent ID/IDs associated with this content
-
remoteCourseIds
public Content.Builder remoteCourseIds(java.util.List<java.lang.String> remoteCourseIds)
Provider's unique identifier of the parent course ID associated with this content
-
remoteCourseIds
public Content.Builder remoteCourseIds(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> remoteCourseIds)
Provider's unique identifier of the parent course ID associated with this content
-
title
public Content.Builder title(java.lang.String title)
The title of the content
-
title
public Content.Builder title(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> title)
The title of the content
-
description
public Content.Builder description(java.lang.String description)
The description of the content
-
description
public Content.Builder description(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> description)
The description of the content
-
languages
public Content.Builder languages(java.util.List<LanguageEnum> languages)
The languages associated with this content
-
languages
public Content.Builder languages(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<LanguageEnum>> languages)
The languages associated with this content
-
contentUrl
public Content.Builder contentUrl(java.lang.String contentUrl)
The external URL of the content
-
contentUrl
public Content.Builder contentUrl(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> contentUrl)
The external URL of the content
-
mobileLaunchContentUrl
public Content.Builder mobileLaunchContentUrl(java.lang.String mobileLaunchContentUrl)
The mobile friendly URL of the content
-
mobileLaunchContentUrl
public Content.Builder mobileLaunchContentUrl(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> mobileLaunchContentUrl)
The mobile friendly URL of the content
-
contentType
public Content.Builder contentType(ContentType contentType)
The type of content
-
contentType
public Content.Builder contentType(org.openapitools.jackson.nullable.JsonNullable<? extends ContentType> contentType)
The type of content
-
coverUrl
public Content.Builder coverUrl(java.lang.String coverUrl)
The URL of the thumbnail image associated with the content.
-
coverUrl
public Content.Builder coverUrl(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> coverUrl)
The URL of the thumbnail image associated with the content.
-
active
public Content.Builder active(boolean active)
Whether the content is active and available for users.
-
active
public Content.Builder active(org.openapitools.jackson.nullable.JsonNullable<java.lang.Boolean> active)
Whether the content is active and available for users.
-
duration
public Content.Builder duration(java.lang.String duration)
The duration of the content following the ISO8601 standard. If duration_unit is applicable we will derive this from the smallest unit given in the duration string or the minimum unit accepted by the provider.
-
duration
public Content.Builder duration(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> duration)
The duration of the content following the ISO8601 standard. If duration_unit is applicable we will derive this from the smallest unit given in the duration string or the minimum unit accepted by the provider.
-
categories
public Content.Builder categories(java.util.List<Category> categories)
The categories associated with this content
-
categories
public Content.Builder categories(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<Category>> categories)
The categories associated with this content
-
skills
public Content.Builder skills(java.util.List<Skills> skills)
The skills associated with this course
-
skills
public Content.Builder skills(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<Skills>> skills)
The skills associated with this course
-
order
public Content.Builder order(double order)
The order of the individual content within a content grouping. This is not applicable for pushing individual content.
-
order
public Content.Builder order(org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> order)
The order of the individual content within a content grouping. This is not applicable for pushing individual content.
-
provider
public Content.Builder provider(java.lang.String provider)
The name of the content provider
-
provider
public Content.Builder provider(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> provider)
The name of the content provider
-
shortDescription
@Deprecated public Content.Builder shortDescription(java.lang.String shortDescription)
Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.A short description or summary for the content
-
shortDescription
@Deprecated public Content.Builder shortDescription(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> shortDescription)
Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.A short description or summary for the content
-
localizations
public Content.Builder localizations(java.util.List<LocalizationModel> localizations)
Localised content information
-
localizations
public Content.Builder localizations(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<LocalizationModel>> localizations)
Localised content information
-
tags
public Content.Builder tags(java.util.List<java.lang.String> tags)
A list of tags associated with the content
-
tags
public Content.Builder tags(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> tags)
A list of tags associated with the content
-
updatedAt
public Content.Builder updatedAt(java.time.OffsetDateTime updatedAt)
The date on which the content was last updated.
-
updatedAt
public Content.Builder updatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
The date on which the content was last updated.
-
createdAt
public Content.Builder createdAt(java.time.OffsetDateTime createdAt)
The date on which the content was created.
-
createdAt
public Content.Builder createdAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)
The date on which the content was created.
-
build
public Content build()
-
-