GoogleApi.Slides.V1.Model.LayoutPlaceholderIdMapping (google_api_slides v0.24.0)

View Source

The user-specified ID mapping for a placeholder that will be created on a slide from a specified layout.

Attributes

  • layoutPlaceholder (type: GoogleApi.Slides.V1.Model.Placeholder.t, default: nil) - The placeholder on a layout that will be applied to a slide. Only type and index are needed. For example, a predefined TITLE_AND_BODY layout may usually have a TITLE placeholder with index 0 and a BODY placeholder with index 0.
  • layoutPlaceholderObjectId (type: String.t, default: nil) - The object ID of the placeholder on a layout that will be applied to a slide.
  • objectId (type: String.t, default: nil) - A user-supplied object ID for the placeholder identified above that to be created onto a slide. If you specify an ID, it must be unique among all pages and page elements in the presentation. The ID must start with an alphanumeric character or an underscore (matches regex [a-zA-Z0-9_]); remaining characters may include those as well as a hyphen or colon (matches regex [a-zA-Z0-9_-:]). The length of the ID must not be less than 5 or greater than 50. If you don't specify an ID, a unique one is generated.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Slides.V1.Model.LayoutPlaceholderIdMapping{
  layoutPlaceholder: GoogleApi.Slides.V1.Model.Placeholder.t() | nil,
  layoutPlaceholderObjectId: String.t() | nil,
  objectId: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.