public class LocationConstraint extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
LocationConstraint.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected Boolean |
isRequired |
protected List<LocationConstraintItem> |
locations |
protected String |
locationsNextLink |
protected String |
odataType |
protected Boolean |
suggestLocation |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
LocationConstraint() |
| Modifier and Type | Method and Description |
|---|---|
static LocationConstraint.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<Boolean> |
getIsRequired() |
com.github.davidmoten.odata.client.CollectionPage<LocationConstraintItem> |
getLocations() |
com.github.davidmoten.odata.client.CollectionPage<LocationConstraintItem> |
getLocations(com.github.davidmoten.odata.client.HttpRequestOptions options) |
Optional<Boolean> |
getSuggestLocation() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
LocationConstraint |
withIsRequired(Boolean isRequired) |
LocationConstraint |
withSuggestLocation(Boolean suggestLocation) |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected List<LocationConstraintItem> locations
protected String locationsNextLink
protected Boolean isRequired
protected Boolean suggestLocation
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic com.github.davidmoten.odata.client.CollectionPage<LocationConstraintItem> getLocations()
public com.github.davidmoten.odata.client.CollectionPage<LocationConstraintItem> getLocations(com.github.davidmoten.odata.client.HttpRequestOptions options)
public LocationConstraint withIsRequired(Boolean isRequired)
public LocationConstraint withSuggestLocation(Boolean suggestLocation)
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 LocationConstraint.Builder builder()
Copyright © 2018–2020. All rights reserved.