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 Summary
Constructors Constructor Description MicrosoftGraphTeamsAppDefinition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: teamsAppDefinition.StringdisplayName()Get the displayName property: The name of the app provided by the app developer.StringteamsAppId()Get the teamsAppId property: The ID from the Teams app manifest.voidvalidate()Validates the instance.Stringversion()Get the version property: The version number of the application.MicrosoftGraphTeamsAppDefinitionwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: teamsAppDefinition.MicrosoftGraphTeamsAppDefinitionwithDisplayName(String displayName)Set the displayName property: The name of the app provided by the app developer.MicrosoftGraphTeamsAppDefinitionwithId(String id)Set the id property: Read-only.MicrosoftGraphTeamsAppDefinitionwithTeamsAppId(String teamsAppId)Set the teamsAppId property: The ID from the Teams app manifest.MicrosoftGraphTeamsAppDefinitionwithVersion(String version)Set the version property: The version number of the application.-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
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:
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
public MicrosoftGraphTeamsAppDefinition withId(String id)
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.
-
-