Class Content.Builder

  • Enclosing class:
    Content

    public static final class Content.Builder
    extends java.lang.Object
    • 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​(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​(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​(org.openapitools.jackson.nullable.JsonNullable<? extends ContentActive> 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​(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
      • authors

        public Content.Builder authors​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<AuthorModel>> authors)
        The authors of 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.