Class MicrosoftGraphTeamsAppDefinition
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphTeamsAppDefinition
teamsAppDefinition.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphTeamsAppDefinition class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: teamsAppDefinition.Get the displayName property: The name of the app provided by the app developer.Get the teamsAppId property: The ID from the Teams app manifest.voidvalidate()Validates the instance.version()Get the version property: The version number of the application.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: teamsAppDefinition.withDisplayName(String displayName) Set the displayName property: The name of the app provided by the app developer.Set the id property: Read-only.withTeamsAppId(String teamsAppId) Set the teamsAppId property: The ID from the Teams app manifest.withVersion(String version) Set the version property: The version number of the application.Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
Constructor Details
-
MicrosoftGraphTeamsAppDefinition
public MicrosoftGraphTeamsAppDefinition()Creates an instance of MicrosoftGraphTeamsAppDefinition class.
-
-
Method Details
-
displayName
Get the displayName property: The name of the app provided by the app developer.- Returns:
- the displayName value.
-
withDisplayName
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
Get the teamsAppId property: The ID from the Teams app manifest.- Returns:
- the teamsAppId value.
-
withTeamsAppId
Set the teamsAppId property: The ID from the Teams app manifest.- Parameters:
teamsAppId- the teamsAppId value to set.- Returns:
- the MicrosoftGraphTeamsAppDefinition object itself.
-
version
Get the version property: The version number of the application.- Returns:
- the version value.
-
withVersion
Set the version property: The version number of the application.- Parameters:
version- the version value to set.- Returns:
- the MicrosoftGraphTeamsAppDefinition object itself.
-
additionalProperties
Get the additionalProperties property: teamsAppDefinition.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphTeamsAppDefinition withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: teamsAppDefinition.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphTeamsAppDefinition 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.
-