MicrosoftGraphTeamsAppDefinition Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphTeamsAppDefinition
- com.
- com.
public final class MicrosoftGraphTeamsAppDefinition
extends MicrosoftGraphEntity
Represents a teams app definition.
Constructor Summary
| Constructor | Description |
|---|---|
| MicrosoftGraphTeamsAppDefinition() |
Creates an instance of Microsoft |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Map<String,Object> |
additionalProperties()
Get the additional |
| String |
displayName()
Get the display |
|
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
| String |
teamsAppId()
Get the teams |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| String |
version()
Get the version property: The version number of the application. |
|
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
|
Microsoft |
withDisplayName(String displayName)
Set the display |
|
Microsoft |
withId(String id)
Set the id property: Read-only. |
|
Microsoft |
withTeamsAppId(String teamsAppId)
Set the teams |
|
Microsoft |
withVersion(String version)
Set the version property: The version number of the application. |
Methods inherited from MicrosoftGraphEntity
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphTeamsAppDefinition
public MicrosoftGraphTeamsAppDefinition()
Creates an instance of MicrosoftGraphTeamsAppDefinition class.
Method Details
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: teamsAppDefinition.
Overrides:
MicrosoftGraphTeamsAppDefinition.additionalProperties()Returns:
displayName
public String displayName()
Get the displayName property: The name of the app provided by the app developer.
Returns:
fromJson
public static MicrosoftGraphTeamsAppDefinition fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphTeamsAppDefinition from the JsonReader.
Parameters:
Returns:
Throws:
teamsAppId
public String teamsAppId()
Get the teamsAppId property: The ID from the Teams app manifest.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphTeamsAppDefinition.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphTeamsAppDefinition.validate()version
public String version()
Get the version property: The version number of the application.
Returns:
withAdditionalProperties
public MicrosoftGraphTeamsAppDefinition withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: teamsAppDefinition.
Overrides:
MicrosoftGraphTeamsAppDefinition.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withDisplayName
public MicrosoftGraphTeamsAppDefinition withDisplayName(String displayName)
Set the displayName property: The name of the app provided by the app developer.
Parameters:
Returns:
withId
public MicrosoftGraphTeamsAppDefinition withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphTeamsAppDefinition.withId(String id)Parameters:
withTeamsAppId
public MicrosoftGraphTeamsAppDefinition withTeamsAppId(String teamsAppId)
Set the teamsAppId property: The ID from the Teams app manifest.
Parameters:
Returns:
withVersion
public MicrosoftGraphTeamsAppDefinition withVersion(String version)
Set the version property: The version number of the application.
Parameters:
Returns: