public class PostalAddressType extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
PostalAddressType.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
city |
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
countryLetterCode |
protected String |
odataType |
protected String |
postalCode |
protected String |
state |
protected String |
street |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
PostalAddressType() |
| Modifier and Type | Method and Description |
|---|---|
static PostalAddressType.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getCity() |
Optional<String> |
getCountryLetterCode() |
Optional<String> |
getPostalCode() |
Optional<String> |
getState() |
Optional<String> |
getStreet() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
PostalAddressType |
withCity(String city) |
PostalAddressType |
withCountryLetterCode(String countryLetterCode) |
PostalAddressType |
withPostalCode(String postalCode) |
PostalAddressType |
withState(String state) |
PostalAddressType |
withStreet(String street) |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected String street
protected String city
protected String state
protected String countryLetterCode
protected String postalCode
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic PostalAddressType withStreet(String street)
public PostalAddressType withCity(String city)
public PostalAddressType withState(String state)
public PostalAddressType withCountryLetterCode(String countryLetterCode)
public PostalAddressType withPostalCode(String postalCode)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic static PostalAddressType.Builder builder()
Copyright © 2018–2020. All rights reserved.