Class MicrosoftGraphTeamsApp

java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphTeamsApp

public final class MicrosoftGraphTeamsApp extends MicrosoftGraphEntity
teamsApp.
  • Constructor Details

    • MicrosoftGraphTeamsApp

      public MicrosoftGraphTeamsApp()
      Creates an instance of MicrosoftGraphTeamsApp class.
  • Method Details

    • displayName

      public String displayName()
      Get the displayName property: The name of the catalog app provided by the app developer in the Microsoft Teams zip app package.
      Returns:
      the displayName value.
    • withDisplayName

      public MicrosoftGraphTeamsApp withDisplayName(String displayName)
      Set the displayName property: The name of the catalog app provided by the app developer in the Microsoft Teams zip app package.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the MicrosoftGraphTeamsApp object itself.
    • distributionMethod

      public MicrosoftGraphTeamsAppDistributionMethod distributionMethod()
      Get the distributionMethod property: teamsAppDistributionMethod.
      Returns:
      the distributionMethod value.
    • withDistributionMethod

      public MicrosoftGraphTeamsApp withDistributionMethod(MicrosoftGraphTeamsAppDistributionMethod distributionMethod)
      Set the distributionMethod property: teamsAppDistributionMethod.
      Parameters:
      distributionMethod - the distributionMethod value to set.
      Returns:
      the MicrosoftGraphTeamsApp object itself.
    • externalId

      public String externalId()
      Get the externalId property: The ID of the catalog provided by the app developer in the Microsoft Teams zip app package.
      Returns:
      the externalId value.
    • withExternalId

      public MicrosoftGraphTeamsApp withExternalId(String externalId)
      Set the externalId property: The ID of the catalog provided by the app developer in the Microsoft Teams zip app package.
      Parameters:
      externalId - the externalId value to set.
      Returns:
      the MicrosoftGraphTeamsApp object itself.
    • appDefinitions

      public List<MicrosoftGraphTeamsAppDefinition> appDefinitions()
      Get the appDefinitions property: The details for each version of the app.
      Returns:
      the appDefinitions value.
    • withAppDefinitions

      public MicrosoftGraphTeamsApp withAppDefinitions(List<MicrosoftGraphTeamsAppDefinition> appDefinitions)
      Set the appDefinitions property: The details for each version of the app.
      Parameters:
      appDefinitions - the appDefinitions value to set.
      Returns:
      the MicrosoftGraphTeamsApp object itself.
    • additionalProperties

      public Map<String,Object> additionalProperties()
      Get the additionalProperties property: teamsApp.
      Overrides:
      additionalProperties in class MicrosoftGraphEntity
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public MicrosoftGraphTeamsApp withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: teamsApp.
      Overrides:
      withAdditionalProperties in class MicrosoftGraphEntity
      Parameters:
      additionalProperties - the additionalProperties value to set.
      Returns:
      the MicrosoftGraphTeamsApp object itself.
    • withId

      public MicrosoftGraphTeamsApp withId(String id)
      Set the id property: Read-only.
      Overrides:
      withId in class MicrosoftGraphEntity
      Parameters:
      id - the id value to set.
      Returns:
      the MicrosoftGraphEntity object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class MicrosoftGraphEntity
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.