Class MicrosoftGraphTeamsAppDefinition

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

public final class MicrosoftGraphTeamsAppDefinition extends MicrosoftGraphEntity
teamsAppDefinition.
  • Constructor Details

    • MicrosoftGraphTeamsAppDefinition

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

    • displayName

      public String displayName()
      Get the displayName property: The name of the app provided by the app developer.
      Returns:
      the displayName value.
    • withDisplayName

      public MicrosoftGraphTeamsAppDefinition withDisplayName(String displayName)
      Set the displayName property: The name of the app provided by the app developer.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the MicrosoftGraphTeamsAppDefinition object itself.
    • teamsAppId

      public String teamsAppId()
      Get the teamsAppId property: The ID from the Teams app manifest.
      Returns:
      the teamsAppId value.
    • withTeamsAppId

      public MicrosoftGraphTeamsAppDefinition withTeamsAppId(String teamsAppId)
      Set the teamsAppId property: The ID from the Teams app manifest.
      Parameters:
      teamsAppId - the teamsAppId value to set.
      Returns:
      the MicrosoftGraphTeamsAppDefinition object itself.
    • version

      public String version()
      Get the version property: The version number of the application.
      Returns:
      the version value.
    • withVersion

      public MicrosoftGraphTeamsAppDefinition withVersion(String version)
      Set the version property: The version number of the application.
      Parameters:
      version - the version value to set.
      Returns:
      the MicrosoftGraphTeamsAppDefinition object itself.
    • additionalProperties

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

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

      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.