public class CircularGeofenceManagementCondition extends LocationManagementCondition implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
CircularGeofenceManagementCondition.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Double |
latitude |
protected Double |
longitude |
protected Float |
radiusInMeters |
applicablePlatforms, applicablePlatformsNextLink, createdDateTime, description, displayName, eTag, modifiedDateTime, uniqueNamechangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
CircularGeofenceManagementCondition() |
| Modifier and Type | Method and Description |
|---|---|
static CircularGeofenceManagementCondition.Builder |
builderCircularGeofenceManagementCondition()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<Double> |
getLatitude()
“Latitude in degrees, between -90 and +90 inclusive.”
|
Optional<Double> |
getLongitude()
“Longitude in degrees, between -180 and +180 inclusive.”
|
Optional<Float> |
getRadiusInMeters()
“Radius in meters.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
CircularGeofenceManagementCondition |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
CircularGeofenceManagementCondition |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
CircularGeofenceManagementCondition |
withLatitude(Double latitude)
Returns an immutable copy of
this with just the latitude field
changed. |
CircularGeofenceManagementCondition |
withLongitude(Double longitude)
Returns an immutable copy of
this with just the longitude field
changed. |
CircularGeofenceManagementCondition |
withRadiusInMeters(Float radiusInMeters)
Returns an immutable copy of
this with just the radiusInMeters
field changed. |
getApplicablePlatforms, getApplicablePlatforms, getCreatedDateTime, getDescription, getDisplayName, getETag, getManagementConditionStatements, getModifiedDateTime, getUniqueName, withCreatedDateTime, withDescription, withDisplayName, withETag, withModifiedDateTime, withUniqueNameprotected Double latitude
protected Double longitude
protected Float radiusInMeters
protected CircularGeofenceManagementCondition()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class LocationManagementConditionpublic static CircularGeofenceManagementCondition.Builder builderCircularGeofenceManagementCondition()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class LocationManagementConditionpublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class LocationManagementConditionpublic Optional<Double> getLatitude()
public CircularGeofenceManagementCondition withLatitude(Double latitude)
this with just the latitude field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“Latitude in degrees, between -90 and +90 inclusive.”
latitude - new value of latitude field (as defined in service metadata)this with just the latitude field changedpublic Optional<Double> getLongitude()
public CircularGeofenceManagementCondition withLongitude(Double longitude)
this with just the longitude field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“Longitude in degrees, between -180 and +180 inclusive.”
longitude - new value of longitude field (as defined in service metadata)this with just the longitude field changedpublic Optional<Float> getRadiusInMeters()
public CircularGeofenceManagementCondition withRadiusInMeters(Float radiusInMeters)
this with just the radiusInMeters
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Radius in meters.”
radiusInMeters - new value of radiusInMeters field (as defined in service metadata)this with just the radiusInMeters field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class LocationManagementConditionpublic CircularGeofenceManagementCondition patch()
this with changed fields reset.patch in class LocationManagementConditionthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic CircularGeofenceManagementCondition put()
this
with changed fields reset (they were ignored anyway).put in class LocationManagementConditionthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class LocationManagementConditionCopyright © 2018–2020. All rights reserved.