GenericFeaturedEntity.Builder

class GenericFeaturedEntity.Builder


Builder class for GenericFeaturedEntity.

Summary

Public constructors

Public functions

GenericFeaturedEntity.Builder!

Add a badge (image/text) for the generic entity.

GenericFeaturedEntity.Builder!

Add badges of the generic entity.

GenericFeaturedEntity.Builder!

Add eligible content categories for the generic featured entity.

GenericFeaturedEntity.Builder!

Add eligible content category for the generic featured entity.

GenericFeaturedEntity.Builder!

Add a poster image of the generic featured entity.

GenericFeaturedEntity.Builder!

Add poster images of the entity.

GenericFeaturedEntity.Builder!

Add a subtitle of the generic entity.

GenericFeaturedEntity.Builder!

Add subtitles of the generic entity.

GenericFeaturedEntity!
GenericFeaturedEntity.Builder!

Sets the action uri of the generic featured entity.

GenericFeaturedEntity.Builder!

Sets the description (typically a single paragraph of text) of the generic featured entity.

GenericFeaturedEntity.Builder!

Sets content id of the generic featured entity.

GenericFeaturedEntity.Builder!

Sets the name/title of the generic entity.

Public constructors

Builder

Builder()

Public functions

addBadge

@CanIgnoreReturnValue
fun addBadge(badge: Badge!): GenericFeaturedEntity.Builder!

Add a badge (image/text) for the generic entity.

Optional.

addBadges

@CanIgnoreReturnValue
fun addBadges(badges: (Mutable)List<Badge!>!): GenericFeaturedEntity.Builder!

Add badges of the generic entity.

Optional.

addContentCategories

@CanIgnoreReturnValue
fun addContentCategories(contentCategories: (Mutable)List<Int!>!): GenericFeaturedEntity.Builder!

Add eligible content categories for the generic featured entity.

Optional.

addContentCategory

@CanIgnoreReturnValue
fun addContentCategory(
    @GenericFeaturedEntity.EligibleContentCategory contentCategory: Int
): GenericFeaturedEntity.Builder!

Add eligible content category for the generic featured entity.

Optional.

addPosterImage

@CanIgnoreReturnValue
fun addPosterImage(image: Image!): GenericFeaturedEntity.Builder!

Add a poster image of the generic featured entity.

Required.

addPosterImages

@CanIgnoreReturnValue
fun addPosterImages(images: (Mutable)List<Image!>!): GenericFeaturedEntity.Builder!

Add poster images of the entity.

Required.

addSubtitle

@CanIgnoreReturnValue
fun addSubtitle(subtitle: String!): GenericFeaturedEntity.Builder!

Add a subtitle of the generic entity.

Optional.

addSubtitles

@CanIgnoreReturnValue
fun addSubtitles(subtitles: (Mutable)List<String!>!): GenericFeaturedEntity.Builder!

Add subtitles of the generic entity.

Optional.

build

fun build(): GenericFeaturedEntity!

setActionUri

@CanIgnoreReturnValue
fun setActionUri(actionUri: Uri!): GenericFeaturedEntity.Builder!

Sets the action uri of the generic featured entity.

Required.

setDescription

@CanIgnoreReturnValue
fun setDescription(description: String!): GenericFeaturedEntity.Builder!

Sets the description (typically a single paragraph of text) of the generic featured entity.

Optional.

setEntityId

@CanIgnoreReturnValue
fun setEntityId(entityId: String!): GenericFeaturedEntity.Builder!

Sets content id of the generic featured entity.

Optional.

setTitle

@CanIgnoreReturnValue
fun setTitle(title: String!): GenericFeaturedEntity.Builder!

Sets the name/title of the generic entity.

Optional.