Class PhysicalAddress
- java.lang.Object
-
- odata.msgraph.client.beta.complex.PhysicalAddress
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class PhysicalAddress extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPhysicalAddress.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Stringcityprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringcountryOrRegionprotected StringodataTypeprotected StringpostalCodeprotected StringpostOfficeBoxprotected Stringstateprotected Stringstreetprotected PhysicalAddressTypetypeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedPhysicalAddress()
-
Method Summary
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
city
protected String city
-
countryOrRegion
protected String countryOrRegion
-
postalCode
protected String postalCode
-
postOfficeBox
protected String postOfficeBox
-
state
protected String state
-
street
protected String street
-
type
protected PhysicalAddressType type
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
withCity
public PhysicalAddress withCity(String city)
-
withCountryOrRegion
public PhysicalAddress withCountryOrRegion(String countryOrRegion)
-
withPostalCode
public PhysicalAddress withPostalCode(String postalCode)
-
withPostOfficeBox
public PhysicalAddress withPostOfficeBox(String postOfficeBox)
-
withState
public PhysicalAddress withState(String state)
-
withStreet
public PhysicalAddress withStreet(String street)
-
getType
public Optional<PhysicalAddressType> getType()
-
withType
public PhysicalAddress withType(PhysicalAddressType type)
-
withUnmappedField
public PhysicalAddress withUnmappedField(String name, String value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static PhysicalAddress.Builder builder()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
-