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 IntegerandroidCountprotected 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>getAndroidCount()“Number of android device count.”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()DeviceOperatingSystemSummarywithAndroidCount(Integer androidCount)Returns an immutable copy ofthiswith just theandroidCountfield 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
-
androidCount
protected Integer androidCount
-
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
-
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
-
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
-
-