C# 클래스 Net.Pokeshot.JiveSdk.Clients.MessagesClient

상속: JiveClient
파일 보기 프로젝트 열기: jivesoftware/JiveDotNetSDK

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
GetContentReplies ( int contentID, int count = 25, bool excludeReplies = false, List filter = null, bool hierarchical = true, int startIndex, string anchor = null, List fields = null ) : List

Return a list of messages for the specified content object, which must be a discussion, optionally limiting the results to direct replies only.

GetMessage ( int messageID, bool abridged = false, List fields = null ) : Message

Return the specified message with the specified fields.

GetReplies ( int messageID, int count = 25, bool excludeReplies = false, List filter = null, bool hierarchical = true, int startIndex, string anchor = null, string messageTarget = "all", List fields = null ) : List

Return a list of messages that are replies to the specified message, optionally limiting the returned results to direct replies only.

MessagesClient ( string communityUrl, NetworkCredential credentials ) : System

메소드 상세

GetContentReplies() 공개 메소드

Return a list of messages for the specified content object, which must be a discussion, optionally limiting the results to direct replies only.
public GetContentReplies ( int contentID, int count = 25, bool excludeReplies = false, List filter = null, bool hierarchical = true, int startIndex, string anchor = null, List fields = null ) : List
contentID int ID of the content object (must be a discussion) for which to return reply messages
count int Maximum number of messages to be returned (default is 25)
excludeReplies bool Flag indicating whether to exclude replies (and therefore return direct replies only) (default is false)
filter List The filter criteria used to select reply messages
hierarchical bool Flag indicating that replies should be returned in hierarchical order instead of chronological order. (default is true) Since v3.1
startIndex int Zero-relative index of the first message to be returned (default is 0)
anchor string optional URI for a message to anchor at. Specifying a anchor will try to return the page containing the anchor. If the anchor could not be found then the first page of messages will be returned.
fields List Fields to be returned in the selected messages
리턴 List

GetMessage() 공개 메소드

Return the specified message with the specified fields.
public GetMessage ( int messageID, bool abridged = false, List fields = null ) : Message
messageID int ID of the message to be returned
abridged bool Flag indicating that if content.text is requested, it will be abridged (length shortened, HTML tags removed)
fields List Fields to be returned
리턴 Net.Pokeshot.JiveSdk.Models.Message

GetReplies() 공개 메소드

Return a list of messages that are replies to the specified message, optionally limiting the returned results to direct replies only.
public GetReplies ( int messageID, int count = 25, bool excludeReplies = false, List filter = null, bool hierarchical = true, int startIndex, string anchor = null, string messageTarget = "all", List fields = null ) : List
messageID int ID of the message for which to return reply messages
count int Maximum number of messages to be returned (default is 25)
excludeReplies bool Flag indicating whether to exclude replies (and therefore return direct replies only) (default is false)
filter List The filter criteria used to select reply messages
hierarchical bool Flag indicating that replies should be returned in hierarchical order instead of chronological order. (default is true) Since v3.1
startIndex int Zero-relative index of the first message to be returned (default is 0)
anchor string optional URI for a message to anchor at. Specifying a anchor will try to return the page containing the anchor. If the anchor could not be found then the first page of messages will be returned.
messageTarget string is the target from which you want to replies. Must be one of "replyToTlo", "replyAsComment", "all"
fields List Fields to be returned in the selected messages
리턴 List

MessagesClient() 공개 메소드

public MessagesClient ( string communityUrl, NetworkCredential credentials ) : System
communityUrl string
credentials System.Net.NetworkCredential
리턴 System