C# Класс IO.Swagger.Api.ProjectApi

Represents a collection of functions to interact with the API endpoints
Наследование: IProjectApi
Показать файл Открыть проект

Открытые методы

Метод Описание
AddGroupToProject ( string projectId, Group body ) : ApiResponse

Create a group in a project Create a group in a project

AddGroupToProjectAsync ( string projectId, Group body ) : System.Threading.Tasks.Task

Create a group in a project Create a group in a project

AddLayerToProject ( string projectId, string groupId, string layerId ) : ApiResponse

Adds a layer to a project Adds a layer to a project

AddLayerToProjectAsync ( string projectId, string groupId, string layerId ) : System.Threading.Tasks.Task

Adds a layer to a project Adds a layer to a project

AddProject ( Project body ) : void

Add a new project to the system Adds a new project

AddProjectAsync ( Project body ) : System.Threading.Tasks.Task

Add a new project to the system Adds a new project

AllGroups ( string projectId ) : List

Returns all groups in a project Returns a list of groupIds in a project

AllGroupsAsync ( string projectId ) : System.Threading.Tasks.Task>

Returns all groups in a project Returns a list of groupIds in a project

AllProjects ( ) : Project>.Dictionary

Returns all projects Returns a list of projects

AllProjectsAsync ( ) : Project>>.System.Threading.Tasks.Task

Returns all projects Returns a list of projects

DeleteProject ( string projectId ) : void

Delete a project by ID Deletes an entire project

DeleteProjectAsync ( string projectId ) : System.Threading.Tasks.Task

Delete a project by ID Deletes an entire project

GetBasePath ( ) : String

Gets the base path of the API client.

GetProject ( string projectId ) : Project

Find project by ID Returns a single project

GetProjectAsync ( string projectId ) : System.Threading.Tasks.Task

Find project by ID Returns a single project

ProjectApi ( ApiClient apiClient = null ) : System

Initializes a new instance of the ProjectApi class.

ProjectApi ( String basePath ) : System

Initializes a new instance of the ProjectApi class.

RemoveGroup ( string projectId, string groupId ) : ApiResponse

Deletes a group from a project Deletes a group from a project

RemoveGroupAsync ( string projectId, string groupId ) : System.Threading.Tasks.Task

Deletes a group from a project Deletes a group from a project

RemoveLayerFromProject ( string projectId, string groupId, string layerId ) : ApiResponse

Deletes a layer from a project Deletes a layer from a project

RemoveLayerFromProjectAsync ( string projectId, string groupId, string layerId ) : System.Threading.Tasks.Task

Deletes a layer from a project Deletes a layer from a project

SetBasePath ( String basePath ) : void

Sets the base path of the API client.

UpdateProject ( Project body, string projectId ) : void

Update an existing project

UpdateProjectAsync ( Project body, string projectId ) : System.Threading.Tasks.Task

Update an existing project

Описание методов

AddGroupToProject() публичный Метод

Create a group in a project Create a group in a project
public AddGroupToProject ( string projectId, Group body ) : ApiResponse
projectId string ID of the project to add the group to
body IO.Swagger.Model.Group JSON that will be used to create the group
Результат IO.Swagger.Model.ApiResponse

AddGroupToProjectAsync() публичный Метод

Create a group in a project Create a group in a project
public AddGroupToProjectAsync ( string projectId, Group body ) : System.Threading.Tasks.Task
projectId string ID of the project to add the group to
body IO.Swagger.Model.Group JSON that will be used to create the group
Результат System.Threading.Tasks.Task

AddLayerToProject() публичный Метод

Adds a layer to a project Adds a layer to a project
public AddLayerToProject ( string projectId, string groupId, string layerId ) : ApiResponse
projectId string ID of the project to add the layer to
groupId string id of the group to add the layer to
layerId string id of the layer that will be added
Результат IO.Swagger.Model.ApiResponse

AddLayerToProjectAsync() публичный Метод

Adds a layer to a project Adds a layer to a project
public AddLayerToProjectAsync ( string projectId, string groupId, string layerId ) : System.Threading.Tasks.Task
projectId string ID of the project to add the layer to
groupId string id of the group to add the layer to
layerId string id of the layer that will be added
Результат System.Threading.Tasks.Task

AddProject() публичный Метод

Add a new project to the system Adds a new project
public AddProject ( Project body ) : void
body IO.Swagger.Model.Project Project object that needs to be added to the datastorage
Результат void

AddProjectAsync() публичный Метод

Add a new project to the system Adds a new project
public AddProjectAsync ( Project body ) : System.Threading.Tasks.Task
body IO.Swagger.Model.Project Project object that needs to be added to the datastorage
Результат System.Threading.Tasks.Task

AllGroups() публичный Метод

Returns all groups in a project Returns a list of groupIds in a project
public AllGroups ( string projectId ) : List
projectId string ID of the project to get the groups from
Результат List

AllGroupsAsync() публичный Метод

Returns all groups in a project Returns a list of groupIds in a project
public AllGroupsAsync ( string projectId ) : System.Threading.Tasks.Task>
projectId string ID of the project to get the groups from
Результат System.Threading.Tasks.Task>

AllProjects() публичный Метод

Returns all projects Returns a list of projects
public AllProjects ( ) : Project>.Dictionary
Результат Project>.Dictionary

AllProjectsAsync() публичный Метод

Returns all projects Returns a list of projects
public AllProjectsAsync ( ) : Project>>.System.Threading.Tasks.Task
Результат Project>>.System.Threading.Tasks.Task

DeleteProject() публичный Метод

Delete a project by ID Deletes an entire project
public DeleteProject ( string projectId ) : void
projectId string ID of project to be deleted
Результат void

DeleteProjectAsync() публичный Метод

Delete a project by ID Deletes an entire project
public DeleteProjectAsync ( string projectId ) : System.Threading.Tasks.Task
projectId string ID of project to be deleted
Результат System.Threading.Tasks.Task

GetBasePath() публичный Метод

Gets the base path of the API client.
public GetBasePath ( ) : String
Результат String

GetProject() публичный Метод

Find project by ID Returns a single project
public GetProject ( string projectId ) : Project
projectId string ID of the project to be returned
Результат IO.Swagger.Model.Project

GetProjectAsync() публичный Метод

Find project by ID Returns a single project
public GetProjectAsync ( string projectId ) : System.Threading.Tasks.Task
projectId string ID of the project to be returned
Результат System.Threading.Tasks.Task

ProjectApi() публичный Метод

Initializes a new instance of the ProjectApi class.
public ProjectApi ( ApiClient apiClient = null ) : System
apiClient IO.Swagger.Client.ApiClient an instance of ApiClient (optional)
Результат System

ProjectApi() публичный Метод

Initializes a new instance of the ProjectApi class.
public ProjectApi ( String basePath ) : System
basePath String
Результат System

RemoveGroup() публичный Метод

Deletes a group from a project Deletes a group from a project
public RemoveGroup ( string projectId, string groupId ) : ApiResponse
projectId string ID of the project to remove the layer from
groupId string id of the group that will be removed
Результат IO.Swagger.Model.ApiResponse

RemoveGroupAsync() публичный Метод

Deletes a group from a project Deletes a group from a project
public RemoveGroupAsync ( string projectId, string groupId ) : System.Threading.Tasks.Task
projectId string ID of the project to remove the layer from
groupId string id of the group that will be removed
Результат System.Threading.Tasks.Task

RemoveLayerFromProject() публичный Метод

Deletes a layer from a project Deletes a layer from a project
public RemoveLayerFromProject ( string projectId, string groupId, string layerId ) : ApiResponse
projectId string ID of the project to remove the layer from
groupId string id of the group to add the layer to
layerId string id of the layer that will be removed
Результат IO.Swagger.Model.ApiResponse

RemoveLayerFromProjectAsync() публичный Метод

Deletes a layer from a project Deletes a layer from a project
public RemoveLayerFromProjectAsync ( string projectId, string groupId, string layerId ) : System.Threading.Tasks.Task
projectId string ID of the project to remove the layer from
groupId string id of the group to add the layer to
layerId string id of the layer that will be removed
Результат System.Threading.Tasks.Task

SetBasePath() публичный Метод

Sets the base path of the API client.
public SetBasePath ( String basePath ) : void
basePath String The base path
Результат void

UpdateProject() публичный Метод

Update an existing project
public UpdateProject ( Project body, string projectId ) : void
body IO.Swagger.Model.Project JSON that will be used to update the project
projectId string ID or Name of the project to update
Результат void

UpdateProjectAsync() публичный Метод

Update an existing project
public UpdateProjectAsync ( Project body, string projectId ) : System.Threading.Tasks.Task
body IO.Swagger.Model.Project JSON that will be used to update the project
projectId string ID or Name of the project to update
Результат System.Threading.Tasks.Task