Class DeviceConfiguration

    • Constructor Detail

      • DeviceConfiguration

        protected DeviceConfiguration()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class Entity
      • 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
      • getCreatedDateTime

        public Optional<OffsetDateTime> getCreatedDateTime()
        “DateTime the object was created.”
        Returns:
        property createdDateTime
      • withCreatedDateTime

        public DeviceConfiguration withCreatedDateTime​(OffsetDateTime createdDateTime)
        Returns an immutable copy of this with just the createdDateTime 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.

        “DateTime the object was created.”

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

        public Optional<String> getDescription()
        “Admin provided description of the Device Configuration.”
        Returns:
        property description
      • withDescription

        public DeviceConfiguration 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 provided description of the Device Configuration.”

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

        public Optional<DeviceManagementApplicabilityRuleDeviceMode> getDeviceManagementApplicabilityRuleDeviceMode()
        “The device mode applicability rule for this Policy.”
        Returns:
        property deviceManagementApplicabilityRuleDeviceMode
      • withDeviceManagementApplicabilityRuleDeviceMode

        public DeviceConfiguration withDeviceManagementApplicabilityRuleDeviceMode​(DeviceManagementApplicabilityRuleDeviceMode deviceManagementApplicabilityRuleDeviceMode)
        Returns an immutable copy of this with just the deviceManagementApplicabilityRuleDeviceMode 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 device mode applicability rule for this Policy.”

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

        public Optional<DeviceManagementApplicabilityRuleOsEdition> getDeviceManagementApplicabilityRuleOsEdition()
        “The OS edition applicability for this Policy.”
        Returns:
        property deviceManagementApplicabilityRuleOsEdition
      • withDeviceManagementApplicabilityRuleOsEdition

        public DeviceConfiguration withDeviceManagementApplicabilityRuleOsEdition​(DeviceManagementApplicabilityRuleOsEdition deviceManagementApplicabilityRuleOsEdition)
        Returns an immutable copy of this with just the deviceManagementApplicabilityRuleOsEdition 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 OS edition applicability for this Policy.”

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

        public Optional<DeviceManagementApplicabilityRuleOsVersion> getDeviceManagementApplicabilityRuleOsVersion()
        “The OS version applicability rule for this Policy.”
        Returns:
        property deviceManagementApplicabilityRuleOsVersion
      • withDeviceManagementApplicabilityRuleOsVersion

        public DeviceConfiguration withDeviceManagementApplicabilityRuleOsVersion​(DeviceManagementApplicabilityRuleOsVersion deviceManagementApplicabilityRuleOsVersion)
        Returns an immutable copy of this with just the deviceManagementApplicabilityRuleOsVersion 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 OS version applicability rule for this Policy.”

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

        public Optional<String> getDisplayName()
        “Admin provided name of the device configuration.”
        Returns:
        property displayName
      • withDisplayName

        public DeviceConfiguration withDisplayName​(String displayName)
        Returns an immutable copy of this with just the displayName 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 provided name of the device configuration.”

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

        public Optional<OffsetDateTime> getLastModifiedDateTime()
        “DateTime the object was last modified.”
        Returns:
        property lastModifiedDateTime
      • withLastModifiedDateTime

        public DeviceConfiguration withLastModifiedDateTime​(OffsetDateTime lastModifiedDateTime)
        Returns an immutable copy of this with just the lastModifiedDateTime 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.

        “DateTime the object was last modified.”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTagIds()
        “List of Scope Tags for this Entity instance.”
        Returns:
        property roleScopeTagIds
      • withRoleScopeTagIds

        public DeviceConfiguration withRoleScopeTagIds​(List<String> roleScopeTagIds)
        Returns an immutable copy of this with just the roleScopeTagIds 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.

        “List of Scope Tags for this Entity instance.”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTagIds​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “List of Scope Tags for this Entity instance.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property roleScopeTagIds
      • getSupportsScopeTags

        public Optional<Boolean> getSupportsScopeTags()
        “Indicates whether or not the underlying Device Configuration supports the assignment of scope tags. Assigning to the ScopeTags property is not allowed when this value is false and entities will not be visible to scoped users. This occurs for Legacy policies created in Silverlight and can be resolved by deleting and recreating the policy in the Azure Portal. This property is read- only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property supportsScopeTags
      • withSupportsScopeTags

        public DeviceConfiguration withSupportsScopeTags​(Boolean supportsScopeTags)
        Returns an immutable copy of this with just the supportsScopeTags 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 whether or not the underlying Device Configuration supports the assignment of scope tags. Assigning to the ScopeTags property is not allowed when this value is false and entities will not be visible to scoped users. This occurs for Legacy policies created in Silverlight and can be resolved by deleting and recreating the policy in the Azure Portal. This property is read- only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

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

        public Optional<Integer> getVersion()
        “Version of the device configuration.”
        Returns:
        property version
      • withVersion

        public DeviceConfiguration withVersion​(Integer version)
        Returns an immutable copy of this with just the version 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.

        “Version of the device configuration.”

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

        public SettingStateDeviceSummaryCollectionRequest getDeviceSettingStateSummaries()
        “Device Configuration Setting State Device Summary”
        Returns:
        navigational property deviceSettingStateSummaries
      • getDeviceStatusOverview

        public DeviceConfigurationDeviceOverviewRequest getDeviceStatusOverview()
        “Device Configuration devices status overview”
        Returns:
        navigational property deviceStatusOverview
      • getUserStatusOverview

        public DeviceConfigurationUserOverviewRequest getUserStatusOverview()
        “Device Configuration users status overview”
        Returns:
        navigational property userStatusOverview
      • 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 DeviceConfiguration 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 DeviceConfiguration 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
      • assignedAccessMultiModeProfiles

        public com.github.davidmoten.odata.client.ActionRequestNoReturn assignedAccessMultiModeProfiles​(List<WindowsAssignedAccessProfile> assignedAccessMultiModeProfiles)
      • windowsPrivacyAccessControls

        public com.github.davidmoten.odata.client.ActionRequestNoReturn windowsPrivacyAccessControls​(List<WindowsPrivacyDataAccessControlItem> windowsPrivacyAccessControls)
      • getOmaSettingPlainTextValue

        public com.github.davidmoten.odata.client.FunctionRequestReturningNonCollection<String> getOmaSettingPlainTextValue​(String secretReferenceValueId)