SocialPostEntity.Builder

class SocialPostEntity.Builder


Builder class for SocialPostEntity.

Summary

Public constructors

Public functions

SocialPostEntity.Builder!

Adds the display time window for the social entity.

SocialPostEntity.Builder!

Adds a list interaction to the social post entity.

SocialPostEntity.Builder!

Adds the display time window for the social entity.

SocialPostEntity.Builder!

Add an interaction for the social post entity.

SocialPostEntity!
SocialPostEntity.Builder!

Sets the action link uri for the social entity.

SocialPostEntity.Builder!

Sets content id of the entity.

SocialPostEntity.Builder!

Sets the post content for the social post entity.

SocialPostEntity.Builder!

Sets the profile for the social media post.

Public constructors

Builder

Builder()

Public functions

addAllDisplayTimeWindow

@CanIgnoreReturnValue
fun addAllDisplayTimeWindow(
    displayTimeWindows: (Mutable)List<DisplayTimeWindow!>!
): SocialPostEntity.Builder!

Adds the display time window for the social entity.

Optional.

addAllInteraction

@CanIgnoreReturnValue
fun addAllInteraction(interactions: (Mutable)List<Interaction!>!): SocialPostEntity.Builder!

Adds a list interaction to the social post entity.

Optional.

addDisplayTimeWindow

@CanIgnoreReturnValue
fun addDisplayTimeWindow(displayTimeWindow: DisplayTimeWindow!): SocialPostEntity.Builder!

Adds the display time window for the social entity.

Optional.

addInteraction

@CanIgnoreReturnValue
fun addInteraction(interaction: Interaction!): SocialPostEntity.Builder!

Add an interaction for the social post entity.

Optional.

build

fun build(): SocialPostEntity!

setActionLinkUri

@CanIgnoreReturnValue
fun setActionLinkUri(actionLinkUri: Uri!): SocialPostEntity.Builder!

Sets the action link uri for the social entity.

Required.

setEntityId

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

Sets content id of the entity.

Optional.

setGenericPost

@CanIgnoreReturnValue
fun setGenericPost(genericPost: GenericPost!): SocialPostEntity.Builder!

Sets the post content for the social post entity.

Required.

setProfile

@CanIgnoreReturnValue
fun setProfile(profile: Profile!): SocialPostEntity.Builder!

Sets the profile for the social media post.

Optional.