View Source GoogleApi.AddressValidation.V1.Model.GoogleMapsAddressvalidationV1ComponentName (google_api_address_validation v0.3.2)

A wrapper for the name of the component.

Attributes

  • languageCode (type: String.t, default: nil) - The BCP-47 language code. This will not be present if the component name is not associated with a language, such as a street number.
  • text (type: String.t, default: nil) - The name text. For example, "5th Avenue" for a street name or "1253" for a street number.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.AddressValidation.V1.Model.GoogleMapsAddressvalidationV1ComponentName{
    languageCode: String.t() | nil,
    text: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.