Class DeviceComanagementAuthorityConfiguration

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

    public class DeviceComanagementAuthorityConfiguration
    extends DeviceEnrollmentConfiguration
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Windows 10 Co-Management Authority Page Configuration”
    • Field Detail

      • configurationManagerAgentCommandLineArgument

        protected String configurationManagerAgentCommandLineArgument
      • installConfigurationManagerAgent

        protected Boolean installConfigurationManagerAgent
      • managedDeviceAuthority

        protected Integer managedDeviceAuthority
    • Constructor Detail

      • DeviceComanagementAuthorityConfiguration

        protected DeviceComanagementAuthorityConfiguration()
    • Method Detail

      • builderDeviceComanagementAuthorityConfiguration

        public static DeviceComanagementAuthorityConfiguration.Builder builderDeviceComanagementAuthorityConfiguration()
        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 DeviceEnrollmentConfiguration
      • postInject

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

        public Optional<String> getConfigurationManagerAgentCommandLineArgument()
        “CoManagement Authority configuration ConfigurationManagerAgentCommandLineArgument”
        Returns:
        property configurationManagerAgentCommandLineArgument
      • withConfigurationManagerAgentCommandLineArgument

        public DeviceComanagementAuthorityConfiguration withConfigurationManagerAgentCommandLineArgument​(String configurationManagerAgentCommandLineArgument)
        Returns an immutable copy of this with just the configurationManagerAgentCommandLineArgument 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.

        “CoManagement Authority configuration ConfigurationManagerAgentCommandLineArgument”

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

        public Optional<Boolean> getInstallConfigurationManagerAgent()
        “CoManagement Authority configuration InstallConfigurationManagerAgent”
        Returns:
        property installConfigurationManagerAgent
      • withInstallConfigurationManagerAgent

        public DeviceComanagementAuthorityConfiguration withInstallConfigurationManagerAgent​(Boolean installConfigurationManagerAgent)
        Returns an immutable copy of this with just the installConfigurationManagerAgent 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.

        “CoManagement Authority configuration InstallConfigurationManagerAgent”

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

        public Optional<Integer> getManagedDeviceAuthority()
        “CoManagement Authority configuration ManagedDeviceAuthority”
        Returns:
        property managedDeviceAuthority
      • withManagedDeviceAuthority

        public DeviceComanagementAuthorityConfiguration withManagedDeviceAuthority​(Integer managedDeviceAuthority)
        Returns an immutable copy of this with just the managedDeviceAuthority 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.

        “CoManagement Authority configuration ManagedDeviceAuthority”

        Parameters:
        managedDeviceAuthority - new value of managedDeviceAuthority field (as defined in service metadata)
        Returns:
        immutable copy of this with just the managedDeviceAuthority 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 DeviceEnrollmentConfiguration
      • patch

        public DeviceComanagementAuthorityConfiguration patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class DeviceEnrollmentConfiguration
        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 DeviceComanagementAuthorityConfiguration 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 DeviceEnrollmentConfiguration
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected