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. 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

      @SerializedName(value="tenantId", alternate="TenantId") @Expose @Nullable public String tenantId
      The Tenant Id. The ID of the Azure Active Directory tenant.
    • 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.
    • sharedWithTeams

      @SerializedName(value="sharedWithTeams", alternate="SharedWithTeams") @Expose @Nullable public SharedWithChannelTeamInfoCollectionPage sharedWithTeams
      The Shared With Teams. A collection of teams with which a channel is shared.
    • 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