SocialPostEntity


class SocialPostEntity : Entity


An object representing a social media post.

Summary

Nested types

Builder class for SocialPostEntity.

Public functions

Uri!

Returns the action link uri of the social entity.

(Mutable)List<DisplayTimeWindow!>!

Returns the display time window associated with the social entity.

Optional<String!>!

Returns the id of the entity.

Optional<Profile!>!

Returns the profile metadata for the social post entity.

Public functions

getActionLinkUri

fun getActionLinkUri(): Uri!

Returns the action link uri of the social entity.

getDisplayTimeWindows

fun getDisplayTimeWindows(): (Mutable)List<DisplayTimeWindow!>!

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

fun getEntityId(): Optional<String!>!

Returns the id of the entity.

getProfile

fun getProfile(): Optional<Profile!>!

Returns the profile metadata for the social post entity.

Public properties

genericPost

val genericPostGenericPost!

interactions

val interactions: (Mutable)List<Interaction!>!