View Source GoogleApi.Docs.V1.Model.TextRun (google_api_docs v0.17.1)

A ParagraphElement that represents a run of text that all has the same styling.

Attributes

  • content (type: String.t, default: nil) - The text of this run. Any non-text elements in the run are replaced with the Unicode character U+E907.
  • suggestedDeletionIds (type: list(String.t), default: nil) - The suggested deletion IDs. If empty, then there are no suggested deletions of this content.
  • suggestedInsertionIds (type: list(String.t), default: nil) - The suggested insertion IDs. A TextRun may have multiple insertion IDs if it's a nested suggested change. If empty, then this is not a suggested insertion.
  • suggestedTextStyleChanges (type: %{optional(String.t) => GoogleApi.Docs.V1.Model.SuggestedTextStyle.t}, default: nil) - The suggested text style changes to this run, keyed by suggestion ID.
  • textStyle (type: GoogleApi.Docs.V1.Model.TextStyle.t, default: nil) - The text style of this run.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Docs.V1.Model.TextRun{
  content: String.t() | nil,
  suggestedDeletionIds: [String.t()] | nil,
  suggestedInsertionIds: [String.t()] | nil,
  suggestedTextStyleChanges:
    %{optional(String.t()) => GoogleApi.Docs.V1.Model.SuggestedTextStyle.t()}
    | nil,
  textStyle: GoogleApi.Docs.V1.Model.TextStyle.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.