你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MicrosoftGraphTeamFunSettings Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphTeamFunSettings

Implements

public final class MicrosoftGraphTeamFunSettings
implements JsonSerializable<MicrosoftGraphTeamFunSettings>

teamFunSettings.

Constructor Summary

Constructor Description
MicrosoftGraphTeamFunSettings()

Creates an instance of MicrosoftGraphTeamFunSettings class.

Method Summary

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

Get the additionalProperties property: teamFunSettings.

Boolean allowCustomMemes()

Get the allowCustomMemes property: If set to true, enables users to include custom memes.

Boolean allowGiphy()

Get the allowGiphy property: If set to true, enables Giphy use.

Boolean allowStickersAndMemes()

Get the allowStickersAndMemes property: If set to true, enables users to include stickers and memes.

static MicrosoftGraphTeamFunSettings fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphTeamFunSettings from the JsonReader.

MicrosoftGraphGiphyRatingType giphyContentRating()

Get the giphyContentRating property: giphyRatingType.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphTeamFunSettings withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: teamFunSettings.

MicrosoftGraphTeamFunSettings withAllowCustomMemes(Boolean allowCustomMemes)

Set the allowCustomMemes property: If set to true, enables users to include custom memes.

MicrosoftGraphTeamFunSettings withAllowGiphy(Boolean allowGiphy)

Set the allowGiphy property: If set to true, enables Giphy use.

MicrosoftGraphTeamFunSettings withAllowStickersAndMemes(Boolean allowStickersAndMemes)

Set the allowStickersAndMemes property: If set to true, enables users to include stickers and memes.

MicrosoftGraphTeamFunSettings withGiphyContentRating(MicrosoftGraphGiphyRatingType giphyContentRating)

Set the giphyContentRating property: giphyRatingType.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphTeamFunSettings

public MicrosoftGraphTeamFunSettings()

Creates an instance of MicrosoftGraphTeamFunSettings class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: teamFunSettings.

Returns:

the additionalProperties value.

allowCustomMemes

public Boolean allowCustomMemes()

Get the allowCustomMemes property: If set to true, enables users to include custom memes.

Returns:

the allowCustomMemes value.

allowGiphy

public Boolean allowGiphy()

Get the allowGiphy property: If set to true, enables Giphy use.

Returns:

the allowGiphy value.

allowStickersAndMemes

public Boolean allowStickersAndMemes()

Get the allowStickersAndMemes property: If set to true, enables users to include stickers and memes.

Returns:

the allowStickersAndMemes value.

fromJson

public static MicrosoftGraphTeamFunSettings fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphTeamFunSettings from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

giphyContentRating

public MicrosoftGraphGiphyRatingType giphyContentRating()

Get the giphyContentRating property: giphyRatingType.

Returns:

the giphyContentRating value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphTeamFunSettings withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: teamFunSettings.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphTeamFunSettings object itself.

withAllowCustomMemes

public MicrosoftGraphTeamFunSettings withAllowCustomMemes(Boolean allowCustomMemes)

Set the allowCustomMemes property: If set to true, enables users to include custom memes.

Parameters:

allowCustomMemes - the allowCustomMemes value to set.

Returns:

the MicrosoftGraphTeamFunSettings object itself.

withAllowGiphy

public MicrosoftGraphTeamFunSettings withAllowGiphy(Boolean allowGiphy)

Set the allowGiphy property: If set to true, enables Giphy use.

Parameters:

allowGiphy - the allowGiphy value to set.

Returns:

the MicrosoftGraphTeamFunSettings object itself.

withAllowStickersAndMemes

public MicrosoftGraphTeamFunSettings withAllowStickersAndMemes(Boolean allowStickersAndMemes)

Set the allowStickersAndMemes property: If set to true, enables users to include stickers and memes.

Parameters:

allowStickersAndMemes - the allowStickersAndMemes value to set.

Returns:

the MicrosoftGraphTeamFunSettings object itself.

withGiphyContentRating

public MicrosoftGraphTeamFunSettings withGiphyContentRating(MicrosoftGraphGiphyRatingType giphyContentRating)

Set the giphyContentRating property: giphyRatingType.

Parameters:

giphyContentRating - the giphyContentRating value to set.

Returns:

the MicrosoftGraphTeamFunSettings object itself.

Applies to