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

View Source

Creates a line.

Attributes

  • category (type: String.t, default: nil) - The category of the line to be created. The exact line type created is determined based on the category and how it's routed to connect to other page elements. If you specify both a category and a line_category, the category takes precedence. If you do not specify a value for category, but specify a value for line_category, then the specified line_category value is used. If you do not specify either, then STRAIGHT is used.
  • elementProperties (type: GoogleApi.Slides.V1.Model.PageElementProperties.t, default: nil) - The element properties for the line.
  • lineCategory (type: String.t, default: nil) - The category of the line to be created. Deprecated: use category instead. The exact line type created is determined based on the category and how it's routed to connect to other page elements. If you specify both a category and a line_category, the category takes precedence.
  • objectId (type: String.t, default: nil) - A user-supplied object ID. 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.CreateLineRequest{
  category: String.t() | nil,
  elementProperties: GoogleApi.Slides.V1.Model.PageElementProperties.t() | nil,
  lineCategory: 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.