public class DeviceManagementUserRightsSetting extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceManagementUserRightsSetting.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected List<DeviceManagementUserRightsLocalUserOrGroup> |
localUsersOrGroups |
protected String |
localUsersOrGroupsNextLink |
protected String |
odataType |
protected StateManagementSetting |
state |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
DeviceManagementUserRightsSetting() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceManagementUserRightsSetting.Builder |
builder()
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.CollectionPage<DeviceManagementUserRightsLocalUserOrGroup> |
getLocalUsersOrGroups()
“Representing a collection of local users or groups which will be set on device
if the state of this setting is Allowed.
|
com.github.davidmoten.odata.client.CollectionPage<DeviceManagementUserRightsLocalUserOrGroup> |
getLocalUsersOrGroups(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Representing a collection of local users or groups which will be set on device
if the state of this setting is Allowed.
|
Optional<StateManagementSetting> |
getState()
“Representing the current state of this user rights setting”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
DeviceManagementUserRightsSetting |
withState(StateManagementSetting state)
Returns an immutable copy of
this with just the state field
changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected StateManagementSetting state
protected List<DeviceManagementUserRightsLocalUserOrGroup> localUsersOrGroups
protected String localUsersOrGroupsNextLink
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<StateManagementSetting> getState()
public DeviceManagementUserRightsSetting withState(StateManagementSetting state)
this with just the state 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.
“Representing the current state of this user rights setting”
state - new value of state field (as defined in service metadata)this with just the state field changedpublic com.github.davidmoten.odata.client.CollectionPage<DeviceManagementUserRightsLocalUserOrGroup> getLocalUsersOrGroups()
public com.github.davidmoten.odata.client.CollectionPage<DeviceManagementUserRightsLocalUserOrGroup> getLocalUsersOrGroups(com.github.davidmoten.odata.client.HttpRequestOptions options)
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 DeviceManagementUserRightsSetting.Builder builder()
Copyright © 2018–2020. All rights reserved.