Class DetectedApp

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.DetectedApp
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class DetectedApp extends Entity implements com.microsoft.kiota.serialization.Parsable
A managed or unmanaged app that is installed on a managed device. Unmanaged apps will only appear for devices marked as corporate owned.
  • Constructor Details

    • DetectedApp

      public DetectedApp()
      Instantiates a new DetectedApp and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static DetectedApp 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 DetectedApp
    • getDeviceCount

      @Nullable public Integer getDeviceCount()
      Gets the deviceCount property value. The number of devices that have installed this application
      Returns:
      a Integer
    • getDisplayName

      @Nullable public String getDisplayName()
      Gets the displayName property value. Name of the discovered application. Read-only
      Returns:
      a String
    • 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>>
    • getManagedDevices

      @Nullable public List<ManagedDevice> getManagedDevices()
      Gets the managedDevices property value. The devices that have the discovered application installed
      Returns:
      a List<ManagedDevice>
    • getPlatform

      @Nullable public DetectedAppPlatformType getPlatform()
      Gets the platform property value. Indicates the operating system / platform of the discovered application. Some possible values are Windows, iOS, macOS. The default value is unknown (0).
      Returns:
      a DetectedAppPlatformType
    • getPublisher

      @Nullable public String getPublisher()
      Gets the publisher property value. Indicates the publisher of the discovered application. For example: 'Microsoft'. The default value is an empty string.
      Returns:
      a String
    • getSizeInByte

      @Nullable public Long getSizeInByte()
      Gets the sizeInByte property value. Discovered application size in bytes. Read-only
      Returns:
      a Long
    • getVersion

      @Nullable public String getVersion()
      Gets the version property value. Version of the discovered application. Read-only
      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
    • setDeviceCount

      public void setDeviceCount(@Nullable Integer value)
      Sets the deviceCount property value. The number of devices that have installed this application
      Parameters:
      value - Value to set for the deviceCount property.
    • setDisplayName

      public void setDisplayName(@Nullable String value)
      Sets the displayName property value. Name of the discovered application. Read-only
      Parameters:
      value - Value to set for the displayName property.
    • setManagedDevices

      public void setManagedDevices(@Nullable List<ManagedDevice> value)
      Sets the managedDevices property value. The devices that have the discovered application installed
      Parameters:
      value - Value to set for the managedDevices property.
    • setPlatform

      public void setPlatform(@Nullable DetectedAppPlatformType value)
      Sets the platform property value. Indicates the operating system / platform of the discovered application. Some possible values are Windows, iOS, macOS. The default value is unknown (0).
      Parameters:
      value - Value to set for the platform property.
    • setPublisher

      public void setPublisher(@Nullable String value)
      Sets the publisher property value. Indicates the publisher of the discovered application. For example: 'Microsoft'. The default value is an empty string.
      Parameters:
      value - Value to set for the publisher property.
    • setSizeInByte

      public void setSizeInByte(@Nullable Long value)
      Sets the sizeInByte property value. Discovered application size in bytes. Read-only
      Parameters:
      value - Value to set for the sizeInByte property.
    • setVersion

      public void setVersion(@Nullable String value)
      Sets the version property value. Version of the discovered application. Read-only
      Parameters:
      value - Value to set for the version property.