Class MicrosoftGraphTeamMessagingSettings
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphTeamMessagingSettings
-
public final class MicrosoftGraphTeamMessagingSettings extends Object
teamMessagingSettings.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphTeamMessagingSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: teamMessagingSettings.BooleanallowChannelMentions()Get the allowChannelMentions property: If set to true, @channel mentions are allowed.BooleanallowOwnerDeleteMessages()Get the allowOwnerDeleteMessages property: If set to true, owners can delete any message.BooleanallowTeamMentions()Get the allowTeamMentions property: If set to true, @team mentions are allowed.BooleanallowUserDeleteMessages()Get the allowUserDeleteMessages property: If set to true, users can delete their messages.BooleanallowUserEditMessages()Get the allowUserEditMessages property: If set to true, users can edit their messages.voidvalidate()Validates the instance.MicrosoftGraphTeamMessagingSettingswithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: teamMessagingSettings.MicrosoftGraphTeamMessagingSettingswithAllowChannelMentions(Boolean allowChannelMentions)Set the allowChannelMentions property: If set to true, @channel mentions are allowed.MicrosoftGraphTeamMessagingSettingswithAllowOwnerDeleteMessages(Boolean allowOwnerDeleteMessages)Set the allowOwnerDeleteMessages property: If set to true, owners can delete any message.MicrosoftGraphTeamMessagingSettingswithAllowTeamMentions(Boolean allowTeamMentions)Set the allowTeamMentions property: If set to true, @team mentions are allowed.MicrosoftGraphTeamMessagingSettingswithAllowUserDeleteMessages(Boolean allowUserDeleteMessages)Set the allowUserDeleteMessages property: If set to true, users can delete their messages.MicrosoftGraphTeamMessagingSettingswithAllowUserEditMessages(Boolean allowUserEditMessages)Set the allowUserEditMessages property: If set to true, users can edit their messages.
-
-
-
Method Detail
-
allowChannelMentions
public Boolean allowChannelMentions()
Get the allowChannelMentions property: If set to true, @channel mentions are allowed.- Returns:
- the allowChannelMentions value.
-
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.
-
allowOwnerDeleteMessages
public Boolean allowOwnerDeleteMessages()
Get the allowOwnerDeleteMessages property: If set to true, owners can delete any message.- Returns:
- the allowOwnerDeleteMessages value.
-
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.
-
allowTeamMentions
public Boolean allowTeamMentions()
Get the allowTeamMentions property: If set to true, @team mentions are allowed.- Returns:
- the allowTeamMentions value.
-
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.
-
allowUserDeleteMessages
public Boolean allowUserDeleteMessages()
Get the allowUserDeleteMessages property: If set to true, users can delete their messages.- Returns:
- the allowUserDeleteMessages value.
-
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.
-
allowUserEditMessages
public Boolean allowUserEditMessages()
Get the allowUserEditMessages property: If set to true, users can edit their messages.- Returns:
- the allowUserEditMessages value.
-
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.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: teamMessagingSettings.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphTeamMessagingSettings withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: teamMessagingSettings.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphTeamMessagingSettings object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-