Class DeviceManagementUserRightsLocalUserOrGroup

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataType

    public class DeviceManagementUserRightsLocalUserOrGroup
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “Represents information for a local user or group used for user rights setting.”
    • Field Detail

      • contextPath

        protected com.github.davidmoten.odata.client.ContextPath contextPath
      • unmappedFields

        protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
      • odataType

        protected String odataType
      • description

        protected String description
      • securityIdentifier

        protected String securityIdentifier
    • Constructor Detail

      • DeviceManagementUserRightsLocalUserOrGroup

        protected DeviceManagementUserRightsLocalUserOrGroup()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
      • getDescription

        public Optional<String> getDescription()
        “Admin’s description of this local user or group.”
        Returns:
        property description
      • withDescription

        public DeviceManagementUserRightsLocalUserOrGroup withDescription​(String description)
        Returns an immutable copy of 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.”

        Parameters:
        description - new value of description field (as defined in service metadata)
        Returns:
        immutable copy of this with just the description field changed
      • getName

        public Optional<String> getName()
        “The name of this local user or group.”
        Returns:
        property name
      • withName

        public DeviceManagementUserRightsLocalUserOrGroup withName​(String name)
        Returns an immutable copy of 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.”

        Parameters:
        name - new value of name field (as defined in service metadata)
        Returns:
        immutable copy of this with just the name field changed
      • getSecurityIdentifier

        public Optional<String> getSecurityIdentifier()
        “The security identifier of this local user or group (e.g. *S-1-5-32-544).”
        Returns:
        property securityIdentifier
      • withSecurityIdentifier

        public DeviceManagementUserRightsLocalUserOrGroup withSecurityIdentifier​(String securityIdentifier)
        Returns an immutable copy of 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).”

        Parameters:
        securityIdentifier - new value of securityIdentifier field (as defined in service metadata)
        Returns:
        immutable copy of this with just the securityIdentifier field changed
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType