Package com.microsoft.graph.models
Class EBookInstallSummary
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.EBookInstallSummary
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class EBookInstallSummary
extends Entity
implements com.microsoft.kiota.serialization.Parsable
Contains properties for the installation summary of a book for a device.
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EBookInstallSummary
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the failedDeviceCount property value.Gets the failedUserCount property value.The deserialization information for the current modelGets the installedDeviceCount property value.Gets the installedUserCount property value.Gets the notInstalledDeviceCount property value.Gets the notInstalledUserCount property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setFailedDeviceCount
(Integer value) Sets the failedDeviceCount property value.void
setFailedUserCount
(Integer value) Sets the failedUserCount property value.void
setInstalledDeviceCount
(Integer value) Sets the installedDeviceCount property value.void
setInstalledUserCount
(Integer value) Sets the installedUserCount property value.void
Sets the notInstalledDeviceCount property value.void
setNotInstalledUserCount
(Integer value) Sets the notInstalledUserCount property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
EBookInstallSummary
public EBookInstallSummary()Instantiates a newEBookInstallSummary
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static EBookInstallSummary 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
EBookInstallSummary
-
getFailedDeviceCount
Gets the failedDeviceCount property value. Number of Devices that have failed to install this book.- Returns:
- a
Integer
-
getFailedUserCount
Gets the failedUserCount property value. Number of Users that have 1 or more device that failed to install this book.- Returns:
- a
Integer
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializers
in interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getInstalledDeviceCount
Gets the installedDeviceCount property value. Number of Devices that have successfully installed this book.- Returns:
- a
Integer
-
getInstalledUserCount
Gets the installedUserCount property value. Number of Users whose devices have all succeeded to install this book.- Returns:
- a
Integer
-
getNotInstalledDeviceCount
Gets the notInstalledDeviceCount property value. Number of Devices that does not have this book installed.- Returns:
- a
Integer
-
getNotInstalledUserCount
Gets the notInstalledUserCount property value. Number of Users that did not install this book.- Returns:
- a
Integer
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setFailedDeviceCount
Sets the failedDeviceCount property value. Number of Devices that have failed to install this book.- Parameters:
value
- Value to set for the failedDeviceCount property.
-
setFailedUserCount
Sets the failedUserCount property value. Number of Users that have 1 or more device that failed to install this book.- Parameters:
value
- Value to set for the failedUserCount property.
-
setInstalledDeviceCount
Sets the installedDeviceCount property value. Number of Devices that have successfully installed this book.- Parameters:
value
- Value to set for the installedDeviceCount property.
-
setInstalledUserCount
Sets the installedUserCount property value. Number of Users whose devices have all succeeded to install this book.- Parameters:
value
- Value to set for the installedUserCount property.
-
setNotInstalledDeviceCount
Sets the notInstalledDeviceCount property value. Number of Devices that does not have this book installed.- Parameters:
value
- Value to set for the notInstalledDeviceCount property.
-
setNotInstalledUserCount
Sets the notInstalledUserCount property value. Number of Users that did not install this book.- Parameters:
value
- Value to set for the notInstalledUserCount property.
-