GoogleApi.Admin.Directory_v1.Model.UserAddress (google_api_admin v0.26.0) View Source

JSON template for address.

Attributes

  • country (type: String.t, default: nil) - Country.
  • countryCode (type: String.t, default: nil) - Country code.
  • customType (type: String.t, default: nil) - Custom type.
  • extendedAddress (type: String.t, default: nil) - Extended Address.
  • formatted (type: String.t, default: nil) - Formatted address.
  • locality (type: String.t, default: nil) - Locality.
  • poBox (type: String.t, default: nil) - Other parts of address.
  • postalCode (type: String.t, default: nil) - Postal code.
  • primary (type: boolean(), default: nil) - If this is user's primary address. Only one entry could be marked as primary.
  • region (type: String.t, default: nil) - Region.
  • sourceIsStructured (type: boolean(), default: nil) - User supplied address was structured. Structured addresses are NOT supported at this time. You might be able to write structured addresses but any values will eventually be clobbered.
  • streetAddress (type: String.t, default: nil) - Street.
  • type (type: String.t, default: nil) - Each entry can have a type which indicates standard values of that entry. For example address 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 type should have the CUSTOM value as type and also have a customType value.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Admin.Directory_v1.Model.UserAddress{
  country: String.t(),
  countryCode: String.t(),
  customType: String.t(),
  extendedAddress: String.t(),
  formatted: String.t(),
  locality: String.t(),
  poBox: String.t(),
  postalCode: String.t(),
  primary: boolean(),
  region: String.t(),
  sourceIsStructured: boolean(),
  streetAddress: String.t(),
  type: String.t()
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.