Class MicrosoftGraphChannel

    • Constructor Detail

      • MicrosoftGraphChannel

        public MicrosoftGraphChannel()
    • Method Detail

      • description

        public String description()
        Get the description property: Optional textual description for the channel.
        Returns:
        the description value.
      • withDescription

        public MicrosoftGraphChannel withDescription​(String description)
        Set the description property: Optional textual description for the channel.
        Parameters:
        description - the description value to set.
        Returns:
        the MicrosoftGraphChannel object itself.
      • displayName

        public String displayName()
        Get the displayName property: Channel name as it will appear to the user in Microsoft Teams.
        Returns:
        the displayName value.
      • withDisplayName

        public MicrosoftGraphChannel withDisplayName​(String displayName)
        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

        public String email()
        Get the email property: The email address for sending messages to the channel. Read-only.
        Returns:
        the email value.
      • withEmail

        public MicrosoftGraphChannel withEmail​(String email)
        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

        public Boolean 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

        public MicrosoftGraphChannel withIsFavoriteByDefault​(Boolean isFavoriteByDefault)
        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

        public MicrosoftGraphChannelMembershipType membershipType()
        Get the membershipType property: The membershipType property.
        Returns:
        the membershipType value.
      • withMembershipType

        public MicrosoftGraphChannel withMembershipType​(MicrosoftGraphChannelMembershipType membershipType)
        Set the membershipType property: The membershipType property.
        Parameters:
        membershipType - the membershipType value to set.
        Returns:
        the MicrosoftGraphChannel object itself.
      • 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:
        the webUrl value.
      • 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:
        webUrl - the webUrl value to set.
        Returns:
        the MicrosoftGraphChannel object itself.
      • filesFolder

        public MicrosoftGraphDriveItem filesFolder()
        Get the filesFolder property: driveItem.
        Returns:
        the filesFolder value.
      • withFilesFolder

        public MicrosoftGraphChannel withFilesFolder​(MicrosoftGraphDriveItem filesFolder)
        Set the filesFolder property: driveItem.
        Parameters:
        filesFolder - the filesFolder value to set.
        Returns:
        the MicrosoftGraphChannel object itself.
      • members

        public List<MicrosoftGraphConversationMember> members()
        Get the members property: A collection of membership records associated with the channel.
        Returns:
        the members value.
      • withMembers

        public MicrosoftGraphChannel withMembers​(List<MicrosoftGraphConversationMember> members)
        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

        public List<MicrosoftGraphChatMessage> messages()
        Get the messages property: A collection of all the messages in the channel. A navigation property. Nullable.
        Returns:
        the messages value.
      • withMessages

        public MicrosoftGraphChannel withMessages​(List<MicrosoftGraphChatMessage> messages)
        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

        public List<MicrosoftGraphTeamsTab> tabs()
        Get the tabs property: A collection of all the tabs in the channel. A navigation property.
        Returns:
        the tabs value.
      • withTabs

        public MicrosoftGraphChannel withTabs​(List<MicrosoftGraphTeamsTab> tabs)
        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.