View Source GoogleApi.Content.V21.Model.RegionPostalCodeAreaPostalCodeRange (google_api_content v0.65.0)

A range of postal codes that defines the region area.

Attributes

  • begin (type: String.t, default: nil) - Required. A postal code or a pattern of the form prefix denoting the inclusive lower bound of the range defining the area. Examples values: "94108", "9410", "9*".
  • end (type: String.t, default: nil) - Optional. A postal code or a pattern of the form prefix* denoting the inclusive upper bound of the range defining the area. It must have the same length as postalCodeRangeBegin: if postalCodeRangeBegin is a postal code then postalCodeRangeEnd must be a postal code too; if postalCodeRangeBegin is a pattern then postalCodeRangeEnd must be a pattern with the same prefix length. Optional: if not set, then the area is defined as being all the postal codes matching postalCodeRangeBegin.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Content.V21.Model.RegionPostalCodeAreaPostalCodeRange{
  begin: String.t() | nil,
  end: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.