Class 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.Builder active​(CourseActive active)
      Whether the course is active and available for users.
      Course.Builder active​(org.openapitools.jackson.nullable.JsonNullable<? extends CourseActive> active)
      Whether the course is active and available for users.
      Course build()  
      Course.Builder categories​(java.util.List<Category> categories)
      The categories associated with this course
      Course.Builder categories​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<Category>> categories)
      The categories associated with this course
      Course.Builder contentIds​(java.util.List<java.lang.String> contentIds)
      The child ID/IDs associated with this course
      Course.Builder contentIds​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> contentIds)
      The child ID/IDs associated with this course
      Course.Builder coverUrl​(java.lang.String coverUrl)
      The URL of the thumbnail image associated with the course.
      Course.Builder coverUrl​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> coverUrl)
      The URL of the thumbnail image associated with the course.
      Course.Builder createdAt​(java.lang.String createdAt)
      The date on which the course was created.
      Course.Builder createdAt​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> createdAt)
      The date on which the course was created.
      Course.Builder description​(java.lang.String description)
      The description of the course
      Course.Builder description​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> description)
      The description of the course
      Course.Builder duration​(java.lang.String duration)
      The duration of the course following the ISO8601 standard.
      Course.Builder duration​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> duration)
      The duration of the course following the ISO8601 standard.
      Course.Builder externalReference​(java.lang.String externalReference)
      The external ID associated with this course
      Course.Builder externalReference​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> externalReference)
      The external ID associated with this course
      Course.Builder id​(java.lang.String id)
      Unique identifier
      Course.Builder id​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
      Unique identifier
      Course.Builder languages​(java.util.List<LanguageEnum> languages)
      The languages associated with this course
      Course.Builder languages​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<LanguageEnum>> languages)
      The languages associated with this course
      Course.Builder provider​(java.lang.String provider)
      The name of the course provider
      Course.Builder provider​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> provider)
      The name of the course provider
      Course.Builder remoteContentIds​(java.util.List<java.lang.String> remoteContentIds)
      Provider's unique identifier of the child content IDs associated with this course
      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
      Course.Builder remoteId​(java.lang.String remoteId)
      Provider's unique identifier
      Course.Builder remoteId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
      Provider's unique identifier
      Course.Builder skills​(java.util.List<Skills> skills)
      The skills associated with this course
      Course.Builder skills​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<Skills>> skills)
      The skills associated with this course
      Course.Builder title​(java.lang.String title)
      The title of the course
      Course.Builder title​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> title)
      The title of the course
      Course.Builder unifiedCustomFields​(java.util.Map<java.lang.String,​java.lang.Object> unifiedCustomFields)
      Custom Unified Fields configured in your StackOne project
      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
      Course.Builder updatedAt​(java.lang.String updatedAt)
      The date on which the course was last updated.
      Course.Builder updatedAt​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> updatedAt)
      The date on which the course was last updated.
      Course.Builder url​(java.lang.String url)
      The redirect URL of the course.
      Course.Builder url​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> url)
      The redirect URL of the course.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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​(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
      • 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()