Package com.microsoft.graph.models
Class Channel
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.Channel
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
The class for the Channel.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Created Date Time.The Description.The Display Name.The Email.The Files Folder.The Is Favorite By Default.The Members.The Membership Type.The Messages.The Shared With Teams.The Tabs.The Tenant Id.The Web Url. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setRawObject
(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectMethods inherited from class com.microsoft.graph.models.Entity
additionalDataManager
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.microsoft.graph.serializer.IJsonBackedObject
additionalDataManager
-
Field Details
-
createdDateTime
@SerializedName(value="createdDateTime", alternate="CreatedDateTime") @Expose @Nullable public OffsetDateTime createdDateTimeThe Created Date Time. Read only. Timestamp at which the channel was created. -
description
@SerializedName(value="description", alternate="Description") @Expose @Nullable public String descriptionThe Description. Optional textual description for the channel. -
displayName
@SerializedName(value="displayName", alternate="DisplayName") @Expose @Nullable public String displayNameThe Display Name. Channel name as it will appear to the user in Microsoft Teams. -
email
The Email. The email address for sending messages to the channel. Read-only. -
isFavoriteByDefault
@SerializedName(value="isFavoriteByDefault", alternate="IsFavoriteByDefault") @Expose @Nullable public Boolean isFavoriteByDefaultThe Is Favorite By Default. 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. -
membershipType
@SerializedName(value="membershipType", alternate="MembershipType") @Expose @Nullable public ChannelMembershipType membershipTypeThe Membership Type. The type of the channel. Can be set during creation and can't be changed. The possible values are: standard, private, unknownFutureValue, shared. The default value is standard. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: shared. -
tenantId
The Tenant Id. The ID of the Azure Active Directory tenant. -
webUrl
The Web Url. 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. -
filesFolder
@SerializedName(value="filesFolder", alternate="FilesFolder") @Expose @Nullable public DriveItem filesFolderThe Files Folder. Metadata for the location where the channel's files are stored. -
members
@SerializedName(value="members", alternate="Members") @Expose @Nullable public ConversationMemberCollectionPage membersThe Members. A collection of membership records associated with the channel. -
messages
@SerializedName(value="messages", alternate="Messages") @Expose @Nullable public ChatMessageCollectionPage messagesThe Messages. A collection of all the messages in the channel. A navigation property. Nullable. -
tabs
@SerializedName(value="tabs", alternate="Tabs") @Expose @Nullable public TeamsTabCollectionPage tabsThe Tabs. A collection of all the tabs in the channel. A navigation property.
-
-
Constructor Details
-
Channel
public Channel()
-
-
Method Details
-
setRawObject
public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json) Sets the raw JSON object- Specified by:
setRawObject
in interfacecom.microsoft.graph.serializer.IJsonBackedObject
- Overrides:
setRawObject
in classEntity
- Parameters:
serializer
- the serializerjson
- the JSON object to set this object to
-