C# Class kasthack.vksharp.Api.MethodGroup_Docs

Mostra file Open project: kasthack/kasthack.vksharp

Public Methods

Method Description
Add ( long docId, int ownerId, string accessKey = "" ) : Task
AddSync ( long docId, int ownerId, string accessKey = "" ) : int
Delete ( long docId, int ownerId = null ) : System.Threading.Tasks.Task
DeleteSync ( long docId, int ownerId = null ) : void
Get ( int ownerId = null, int offset = null, int count = 100 ) : Task>
GetById ( ) : Task
GetByIdSync ( ) : kasthack.vksharp.DataTypes.Entities.Document[]
GetSync ( int ownerId = null, int offset = null, int count = 100 ) : EntityList
GetUploadServer ( int groupId = null ) : Task
GetUploadServerSync ( int groupId = null ) : string
GetWallUploadServer ( int groupId = null ) : Task
GetWallUploadServerSync ( int groupId = null ) : string
Save ( string file, string title ) : Task
SaveSync ( string file, string title ) : Document[]

Private Methods

Method Description
MethodGroup_Docs ( Api parent ) : System

Method Details

Add() public method

public Add ( long docId, int ownerId, string accessKey = "" ) : Task
docId long
ownerId int
accessKey string
return Task

AddSync() public method

public AddSync ( long docId, int ownerId, string accessKey = "" ) : int
docId long
ownerId int
accessKey string
return int

Delete() public method

public Delete ( long docId, int ownerId = null ) : System.Threading.Tasks.Task
docId long
ownerId int
return System.Threading.Tasks.Task

DeleteSync() public method

public DeleteSync ( long docId, int ownerId = null ) : void
docId long
ownerId int
return void

Get() public method

public Get ( int ownerId = null, int offset = null, int count = 100 ) : Task>
ownerId int
offset int
count int
return Task>

GetById() public method

public GetById ( ) : Task
return Task

GetByIdSync() public method

public GetByIdSync ( ) : kasthack.vksharp.DataTypes.Entities.Document[]
return kasthack.vksharp.DataTypes.Entities.Document[]

GetSync() public method

public GetSync ( int ownerId = null, int offset = null, int count = 100 ) : EntityList
ownerId int
offset int
count int
return EntityList

GetUploadServer() public method

public GetUploadServer ( int groupId = null ) : Task
groupId int
return Task

GetUploadServerSync() public method

public GetUploadServerSync ( int groupId = null ) : string
groupId int
return string

GetWallUploadServer() public method

public GetWallUploadServer ( int groupId = null ) : Task
groupId int
return Task

GetWallUploadServerSync() public method

public GetWallUploadServerSync ( int groupId = null ) : string
groupId int
return string

Save() public method

public Save ( string file, string title ) : Task
file string
title string
return Task

SaveSync() public method

public SaveSync ( string file, string title ) : Document[]
file string
title string
return Document[]