MicrosoftGraphTeamGuestSettings Class

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

Implements

public final class MicrosoftGraphTeamGuestSettings
implements JsonSerializable<MicrosoftGraphTeamGuestSettings>

teamGuestSettings.

Constructor Summary

Constructor Description
MicrosoftGraphTeamGuestSettings()

Creates an instance of MicrosoftGraphTeamGuestSettings class.

Method Summary

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

Get the additionalProperties property: teamGuestSettings.

Boolean allowCreateUpdateChannels()

Get the allowCreateUpdateChannels property: If set to true, guests can add and update channels.

Boolean allowDeleteChannels()

Get the allowDeleteChannels property: If set to true, guests can delete channels.

static MicrosoftGraphTeamGuestSettings fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphTeamGuestSettings from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphTeamGuestSettings withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: teamGuestSettings.

MicrosoftGraphTeamGuestSettings withAllowCreateUpdateChannels(Boolean allowCreateUpdateChannels)

Set the allowCreateUpdateChannels property: If set to true, guests can add and update channels.

MicrosoftGraphTeamGuestSettings withAllowDeleteChannels(Boolean allowDeleteChannels)

Set the allowDeleteChannels property: If set to true, guests can delete channels.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphTeamGuestSettings

public MicrosoftGraphTeamGuestSettings()

Creates an instance of MicrosoftGraphTeamGuestSettings class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: teamGuestSettings.

Returns:

the additionalProperties value.

allowCreateUpdateChannels

public Boolean allowCreateUpdateChannels()

Get the allowCreateUpdateChannels property: If set to true, guests can add and update channels.

Returns:

the allowCreateUpdateChannels value.

allowDeleteChannels

public Boolean allowDeleteChannels()

Get the allowDeleteChannels property: If set to true, guests can delete channels.

Returns:

the allowDeleteChannels value.

fromJson

public static MicrosoftGraphTeamGuestSettings fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphTeamGuestSettings from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphTeamGuestSettings withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: teamGuestSettings.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphTeamGuestSettings object itself.

withAllowCreateUpdateChannels

public MicrosoftGraphTeamGuestSettings withAllowCreateUpdateChannels(Boolean allowCreateUpdateChannels)

Set the allowCreateUpdateChannels property: If set to true, guests can add and update channels.

Parameters:

allowCreateUpdateChannels - the allowCreateUpdateChannels value to set.

Returns:

the MicrosoftGraphTeamGuestSettings object itself.

withAllowDeleteChannels

public MicrosoftGraphTeamGuestSettings withAllowDeleteChannels(Boolean allowDeleteChannels)

Set the allowDeleteChannels property: If set to true, guests can delete channels.

Parameters:

allowDeleteChannels - the allowDeleteChannels value to set.

Returns:

the MicrosoftGraphTeamGuestSettings object itself.

Applies to