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):
Attributes
-
embedItem
(type:GoogleApi.ContentWarehouse.V1.Model.EmbedsEmbedClientItem
, default:nil
)
- An embed represents an external entity. See go/es-embeds. -
id
(type:String.t
, default:nil
)
- An id to uniquely identify an attachment when several attachments are in a collection.
Type
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