Package com.microsoft.graph.models
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.
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DetectedApp
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the deviceCount property value.Gets the displayName property value.The deserialization information for the current modelGets the managedDevices property value.Gets the platform property value.Gets the publisher property value.Gets the sizeInByte property value.Gets the version property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setDeviceCount
(Integer value) Sets the deviceCount property value.void
setDisplayName
(String value) Sets the displayName property value.void
setManagedDevices
(List<ManagedDevice> value) Sets the managedDevices property value.void
Sets the platform property value.void
setPublisher
(String value) Sets the publisher property value.void
setSizeInByte
(Long value) Sets the sizeInByte property value.void
setVersion
(String value) Sets the version property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
DetectedApp
public DetectedApp()Instantiates a newDetectedApp
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
Gets the deviceCount property value. The number of devices that have installed this application- Returns:
- a
Integer
-
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 interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getManagedDevices
Gets the managedDevices property value. The devices that have the discovered application installed- Returns:
- a
List<ManagedDevice>
-
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
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
Gets the sizeInByte property value. Discovered application size in bytes. Read-only- Returns:
- a
Long
-
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 -
setDeviceCount
Sets the deviceCount property value. The number of devices that have installed this application- Parameters:
value
- Value to set for the deviceCount property.
-
setDisplayName
Sets the displayName property value. Name of the discovered application. Read-only- Parameters:
value
- Value to set for the displayName property.
-
setManagedDevices
Sets the managedDevices property value. The devices that have the discovered application installed- Parameters:
value
- Value to set for the managedDevices property.
-
setPlatform
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
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
Sets the sizeInByte property value. Discovered application size in bytes. Read-only- Parameters:
value
- Value to set for the sizeInByte property.
-
setVersion
Sets the version property value. Version of the discovered application. Read-only- Parameters:
value
- Value to set for the version property.
-