Package com.microsoft.graph.models
Class DeviceOperatingSystemSummary
java.lang.Object
com.microsoft.graph.models.DeviceOperatingSystemSummary
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class DeviceOperatingSystemSummary
extends Object
implements com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.store.BackedModel, com.microsoft.kiota.serialization.Parsable
Device operating system summary.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.microsoft.kiota.store.BackingStoreStores model information. -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a newDeviceOperatingSystemSummaryand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionstatic DeviceOperatingSystemSummarycreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the AdditionalData property value.Gets the androidCorporateWorkProfileCount property value.Gets the androidCount property value.Gets the androidDedicatedCount property value.Gets the androidDeviceAdminCount property value.Gets the androidFullyManagedCount property value.Gets the androidWorkProfileCount property value.com.microsoft.kiota.store.BackingStoreGets the backingStore property value.Gets the configMgrDeviceCount property value.The deserialization information for the current modelGets the iosCount property value.Gets the macOSCount property value.Gets the @odata.type property value.Gets the unknownCount property value.Gets the windowsCount property value.Gets the windowsMobileCount property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAdditionalData(Map<String, Object> value) Sets the AdditionalData property value.voidSets the androidCorporateWorkProfileCount property value.voidsetAndroidCount(Integer value) Sets the androidCount property value.voidsetAndroidDedicatedCount(Integer value) Sets the androidDedicatedCount property value.voidSets the androidDeviceAdminCount property value.voidSets the androidFullyManagedCount property value.voidSets the androidWorkProfileCount property value.voidsetBackingStore(com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value.voidsetConfigMgrDeviceCount(Integer value) Sets the configMgrDeviceCount property value.voidsetIosCount(Integer value) Sets the iosCount property value.voidsetMacOSCount(Integer value) Sets the macOSCount property value.voidsetOdataType(String value) Sets the @odata.type property value.voidsetUnknownCount(Integer value) Sets the unknownCount property value.voidsetWindowsCount(Integer value) Sets the windowsCount property value.voidsetWindowsMobileCount(Integer value) Sets the windowsMobileCount property value.
-
Field Details
-
backingStore
@Nonnull protected com.microsoft.kiota.store.BackingStore backingStoreStores model information.
-
-
Constructor Details
-
DeviceOperatingSystemSummary
public DeviceOperatingSystemSummary()Instantiates a newDeviceOperatingSystemSummaryand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static DeviceOperatingSystemSummary createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode- The parse node to use to read the discriminator value and create the object- Returns:
- a
DeviceOperatingSystemSummary
-
getAdditionalData
Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. -
getAndroidCorporateWorkProfileCount
Gets the androidCorporateWorkProfileCount property value. The count of Corporate work profile Android devices. Also known as Corporate Owned Personally Enabled (COPE). Valid values -1 to 2147483647- Returns:
- a
Integer
-
getAndroidCount
Gets the androidCount property value. Number of android device count.- Returns:
- a
Integer
-
getAndroidDedicatedCount
Gets the androidDedicatedCount property value. Number of dedicated Android devices.- Returns:
- a
Integer
-
getAndroidDeviceAdminCount
Gets the androidDeviceAdminCount property value. Number of device admin Android devices.- Returns:
- a
Integer
-
getAndroidFullyManagedCount
Gets the androidFullyManagedCount property value. Number of fully managed Android devices.- Returns:
- a
Integer
-
getAndroidWorkProfileCount
Gets the androidWorkProfileCount property value. Number of work profile Android devices.- Returns:
- a
Integer
-
getBackingStore
@Nonnull public com.microsoft.kiota.store.BackingStore getBackingStore()Gets the backingStore property value. Stores model information.- Specified by:
getBackingStorein interfacecom.microsoft.kiota.store.BackedModel- Returns:
- a
BackingStore
-
getConfigMgrDeviceCount
Gets the configMgrDeviceCount property value. Number of ConfigMgr managed devices.- Returns:
- a
Integer
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model -
getIosCount
Gets the iosCount property value. Number of iOS device count.- Returns:
- a
Integer
-
getMacOSCount
Gets the macOSCount property value. Number of Mac OS X device count.- Returns:
- a
Integer
-
getOdataType
Gets the @odata.type property value. The OdataType property- Returns:
- a
String
-
getUnknownCount
Gets the unknownCount property value. Number of unknown device count.- Returns:
- a
Integer
-
getWindowsCount
Gets the windowsCount property value. Number of Windows device count.- Returns:
- a
Integer
-
getWindowsMobileCount
Gets the windowsMobileCount property value. Number of Windows mobile device count.- Returns:
- a
Integer
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Parameters:
writer- Serialization writer to use to serialize this model
-
setAdditionalData
Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.- Parameters:
value- Value to set for the AdditionalData property.
-
setAndroidCorporateWorkProfileCount
Sets the androidCorporateWorkProfileCount property value. The count of Corporate work profile Android devices. Also known as Corporate Owned Personally Enabled (COPE). Valid values -1 to 2147483647- Parameters:
value- Value to set for the androidCorporateWorkProfileCount property.
-
setAndroidCount
Sets the androidCount property value. Number of android device count.- Parameters:
value- Value to set for the androidCount property.
-
setAndroidDedicatedCount
Sets the androidDedicatedCount property value. Number of dedicated Android devices.- Parameters:
value- Value to set for the androidDedicatedCount property.
-
setAndroidDeviceAdminCount
Sets the androidDeviceAdminCount property value. Number of device admin Android devices.- Parameters:
value- Value to set for the androidDeviceAdminCount property.
-
setAndroidFullyManagedCount
Sets the androidFullyManagedCount property value. Number of fully managed Android devices.- Parameters:
value- Value to set for the androidFullyManagedCount property.
-
setAndroidWorkProfileCount
Sets the androidWorkProfileCount property value. Number of work profile Android devices.- Parameters:
value- Value to set for the androidWorkProfileCount property.
-
setBackingStore
public void setBackingStore(@Nonnull com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value. Stores model information.- Parameters:
value- Value to set for the backingStore property.
-
setConfigMgrDeviceCount
Sets the configMgrDeviceCount property value. Number of ConfigMgr managed devices.- Parameters:
value- Value to set for the configMgrDeviceCount property.
-
setIosCount
Sets the iosCount property value. Number of iOS device count.- Parameters:
value- Value to set for the iosCount property.
-
setMacOSCount
Sets the macOSCount property value. Number of Mac OS X device count.- Parameters:
value- Value to set for the macOSCount property.
-
setOdataType
Sets the @odata.type property value. The OdataType property- Parameters:
value- Value to set for the @odata.type property.
-
setUnknownCount
Sets the unknownCount property value. Number of unknown device count.- Parameters:
value- Value to set for the unknownCount property.
-
setWindowsCount
Sets the windowsCount property value. Number of Windows device count.- Parameters:
value- Value to set for the windowsCount property.
-
setWindowsMobileCount
Sets the windowsMobileCount property value. Number of Windows mobile device count.- Parameters:
value- Value to set for the windowsMobileCount property.
-