MicrosoftGraphTeamMessagingSettings Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphTeamMessagingSettings
- com.
Implements
public final class MicrosoftGraphTeamMessagingSettings
implements JsonSerializable<MicrosoftGraphTeamMessagingSettings>
teamMessagingSettings.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphTeamMessagingSettings() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
Boolean |
allowChannelMentions()
Get the allow |
Boolean |
allowOwnerDeleteMessages()
Get the allow |
Boolean |
allowTeamMentions()
Get the allow |
Boolean |
allowUserDeleteMessages()
Get the allow |
Boolean |
allowUserEditMessages()
Get the allow |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withAllowChannelMentions(Boolean allowChannelMentions)
Set the allow |
Microsoft |
withAllowOwnerDeleteMessages(Boolean allowOwnerDeleteMessages)
Set the allow |
Microsoft |
withAllowTeamMentions(Boolean allowTeamMentions)
Set the allow |
Microsoft |
withAllowUserDeleteMessages(Boolean allowUserDeleteMessages)
Set the allow |
Microsoft |
withAllowUserEditMessages(Boolean allowUserEditMessages)
Set the allow |
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphTeamMessagingSettings
public MicrosoftGraphTeamMessagingSettings()
Creates an instance of MicrosoftGraphTeamMessagingSettings class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: teamMessagingSettings.
Returns:
allowChannelMentions
public Boolean allowChannelMentions()
Get the allowChannelMentions property: If set to true, @channel mentions are allowed.
Returns:
allowOwnerDeleteMessages
public Boolean allowOwnerDeleteMessages()
Get the allowOwnerDeleteMessages property: If set to true, owners can delete any message.
Returns:
allowTeamMentions
public Boolean allowTeamMentions()
Get the allowTeamMentions property: If set to true, @team mentions are allowed.
Returns:
allowUserDeleteMessages
public Boolean allowUserDeleteMessages()
Get the allowUserDeleteMessages property: If set to true, users can delete their messages.
Returns:
allowUserEditMessages
public Boolean allowUserEditMessages()
Get the allowUserEditMessages property: If set to true, users can edit their messages.
Returns:
fromJson
public static MicrosoftGraphTeamMessagingSettings fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphTeamMessagingSettings from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withAdditionalProperties
public MicrosoftGraphTeamMessagingSettings withAdditionalProperties(Map
Set the additionalProperties property: teamMessagingSettings.
Parameters:
Returns:
withAllowChannelMentions
public MicrosoftGraphTeamMessagingSettings withAllowChannelMentions(Boolean allowChannelMentions)
Set the allowChannelMentions property: If set to true, @channel mentions are allowed.
Parameters:
Returns:
withAllowOwnerDeleteMessages
public MicrosoftGraphTeamMessagingSettings withAllowOwnerDeleteMessages(Boolean allowOwnerDeleteMessages)
Set the allowOwnerDeleteMessages property: If set to true, owners can delete any message.
Parameters:
Returns:
withAllowTeamMentions
public MicrosoftGraphTeamMessagingSettings withAllowTeamMentions(Boolean allowTeamMentions)
Set the allowTeamMentions property: If set to true, @team mentions are allowed.
Parameters:
Returns:
withAllowUserDeleteMessages
public MicrosoftGraphTeamMessagingSettings withAllowUserDeleteMessages(Boolean allowUserDeleteMessages)
Set the allowUserDeleteMessages property: If set to true, users can delete their messages.
Parameters:
Returns:
withAllowUserEditMessages
public MicrosoftGraphTeamMessagingSettings withAllowUserEditMessages(Boolean allowUserEditMessages)
Set the allowUserEditMessages property: If set to true, users can edit their messages.
Parameters:
Returns:
Applies to
Azure SDK for Java