C# Class Kippt.KipptClip

Afficher le fichier Open project: Haythem/Kippt.NET

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
AddComment ( KipptClient client, int clipId, string commentText ) : KipptComment

Add comment to a clip.

AddCommentAsync ( KipptClient client, int clipId, string commentText ) : void

Add comment to a clip.

Create ( KipptClient client ) : KipptClip

Creates a clip.

* Url (required). * Title (optional). * Notes (optional). * Resource uri of a list (otherwise it will be saved to inbox). * Is starred (optional). * Is read later (optional).

CreateAsync ( KipptClient client ) : void

Creates a clip.

* Url (required). * Title (optional). * Notes (optional). * Resource uri of a list (otherwise it will be saved to inbox). * Is starred (optional). * Is read later (optional).

Delete ( KipptClient client ) : void

Deletes a clip.

DeleteAsync ( KipptClient client ) : void

Deletes a clip.

DeleteComment ( KipptClient client, int clipId, int commentId ) : void

Delete a comment.

DeleteCommentAsync ( KipptClient client, int clipId, int commentId ) : void

Delete a comment.

FavoriteClip ( KipptClient client, int clipId ) : void

Add clip to favorites.

FavoriteClipAsync ( KipptClient client, int clipId ) : void

Add clip to favorites.

GetClip ( KipptClient client, int id ) : KipptClip

Returns a clip by its id.

GetClipAsync ( KipptClient client, int id ) : void

Returns a clip by its id.

GetClips ( KipptClient client, bool isStarred = false, bool isReadLater = false, System.DateTime since = null ) : KipptClipCollection

Returns a collection of clips.

Results are paginated. The default number of returned clips is 20. Pagination information are stored in the Meta property of KipptListCollection class.

GetClips ( KipptClient client, int limit, bool isStarred = false, bool isReadLater = false, System.DateTime since = null ) : KipptClipCollection

Returns a collection of clips.

GetClips ( KipptClient client, int limit, int offset, bool isStarred = false, bool isReadLater = false, System.DateTime since = null ) : KipptClipCollection

Returns a collection of clips.

GetClipsAsync ( KipptClient client, bool isStarred = false, bool isReadLater = false, System.DateTime since = null ) : void

Returns a collection of clips.

Results are paginated. The default number of returned clips is 20. Pagination information are stored in the Meta property of KipptListCollection class.

GetClipsAsync ( KipptClient client, int limit, bool isStarred = false, bool isReadLater = false, System.DateTime since = null ) : void

Returns a collection of clips.

GetClipsAsync ( KipptClient client, int limit, int offset, bool isStarred = false, bool isReadLater = false, System.DateTime since = null ) : void

Returns a collection of clips.

GetClipsByList ( KipptClient client, int list, bool isStarred = false, bool isReadLater = false, System.DateTime since = null ) : KipptClipCollection

Returns a collection of clips in a specific list.

Results are paginated. The default number of returned clips is 20. Pagination information are stored in the Meta property of KipptListCollection class.

GetClipsByList ( KipptClient client, int list, int limit, bool isStarred = false, bool isReadLater = false, System.DateTime since = null ) : KipptClipCollection

Returns a collection of clips in a specific list.

GetClipsByList ( KipptClient client, int list, int limit, int offset, bool isStarred = false, bool isReadLater = false, System.DateTime since = null ) : KipptClipCollection

Returns a collection of clips in a specific list.

GetClipsByListAsync ( KipptClient client, int list, bool isStarred = false, bool isReadLater = false, System.DateTime since = null ) : void

Returns a collection of clips in a specific list.

Results are paginated. The default number of returned clips is 20. Pagination information are stored in the Meta property of KipptListCollection class.

GetClipsByListAsync ( KipptClient client, int list, int limit, bool isStarred = false, bool isReadLater = false, System.DateTime since = null ) : void

Returns a collection of clips in a specific list.

GetClipsByListAsync ( KipptClient client, int list, int limit, int offset, bool isStarred = false, bool isReadLater = false, System.DateTime since = null ) : void

Returns a collection of clips in a specific list.

GetFavoriteClips ( KipptClient client, int limit, int offset, System.DateTime since = null ) : KipptClipCollection

Returns favorites clips. Both private and public.

GetFavoriteClipsAsync ( KipptClient client, int limit, int offset, System.DateTime since = null ) : void

Returns favorites clips. Both private and public.

GetFeed ( KipptClient client ) : KipptClipCollection

Returns a collection of feed items.

GetFeed ( KipptClient client, int limit ) : KipptClipCollection

Returns a collection of feed items.

GetFeed ( KipptClient client, int limit, int offset ) : KipptClipCollection

Returns a collection of feed items.

GetFeedAsync ( KipptClient client ) : void

Returns a collection of feed items.

GetFeedAsync ( KipptClient client, int limit ) : void

Returns a collection of feed items.

GetFeedAsync ( KipptClient client, int limit, int offset ) : void

Returns a collection of feed items.

LikeClip ( KipptClient client, int clipId ) : void

Like clip.

LikeClipAsync ( KipptClient client, int clipId ) : void

Like clip.

Search ( KipptClient client, string query, int list = null, bool isStarred = false ) : KipptClipCollection

Returns a query filtered collection of clips.

Results are paginated. The default number of returned clips is 20. Pagination information are stored in the Meta property of KipptListCollection class.

Search ( KipptClient client, string query, int limit, int list = null, bool isStarred = false ) : KipptClipCollection

Returns a query filtered collection of clips.

Search ( KipptClient client, string query, int limit, int offset, int list = null, bool isStarred = false ) : KipptClipCollection

Returns a query filtered collection of clips.

SearchAsync ( KipptClient client, string query, int list = null, bool isStarred = false ) : void

Returns a query filtered collection of clips.

Results are paginated. The default number of returned clips is 20. Pagination information are stored in the Meta property of KipptListCollection class.

SearchAsync ( KipptClient client, string query, int limit, int list = null, bool isStarred = false ) : void

Returns a query filtered collection of clips.

SearchAsync ( KipptClient client, string query, int limit, int offset, int list = null, bool isStarred = false ) : void

Returns a query filtered collection of clips.

UnFavoriteClip ( KipptClient client, int clipId ) : void

Remove clip from favorites.

UnFavoriteClipAsync ( KipptClient client, int clipId ) : void

Remove clip from favorites.

UnLikeClip ( KipptClient client, int clipId ) : void

Unlike a clip.

UnLikeClipAsync ( KipptClient client, int clipId ) : void

Unlike a clip.

Update ( KipptClient client ) : KipptClip

Updates a clip.

UpdateAsync ( KipptClient client ) : void

Updates a clip.

Method Details

AddComment() public static méthode

Add comment to a clip.
public static AddComment ( KipptClient client, int clipId, string commentText ) : KipptComment
client KipptClient instance.
clipId int Clip id.
commentText string Comment text.
Résultat KipptComment

AddCommentAsync() public static méthode

Add comment to a clip.
public static AddCommentAsync ( KipptClient client, int clipId, string commentText ) : void
client KipptClient instance.
clipId int Clip id.
commentText string Comment text.
Résultat void

Create() public méthode

Creates a clip.
* Url (required). * Title (optional). * Notes (optional). * Resource uri of a list (otherwise it will be saved to inbox). * Is starred (optional). * Is read later (optional).
public Create ( KipptClient client ) : KipptClip
client KipptClient instance.
Résultat KipptClip

CreateAsync() public méthode

Creates a clip.
* Url (required). * Title (optional). * Notes (optional). * Resource uri of a list (otherwise it will be saved to inbox). * Is starred (optional). * Is read later (optional).
public CreateAsync ( KipptClient client ) : void
client KipptClient instance.
Résultat void

Delete() public méthode

Deletes a clip.
public Delete ( KipptClient client ) : void
client KipptClient instance.
Résultat void

DeleteAsync() public méthode

Deletes a clip.
public DeleteAsync ( KipptClient client ) : void
client KipptClient instance.
Résultat void

DeleteComment() public static méthode

Delete a comment.
public static DeleteComment ( KipptClient client, int clipId, int commentId ) : void
client KipptClient instance.
clipId int clip id.
commentId int comment id.
Résultat void

DeleteCommentAsync() public static méthode

Delete a comment.
public static DeleteCommentAsync ( KipptClient client, int clipId, int commentId ) : void
client KipptClient instance.
clipId int clip id.
commentId int comment id.
Résultat void

FavoriteClip() public static méthode

Add clip to favorites.
public static FavoriteClip ( KipptClient client, int clipId ) : void
client KipptClient instance.
clipId int Clip id.
Résultat void

FavoriteClipAsync() public static méthode

Add clip to favorites.
public static FavoriteClipAsync ( KipptClient client, int clipId ) : void
client KipptClient instance.
clipId int Clip id.
Résultat void

GetClip() public static méthode

Returns a clip by its id.
public static GetClip ( KipptClient client, int id ) : KipptClip
client KipptClient instance.
id int Clip id.
Résultat KipptClip

GetClipAsync() public static méthode

Returns a clip by its id.
public static GetClipAsync ( KipptClient client, int id ) : void
client KipptClient instance.
id int Clip id.
Résultat void

GetClips() public static méthode

Returns a collection of clips.
Results are paginated. The default number of returned clips is 20. Pagination information are stored in the Meta property of KipptListCollection class.
public static GetClips ( KipptClient client, bool isStarred = false, bool isReadLater = false, System.DateTime since = null ) : KipptClipCollection
client KipptClient instance.
isStarred bool Filter clips by returning only starred ones.
isReadLater bool Filter clips returning only read later ones.
since System.DateTime Specify a start date as a filter.
Résultat KipptClipCollection

GetClips() public static méthode

Returns a collection of clips.
public static GetClips ( KipptClient client, int limit, bool isStarred = false, bool isReadLater = false, System.DateTime since = null ) : KipptClipCollection
client KipptClient instance.
limit int End index.
isStarred bool Filter clips by returning only starred ones.
isReadLater bool Filter clips returning only read later ones.
since System.DateTime Specify a start date as a filter.
Résultat KipptClipCollection

GetClips() public static méthode

Returns a collection of clips.
public static GetClips ( KipptClient client, int limit, int offset, bool isStarred = false, bool isReadLater = false, System.DateTime since = null ) : KipptClipCollection
client KipptClient instance.
limit int End index.
offset int Start index.
isStarred bool Filter clips by returning only starred ones.
isReadLater bool Filter clips returning only read later ones.
since System.DateTime Specify a start date as a filter.
Résultat KipptClipCollection

GetClipsAsync() public static méthode

Returns a collection of clips.
Results are paginated. The default number of returned clips is 20. Pagination information are stored in the Meta property of KipptListCollection class.
public static GetClipsAsync ( KipptClient client, bool isStarred = false, bool isReadLater = false, System.DateTime since = null ) : void
client KipptClient instance.
isStarred bool Filter clips by returning only starred ones.
isReadLater bool Filter clips returning only read later ones.
since System.DateTime Specify a start date as a filter.
Résultat void

GetClipsAsync() public static méthode

Returns a collection of clips.
public static GetClipsAsync ( KipptClient client, int limit, bool isStarred = false, bool isReadLater = false, System.DateTime since = null ) : void
client KipptClient instance.
limit int End index.
isStarred bool Filter clips by returning only starred ones.
isReadLater bool Filter clips returning only read later ones.
since System.DateTime Specify a start date as a filter.
Résultat void

GetClipsAsync() public static méthode

Returns a collection of clips.
public static GetClipsAsync ( KipptClient client, int limit, int offset, bool isStarred = false, bool isReadLater = false, System.DateTime since = null ) : void
client KipptClient instance.
limit int End index.
offset int Start index.
isStarred bool Filter clips by returning only starred ones.
isReadLater bool Filter clips returning only read later ones.
since System.DateTime Specify a start date as a filter.
Résultat void

GetClipsByList() public static méthode

Returns a collection of clips in a specific list.
Results are paginated. The default number of returned clips is 20. Pagination information are stored in the Meta property of KipptListCollection class.
public static GetClipsByList ( KipptClient client, int list, bool isStarred = false, bool isReadLater = false, System.DateTime since = null ) : KipptClipCollection
client KipptClient instance.
list int List id.
isStarred bool Filter clips by returning only starred ones.
isReadLater bool Filter clips returning only read later ones.
since System.DateTime Specify a start date as a filter.
Résultat KipptClipCollection

GetClipsByList() public static méthode

Returns a collection of clips in a specific list.
public static GetClipsByList ( KipptClient client, int list, int limit, bool isStarred = false, bool isReadLater = false, System.DateTime since = null ) : KipptClipCollection
client KipptClient instance.
list int List id.
limit int End index.
isStarred bool Filter clips by returning only starred ones.
isReadLater bool Filter clips returning only read later ones.
since System.DateTime Specify a start date as a filter.
Résultat KipptClipCollection

GetClipsByList() public static méthode

Returns a collection of clips in a specific list.
public static GetClipsByList ( KipptClient client, int list, int limit, int offset, bool isStarred = false, bool isReadLater = false, System.DateTime since = null ) : KipptClipCollection
client KipptClient instance.
list int List id.
limit int End index.
offset int Start index.
isStarred bool Filter clips by returning only starred ones.
isReadLater bool Filter clips returning only read later ones.
since System.DateTime Specify a start date as a filter.
Résultat KipptClipCollection

GetClipsByListAsync() public static méthode

Returns a collection of clips in a specific list.
Results are paginated. The default number of returned clips is 20. Pagination information are stored in the Meta property of KipptListCollection class.
public static GetClipsByListAsync ( KipptClient client, int list, bool isStarred = false, bool isReadLater = false, System.DateTime since = null ) : void
client KipptClient instance.
list int List id.
isStarred bool Filter clips by returning only starred ones.
isReadLater bool Filter clips returning only read later ones.
since System.DateTime Specify a start date as a filter.
Résultat void

GetClipsByListAsync() public static méthode

Returns a collection of clips in a specific list.
public static GetClipsByListAsync ( KipptClient client, int list, int limit, bool isStarred = false, bool isReadLater = false, System.DateTime since = null ) : void
client KipptClient instance.
list int List id.
limit int End index.
isStarred bool Filter clips by returning only starred ones.
isReadLater bool Filter clips returning only read later ones.
since System.DateTime Specify a start date as a filter.
Résultat void

GetClipsByListAsync() public static méthode

Returns a collection of clips in a specific list.
public static GetClipsByListAsync ( KipptClient client, int list, int limit, int offset, bool isStarred = false, bool isReadLater = false, System.DateTime since = null ) : void
client KipptClient instance.
list int List id.
limit int End index.
offset int Start index.
isStarred bool Filter clips by returning only starred ones.
isReadLater bool Filter clips returning only read later ones.
since System.DateTime Specify a start date as a filter.
Résultat void

GetFavoriteClips() public static méthode

Returns favorites clips. Both private and public.
public static GetFavoriteClips ( KipptClient client, int limit, int offset, System.DateTime since = null ) : KipptClipCollection
client KipptClient instance.
limit int End index.
offset int Start index.
since System.DateTime Date filter.
Résultat KipptClipCollection

GetFavoriteClipsAsync() public static méthode

Returns favorites clips. Both private and public.
public static GetFavoriteClipsAsync ( KipptClient client, int limit, int offset, System.DateTime since = null ) : void
client KipptClient instance.
limit int End index.
offset int Start index.
since System.DateTime Date filter.
Résultat void

GetFeed() public static méthode

Returns a collection of feed items.
public static GetFeed ( KipptClient client ) : KipptClipCollection
client KipptClient instance.
Résultat KipptClipCollection

GetFeed() public static méthode

Returns a collection of feed items.
public static GetFeed ( KipptClient client, int limit ) : KipptClipCollection
client KipptClient instance.
limit int
Résultat KipptClipCollection

GetFeed() public static méthode

Returns a collection of feed items.
public static GetFeed ( KipptClient client, int limit, int offset ) : KipptClipCollection
client KipptClient instance.
limit int End index.
offset int Start index.
Résultat KipptClipCollection

GetFeedAsync() public static méthode

Returns a collection of feed items.
public static GetFeedAsync ( KipptClient client ) : void
client KipptClient instance.
Résultat void

GetFeedAsync() public static méthode

Returns a collection of feed items.
public static GetFeedAsync ( KipptClient client, int limit ) : void
client KipptClient instance.
limit int
Résultat void

GetFeedAsync() public static méthode

Returns a collection of feed items.
public static GetFeedAsync ( KipptClient client, int limit, int offset ) : void
client KipptClient instance.
limit int End index.
offset int Start index.
Résultat void

LikeClip() public static méthode

Like clip.
public static LikeClip ( KipptClient client, int clipId ) : void
client KipptClient instance.
clipId int Clip id.
Résultat void

LikeClipAsync() public static méthode

Like clip.
public static LikeClipAsync ( KipptClient client, int clipId ) : void
client KipptClient instance.
clipId int Clip id.
Résultat void

Search() public static méthode

Returns a query filtered collection of clips.
Results are paginated. The default number of returned clips is 20. Pagination information are stored in the Meta property of KipptListCollection class.
public static Search ( KipptClient client, string query, int list = null, bool isStarred = false ) : KipptClipCollection
client KipptClient instance.
query string Query.
list int List id.
isStarred bool Filter clips by returning only starred ones.
Résultat KipptClipCollection

Search() public static méthode

Returns a query filtered collection of clips.
public static Search ( KipptClient client, string query, int limit, int list = null, bool isStarred = false ) : KipptClipCollection
client KipptClient instance.
query string Query.
limit int End index.
list int List id.
isStarred bool Filter clips by returning only starred ones.
Résultat KipptClipCollection

Search() public static méthode

Returns a query filtered collection of clips.
public static Search ( KipptClient client, string query, int limit, int offset, int list = null, bool isStarred = false ) : KipptClipCollection
client KipptClient instance.
query string Query.
limit int End index.
offset int Start index.
list int List id.
isStarred bool Filter clips by returning only starred ones.
Résultat KipptClipCollection

SearchAsync() public static méthode

Returns a query filtered collection of clips.
Results are paginated. The default number of returned clips is 20. Pagination information are stored in the Meta property of KipptListCollection class.
public static SearchAsync ( KipptClient client, string query, int list = null, bool isStarred = false ) : void
client KipptClient instance.
query string Query.
list int List id.
isStarred bool Filter clips by returning only starred ones.
Résultat void

SearchAsync() public static méthode

Returns a query filtered collection of clips.
public static SearchAsync ( KipptClient client, string query, int limit, int list = null, bool isStarred = false ) : void
client KipptClient instance.
query string Query.
limit int End index.
list int List id.
isStarred bool Filter clips by returning only starred ones.
Résultat void

SearchAsync() public static méthode

Returns a query filtered collection of clips.
public static SearchAsync ( KipptClient client, string query, int limit, int offset, int list = null, bool isStarred = false ) : void
client KipptClient instance.
query string Query.
limit int End index.
offset int Start index.
list int List id.
isStarred bool Filter clips by returning only starred ones.
Résultat void

UnFavoriteClip() public static méthode

Remove clip from favorites.
public static UnFavoriteClip ( KipptClient client, int clipId ) : void
client KipptClient instance.
clipId int Clip id.
Résultat void

UnFavoriteClipAsync() public static méthode

Remove clip from favorites.
public static UnFavoriteClipAsync ( KipptClient client, int clipId ) : void
client KipptClient instance.
clipId int Clip id.
Résultat void

UnLikeClip() public static méthode

Unlike a clip.
public static UnLikeClip ( KipptClient client, int clipId ) : void
client KipptClient instance.
clipId int Clip id.
Résultat void

UnLikeClipAsync() public static méthode

Unlike a clip.
public static UnLikeClipAsync ( KipptClient client, int clipId ) : void
client KipptClient instance.
clipId int Clip id.
Résultat void

Update() public méthode

Updates a clip.
public Update ( KipptClient client ) : KipptClip
client KipptClient instance.
Résultat KipptClip

UpdateAsync() public méthode

Updates a clip.
public UpdateAsync ( KipptClient client ) : void
client KipptClient instance.
Résultat void