View Source GoogleApi.Admin.Directory_v1.Model.UserPhone (google_api_admin v0.40.0)

JSON template for a phone entry.

Attributes

  • customType (type: String.t, default: nil) - Custom Type.
  • primary (type: boolean(), default: nil) - If this is user's primary phone or not.
  • type (type: String.t, default: nil) - Each entry can have a type which indicates standard types of that entry. For example phone could be of home_fax work mobile etc. In addition to the standard type an entry can have a custom type and can give it any name. Such types should have the CUSTOM value as type and also have a customType value.
  • value (type: String.t, default: nil) - Phone number.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Admin.Directory_v1.Model.UserPhone{
  customType: String.t() | nil,
  primary: boolean() | nil,
  type: String.t() | nil,
  value: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.