你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphChannel Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphChannel
- com.
- com.
public final class MicrosoftGraphChannel
extends MicrosoftGraphEntity
channel.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphChannel() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
String |
description()
Get the description property: Optional textual description for the channel. |
String |
displayName()
Get the display |
String |
email()
Get the email property: The email address for sending messages to the channel. |
Microsoft |
filesFolder()
Get the files |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
Boolean |
isFavoriteByDefault()
Get the is |
List<Microsoft |
members()
Get the members property: A collection of membership records associated with the channel. |
Microsoft |
membershipType()
Get the membership |
List<Microsoft |
messages()
Get the messages property: A collection of all the messages in the channel. |
List<Microsoft |
tabs()
Get the tabs property: A collection of all the tabs in the channel. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
String |
webUrl()
Get the web |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withDescription(String description)
Set the description property: Optional textual description for the channel. |
Microsoft |
withDisplayName(String displayName)
Set the display |
Microsoft |
withEmail(String email)
Set the email property: The email address for sending messages to the channel. |
Microsoft |
withFilesFolder(MicrosoftGraphDriveItem filesFolder)
Set the files |
Microsoft |
withId(String id)
Set the id property: Read-only. |
Microsoft |
withIsFavoriteByDefault(Boolean isFavoriteByDefault)
Set the is |
Microsoft |
withMembers(List<MicrosoftGraphConversationMember> members)
Set the members property: A collection of membership records associated with the channel. |
Microsoft |
withMembershipType(MicrosoftGraphChannelMembershipType membershipType)
Set the membership |
Microsoft |
withMessages(List<MicrosoftGraphChatMessage> messages)
Set the messages property: A collection of all the messages in the channel. |
Microsoft |
withTabs(List<MicrosoftGraphTeamsTab> tabs)
Set the tabs property: A collection of all the tabs in the channel. |
Microsoft |
withWebUrl(String webUrl)
Set the web |
Methods inherited from MicrosoftGraphEntity
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphChannel
public MicrosoftGraphChannel()
Creates an instance of MicrosoftGraphChannel class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: channel.
Overrides:
MicrosoftGraphChannel.additionalProperties()Returns:
description
public String description()
Get the description property: Optional textual description for the channel.
Returns:
displayName
public String displayName()
Get the displayName property: Channel name as it will appear to the user in Microsoft Teams.
Returns:
public String email()
Get the email property: The email address for sending messages to the channel. Read-only.
Returns:
filesFolder
public MicrosoftGraphDriveItem filesFolder()
Get the filesFolder property: driveItem.
Returns:
fromJson
public static MicrosoftGraphChannel fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphChannel from the JsonReader.
Parameters:
Returns:
Throws:
isFavoriteByDefault
public Boolean isFavoriteByDefault()
Get the isFavoriteByDefault property: Indicates whether the channel should be marked 'recommended' for all members of the team to show in their channel list. Can only be set programmatically with Create team. Default: false. NOTE: All recommended channels will automatically show in channels list for EDU and FLW users.
Returns:
members
public List
Get the members property: A collection of membership records associated with the channel.
Returns:
membershipType
public MicrosoftGraphChannelMembershipType membershipType()
Get the membershipType property: channelMembershipType.
Returns:
messages
public List
Get the messages property: A collection of all the messages in the channel. A navigation property. Nullable.
Returns:
tabs
public List
Get the tabs property: A collection of all the tabs in the channel. A navigation property.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphChannel.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphChannel.validate()webUrl
public String 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:
withAdditionalProperties
public MicrosoftGraphChannel withAdditionalProperties(Map
Set the additionalProperties property: channel.
Overrides:
MicrosoftGraphChannel.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withDescription
public MicrosoftGraphChannel withDescription(String description)
Set the description property: Optional textual description for the channel.
Parameters:
Returns:
withDisplayName
public MicrosoftGraphChannel withDisplayName(String displayName)
Set the displayName property: Channel name as it will appear to the user in Microsoft Teams.
Parameters:
Returns:
withEmail
public MicrosoftGraphChannel withEmail(String email)
Set the email property: The email address for sending messages to the channel. Read-only.
Parameters:
Returns:
withFilesFolder
public MicrosoftGraphChannel withFilesFolder(MicrosoftGraphDriveItem filesFolder)
Set the filesFolder property: driveItem.
Parameters:
Returns:
withId
public MicrosoftGraphChannel withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphChannel.withId(String id)Parameters:
withIsFavoriteByDefault
public MicrosoftGraphChannel withIsFavoriteByDefault(Boolean isFavoriteByDefault)
Set the isFavoriteByDefault property: Indicates whether the channel should be marked 'recommended' for all members of the team to show in their channel list. Can only be set programmatically with Create team. Default: false. NOTE: All recommended channels will automatically show in channels list for EDU and FLW users.
Parameters:
Returns:
withMembers
public MicrosoftGraphChannel withMembers(List
Set the members property: A collection of membership records associated with the channel.
Parameters:
Returns:
withMembershipType
public MicrosoftGraphChannel withMembershipType(MicrosoftGraphChannelMembershipType membershipType)
Set the membershipType property: channelMembershipType.
Parameters:
Returns:
withMessages
public MicrosoftGraphChannel withMessages(List
Set the messages property: A collection of all the messages in the channel. A navigation property. Nullable.
Parameters:
Returns:
withTabs
public MicrosoftGraphChannel withTabs(List
Set the tabs property: A collection of all the tabs in the channel. A navigation property.
Parameters:
Returns:
withWebUrl
public MicrosoftGraphChannel withWebUrl(String webUrl)
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:
Returns: