Package com.microsoft.graph.models
Class UserInstallStateSummary
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.UserInstallStateSummary
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class UserInstallStateSummary
extends Entity
implements com.microsoft.kiota.serialization.Parsable
Contains properties for the installation state summary for a user.
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UserInstallStateSummary
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the deviceStates property value.Gets the failedDeviceCount property value.The deserialization information for the current modelGets the installedDeviceCount property value.Gets the notInstalledDeviceCount property value.Gets the userName property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setDeviceStates
(List<DeviceInstallState> value) Sets the deviceStates property value.void
setFailedDeviceCount
(Integer value) Sets the failedDeviceCount property value.void
setInstalledDeviceCount
(Integer value) Sets the installedDeviceCount property value.void
Sets the notInstalledDeviceCount property value.void
setUserName
(String value) Sets the userName property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
UserInstallStateSummary
public UserInstallStateSummary()Instantiates a newUserInstallStateSummary
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static UserInstallStateSummary 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
UserInstallStateSummary
-
getDeviceStates
Gets the deviceStates property value. The install state of the eBook.- Returns:
- a
List<DeviceInstallState>
-
getFailedDeviceCount
Gets the failedDeviceCount property value. Failed Device Count.- 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. Installed Device Count.- Returns:
- a
Integer
-
getNotInstalledDeviceCount
Gets the notInstalledDeviceCount property value. Not installed device count.- Returns:
- a
Integer
-
getUserName
Gets the userName property value. User name.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setDeviceStates
Sets the deviceStates property value. The install state of the eBook.- Parameters:
value
- Value to set for the deviceStates property.
-
setFailedDeviceCount
Sets the failedDeviceCount property value. Failed Device Count.- Parameters:
value
- Value to set for the failedDeviceCount property.
-
setInstalledDeviceCount
Sets the installedDeviceCount property value. Installed Device Count.- Parameters:
value
- Value to set for the installedDeviceCount property.
-
setNotInstalledDeviceCount
Sets the notInstalledDeviceCount property value. Not installed device count.- Parameters:
value
- Value to set for the notInstalledDeviceCount property.
-
setUserName
Sets the userName property value. User name.- Parameters:
value
- Value to set for the userName property.
-