Package odata.msgraph.client.complex
Class Location
- java.lang.Object
-
- odata.msgraph.client.complex.Location
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
LocationConstraintItem
public class Location extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLocation.Builder
-
Field Summary
Fields Modifier and Type Field Description protected PhysicalAddressaddressprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected OutlookGeoCoordinatescoordinatesprotected StringdisplayNameprotected StringlocationEmailAddressprotected LocationTypelocationTypeprotected StringlocationUriprotected StringodataTypeprotected StringuniqueIdprotected LocationUniqueIdTypeuniqueIdTypeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedLocation()
-
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
-
address
protected PhysicalAddress address
-
coordinates
protected OutlookGeoCoordinates coordinates
-
displayName
protected String displayName
-
locationEmailAddress
protected String locationEmailAddress
-
locationType
protected LocationType locationType
-
locationUri
protected String locationUri
-
uniqueId
protected String uniqueId
-
uniqueIdType
protected LocationUniqueIdType uniqueIdType
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getAddress
public Optional<PhysicalAddress> getAddress()
-
withAddress
public Location withAddress(PhysicalAddress address)
-
getCoordinates
public Optional<OutlookGeoCoordinates> getCoordinates()
-
withCoordinates
public Location withCoordinates(OutlookGeoCoordinates coordinates)
-
getLocationType
public Optional<LocationType> getLocationType()
-
withLocationType
public Location withLocationType(LocationType locationType)
-
getUniqueIdType
public Optional<LocationUniqueIdType> getUniqueIdType()
-
withUniqueIdType
public Location withUniqueIdType(LocationUniqueIdType uniqueIdType)
-
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 Location.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
-
-