google_api_people v0.24.0 GoogleApi.People.V1.Model.Relation View Source

A person's relation to another person.

Attributes

  • formattedType (type: String.t, default: nil) - Output only. The type of the relation translated and formatted in the viewer's account locale or the locale specified in the Accept-Language HTTP header.

  • metadata (type: GoogleApi.People.V1.Model.FieldMetadata.t, default: nil) - Metadata about the relation.

  • person (type: String.t, default: nil) - The name of the other person this relation refers to.

  • type (type: String.t, default: nil) - The person's relation to the other person. The type can be custom or one of these predefined values:

    • spouse
    • child
    • mother
    • father
    • parent
    • brother
    • sister
    • friend
    • relative
    • domesticPartner
    • manager
    • assistant
    • referredBy
    • partner

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.People.V1.Model.Relation{
  formattedType: String.t(),
  metadata: GoogleApi.People.V1.Model.FieldMetadata.t(),
  person: String.t(),
  type: String.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.