Class ComanagedDevicesSummary

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

    public class ComanagedDevicesSummary
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “Summary data for co managed devices”
    • 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
      • compliancePolicyCount

        protected Integer compliancePolicyCount
      • configurationSettingsCount

        protected Integer configurationSettingsCount
      • endpointProtectionCount

        protected Integer endpointProtectionCount
      • inventoryCount

        protected Integer inventoryCount
      • modernAppsCount

        protected Integer modernAppsCount
      • officeAppsCount

        protected Integer officeAppsCount
      • resourceAccessCount

        protected Integer resourceAccessCount
      • totalComanagedCount

        protected Integer totalComanagedCount
      • windowsUpdateForBusinessCount

        protected Integer windowsUpdateForBusinessCount
    • Constructor Detail

      • ComanagedDevicesSummary

        protected ComanagedDevicesSummary()
    • Method Detail

      • odataTypeName

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

        public Optional<Integer> getCompliancePolicyCount()
        “Number of devices with CompliancePolicy swung-over. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property compliancePolicyCount
      • withCompliancePolicyCount

        public ComanagedDevicesSummary withCompliancePolicyCount​(Integer compliancePolicyCount)
        Returns an immutable copy of this with just the compliancePolicyCount 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.

        “Number of devices with CompliancePolicy swung-over. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

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

        public Optional<Integer> getConfigurationSettingsCount()
        “Number of devices with ConfigurationSettings swung-over. This property is read- only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property configurationSettingsCount
      • withConfigurationSettingsCount

        public ComanagedDevicesSummary withConfigurationSettingsCount​(Integer configurationSettingsCount)
        Returns an immutable copy of this with just the configurationSettingsCount 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.

        “Number of devices with ConfigurationSettings swung-over. This property is read- only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

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

        public Optional<Integer> getEndpointProtectionCount()
        “Number of devices with EndpointProtection swung-over. This property is read-only .”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property endpointProtectionCount
      • withEndpointProtectionCount

        public ComanagedDevicesSummary withEndpointProtectionCount​(Integer endpointProtectionCount)
        Returns an immutable copy of this with just the endpointProtectionCount 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.

        “Number of devices with EndpointProtection swung-over. This property is read-only .”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

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

        public Optional<Integer> getInventoryCount()
        “Number of devices with Inventory swung-over. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property inventoryCount
      • withInventoryCount

        public ComanagedDevicesSummary withInventoryCount​(Integer inventoryCount)
        Returns an immutable copy of this with just the inventoryCount 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.

        “Number of devices with Inventory swung-over. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

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

        public Optional<Integer> getModernAppsCount()
        “Number of devices with ModernApps swung-over. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property modernAppsCount
      • withModernAppsCount

        public ComanagedDevicesSummary withModernAppsCount​(Integer modernAppsCount)
        Returns an immutable copy of this with just the modernAppsCount 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.

        “Number of devices with ModernApps swung-over. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

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

        public Optional<Integer> getOfficeAppsCount()
        “Number of devices with OfficeApps swung-over. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property officeAppsCount
      • withOfficeAppsCount

        public ComanagedDevicesSummary withOfficeAppsCount​(Integer officeAppsCount)
        Returns an immutable copy of this with just the officeAppsCount 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.

        “Number of devices with OfficeApps swung-over. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

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

        public Optional<Integer> getResourceAccessCount()
        “Number of devices with ResourceAccess swung-over. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property resourceAccessCount
      • withResourceAccessCount

        public ComanagedDevicesSummary withResourceAccessCount​(Integer resourceAccessCount)
        Returns an immutable copy of this with just the resourceAccessCount 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.

        “Number of devices with ResourceAccess swung-over. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

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

        public Optional<Integer> getTotalComanagedCount()
        “Number of Co-Managed Devices. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property totalComanagedCount
      • withTotalComanagedCount

        public ComanagedDevicesSummary withTotalComanagedCount​(Integer totalComanagedCount)
        Returns an immutable copy of this with just the totalComanagedCount 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.

        “Number of Co-Managed Devices. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

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

        public Optional<Integer> getWindowsUpdateForBusinessCount()
        “Number of devices with WindowsUpdateForBusiness swung-over. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property windowsUpdateForBusinessCount
      • withWindowsUpdateForBusinessCount

        public ComanagedDevicesSummary withWindowsUpdateForBusinessCount​(Integer windowsUpdateForBusinessCount)
        Returns an immutable copy of this with just the windowsUpdateForBusinessCount 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.

        “Number of devices with WindowsUpdateForBusiness swung-over. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

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

        public static ComanagedDevicesSummary.Builder builder()
        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