Package odata.msgraph.client.complex
Class DeviceOperatingSystemSummary
- java.lang.Object
-
- odata.msgraph.client.complex.DeviceOperatingSystemSummary
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class DeviceOperatingSystemSummary extends Object implements com.github.davidmoten.odata.client.ODataType
“Device operating system summary.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceOperatingSystemSummary.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IntegerandroidCorporateWorkProfileCountprotected IntegerandroidCountprotected IntegerandroidDedicatedCountprotected IntegerandroidDeviceAdminCountprotected IntegerandroidFullyManagedCountprotected IntegerandroidWorkProfileCountprotected IntegerconfigMgrDeviceCountprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected IntegeriosCountprotected IntegermacOSCountprotected StringodataTypeprotected IntegerunknownCountprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFieldsprotected IntegerwindowsCountprotected IntegerwindowsMobileCount
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceOperatingSystemSummary()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceOperatingSystemSummary.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Integer>getAndroidCorporateWorkProfileCount()“The count of Corporate work profile Android devices.Optional<Integer>getAndroidCount()“Number of android device count.”Optional<Integer>getAndroidDedicatedCount()“Number of dedicated Android devices.”Optional<Integer>getAndroidDeviceAdminCount()“Number of device admin Android devices.”Optional<Integer>getAndroidFullyManagedCount()“Number of fully managed Android devices.”Optional<Integer>getAndroidWorkProfileCount()“Number of work profile Android devices.”Optional<Integer>getConfigMgrDeviceCount()“Number of ConfigMgr managed devices.”Optional<Integer>getIosCount()“Number of iOS device count.”Optional<Integer>getMacOSCount()“Number of Mac OS X device count.”Optional<Integer>getUnknownCount()“Number of unknown device count.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<Integer>getWindowsCount()“Number of Windows device count.”Optional<Integer>getWindowsMobileCount()“Number of Windows mobile device count.”StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()DeviceOperatingSystemSummarywithAndroidCorporateWorkProfileCount(Integer androidCorporateWorkProfileCount)Returns an immutable copy ofthiswith just theandroidCorporateWorkProfileCountfield changed.DeviceOperatingSystemSummarywithAndroidCount(Integer androidCount)Returns an immutable copy ofthiswith just theandroidCountfield changed.DeviceOperatingSystemSummarywithAndroidDedicatedCount(Integer androidDedicatedCount)Returns an immutable copy ofthiswith just theandroidDedicatedCountfield changed.DeviceOperatingSystemSummarywithAndroidDeviceAdminCount(Integer androidDeviceAdminCount)Returns an immutable copy ofthiswith just theandroidDeviceAdminCountfield changed.DeviceOperatingSystemSummarywithAndroidFullyManagedCount(Integer androidFullyManagedCount)Returns an immutable copy ofthiswith just theandroidFullyManagedCountfield changed.DeviceOperatingSystemSummarywithAndroidWorkProfileCount(Integer androidWorkProfileCount)Returns an immutable copy ofthiswith just theandroidWorkProfileCountfield changed.DeviceOperatingSystemSummarywithConfigMgrDeviceCount(Integer configMgrDeviceCount)Returns an immutable copy ofthiswith just theconfigMgrDeviceCountfield changed.DeviceOperatingSystemSummarywithIosCount(Integer iosCount)Returns an immutable copy ofthiswith just theiosCountfield changed.DeviceOperatingSystemSummarywithMacOSCount(Integer macOSCount)Returns an immutable copy ofthiswith just themacOSCountfield changed.DeviceOperatingSystemSummarywithUnknownCount(Integer unknownCount)Returns an immutable copy ofthiswith just theunknownCountfield changed.DeviceOperatingSystemSummarywithUnmappedField(String name, String value)DeviceOperatingSystemSummarywithWindowsCount(Integer windowsCount)Returns an immutable copy ofthiswith just thewindowsCountfield changed.DeviceOperatingSystemSummarywithWindowsMobileCount(Integer windowsMobileCount)Returns an immutable copy ofthiswith just thewindowsMobileCountfield 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
-
androidCorporateWorkProfileCount
protected Integer androidCorporateWorkProfileCount
-
androidCount
protected Integer androidCount
-
androidDedicatedCount
protected Integer androidDedicatedCount
-
androidDeviceAdminCount
protected Integer androidDeviceAdminCount
-
androidFullyManagedCount
protected Integer androidFullyManagedCount
-
androidWorkProfileCount
protected Integer androidWorkProfileCount
-
configMgrDeviceCount
protected Integer configMgrDeviceCount
-
iosCount
protected Integer iosCount
-
macOSCount
protected Integer macOSCount
-
unknownCount
protected Integer unknownCount
-
windowsCount
protected Integer windowsCount
-
windowsMobileCount
protected Integer windowsMobileCount
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getAndroidCorporateWorkProfileCount
public Optional<Integer> getAndroidCorporateWorkProfileCount()
“The count of Corporate work profile Android devices. Also known as Corporate Owned Personally Enabled (COPE). Valid values -1 to 2147483647”- Returns:
- property androidCorporateWorkProfileCount
-
withAndroidCorporateWorkProfileCount
public DeviceOperatingSystemSummary withAndroidCorporateWorkProfileCount(Integer androidCorporateWorkProfileCount)
Returns an immutable copy ofthiswith just theandroidCorporateWorkProfileCountfield 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.“The count of Corporate work profile Android devices. Also known as Corporate Owned Personally Enabled (COPE). Valid values -1 to 2147483647”
- Parameters:
androidCorporateWorkProfileCount- new value ofandroidCorporateWorkProfileCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theandroidCorporateWorkProfileCountfield changed
-
getAndroidCount
public Optional<Integer> getAndroidCount()
“Number of android device count.”- Returns:
- property androidCount
-
withAndroidCount
public DeviceOperatingSystemSummary withAndroidCount(Integer androidCount)
Returns an immutable copy ofthiswith just theandroidCountfield 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 android device count.”
- Parameters:
androidCount- new value ofandroidCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theandroidCountfield changed
-
getAndroidDedicatedCount
public Optional<Integer> getAndroidDedicatedCount()
“Number of dedicated Android devices.”- Returns:
- property androidDedicatedCount
-
withAndroidDedicatedCount
public DeviceOperatingSystemSummary withAndroidDedicatedCount(Integer androidDedicatedCount)
Returns an immutable copy ofthiswith just theandroidDedicatedCountfield 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 dedicated Android devices.”
- Parameters:
androidDedicatedCount- new value ofandroidDedicatedCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theandroidDedicatedCountfield changed
-
getAndroidDeviceAdminCount
public Optional<Integer> getAndroidDeviceAdminCount()
“Number of device admin Android devices.”- Returns:
- property androidDeviceAdminCount
-
withAndroidDeviceAdminCount
public DeviceOperatingSystemSummary withAndroidDeviceAdminCount(Integer androidDeviceAdminCount)
Returns an immutable copy ofthiswith just theandroidDeviceAdminCountfield 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 device admin Android devices.”
- Parameters:
androidDeviceAdminCount- new value ofandroidDeviceAdminCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theandroidDeviceAdminCountfield changed
-
getAndroidFullyManagedCount
public Optional<Integer> getAndroidFullyManagedCount()
“Number of fully managed Android devices.”- Returns:
- property androidFullyManagedCount
-
withAndroidFullyManagedCount
public DeviceOperatingSystemSummary withAndroidFullyManagedCount(Integer androidFullyManagedCount)
Returns an immutable copy ofthiswith just theandroidFullyManagedCountfield 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 fully managed Android devices.”
- Parameters:
androidFullyManagedCount- new value ofandroidFullyManagedCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theandroidFullyManagedCountfield changed
-
getAndroidWorkProfileCount
public Optional<Integer> getAndroidWorkProfileCount()
“Number of work profile Android devices.”- Returns:
- property androidWorkProfileCount
-
withAndroidWorkProfileCount
public DeviceOperatingSystemSummary withAndroidWorkProfileCount(Integer androidWorkProfileCount)
Returns an immutable copy ofthiswith just theandroidWorkProfileCountfield 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 work profile Android devices.”
- Parameters:
androidWorkProfileCount- new value ofandroidWorkProfileCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theandroidWorkProfileCountfield changed
-
getConfigMgrDeviceCount
public Optional<Integer> getConfigMgrDeviceCount()
“Number of ConfigMgr managed devices.”- Returns:
- property configMgrDeviceCount
-
withConfigMgrDeviceCount
public DeviceOperatingSystemSummary withConfigMgrDeviceCount(Integer configMgrDeviceCount)
Returns an immutable copy ofthiswith just theconfigMgrDeviceCountfield 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 ConfigMgr managed devices.”
- Parameters:
configMgrDeviceCount- new value ofconfigMgrDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theconfigMgrDeviceCountfield changed
-
getIosCount
public Optional<Integer> getIosCount()
“Number of iOS device count.”- Returns:
- property iosCount
-
withIosCount
public DeviceOperatingSystemSummary withIosCount(Integer iosCount)
Returns an immutable copy ofthiswith just theiosCountfield 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 iOS device count.”
- Parameters:
iosCount- new value ofiosCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theiosCountfield changed
-
getMacOSCount
public Optional<Integer> getMacOSCount()
“Number of Mac OS X device count.”- Returns:
- property macOSCount
-
withMacOSCount
public DeviceOperatingSystemSummary withMacOSCount(Integer macOSCount)
Returns an immutable copy ofthiswith just themacOSCountfield 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 Mac OS X device count.”
- Parameters:
macOSCount- new value ofmacOSCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themacOSCountfield changed
-
getUnknownCount
public Optional<Integer> getUnknownCount()
“Number of unknown device count.”- Returns:
- property unknownCount
-
withUnknownCount
public DeviceOperatingSystemSummary withUnknownCount(Integer unknownCount)
Returns an immutable copy ofthiswith just theunknownCountfield 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 unknown device count.”
- Parameters:
unknownCount- new value ofunknownCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theunknownCountfield changed
-
getWindowsCount
public Optional<Integer> getWindowsCount()
“Number of Windows device count.”- Returns:
- property windowsCount
-
withWindowsCount
public DeviceOperatingSystemSummary withWindowsCount(Integer windowsCount)
Returns an immutable copy ofthiswith just thewindowsCountfield 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 Windows device count.”
- Parameters:
windowsCount- new value ofwindowsCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thewindowsCountfield changed
-
getWindowsMobileCount
public Optional<Integer> getWindowsMobileCount()
“Number of Windows mobile device count.”- Returns:
- property windowsMobileCount
-
withWindowsMobileCount
public DeviceOperatingSystemSummary withWindowsMobileCount(Integer windowsMobileCount)
Returns an immutable copy ofthiswith just thewindowsMobileCountfield 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 Windows mobile device count.”
- Parameters:
windowsMobileCount- new value ofwindowsMobileCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thewindowsMobileCountfield changed
-
withUnmappedField
public DeviceOperatingSystemSummary 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 DeviceOperatingSystemSummary.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
-
-