public class DeviceManagementUserRightsLocalUserOrGroup extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceManagementUserRightsLocalUserOrGroup.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
description |
protected String |
name |
protected String |
odataType |
protected String |
securityIdentifier |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
DeviceManagementUserRightsLocalUserOrGroup() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceManagementUserRightsLocalUserOrGroup.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getDescription()
“Admin’s description of this local user or group.”
|
Optional<String> |
getName()
“The name of this local user or group.”
|
Optional<String> |
getSecurityIdentifier()
“The security identifier of this local user or group (e.g.
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
DeviceManagementUserRightsLocalUserOrGroup |
withDescription(String description)
Returns an immutable copy of
this with just the description
field changed. |
DeviceManagementUserRightsLocalUserOrGroup |
withName(String name)
Returns an immutable copy of
this with just the name field
changed. |
DeviceManagementUserRightsLocalUserOrGroup |
withSecurityIdentifier(String securityIdentifier)
Returns an immutable copy of
this with just the securityIdentifier field changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected String name
protected String description
protected String securityIdentifier
protected DeviceManagementUserRightsLocalUserOrGroup()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<String> getName()
public DeviceManagementUserRightsLocalUserOrGroup withName(String name)
this with just the name 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.
“The name of this local user or group.”
name - new value of name field (as defined in service metadata)this with just the name field changedpublic Optional<String> getDescription()
public DeviceManagementUserRightsLocalUserOrGroup withDescription(String description)
this with just the description
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.
“Admin’s description of this local user or group.”
description - new value of description field (as defined in service metadata)this with just the description field changedpublic Optional<String> getSecurityIdentifier()
public DeviceManagementUserRightsLocalUserOrGroup withSecurityIdentifier(String securityIdentifier)
this with just the securityIdentifier 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.
“The security identifier of this local user or group (e.g. *S-1-5-32-544).”
securityIdentifier - new value of securityIdentifier field (as defined in service metadata)this with just the securityIdentifier field changedpublic 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 DeviceManagementUserRightsLocalUserOrGroup.Builder builder()
Copyright © 2018–2020. All rights reserved.