MicrosoftGraphTeamsApp Class

public final class MicrosoftGraphTeamsApp
extends MicrosoftGraphEntity

teamsApp.

Constructor Summary

Constructor Description
MicrosoftGraphTeamsApp()

Creates an instance of MicrosoftGraphTeamsApp class.

Method Summary

Modifier and Type Method and 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: teamsAppDistributionMethod.

String externalId()

Get the externalId property: The ID of the catalog provided by the app developer in the Microsoft Teams zip app package.

static MicrosoftGraphTeamsApp fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphTeamsApp from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
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: teamsAppDistributionMethod.

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 MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphTeamsApp

public MicrosoftGraphTeamsApp()

Creates an instance of MicrosoftGraphTeamsApp class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: teamsApp.

Overrides:

MicrosoftGraphTeamsApp.additionalProperties()

Returns:

the additionalProperties value.

appDefinitions

public List appDefinitions()

Get the appDefinitions property: The details for each version of the app.

Returns:

the appDefinitions value.

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.

distributionMethod

public MicrosoftGraphTeamsAppDistributionMethod distributionMethod()

Get the distributionMethod property: teamsAppDistributionMethod.

Returns:

the distributionMethod value.

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.

fromJson

public static MicrosoftGraphTeamsApp fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphTeamsApp from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphTeamsApp if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphTeamsApp.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphTeamsApp.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphTeamsApp.validate()

withAdditionalProperties

public MicrosoftGraphTeamsApp withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: teamsApp.

Overrides:

MicrosoftGraphTeamsApp.withAdditionalProperties(Map<String,Object> additionalProperties)

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphTeamsApp object itself.

withAppDefinitions

public MicrosoftGraphTeamsApp withAppDefinitions(List 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.

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.

withDistributionMethod

public MicrosoftGraphTeamsApp withDistributionMethod(MicrosoftGraphTeamsAppDistributionMethod distributionMethod)

Set the distributionMethod property: teamsAppDistributionMethod.

Parameters:

distributionMethod - the distributionMethod value to set.

Returns:

the MicrosoftGraphTeamsApp object itself.

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.

withId

public MicrosoftGraphTeamsApp withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphTeamsApp.withId(String id)

Parameters:

id

Applies to