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

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

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

Unwrap a decoded JSON object into its complex fields.