public GenericViewSet(AuthTokens tokens, string _host, string _basePath) { client = new ComputeClient(tokens, _host); // The empty string is the host - we need to get this basePath = _basePath; client.http.endPoint = _basePath; client.http.httpMethod = httpVerb.GET; }
public GenericViewSet(ComputeClient _client, string _basePath) { basePath = _basePath; client = _client; client.http.endPoint = _basePath; client.http.httpMethod = httpVerb.GET; }
public Tasks(ComputeClient _client, Project _project) { client = _client; project = _project; client.http.endPoint = $"/api/project/{project.UID}/task/"; }
public Projects(ComputeClient _client) { client = _client; client.http.endPoint = "/api/project/"; client.http.httpMethod = httpVerb.GET; }