public class AttributePrivilege extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
AttributePrivilege.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
attributeId |
protected Integer |
canCreate |
protected Integer |
canRead |
protected Integer |
canUpdate |
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
odataType |
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
AttributePrivilege() |
| Modifier and Type | Method and Description |
|---|---|
static AttributePrivilege.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getAttributeId() |
Optional<Integer> |
getCanCreate() |
Optional<Integer> |
getCanRead() |
Optional<Integer> |
getCanUpdate() |
com.github.davidmoten.odata.client.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
AttributePrivilege |
withAttributeId(String attributeId) |
AttributePrivilege |
withCanCreate(Integer canCreate) |
AttributePrivilege |
withCanRead(Integer canRead) |
AttributePrivilege |
withCanUpdate(Integer canUpdate) |
AttributePrivilege |
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 attributeId
protected Integer canCreate
protected Integer canRead
protected Integer canUpdate
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic AttributePrivilege withAttributeId(String attributeId)
public AttributePrivilege withCanCreate(Integer canCreate)
public AttributePrivilege withCanRead(Integer canRead)
public AttributePrivilege withCanUpdate(Integer canUpdate)
public AttributePrivilege 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 AttributePrivilege.Builder builder()
Copyright © 2018–2020. All rights reserved.