Class Course.Builder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.Course.Builder
-
- Enclosing class:
- Course
public static final class Course.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Course.Builderactive(CourseActive active)Whether the course is active and available for users.Course.Builderactive(org.openapitools.jackson.nullable.JsonNullable<? extends CourseActive> active)Whether the course is active and available for users.Course.Builderauthors(java.util.List<AuthorModel> authors)The authors of the courseCourse.Builderauthors(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<AuthorModel>> authors)The authors of the courseCoursebuild()Course.Buildercategories(java.util.List<Category> categories)The categories associated with this courseCourse.Buildercategories(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<Category>> categories)The categories associated with this courseCourse.BuildercontentIds(java.util.List<java.lang.String> contentIds)The child ID/IDs associated with this courseCourse.BuildercontentIds(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> contentIds)The child ID/IDs associated with this courseCourse.BuildercoverUrl(java.lang.String coverUrl)The URL of the thumbnail image associated with the course.Course.BuildercoverUrl(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> coverUrl)The URL of the thumbnail image associated with the course.Course.BuildercreatedAt(java.lang.String createdAt)The date on which the course was created.Course.BuildercreatedAt(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> createdAt)The date on which the course was created.Course.Builderdescription(java.lang.String description)The description of the courseCourse.Builderdescription(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> description)The description of the courseCourse.Builderduration(java.lang.String duration)The duration of the course following the ISO8601 standard.Course.Builderduration(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> duration)The duration of the course following the ISO8601 standard.Course.BuilderexternalReference(java.lang.String externalReference)The external ID associated with this courseCourse.BuilderexternalReference(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> externalReference)The external ID associated with this courseCourse.Builderid(java.lang.String id)Unique identifierCourse.Builderid(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)Unique identifierCourse.Builderlanguages(java.util.List<LanguageEnum> languages)The languages associated with this courseCourse.Builderlanguages(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<LanguageEnum>> languages)The languages associated with this courseCourse.Builderprovider(java.lang.String provider)The name of the course providerCourse.Builderprovider(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> provider)The name of the course providerCourse.BuilderremoteContentIds(java.util.List<java.lang.String> remoteContentIds)Provider's unique identifier of the child content IDs associated with this courseCourse.BuilderremoteContentIds(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> remoteContentIds)Provider's unique identifier of the child content IDs associated with this courseCourse.BuilderremoteId(java.lang.String remoteId)Provider's unique identifierCourse.BuilderremoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)Provider's unique identifierCourse.Builderskills(java.util.List<Skills> skills)The skills associated with this courseCourse.Builderskills(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<Skills>> skills)The skills associated with this courseCourse.Buildertitle(java.lang.String title)The title of the courseCourse.Buildertitle(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> title)The title of the courseCourse.BuilderunifiedCustomFields(java.util.Map<java.lang.String,java.lang.Object> unifiedCustomFields)Custom Unified Fields configured in your StackOne projectCourse.BuilderunifiedCustomFields(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.Map<java.lang.String,java.lang.Object>> unifiedCustomFields)Custom Unified Fields configured in your StackOne projectCourse.BuilderupdatedAt(java.lang.String updatedAt)The date on which the course was last updated.Course.BuilderupdatedAt(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> updatedAt)The date on which the course was last updated.Course.Builderurl(java.lang.String url)The redirect URL of the course.Course.Builderurl(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> url)The redirect URL of the course.
-
-
-
Method Detail
-
id
public Course.Builder id(java.lang.String id)
Unique identifier
-
id
public Course.Builder id(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
Unique identifier
-
remoteId
public Course.Builder remoteId(java.lang.String remoteId)
Provider's unique identifier
-
remoteId
public Course.Builder remoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
Provider's unique identifier
-
unifiedCustomFields
public Course.Builder unifiedCustomFields(java.util.Map<java.lang.String,java.lang.Object> unifiedCustomFields)
Custom Unified Fields configured in your StackOne project
-
unifiedCustomFields
public Course.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 Course.Builder externalReference(java.lang.String externalReference)
The external ID associated with this course
-
externalReference
public Course.Builder externalReference(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> externalReference)
The external ID associated with this course
-
contentIds
public Course.Builder contentIds(java.util.List<java.lang.String> contentIds)
The child ID/IDs associated with this course
-
contentIds
public Course.Builder contentIds(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> contentIds)
The child ID/IDs associated with this course
-
remoteContentIds
public Course.Builder remoteContentIds(java.util.List<java.lang.String> remoteContentIds)
Provider's unique identifier of the child content IDs associated with this course
-
remoteContentIds
public Course.Builder remoteContentIds(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> remoteContentIds)
Provider's unique identifier of the child content IDs associated with this course
-
title
public Course.Builder title(java.lang.String title)
The title of the course
-
title
public Course.Builder title(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> title)
The title of the course
-
description
public Course.Builder description(java.lang.String description)
The description of the course
-
description
public Course.Builder description(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> description)
The description of the course
-
languages
public Course.Builder languages(java.util.List<LanguageEnum> languages)
The languages associated with this course
-
languages
public Course.Builder languages(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<LanguageEnum>> languages)
The languages associated with this course
-
coverUrl
public Course.Builder coverUrl(java.lang.String coverUrl)
The URL of the thumbnail image associated with the course.
-
coverUrl
public Course.Builder coverUrl(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> coverUrl)
The URL of the thumbnail image associated with the course.
-
url
public Course.Builder url(java.lang.String url)
The redirect URL of the course.
-
url
public Course.Builder url(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> url)
The redirect URL of the course.
-
active
public Course.Builder active(CourseActive active)
Whether the course is active and available for users.
-
active
public Course.Builder active(org.openapitools.jackson.nullable.JsonNullable<? extends CourseActive> active)
Whether the course is active and available for users.
-
duration
public Course.Builder duration(java.lang.String duration)
The duration of the course following the ISO8601 standard. If duration_unit is applicable we will derive this from the smallest unit given in the duration string
-
duration
public Course.Builder duration(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> duration)
The duration of the course following the ISO8601 standard. If duration_unit is applicable we will derive this from the smallest unit given in the duration string
-
categories
public Course.Builder categories(java.util.List<Category> categories)
The categories associated with this course
-
categories
public Course.Builder categories(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<Category>> categories)
The categories associated with this course
-
skills
public Course.Builder skills(java.util.List<Skills> skills)
The skills associated with this course
-
skills
public Course.Builder skills(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<Skills>> skills)
The skills associated with this course
-
provider
public Course.Builder provider(java.lang.String provider)
The name of the course provider
-
provider
public Course.Builder provider(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> provider)
The name of the course provider
-
authors
public Course.Builder authors(java.util.List<AuthorModel> authors)
The authors of the course
-
authors
public Course.Builder authors(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<AuthorModel>> authors)
The authors of the course
-
updatedAt
public Course.Builder updatedAt(java.lang.String updatedAt)
The date on which the course was last updated.
-
updatedAt
public Course.Builder updatedAt(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> updatedAt)
The date on which the course was last updated.
-
createdAt
public Course.Builder createdAt(java.lang.String createdAt)
The date on which the course was created.
-
createdAt
public Course.Builder createdAt(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> createdAt)
The date on which the course was created.
-
build
public Course build()
-
-