Compartilhar via


MicrosoftGraphTeamsTemplate Class

public final class MicrosoftGraphTeamsTemplate
extends MicrosoftGraphEntity

teamsTemplate.

Constructor Summary

Constructor Description
MicrosoftGraphTeamsTemplate()

Creates an instance of MicrosoftGraphTeamsTemplate class.

Method Summary

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

Get the additionalProperties property: teamsTemplate.

static MicrosoftGraphTeamsTemplate fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphTeamsTemplate from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphTeamsTemplate withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: teamsTemplate.

MicrosoftGraphTeamsTemplate withId(String id)

Set the id property: Read-only.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphTeamsTemplate

public MicrosoftGraphTeamsTemplate()

Creates an instance of MicrosoftGraphTeamsTemplate class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: teamsTemplate.

Overrides:

MicrosoftGraphTeamsTemplate.additionalProperties()

Returns:

the additionalProperties value.

fromJson

public static MicrosoftGraphTeamsTemplate fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphTeamsTemplate from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphTeamsTemplate.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphTeamsTemplate.validate()

withAdditionalProperties

public MicrosoftGraphTeamsTemplate withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: teamsTemplate.

Overrides:

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

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphTeamsTemplate object itself.

withId

public MicrosoftGraphTeamsTemplate withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphTeamsTemplate.withId(String id)

Parameters:

id

Applies to