MediaActionFeedEntity.Builder


class MediaActionFeedEntity.Builder


Builder class for MediaActionFeedEntity.

Summary

Public constructors

Public functions

MediaActionFeedEntity.Builder!

Adds a poster image of the entity.

MediaActionFeedEntity.Builder!

Adds all poster images of the entity.

MediaActionFeedEntity!
MediaActionFeedEntity.Builder!

Sets the data feed element ID of the entity.

MediaActionFeedEntity.Builder!

Sets the description of the entity.

MediaActionFeedEntity.Builder!

Sets the name of the entity.

MediaActionFeedEntity.Builder!

Sets the recommendation reason of the entity.

Public constructors

Builder

Builder()

Public functions

addPosterImage

@CanIgnoreReturnValue
fun addPosterImage(posterImage: Image): MediaActionFeedEntity.Builder!

Adds a poster image of the entity.

Optional.

addPosterImages

@CanIgnoreReturnValue
fun addPosterImages(posterImages: (Mutable)List<Image!>): MediaActionFeedEntity.Builder!

Adds all poster images of the entity.

Optional.

build

fun build(): MediaActionFeedEntity!

setDataFeedElementId

@CanIgnoreReturnValue
fun setDataFeedElementId(dataFeedElementId: String): MediaActionFeedEntity.Builder!

Sets the data feed element ID of the entity.

Required.

setDescription

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

Sets the description of the entity.

Optional.

setName

@CanIgnoreReturnValue
fun setName(name: String): MediaActionFeedEntity.Builder!

Sets the name of the entity.

Optional.

setRecommendationReason

@CanIgnoreReturnValue
fun setRecommendationReason(recommendationReason: RecommendationReason): MediaActionFeedEntity.Builder!

Sets the recommendation reason of the entity.

Optional.