Class RemoteAssistanceSettings

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

    public class RemoteAssistanceSettings
    extends Entity
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Remote assistance settings for the account”
    • Field Detail

      • allowSessionsToUnenrolledDevices

        protected Boolean allowSessionsToUnenrolledDevices
    • Constructor Detail

      • RemoteAssistanceSettings

        protected RemoteAssistanceSettings()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class Entity
      • builderRemoteAssistanceSettings

        public static RemoteAssistanceSettings.Builder builderRemoteAssistanceSettings()
        Returns a builder which is used to create a new instance of this class (given that this class is immutable).
        Returns:
        a new Builder for this class
      • getChangedFields

        public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
        Specified by:
        getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityType
        Overrides:
        getChangedFields in class Entity
      • postInject

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

        public Optional<Boolean> getAllowSessionsToUnenrolledDevices()
        “Indicates if sessions to unenrolled devices are allowed for the account. This setting is configurable by the admin. Default value is false.”
        Returns:
        property allowSessionsToUnenrolledDevices
      • withAllowSessionsToUnenrolledDevices

        public RemoteAssistanceSettings withAllowSessionsToUnenrolledDevices​(Boolean allowSessionsToUnenrolledDevices)
        Returns an immutable copy of this with just the allowSessionsToUnenrolledDevices 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.

        “Indicates if sessions to unenrolled devices are allowed for the account. This setting is configurable by the admin. Default value is false.”

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

        public Optional<RemoteAssistanceState> getRemoteAssistanceState()
        “The current state of remote assistance for the account. Possible values are: notConfigured, disabled, enabled. This setting is configurable by the admin. Remote assistance settings that have not yet been configured by the admin have a notConfigured state. Returned by default.”
        Returns:
        property remoteAssistanceState
      • withRemoteAssistanceState

        public RemoteAssistanceSettings withRemoteAssistanceState​(RemoteAssistanceState remoteAssistanceState)
        Returns an immutable copy of this with just the remoteAssistanceState 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 current state of remote assistance for the account. Possible values are: notConfigured, disabled, enabled. This setting is configurable by the admin. Remote assistance settings that have not yet been configured by the admin have a notConfigured state. Returned by default.”

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

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        getUnmappedFields in class Entity
      • patch

        public RemoteAssistanceSettings patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class Entity
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected
      • put

        public RemoteAssistanceSettings put()
        Submits all fields for update and returns an immutable copy of this with changed fields reset (they were ignored anyway).
        Overrides:
        put in class Entity
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected