public class ConstraintRelation extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
ConstraintRelation.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
constraints |
protected String |
constraintType |
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
objectId |
protected String |
odataType |
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
ConstraintRelation() |
| Modifier and Type | Method and Description |
|---|---|
static ConstraintRelation.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getConstraints() |
Optional<String> |
getConstraintType() |
Optional<String> |
getObjectId() |
com.github.davidmoten.odata.client.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
ConstraintRelation |
withConstraints(String constraints) |
ConstraintRelation |
withConstraintType(String constraintType) |
ConstraintRelation |
withObjectId(String objectId) |
ConstraintRelation |
withUnmappedField(String name,
String value) |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
protected String odataType
protected String objectId
protected String constraintType
protected String constraints
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic ConstraintRelation withObjectId(String objectId)
public ConstraintRelation withConstraintType(String constraintType)
public ConstraintRelation withConstraints(String constraints)
public ConstraintRelation withUnmappedField(String name, String value)
public com.github.davidmoten.odata.client.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 ConstraintRelation.Builder builder()
Copyright © 2018–2020. All rights reserved.