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.String
displayName()
Get the displayName property: The name of the app provided by the app developer.String
teamsAppId()
Get the teamsAppId property: The ID from the Teams app manifest.void
validate()
Validates the instance.String
version()
Get the version property: The version number of the application.MicrosoftGraphTeamsAppDefinition
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: teamsAppDefinition.MicrosoftGraphTeamsAppDefinition
withDisplayName(String displayName)
Set the displayName property: The name of the app provided by the app developer.MicrosoftGraphTeamsAppDefinition
withId(String id)
Set the id property: Read-only.MicrosoftGraphTeamsAppDefinition
withTeamsAppId(String teamsAppId)
Set the teamsAppId property: The ID from the Teams app manifest.MicrosoftGraphTeamsAppDefinition
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
-
-
-
-
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:
additionalProperties
in classMicrosoftGraphEntity
- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphTeamsAppDefinition withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: teamsAppDefinition.- Overrides:
withAdditionalProperties
in 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:
withId
in classMicrosoftGraphEntity
- Parameters:
id
- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classMicrosoftGraphEntity
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-