
# Address 1

Address

## Structure

`Address1`

## Fields

| Name | Type | Tags | Description | Getter | Setter |
|  --- | --- | --- | --- | --- | --- |
| `city` | `?string` | Optional | City name<br>**Constraints**: *Maximum Length*: `36`, *Pattern*: `^[\w\#\,\.\-\'\&\s\/]+$` | getCity(): ?string | setCity(?string city): void |
| `state` | `?string` | Optional | State name<br>**Constraints**: *Minimum Length*: `2`, *Maximum Length*: `2` | getState(): ?string | setState(?string state): void |
| `postalCode` | `?string` | Optional | Postal code<br>**Constraints**: *Minimum Length*: `3`, *Maximum Length*: `10`, *Pattern*: `^[a-zA-Z0-9\-\s]+$` | getPostalCode(): ?string | setPostalCode(?string postalCode): void |
| `country` | [`?string(CountryEnum)`](../../doc/models/country-enum.md) | Optional | An alpha 2 format country code of US or CA. | getCountry(): ?string | setCountry(?string country): void |
| `street` | `?string` | Optional | Street<br>**Constraints**: *Maximum Length*: `32`, *Pattern*: `^[\w\#\,\.\-\'\&\s\/]+$` | getStreet(): ?string | setStreet(?string street): void |
| `street2` | `?string` | Optional | Street 2<br>**Constraints**: *Maximum Length*: `32`, *Pattern*: `^[\w\#\,\.\-\'\&\s\/]+$` | getStreet2(): ?string | setStreet2(?string street2): void |

## Example (as JSON)

```json
{
  "city": "Novi",
  "state": "MI",
  "postal_code": "48375",
  "country": "US",
  "street": "street2"
}
```

