Class MicrosoftGraphTeamsApp
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphTeamsApp
teamsApp.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphTeamsApp class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: teamsApp.Get the appDefinitions property: The details for each version of the app.Get the displayName property: The name of the catalog app provided by the app developer in the Microsoft Teams zip app package.Get the distributionMethod property: teamsAppDistributionMethod.Get the externalId property: The ID of the catalog provided by the app developer in the Microsoft Teams zip app package.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: teamsApp.withAppDefinitions(List<MicrosoftGraphTeamsAppDefinition> appDefinitions) Set the appDefinitions property: The details for each version of the app.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.withDistributionMethod(MicrosoftGraphTeamsAppDistributionMethod distributionMethod) Set the distributionMethod property: teamsAppDistributionMethod.withExternalId(String externalId) Set the externalId property: The ID of the catalog provided by the app developer in the Microsoft Teams zip app package.Set the id property: Read-only.Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
Constructor Details
-
MicrosoftGraphTeamsApp
public MicrosoftGraphTeamsApp()Creates an instance of MicrosoftGraphTeamsApp class.
-
-
Method Details
-
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
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
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
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
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
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
Get the additionalProperties property: teamsApp.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
Set the additionalProperties property: teamsApp.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphTeamsApp object itself.
-
withId
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphEntity- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classMicrosoftGraphEntity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-