Class Channel

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.Channel
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class Channel extends Entity implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Channel.
  • Field Details

    • createdDateTime

      @SerializedName(value="createdDateTime", alternate="CreatedDateTime") @Expose @Nullable public OffsetDateTime createdDateTime
      The Created Date Time. Read only. Timestamp at which the channel was created.
    • description

      @SerializedName(value="description", alternate="Description") @Expose @Nullable public String description
      The Description. Optional textual description for the channel.
    • displayName

      @SerializedName(value="displayName", alternate="DisplayName") @Expose @Nullable public String displayName
      The Display Name. Channel name as it will appear to the user in Microsoft Teams.
    • email

      @SerializedName(value="email", alternate="Email") @Expose @Nullable public String email
      The Email. The email address for sending messages to the channel. Read-only.
    • isFavoriteByDefault

      @SerializedName(value="isFavoriteByDefault", alternate="IsFavoriteByDefault") @Expose @Nullable public Boolean isFavoriteByDefault
      The 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 membershipType
      The Membership Type. The type of the channel. Can be set during creation and can't be changed. Possible values are: standard - Channel inherits the list of members of the parent team; private - Channel can have members that are a subset of all the members on the parent team.
    • webUrl

      @SerializedName(value="webUrl", alternate="WebUrl") @Expose @Nullable public String 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 filesFolder
      The Files Folder. Metadata for the location where the channel's files are stored.
    • members

      @SerializedName(value="members", alternate="Members") @Expose @Nullable public ConversationMemberCollectionPage members
      The Members. A collection of membership records associated with the channel.
    • messages

      @SerializedName(value="messages", alternate="Messages") @Expose @Nullable public ChatMessageCollectionPage messages
      The Messages. A collection of all the messages in the channel. A navigation property. Nullable.
    • tabs

      @SerializedName(value="tabs", alternate="Tabs") @Expose @Nullable public TeamsTabCollectionPage tabs
      The 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 interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class Entity
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to