Class MicrosoftGraphChannel
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphChannel
channel.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: channel.Get the description property: Optional textual description for the channel.Get the displayName property: Channel name as it will appear to the user in Microsoft Teams.email()Get the email property: The email address for sending messages to the channel.Get the filesFolder property: driveItem.Get the isFavoriteByDefault property: Indicates whether the channel should automatically be marked 'favorite' for all members of the team.members()Get the members property: A collection of membership records associated with the channel.Get the membershipType property: channelMembershipType.messages()Get the messages property: A collection of all the messages in the channel.tabs()Get the tabs property: A collection of all the tabs in the channel.voidvalidate()Validates the instance.webUrl()Get the webUrl property: A hyperlink that will go to the channel in Microsoft Teams.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: channel.withDescription(String description) Set the description property: Optional textual description for the channel.withDisplayName(String displayName) Set the displayName property: Channel name as it will appear to the user in Microsoft Teams.Set the email property: The email address for sending messages to the channel.withFilesFolder(MicrosoftGraphDriveItem filesFolder) Set the filesFolder property: driveItem.Set the id property: Read-only.withIsFavoriteByDefault(Boolean isFavoriteByDefault) Set the isFavoriteByDefault property: Indicates whether the channel should automatically be marked 'favorite' for all members of the team.withMembers(List<MicrosoftGraphConversationMember> members) Set the members property: A collection of membership records associated with the channel.withMembershipType(MicrosoftGraphChannelMembershipType membershipType) Set the membershipType property: channelMembershipType.withMessages(List<MicrosoftGraphChatMessage> messages) Set the messages property: A collection of all the messages in the channel.withTabs(List<MicrosoftGraphTeamsTab> tabs) Set the tabs property: A collection of all the tabs in the channel.withWebUrl(String webUrl) Set the webUrl property: A hyperlink that will go to the channel in Microsoft Teams.Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
Constructor Details
-
MicrosoftGraphChannel
public MicrosoftGraphChannel()Creates an instance of MicrosoftGraphChannel class.
-
-
Method Details
-
description
Get the description property: Optional textual description for the channel.- Returns:
- the description value.
-
withDescription
Set the description property: Optional textual description for the channel.- Parameters:
description- the description value to set.- Returns:
- the MicrosoftGraphChannel object itself.
-
displayName
Get the displayName property: Channel name as it will appear to the user in Microsoft Teams.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: Channel name as it will appear to the user in Microsoft Teams.- Parameters:
displayName- the displayName value to set.- Returns:
- the MicrosoftGraphChannel object itself.
-
email
Get the email property: The email address for sending messages to the channel. Read-only.- Returns:
- the email value.
-
withEmail
Set the email property: The email address for sending messages to the channel. Read-only.- Parameters:
email- the email value to set.- Returns:
- the MicrosoftGraphChannel object itself.
-
isFavoriteByDefault
Get the isFavoriteByDefault property: Indicates whether the channel should automatically be marked 'favorite' for all members of the team. Can only be set programmatically with Create team. Default: false.- Returns:
- the isFavoriteByDefault value.
-
withIsFavoriteByDefault
Set the isFavoriteByDefault property: Indicates whether the channel should automatically be marked 'favorite' for all members of the team. Can only be set programmatically with Create team. Default: false.- Parameters:
isFavoriteByDefault- the isFavoriteByDefault value to set.- Returns:
- the MicrosoftGraphChannel object itself.
-
membershipType
Get the membershipType property: channelMembershipType.- Returns:
- the membershipType value.
-
withMembershipType
Set the membershipType property: channelMembershipType.- Parameters:
membershipType- the membershipType value to set.- Returns:
- the MicrosoftGraphChannel object itself.
-
webUrl
Get the webUrl property: A hyperlink that will go to the channel in Microsoft Teams. This is the URL that you get when you right-click a channel in Microsoft Teams and select Get link to channel. This URL should be treated as an opaque blob, and not parsed. Read-only.- Returns:
- the webUrl value.
-
withWebUrl
Set the webUrl property: A hyperlink that will go to the channel in Microsoft Teams. This is the URL that you get when you right-click a channel in Microsoft Teams and select Get link to channel. This URL should be treated as an opaque blob, and not parsed. Read-only.- Parameters:
webUrl- the webUrl value to set.- Returns:
- the MicrosoftGraphChannel object itself.
-
filesFolder
Get the filesFolder property: driveItem.- Returns:
- the filesFolder value.
-
withFilesFolder
Set the filesFolder property: driveItem.- Parameters:
filesFolder- the filesFolder value to set.- Returns:
- the MicrosoftGraphChannel object itself.
-
members
Get the members property: A collection of membership records associated with the channel.- Returns:
- the members value.
-
withMembers
Set the members property: A collection of membership records associated with the channel.- Parameters:
members- the members value to set.- Returns:
- the MicrosoftGraphChannel object itself.
-
messages
Get the messages property: A collection of all the messages in the channel. A navigation property. Nullable.- Returns:
- the messages value.
-
withMessages
Set the messages property: A collection of all the messages in the channel. A navigation property. Nullable.- Parameters:
messages- the messages value to set.- Returns:
- the MicrosoftGraphChannel object itself.
-
tabs
Get the tabs property: A collection of all the tabs in the channel. A navigation property.- Returns:
- the tabs value.
-
withTabs
Set the tabs property: A collection of all the tabs in the channel. A navigation property.- Parameters:
tabs- the tabs value to set.- Returns:
- the MicrosoftGraphChannel object itself.
-
additionalProperties
Get the additionalProperties property: channel.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
Set the additionalProperties property: channel.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphChannel object itself.
-
withId
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphEntity- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classMicrosoftGraphEntity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-