MicrosoftGraphTeamMessagingSettings Class

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

public final class MicrosoftGraphTeamMessagingSettings

teamMessagingSettings.

Constructor Summary

Constructor Description
MicrosoftGraphTeamMessagingSettings()

Creates an instance of MicrosoftGraphTeamMessagingSettings class.

Method Summary

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

Get the additionalProperties property: teamMessagingSettings.

Boolean allowChannelMentions()

Get the allowChannelMentions property: If set to true, @channel mentions are allowed.

Boolean allowOwnerDeleteMessages()

Get the allowOwnerDeleteMessages property: If set to true, owners can delete any message.

Boolean allowTeamMentions()

Get the allowTeamMentions property: If set to true, @team mentions are allowed.

Boolean allowUserDeleteMessages()

Get the allowUserDeleteMessages property: If set to true, users can delete their messages.

Boolean allowUserEditMessages()

Get the allowUserEditMessages property: If set to true, users can edit their messages.

void validate()

Validates the instance.

MicrosoftGraphTeamMessagingSettings withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: teamMessagingSettings.

MicrosoftGraphTeamMessagingSettings withAllowChannelMentions(Boolean allowChannelMentions)

Set the allowChannelMentions property: If set to true, @channel mentions are allowed.

MicrosoftGraphTeamMessagingSettings withAllowOwnerDeleteMessages(Boolean allowOwnerDeleteMessages)

Set the allowOwnerDeleteMessages property: If set to true, owners can delete any message.

MicrosoftGraphTeamMessagingSettings withAllowTeamMentions(Boolean allowTeamMentions)

Set the allowTeamMentions property: If set to true, @team mentions are allowed.

MicrosoftGraphTeamMessagingSettings withAllowUserDeleteMessages(Boolean allowUserDeleteMessages)

Set the allowUserDeleteMessages property: If set to true, users can delete their messages.

MicrosoftGraphTeamMessagingSettings withAllowUserEditMessages(Boolean allowUserEditMessages)

Set the allowUserEditMessages property: If set to true, users can edit their messages.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphTeamMessagingSettings

public MicrosoftGraphTeamMessagingSettings()

Creates an instance of MicrosoftGraphTeamMessagingSettings class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: teamMessagingSettings.

Returns:

the additionalProperties value.

allowChannelMentions

public Boolean allowChannelMentions()

Get the allowChannelMentions property: If set to true, @channel mentions are allowed.

Returns:

the allowChannelMentions value.

allowOwnerDeleteMessages

public Boolean allowOwnerDeleteMessages()

Get the allowOwnerDeleteMessages property: If set to true, owners can delete any message.

Returns:

the allowOwnerDeleteMessages value.

allowTeamMentions

public Boolean allowTeamMentions()

Get the allowTeamMentions property: If set to true, @team mentions are allowed.

Returns:

the allowTeamMentions value.

allowUserDeleteMessages

public Boolean allowUserDeleteMessages()

Get the allowUserDeleteMessages property: If set to true, users can delete their messages.

Returns:

the allowUserDeleteMessages value.

allowUserEditMessages

public Boolean allowUserEditMessages()

Get the allowUserEditMessages property: If set to true, users can edit their messages.

Returns:

the allowUserEditMessages value.

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphTeamMessagingSettings withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: teamMessagingSettings.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphTeamMessagingSettings object itself.

withAllowChannelMentions

public MicrosoftGraphTeamMessagingSettings withAllowChannelMentions(Boolean allowChannelMentions)

Set the allowChannelMentions property: If set to true, @channel mentions are allowed.

Parameters:

allowChannelMentions - the allowChannelMentions value to set.

Returns:

the MicrosoftGraphTeamMessagingSettings object itself.

withAllowOwnerDeleteMessages

public MicrosoftGraphTeamMessagingSettings withAllowOwnerDeleteMessages(Boolean allowOwnerDeleteMessages)

Set the allowOwnerDeleteMessages property: If set to true, owners can delete any message.

Parameters:

allowOwnerDeleteMessages - the allowOwnerDeleteMessages value to set.

Returns:

the MicrosoftGraphTeamMessagingSettings object itself.

withAllowTeamMentions

public MicrosoftGraphTeamMessagingSettings withAllowTeamMentions(Boolean allowTeamMentions)

Set the allowTeamMentions property: If set to true, @team mentions are allowed.

Parameters:

allowTeamMentions - the allowTeamMentions value to set.

Returns:

the MicrosoftGraphTeamMessagingSettings object itself.

withAllowUserDeleteMessages

public MicrosoftGraphTeamMessagingSettings withAllowUserDeleteMessages(Boolean allowUserDeleteMessages)

Set the allowUserDeleteMessages property: If set to true, users can delete their messages.

Parameters:

allowUserDeleteMessages - the allowUserDeleteMessages value to set.

Returns:

the MicrosoftGraphTeamMessagingSettings object itself.

withAllowUserEditMessages

public MicrosoftGraphTeamMessagingSettings withAllowUserEditMessages(Boolean allowUserEditMessages)

Set the allowUserEditMessages property: If set to true, users can edit their messages.

Parameters:

allowUserEditMessages - the allowUserEditMessages value to set.

Returns:

the MicrosoftGraphTeamMessagingSettings object itself.

Applies to