Package com.microsoft.graph.models
Class TeamsAppInstallation
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.TeamsAppInstallation
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
- Direct Known Subclasses:
UserScopeTeamsAppInstallation
@Generated("com.microsoft.kiota")
public class TeamsAppInstallation
extends Entity
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TeamsAppInstallation
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the consentedPermissionSet property value.The deserialization information for the current modelGets the teamsApp property value.Gets the teamsAppDefinition property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
Sets the consentedPermissionSet property value.void
setTeamsApp
(TeamsApp value) Sets the teamsApp property value.void
Sets the teamsAppDefinition property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
TeamsAppInstallation
public TeamsAppInstallation()Instantiates a newTeamsAppInstallation
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static TeamsAppInstallation 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
TeamsAppInstallation
-
getConsentedPermissionSet
Gets the consentedPermissionSet property value. The set of resource-specific permissions consented to while installing or upgrading the teamsApp.- Returns:
- a
TeamsAppPermissionSet
-
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>>
-
getTeamsApp
Gets the teamsApp property value. The app that is installed.- Returns:
- a
TeamsApp
-
getTeamsAppDefinition
Gets the teamsAppDefinition property value. The details of this version of the app.- Returns:
- a
TeamsAppDefinition
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setConsentedPermissionSet
Sets the consentedPermissionSet property value. The set of resource-specific permissions consented to while installing or upgrading the teamsApp.- Parameters:
value
- Value to set for the consentedPermissionSet property.
-
setTeamsApp
Sets the teamsApp property value. The app that is installed.- Parameters:
value
- Value to set for the teamsApp property.
-
setTeamsAppDefinition
Sets the teamsAppDefinition property value. The details of this version of the app.- Parameters:
value
- Value to set for the teamsAppDefinition property.
-