MicrosoftGraphTeamsAppInstallation Class

public class MicrosoftGraphTeamsAppInstallation
extends MicrosoftGraphEntity

teamsAppInstallation.

Constructor Summary

Constructor Description
MicrosoftGraphTeamsAppInstallation()

Creates an instance of MicrosoftGraphTeamsAppInstallation class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: teamsAppInstallation.

static MicrosoftGraphTeamsAppInstallation fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphTeamsAppInstallation from the JsonReader.

MicrosoftGraphTeamsApp teamsApp()

Get the teamsApp property: teamsApp.

MicrosoftGraphTeamsAppDefinition teamsAppDefinition()

Get the teamsAppDefinition property: teamsAppDefinition.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphTeamsAppInstallation withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: teamsAppInstallation.

MicrosoftGraphTeamsAppInstallation withId(String id)

Set the id property: Read-only.

MicrosoftGraphTeamsAppInstallation withTeamsApp(MicrosoftGraphTeamsApp teamsApp)

Set the teamsApp property: teamsApp.

MicrosoftGraphTeamsAppInstallation withTeamsAppDefinition(MicrosoftGraphTeamsAppDefinition teamsAppDefinition)

Set the teamsAppDefinition property: teamsAppDefinition.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphTeamsAppInstallation

public MicrosoftGraphTeamsAppInstallation()

Creates an instance of MicrosoftGraphTeamsAppInstallation class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: teamsAppInstallation.

Overrides:

MicrosoftGraphTeamsAppInstallation.additionalProperties()

Returns:

the additionalProperties value.

fromJson

public static MicrosoftGraphTeamsAppInstallation fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphTeamsAppInstallation from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphTeamsAppInstallation 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 MicrosoftGraphTeamsAppInstallation.

teamsApp

public MicrosoftGraphTeamsApp teamsApp()

Get the teamsApp property: teamsApp.

Returns:

the teamsApp value.

teamsAppDefinition

public MicrosoftGraphTeamsAppDefinition teamsAppDefinition()

Get the teamsAppDefinition property: teamsAppDefinition.

Returns:

the teamsAppDefinition value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphTeamsAppInstallation.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphTeamsAppInstallation.validate()

withAdditionalProperties

public MicrosoftGraphTeamsAppInstallation withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: teamsAppInstallation.

Overrides:

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

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphTeamsAppInstallation object itself.

withId

public MicrosoftGraphTeamsAppInstallation withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphTeamsAppInstallation.withId(String id)

Parameters:

id

withTeamsApp

public MicrosoftGraphTeamsAppInstallation withTeamsApp(MicrosoftGraphTeamsApp teamsApp)

Set the teamsApp property: teamsApp.

Parameters:

teamsApp - the teamsApp value to set.

Returns:

the MicrosoftGraphTeamsAppInstallation object itself.

withTeamsAppDefinition

public MicrosoftGraphTeamsAppInstallation withTeamsAppDefinition(MicrosoftGraphTeamsAppDefinition teamsAppDefinition)

Set the teamsAppDefinition property: teamsAppDefinition.

Parameters:

teamsAppDefinition - the teamsAppDefinition value to set.

Returns:

the MicrosoftGraphTeamsAppInstallation object itself.

Applies to