Class MicrosoftGraphTeamMessagingSettings
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphTeamMessagingSettings
teamMessagingSettings.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphTeamMessagingSettings class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: teamMessagingSettings.Get the allowChannelMentions property: If set to true, @channel mentions are allowed.Get the allowOwnerDeleteMessages property: If set to true, owners can delete any message.Get the allowTeamMentions property: If set to true, @team mentions are allowed.Get the allowUserDeleteMessages property: If set to true, users can delete their messages.Get the allowUserEditMessages property: If set to true, users can edit their messages.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: teamMessagingSettings.withAllowChannelMentions(Boolean allowChannelMentions) Set the allowChannelMentions property: If set to true, @channel mentions are allowed.withAllowOwnerDeleteMessages(Boolean allowOwnerDeleteMessages) Set the allowOwnerDeleteMessages property: If set to true, owners can delete any message.withAllowTeamMentions(Boolean allowTeamMentions) Set the allowTeamMentions property: If set to true, @team mentions are allowed.withAllowUserDeleteMessages(Boolean allowUserDeleteMessages) Set the allowUserDeleteMessages property: If set to true, users can delete their messages.withAllowUserEditMessages(Boolean allowUserEditMessages) Set the allowUserEditMessages property: If set to true, users can edit their messages.
-
Constructor Details
-
MicrosoftGraphTeamMessagingSettings
public MicrosoftGraphTeamMessagingSettings()Creates an instance of MicrosoftGraphTeamMessagingSettings class.
-
-
Method Details
-
allowChannelMentions
Get the allowChannelMentions property: If set to true, @channel mentions are allowed.- Returns:
- the allowChannelMentions value.
-
withAllowChannelMentions
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
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
Get the allowTeamMentions property: If set to true, @team mentions are allowed.- Returns:
- the allowTeamMentions value.
-
withAllowTeamMentions
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
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
Get the allowUserEditMessages property: If set to true, users can edit their messages.- Returns:
- the allowUserEditMessages value.
-
withAllowUserEditMessages
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
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.
-