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

MicrosoftGraphTeamMemberSettings Class

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

Implements

public final class MicrosoftGraphTeamMemberSettings
implements JsonSerializable<MicrosoftGraphTeamMemberSettings>

teamMemberSettings.

Constructor Summary

Constructor Description
MicrosoftGraphTeamMemberSettings()

Creates an instance of MicrosoftGraphTeamMemberSettings class.

Method Summary

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

Get the additionalProperties property: teamMemberSettings.

Boolean allowAddRemoveApps()

Get the allowAddRemoveApps property: If set to true, members can add and remove apps.

Boolean allowCreatePrivateChannels()

Get the allowCreatePrivateChannels property: If set to true, members can add and update private channels.

Boolean allowCreateUpdateChannels()

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

Boolean allowCreateUpdateRemoveConnectors()

Get the allowCreateUpdateRemoveConnectors property: If set to true, members can add, update, and remove connectors.

Boolean allowCreateUpdateRemoveTabs()

Get the allowCreateUpdateRemoveTabs property: If set to true, members can add, update, and remove tabs.

Boolean allowDeleteChannels()

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

static MicrosoftGraphTeamMemberSettings fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphTeamMemberSettings from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphTeamMemberSettings withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: teamMemberSettings.

MicrosoftGraphTeamMemberSettings withAllowAddRemoveApps(Boolean allowAddRemoveApps)

Set the allowAddRemoveApps property: If set to true, members can add and remove apps.

MicrosoftGraphTeamMemberSettings withAllowCreatePrivateChannels(Boolean allowCreatePrivateChannels)

Set the allowCreatePrivateChannels property: If set to true, members can add and update private channels.

MicrosoftGraphTeamMemberSettings withAllowCreateUpdateChannels(Boolean allowCreateUpdateChannels)

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

MicrosoftGraphTeamMemberSettings withAllowCreateUpdateRemoveConnectors(Boolean allowCreateUpdateRemoveConnectors)

Set the allowCreateUpdateRemoveConnectors property: If set to true, members can add, update, and remove connectors.

MicrosoftGraphTeamMemberSettings withAllowCreateUpdateRemoveTabs(Boolean allowCreateUpdateRemoveTabs)

Set the allowCreateUpdateRemoveTabs property: If set to true, members can add, update, and remove tabs.

MicrosoftGraphTeamMemberSettings withAllowDeleteChannels(Boolean allowDeleteChannels)

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

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphTeamMemberSettings

public MicrosoftGraphTeamMemberSettings()

Creates an instance of MicrosoftGraphTeamMemberSettings class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: teamMemberSettings.

Returns:

the additionalProperties value.

allowAddRemoveApps

public Boolean allowAddRemoveApps()

Get the allowAddRemoveApps property: If set to true, members can add and remove apps.

Returns:

the allowAddRemoveApps value.

allowCreatePrivateChannels

public Boolean allowCreatePrivateChannels()

Get the allowCreatePrivateChannels property: If set to true, members can add and update private channels.

Returns:

the allowCreatePrivateChannels value.

allowCreateUpdateChannels

public Boolean allowCreateUpdateChannels()

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

Returns:

the allowCreateUpdateChannels value.

allowCreateUpdateRemoveConnectors

public Boolean allowCreateUpdateRemoveConnectors()

Get the allowCreateUpdateRemoveConnectors property: If set to true, members can add, update, and remove connectors.

Returns:

the allowCreateUpdateRemoveConnectors value.

allowCreateUpdateRemoveTabs

public Boolean allowCreateUpdateRemoveTabs()

Get the allowCreateUpdateRemoveTabs property: If set to true, members can add, update, and remove tabs.

Returns:

the allowCreateUpdateRemoveTabs value.

allowDeleteChannels

public Boolean allowDeleteChannels()

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

Returns:

the allowDeleteChannels value.

fromJson

public static MicrosoftGraphTeamMemberSettings fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphTeamMemberSettings from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphTeamMemberSettings withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: teamMemberSettings.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphTeamMemberSettings object itself.

withAllowAddRemoveApps

public MicrosoftGraphTeamMemberSettings withAllowAddRemoveApps(Boolean allowAddRemoveApps)

Set the allowAddRemoveApps property: If set to true, members can add and remove apps.

Parameters:

allowAddRemoveApps - the allowAddRemoveApps value to set.

Returns:

the MicrosoftGraphTeamMemberSettings object itself.

withAllowCreatePrivateChannels

public MicrosoftGraphTeamMemberSettings withAllowCreatePrivateChannels(Boolean allowCreatePrivateChannels)

Set the allowCreatePrivateChannels property: If set to true, members can add and update private channels.

Parameters:

allowCreatePrivateChannels - the allowCreatePrivateChannels value to set.

Returns:

the MicrosoftGraphTeamMemberSettings object itself.

withAllowCreateUpdateChannels

public MicrosoftGraphTeamMemberSettings withAllowCreateUpdateChannels(Boolean allowCreateUpdateChannels)

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

Parameters:

allowCreateUpdateChannels - the allowCreateUpdateChannels value to set.

Returns:

the MicrosoftGraphTeamMemberSettings object itself.

withAllowCreateUpdateRemoveConnectors

public MicrosoftGraphTeamMemberSettings withAllowCreateUpdateRemoveConnectors(Boolean allowCreateUpdateRemoveConnectors)

Set the allowCreateUpdateRemoveConnectors property: If set to true, members can add, update, and remove connectors.

Parameters:

allowCreateUpdateRemoveConnectors - the allowCreateUpdateRemoveConnectors value to set.

Returns:

the MicrosoftGraphTeamMemberSettings object itself.

withAllowCreateUpdateRemoveTabs

public MicrosoftGraphTeamMemberSettings withAllowCreateUpdateRemoveTabs(Boolean allowCreateUpdateRemoveTabs)

Set the allowCreateUpdateRemoveTabs property: If set to true, members can add, update, and remove tabs.

Parameters:

allowCreateUpdateRemoveTabs - the allowCreateUpdateRemoveTabs value to set.

Returns:

the MicrosoftGraphTeamMemberSettings object itself.

withAllowDeleteChannels

public MicrosoftGraphTeamMemberSettings withAllowDeleteChannels(Boolean allowDeleteChannels)

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

Parameters:

allowDeleteChannels - the allowDeleteChannels value to set.

Returns:

the MicrosoftGraphTeamMemberSettings object itself.

Applies to