Class MicrosoftGraphTeamsApp
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphTeamsApp
-
public final class MicrosoftGraphTeamsApp extends MicrosoftGraphEntity
teamsApp.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphTeamsApp()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: teamsApp.List<MicrosoftGraphTeamsAppDefinition>
appDefinitions()
Get the appDefinitions property: The details for each version of the app.String
displayName()
Get the displayName property: The name of the catalog app provided by the app developer in the Microsoft Teams zip app package.MicrosoftGraphTeamsAppDistributionMethod
distributionMethod()
Get the distributionMethod property: The distributionMethod property.String
externalId()
Get the externalId property: The ID of the catalog provided by the app developer in the Microsoft Teams zip app package.void
validate()
Validates the instance.MicrosoftGraphTeamsApp
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: teamsApp.MicrosoftGraphTeamsApp
withAppDefinitions(List<MicrosoftGraphTeamsAppDefinition> appDefinitions)
Set the appDefinitions property: The details for each version of the app.MicrosoftGraphTeamsApp
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.MicrosoftGraphTeamsApp
withDistributionMethod(MicrosoftGraphTeamsAppDistributionMethod distributionMethod)
Set the distributionMethod property: The distributionMethod property.MicrosoftGraphTeamsApp
withExternalId(String externalId)
Set the externalId property: The ID of the catalog provided by the app developer in the Microsoft Teams zip app package.MicrosoftGraphTeamsApp
withId(String id)
Set the id property: Read-only.-
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 catalog app provided by the app developer in the Microsoft Teams zip app package.- Returns:
- the displayName value.
-
withDisplayName
public MicrosoftGraphTeamsApp 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.- Parameters:
displayName
- the displayName value to set.- Returns:
- the MicrosoftGraphTeamsApp object itself.
-
distributionMethod
public MicrosoftGraphTeamsAppDistributionMethod distributionMethod()
Get the distributionMethod property: The distributionMethod property.- Returns:
- the distributionMethod value.
-
withDistributionMethod
public MicrosoftGraphTeamsApp withDistributionMethod(MicrosoftGraphTeamsAppDistributionMethod distributionMethod)
Set the distributionMethod property: The distributionMethod property.- Parameters:
distributionMethod
- the distributionMethod value to set.- Returns:
- the MicrosoftGraphTeamsApp object itself.
-
externalId
public String 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
public MicrosoftGraphTeamsApp withExternalId(String externalId)
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
public List<MicrosoftGraphTeamsAppDefinition> 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
public Map<String,Object> additionalProperties()
Get the additionalProperties property: teamsApp.- Overrides:
additionalProperties
in classMicrosoftGraphEntity
- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphTeamsApp withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: teamsApp.- Overrides:
withAdditionalProperties
in classMicrosoftGraphEntity
- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the MicrosoftGraphTeamsApp object itself.
-
withId
public MicrosoftGraphTeamsApp 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.
-
-