View Source GoogleApi.Docs.V1.Model.StructuralElement (google_api_docs v0.17.0)

A StructuralElement describes content that provides structure to the document.

Attributes

  • endIndex (type: integer(), default: nil) - The zero-based end index of this structural element, exclusive, in UTF-16 code units.
  • paragraph (type: GoogleApi.Docs.V1.Model.Paragraph.t, default: nil) - A paragraph type of structural element.
  • sectionBreak (type: GoogleApi.Docs.V1.Model.SectionBreak.t, default: nil) - A section break type of structural element.
  • startIndex (type: integer(), default: nil) - The zero-based start index of this structural element, in UTF-16 code units.
  • table (type: GoogleApi.Docs.V1.Model.Table.t, default: nil) - A table type of structural element.
  • tableOfContents (type: GoogleApi.Docs.V1.Model.TableOfContents.t, default: nil) - A table of contents type of structural element.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Docs.V1.Model.StructuralElement{
  endIndex: integer() | nil,
  paragraph: GoogleApi.Docs.V1.Model.Paragraph.t() | nil,
  sectionBreak: GoogleApi.Docs.V1.Model.SectionBreak.t() | nil,
  startIndex: integer() | nil,
  table: GoogleApi.Docs.V1.Model.Table.t() | nil,
  tableOfContents: GoogleApi.Docs.V1.Model.TableOfContents.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.