View Source GoogleApi.Docs.V1.Model.Person (google_api_docs v0.15.0)

A person or email address mentioned in a document. These mentions behave as a single, immutable element containing the person's name or email address.

Attributes

  • personId (type: String.t, default: nil) - Output only. The unique ID of this link.
  • personProperties (type: GoogleApi.Docs.V1.Model.PersonProperties.t, default: nil) - Output only. The properties of this Person. This field is always present.
  • suggestedDeletionIds (type: list(String.t), default: nil) - IDs for suggestions that remove this person link from the document. A Person might have multiple deletion IDs if, for example, multiple users suggest deleting it. If empty, then this person link isn't suggested for deletion.
  • suggestedInsertionIds (type: list(String.t), default: nil) - IDs for suggestions that insert this person link into the document. A Person might have multiple insertion IDs if it's a nested suggested change (a suggestion within a suggestion made by a different user, for example). If empty, then this person link isn't a suggested insertion.
  • suggestedTextStyleChanges (type: %{optional(String.t) => GoogleApi.Docs.V1.Model.SuggestedTextStyle.t}, default: nil) - The suggested text style changes to this Person, keyed by suggestion ID.
  • textStyle (type: GoogleApi.Docs.V1.Model.TextStyle.t, default: nil) - The text style of this Person.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Docs.V1.Model.Person{
  personId: String.t() | nil,
  personProperties: GoogleApi.Docs.V1.Model.PersonProperties.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.