Class GeoLocation
- java.lang.Object
-
- odata.msgraph.client.security.complex.GeoLocation
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class GeoLocation extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGeoLocation.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Stringcityprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringcountryNameprotected Doublelatitudeprotected Doublelongitudeprotected StringodataTypeprotected Stringstateprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedGeoLocation()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GeoLocation.Builderbuilder()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>getCountryName()Optional<Double>getLatitude()Optional<Double>getLongitude()Optional<String>getState()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()GeoLocationwithCity(String city)GeoLocationwithCountryName(String countryName)GeoLocationwithLatitude(Double latitude)GeoLocationwithLongitude(Double longitude)GeoLocationwithState(String state)GeoLocationwithUnmappedField(String name, Object value)
-
-
-
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
-
countryName
protected String countryName
-
latitude
protected Double latitude
-
longitude
protected Double longitude
-
state
protected String state
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
withCity
public GeoLocation withCity(String city)
-
withCountryName
public GeoLocation withCountryName(String countryName)
-
withLatitude
public GeoLocation withLatitude(Double latitude)
-
withLongitude
public GeoLocation withLongitude(Double longitude)
-
withState
public GeoLocation withState(String state)
-
withUnmappedField
public GeoLocation withUnmappedField(String name, Object 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 GeoLocation.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
-
-