C# 클래스 IO.Swagger.Api.ResourceApi

Represents a collection of functions to interact with the API endpoints
상속: IResourceApi
파일 보기 프로젝트 열기: TNOCS/csTouch 1 사용 예제들

공개 메소드들

메소드 설명
AddResource ( Resource body ) : void

Add resource Adds a single resource

AddResourceAsync ( Resource body ) : System.Threading.Tasks.Task

Add resource Adds a single resource

GetBasePath ( ) : String

Gets the base path of the API client.

GetResource ( string resourceId ) : Resource

Find resource by ID Returns a single resource

GetResourceAsync ( string resourceId ) : System.Threading.Tasks.Task

Find resource by ID Returns a single resource

ResourceApi ( ApiClient apiClient = null ) : System

Initializes a new instance of the ResourceApi class.

ResourceApi ( String basePath ) : System

Initializes a new instance of the ResourceApi class.

SetBasePath ( String basePath ) : void

Sets the base path of the API client.

메소드 상세

AddResource() 공개 메소드

Add resource Adds a single resource
public AddResource ( Resource body ) : void
body IO.Swagger.Model.Resource Resource object that needs to be added to the datastorage
리턴 void

AddResourceAsync() 공개 메소드

Add resource Adds a single resource
public AddResourceAsync ( Resource body ) : System.Threading.Tasks.Task
body IO.Swagger.Model.Resource Resource object that needs to be added to the datastorage
리턴 System.Threading.Tasks.Task

GetBasePath() 공개 메소드

Gets the base path of the API client.
public GetBasePath ( ) : String
리턴 String

GetResource() 공개 메소드

Find resource by ID Returns a single resource
public GetResource ( string resourceId ) : Resource
resourceId string ID of the resource to be returned
리턴 IO.Swagger.Model.Resource

GetResourceAsync() 공개 메소드

Find resource by ID Returns a single resource
public GetResourceAsync ( string resourceId ) : System.Threading.Tasks.Task
resourceId string ID of the resource to be returned
리턴 System.Threading.Tasks.Task

ResourceApi() 공개 메소드

Initializes a new instance of the ResourceApi class.
public ResourceApi ( ApiClient apiClient = null ) : System
apiClient IO.Swagger.Client.ApiClient an instance of ApiClient (optional)
리턴 System

ResourceApi() 공개 메소드

Initializes a new instance of the ResourceApi class.
public ResourceApi ( String basePath ) : System
basePath String
리턴 System

SetBasePath() 공개 메소드

Sets the base path of the API client.
public SetBasePath ( String basePath ) : void
basePath String The base path
리턴 void