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.StringdisplayName()Get the displayName property: The name of the catalog app provided by the app developer in the Microsoft Teams zip app package.MicrosoftGraphTeamsAppDistributionMethoddistributionMethod()Get the distributionMethod property: The distributionMethod property.StringexternalId()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.MicrosoftGraphTeamsAppwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: teamsApp.MicrosoftGraphTeamsAppwithAppDefinitions(List<MicrosoftGraphTeamsAppDefinition> appDefinitions)Set the appDefinitions property: The details for each version of the app.MicrosoftGraphTeamsAppwithDisplayName(String displayName)Set the displayName property: The name of the catalog app provided by the app developer in the Microsoft Teams zip app package.MicrosoftGraphTeamsAppwithDistributionMethod(MicrosoftGraphTeamsAppDistributionMethod distributionMethod)Set the distributionMethod property: The distributionMethod property.MicrosoftGraphTeamsAppwithExternalId(String externalId)Set the externalId property: The ID of the catalog provided by the app developer in the Microsoft Teams zip app package.MicrosoftGraphTeamsAppwithId(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:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphTeamsApp withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: teamsApp.- Overrides:
withAdditionalPropertiesin 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:
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.
-
-