Class ComanagedDevicesSummary
- java.lang.Object
-
- odata.msgraph.client.beta.complex.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”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classComanagedDevicesSummary.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IntegercompliancePolicyCountprotected IntegerconfigurationSettingsCountprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected IntegerendpointProtectionCountprotected IntegerinventoryCountprotected IntegermodernAppsCountprotected StringodataTypeprotected IntegerofficeAppsCountprotected IntegerresourceAccessCountprotected IntegertotalComanagedCountprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFieldsprotected IntegerwindowsUpdateForBusinessCount
-
Constructor Summary
Constructors Modifier Constructor Description protectedComanagedDevicesSummary()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ComanagedDevicesSummary.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Integer>getCompliancePolicyCount()“Number of devices with CompliancePolicy swung-over.Optional<Integer>getConfigurationSettingsCount()“Number of devices with ConfigurationSettings swung-over.Optional<Integer>getEndpointProtectionCount()“Number of devices with EndpointProtection swung-over.Optional<Integer>getInventoryCount()“Number of devices with Inventory swung-over.Optional<Integer>getModernAppsCount()“Number of devices with ModernApps swung-over.Optional<Integer>getOfficeAppsCount()“Number of devices with OfficeApps swung-over.Optional<Integer>getResourceAccessCount()“Number of devices with ResourceAccess swung-over.Optional<Integer>getTotalComanagedCount()“Number of Co-Managed Devices.com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<Integer>getWindowsUpdateForBusinessCount()“Number of devices with WindowsUpdateForBusiness swung-over.StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()ComanagedDevicesSummarywithCompliancePolicyCount(Integer compliancePolicyCount)Returns an immutable copy ofthiswith just thecompliancePolicyCountfield changed.ComanagedDevicesSummarywithConfigurationSettingsCount(Integer configurationSettingsCount)Returns an immutable copy ofthiswith just theconfigurationSettingsCountfield changed.ComanagedDevicesSummarywithEndpointProtectionCount(Integer endpointProtectionCount)Returns an immutable copy ofthiswith just theendpointProtectionCountfield changed.ComanagedDevicesSummarywithInventoryCount(Integer inventoryCount)Returns an immutable copy ofthiswith just theinventoryCountfield changed.ComanagedDevicesSummarywithModernAppsCount(Integer modernAppsCount)Returns an immutable copy ofthiswith just themodernAppsCountfield changed.ComanagedDevicesSummarywithOfficeAppsCount(Integer officeAppsCount)Returns an immutable copy ofthiswith just theofficeAppsCountfield changed.ComanagedDevicesSummarywithResourceAccessCount(Integer resourceAccessCount)Returns an immutable copy ofthiswith just theresourceAccessCountfield changed.ComanagedDevicesSummarywithTotalComanagedCount(Integer totalComanagedCount)Returns an immutable copy ofthiswith just thetotalComanagedCountfield changed.ComanagedDevicesSummarywithUnmappedField(String name, String value)ComanagedDevicesSummarywithWindowsUpdateForBusinessCount(Integer windowsUpdateForBusinessCount)Returns an immutable copy ofthiswith just thewindowsUpdateForBusinessCountfield changed.
-
-
-
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
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.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 ofthiswith just thecompliancePolicyCountfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofcompliancePolicyCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecompliancePolicyCountfield 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 ofthiswith just theconfigurationSettingsCountfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofconfigurationSettingsCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theconfigurationSettingsCountfield 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 ofthiswith just theendpointProtectionCountfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofendpointProtectionCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theendpointProtectionCountfield 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 ofthiswith just theinventoryCountfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. 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 ofinventoryCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theinventoryCountfield 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 ofthiswith just themodernAppsCountfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. 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 ofmodernAppsCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themodernAppsCountfield 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 ofthiswith just theofficeAppsCountfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. 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 ofofficeAppsCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theofficeAppsCountfield 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 ofthiswith just theresourceAccessCountfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofresourceAccessCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theresourceAccessCountfield 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 ofthiswith just thetotalComanagedCountfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 oftotalComanagedCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetotalComanagedCountfield 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 ofthiswith just thewindowsUpdateForBusinessCountfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofwindowsUpdateForBusinessCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thewindowsUpdateForBusinessCountfield changed
-
withUnmappedField
public ComanagedDevicesSummary withUnmappedField(String name, String value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.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
-
-