Class OpenSocialMediaPublicMetadata

java.lang.Object
com.mypurecloud.sdk.v2.model.OpenSocialMediaPublicMetadata
All Implemented Interfaces:
Serializable

public class OpenSocialMediaPublicMetadata extends Object implements Serializable
Information about a public message.
See Also:
  • Constructor Details

    • OpenSocialMediaPublicMetadata

      public OpenSocialMediaPublicMetadata()
    • OpenSocialMediaPublicMetadata

      public OpenSocialMediaPublicMetadata(Boolean initWithEmptyList)
  • Method Details

    • rootId

      public OpenSocialMediaPublicMetadata rootId(String rootId)
      The id of the root public message.
    • getRootId

      public String getRootId()
    • setRootId

      public void setRootId(String rootId)
    • replyToId

      public OpenSocialMediaPublicMetadata replyToId(String replyToId)
      The id of the message this public message is replying to.
    • getReplyToId

      public String getReplyToId()
    • setReplyToId

      public void setReplyToId(String replyToId)
    • source

      public OpenSocialMediaPublicMetadata source(String source)
      The source of the public message. Useful when there could be more than location. Channel specific, e.g., for Facebook it's a source page.
    • getSource

      public String getSource()
    • setSource

      public void setSource(String source)
    • url

      The URL of the social post on the native platform.
    • getUrl

      public String getUrl()
    • setUrl

      public void setUrl(String url)
    • mentionIds

      public OpenSocialMediaPublicMetadata mentionIds(List<String> mentionIds)
      IDs of accounts referenced by name within the message text or caption (for example '@brandpage' in a post body or comment). A 'mention' here uses the same convention as Meta (Facebook, Instagram) and LinkedIn, where it denotes a textual reference to an account. Distinct from tagIds, which represent explicit associations with the message. Null or absent when no accounts are referenced in the text.
    • getMentionIds

      public List<String> getMentionIds()
    • setMentionIds

      public void setMentionIds(List<String> mentionIds)
    • tagIds

      public OpenSocialMediaPublicMetadata tagIds(List<String> tagIds)
      IDs of accounts attached to the message itself, independent of the text (for example a person tagged in an Instagram photo so their profile is linked from the image). A 'tag' here uses the same convention as Meta (Facebook, Instagram) and LinkedIn, where it denotes an explicit association with content rather than a textual reference. Distinct from mentionIds, which represent in-text/caption references. Null or absent when no accounts are tagged on the message.
    • getTagIds

      public List<String> getTagIds()
    • setTagIds

      public void setTagIds(List<String> tagIds)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object