SocialCommonAttachmentAttachment

GoogleApi.ContentWarehouse.V1.Model.SocialCommonAttachmentAttachment


Table of Contents ▼

Jump to a specific part of the page:

Description

An Attachment represents a linked entity associated with a piece of social content. This may be a 1st-party or 3rd-party entity. In the Papyrus context, an Attachment is part of a Cent, and sits alongside the main content of the cent, which is represented as a sequence of Segments. Right now an Attachment is just a wrapper around an Embed, but we provide the extra layer of abstraction since, as Embeds move to separate storage in Briefcase, we may want to add additional fields that are not part of the Embed proper, but that (for example) relate to the usage of the linked content within the particular post/cent.

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. embedItem (type: GoogleApi.ContentWarehouse.V1.Model.EmbedsEmbedClientItem, default: nil)
    - An embed represents an external entity. See go/es-embeds.
  2. id (type: String.t, default: nil)
    - An id to uniquely identify an attachment when several attachments are in a collection.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.SocialCommonAttachmentAttachment{
embedItem: GoogleApi.ContentWarehouse.V1.Model.EmbedsEmbedClientItem.t() | nil,
id: String.t() | nil
}

Function

@spec decode(struct(), keyword()) :: struct()

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.SocialCommonAttachmentAttachment