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

    • TeamsAppInstallation

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

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

      @Nullable public TeamsApp getTeamsApp()
      Gets the teamsApp property value. The app that is installed.
      Returns:
      a TeamsApp
    • getTeamsAppDefinition

      @Nullable public TeamsAppDefinition 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
      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
    • setConsentedPermissionSet

      public void setConsentedPermissionSet(@Nullable TeamsAppPermissionSet value)
      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

      public void setTeamsApp(@Nullable TeamsApp value)
      Sets the teamsApp property value. The app that is installed.
      Parameters:
      value - Value to set for the teamsApp property.
    • setTeamsAppDefinition

      public void setTeamsAppDefinition(@Nullable TeamsAppDefinition value)
      Sets the teamsAppDefinition property value. The details of this version of the app.
      Parameters:
      value - Value to set for the teamsAppDefinition property.