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.
  • Constructor Details

    • UserInstallStateSummary

      public UserInstallStateSummary()
      Instantiates a new UserInstallStateSummary 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

      @Nullable public List<DeviceInstallState> getDeviceStates()
      Gets the deviceStates property value. The install state of the eBook.
      Returns:
      a List<DeviceInstallState>
    • getFailedDeviceCount

      @Nullable public Integer 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 interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getInstalledDeviceCount

      @Nullable public Integer getInstalledDeviceCount()
      Gets the installedDeviceCount property value. Installed Device Count.
      Returns:
      a Integer
    • getNotInstalledDeviceCount

      @Nullable public Integer getNotInstalledDeviceCount()
      Gets the notInstalledDeviceCount property value. Not installed device count.
      Returns:
      a Integer
    • getUserName

      @Nullable public String 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
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setDeviceStates

      public void setDeviceStates(@Nullable List<DeviceInstallState> value)
      Sets the deviceStates property value. The install state of the eBook.
      Parameters:
      value - Value to set for the deviceStates property.
    • setFailedDeviceCount

      public void setFailedDeviceCount(@Nullable Integer value)
      Sets the failedDeviceCount property value. Failed Device Count.
      Parameters:
      value - Value to set for the failedDeviceCount property.
    • setInstalledDeviceCount

      public void setInstalledDeviceCount(@Nullable Integer value)
      Sets the installedDeviceCount property value. Installed Device Count.
      Parameters:
      value - Value to set for the installedDeviceCount property.
    • setNotInstalledDeviceCount

      public void setNotInstalledDeviceCount(@Nullable Integer value)
      Sets the notInstalledDeviceCount property value. Not installed device count.
      Parameters:
      value - Value to set for the notInstalledDeviceCount property.
    • setUserName

      public void setUserName(@Nullable String value)
      Sets the userName property value. User name.
      Parameters:
      value - Value to set for the userName property.