PortraitMediaEntity


public final class PortraitMediaEntity extends Entity


An object representing a PortraitMedia entity.

Summary

Nested types

public final class PortraitMediaEntity.Builder

Builder class for PortraitMediaEntity.

Public methods

Uri

Returns the action link uri of the social entity.

List<DisplayTimeWindow>

Returns the display time window associated with the social entity.

Optional<String>

Returns the id of the entity.

Optional<Interaction>

Returns the interaction metadata for the portrait media entity.

ImmutableList<Interaction>

Returns the list of interactions for the portrait media entity.

PortraitMediaPost

Returns the post related metadata for the portrait media entity.

Optional<Profile>

Returns the profile metadata for the portrait media entity.

Public fields

interactions

public final ImmutableList<Interactioninteractions

portraitMediaPost

public final PortraitMediaPost portraitMediaPost

Public methods

getActionLinkUri

public Uri getActionLinkUri()

Returns the action link uri of the social entity.

getDisplayTimeWindows

public List<DisplayTimeWindowgetDisplayTimeWindows()

Returns the display time window associated with the social entity.

This can be used for several use cases like offer expiry time window, preorder availability time window.

getEntityId

public Optional<StringgetEntityId()

Returns the id of the entity.

getInteraction

public Optional<InteractiongetInteraction()

Returns the interaction metadata for the portrait media entity.

getInteractions

public ImmutableList<InteractiongetInteractions()

Returns the list of interactions for the portrait media entity.

getPortraitMediaPost

public PortraitMediaPost getPortraitMediaPost()

Returns the post related metadata for the portrait media entity.

getProfile

public Optional<ProfilegetProfile()

Returns the profile metadata for the portrait media entity.