GoogleApi.Admin.Directory_v1.Model.UserEmail (google_api_admin v0.35.0) View Source

JSON template for an email.


  • address (type: String.t, default: nil) - Email id of the user.
  • customType (type: String.t, default: nil) - Custom Type.
  • primary (type: boolean(), default: nil) - If this is user's primary email. Only one entry could be marked as primary.
  • type (type: String.t, default: nil) - Each entry can have a type which indicates standard types of that entry. For example email could be of home, work etc. In addition to the standard type, an entry can have a custom type and can take any value Such types should have the CUSTOM value as type and also have a customType value.

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.Admin.Directory_v1.Model.UserEmail{
  address: String.t() | nil,
  customType: String.t() | nil,
  primary: boolean() | nil,
  type: String.t() | nil

Link to this section Functions


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

Unwrap a decoded JSON object into its complex fields.