public class RolePrivilege extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
RolePrivilege.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
businessUnitId |
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected PrivilegeDepth |
depth |
protected String |
odataType |
protected String |
privilegeId |
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
RolePrivilege() |
| Modifier and Type | Method and Description |
|---|---|
static RolePrivilege.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getBusinessUnitId() |
Optional<PrivilegeDepth> |
getDepth() |
Optional<String> |
getPrivilegeId() |
com.github.davidmoten.odata.client.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
RolePrivilege |
withBusinessUnitId(String businessUnitId) |
RolePrivilege |
withDepth(PrivilegeDepth depth) |
RolePrivilege |
withPrivilegeId(String privilegeId) |
RolePrivilege |
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 PrivilegeDepth depth
protected String privilegeId
protected String businessUnitId
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<PrivilegeDepth> getDepth()
public RolePrivilege withDepth(PrivilegeDepth depth)
public RolePrivilege withPrivilegeId(String privilegeId)
public RolePrivilege withBusinessUnitId(String businessUnitId)
public RolePrivilege 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 RolePrivilege.Builder builder()
Copyright © 2018–2020. All rights reserved.