google_api_docs v0.8.0 GoogleApi.Docs.V1.Model.TextRun View Source

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 is 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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

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

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.