Skip to content

Commit

Permalink
Adding Required params for HumanTaskResource API (#111)
Browse files Browse the repository at this point in the history
* HumanTaskResource
  • Loading branch information
Jithesh-poojary authored Mar 8, 2024
1 parent 0afd23f commit 81b8243
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 21 deletions.
39 changes: 19 additions & 20 deletions Conductor/Api/HumanTaskResourceApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public ApiResponse<HumanTaskEntry> AssignAndClaimWithHttpInfo(string taskId, str
// make the HTTP request
RestResponse localVarResponse = (RestResponse)this.Configuration.ApiClient.CallApi(localVarPath,
Method.Post, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
localVarPathParams, localVarHttpContentType);
localVarPathParams, localVarHttpContentType, this.Configuration);

int localVarStatusCode = (int)localVarResponse.StatusCode;

Expand Down Expand Up @@ -302,7 +302,7 @@ public ApiResponse<HumanTaskEntry> ClaimTaskWithHttpInfo(string taskId, bool? ov
// make the HTTP request
RestResponse localVarResponse = (RestResponse)this.Configuration.ApiClient.CallApi(localVarPath,
Method.Post, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
localVarPathParams, localVarHttpContentType);
localVarPathParams, localVarHttpContentType, this.Configuration);

int localVarStatusCode = (int)localVarResponse.StatusCode;

Expand Down Expand Up @@ -444,7 +444,7 @@ public ApiResponse<Object> DeleteTemplateByNameWithHttpInfo(string name)
// make the HTTP request
RestResponse localVarResponse = (RestResponse)this.Configuration.ApiClient.CallApi(localVarPath,
Method.Delete, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
localVarPathParams, localVarHttpContentType);
localVarPathParams, localVarHttpContentType, this.Configuration);

int localVarStatusCode = (int)localVarResponse.StatusCode;

Expand Down Expand Up @@ -587,7 +587,7 @@ public ApiResponse<Object> DeleteTemplatesByNameAndVersionWithHttpInfo(string na
// make the HTTP request
RestResponse localVarResponse = (RestResponse)this.Configuration.ApiClient.CallApi(localVarPath,
Method.Delete, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
localVarPathParams, localVarHttpContentType);
localVarPathParams, localVarHttpContentType, this.Configuration);

int localVarStatusCode = (int)localVarResponse.StatusCode;

Expand Down Expand Up @@ -726,14 +726,13 @@ public ApiResponse<List<HumanTaskTemplate>> GetAllTemplatesWithHttpInfo(string n
// authentication (api_key) required
if (!String.IsNullOrEmpty(this.Configuration.AccessToken))
{
localVarHeaderParams["X-Authorization"] = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImtqbVlNWThEV2VOU1lKZmZSSjFXNSJ9.eyJnaXZlbl9uYW1lIjoiSml0aGVzaCIsImZhbWlseV9uYW1lIjoiUG9vamFyeSIsIm5pY2tuYW1lIjoiaml0aGVzaHBvb2phcnkwNCIsIm5hbWUiOiJKaXRoZXNoIFBvb2phcnkiLCJwaWN0dXJlIjoiaHR0cHM6Ly9saDMuZ29vZ2xldXNlcmNvbnRlbnQuY29tL2EvQUNnOG9jS05XLUVyUXlvZ0JGY25fZ1BFaEs5b1o1TldUU19JUlMxTHhJQURBRkJtcmp3PXM5Ni1jIiwibG9jYWxlIjoiZW4tR0IiLCJ1cGRhdGVkX2F0IjoiMjAyNC0wMi0yMVQwNDoyNjo1Mi42MTdaIiwiZW1haWwiOiJqaXRoZXNocG9vamFyeTA0QGdtYWlsLmNvbSIsImVtYWlsX3ZlcmlmaWVkIjp0cnVlLCJpc3MiOiJodHRwczovL2F1dGgub3JrZXMuaW8vIiwiYXVkIjoiczRITGRWYm5hSk1HdlBTZ3gyWUxweW5mSmxXN0dWMmUiLCJpYXQiOjE3MDg0ODk2MTQsImV4cCI6MTcwODUyNTYxNCwic3ViIjoiZ29vZ2xlLW9hdXRoMnwxMDQ0NTAzNjIwODI1MjU1MDQ3NzgiLCJzaWQiOiI0QTlJdlJ0cWJwN05EQVNCMkkwN242VXROM3piajBtViIsIm5vbmNlIjoiZFdReE1FUjFXakkwVFhZNU1UQXlTVXc1VFZKSFJVUkpkVmRRZFd4MFNrMHlkMUprUlVaMFkxbG1UQT09In0.LHrepFFKeL97ERgYT-wx2sXMvnR6jRySFSFUJwtVW5iwdUPSAIaMwaYBjJD3zXWH5Xn0_13hr1oE_xk39J4uCfzT8s4zySn7ctnKXHCvdMLynBaG-QKYn6oG5f-ChLmLuEijTyd9-2mjjVZ0z7rSZ6-6bps2t2zPZIHSGzsIn3cSJ7jTBbJSy8Aa4RUuoWiKPkyWXKWxVUdtZnvNPz69VHbG_0Ga310X1Hu87wgKVUJjt4ErZ6BU2hP6ykgsedsJ7xSwjFUX2YGspuXEt9jOV6dk0CjROAVm-Ie2sTgqjJHZq9nOX_xzaqf-kREtBM7VHaDGHK4G5ydkgtfSgSUsmg";
//this.Configuration.AccessToken;
localVarHeaderParams["X-Authorization"] = this.Configuration.AccessToken;
}

// make the HTTP request
RestResponse localVarResponse = (RestResponse)this.Configuration.ApiClient.CallApi(localVarPath,
Method.Get, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
localVarPathParams, localVarHttpContentType);
localVarPathParams, localVarHttpContentType, this.Configuration);

int localVarStatusCode = (int)localVarResponse.StatusCode;

Expand Down Expand Up @@ -874,7 +873,7 @@ public ApiResponse<HumanTaskEntry> GetTaskWithHttpInfo(string taskId)
// make the HTTP request
RestResponse localVarResponse = (RestResponse)this.Configuration.ApiClient.CallApi(localVarPath,
Method.Get, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
localVarPathParams, localVarHttpContentType);
localVarPathParams, localVarHttpContentType, this.Configuration);

int localVarStatusCode = (int)localVarResponse.StatusCode;

Expand Down Expand Up @@ -1015,7 +1014,7 @@ public ApiResponse<List<string>> GetTaskDisplayNamesWithHttpInfo(string searchTy
// make the HTTP request
RestResponse localVarResponse = (RestResponse)this.Configuration.ApiClient.CallApi(localVarPath,
Method.Get, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
localVarPathParams, localVarHttpContentType);
localVarPathParams, localVarHttpContentType, this.Configuration);

int localVarStatusCode = (int)localVarResponse.StatusCode;

Expand Down Expand Up @@ -1162,7 +1161,7 @@ public ApiResponse<HumanTaskTemplate> GetTemplateByNameAndVersionWithHttpInfo(st
// make the HTTP request
RestResponse localVarResponse = (RestResponse)this.Configuration.ApiClient.CallApi(localVarPath,
Method.Get, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
localVarPathParams, localVarHttpContentType);
localVarPathParams, localVarHttpContentType, this.Configuration);

int localVarStatusCode = (int)localVarResponse.StatusCode;

Expand Down Expand Up @@ -1309,7 +1308,7 @@ public ApiResponse<HumanTaskTemplate> GetTemplateByTaskIdWithHttpInfo(string hum
// make the HTTP request
RestResponse localVarResponse = (RestResponse)this.Configuration.ApiClient.CallApi(localVarPath,
Method.Get, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
localVarPathParams, localVarHttpContentType);
localVarPathParams, localVarHttpContentType, this.Configuration);

int localVarStatusCode = (int)localVarResponse.StatusCode;

Expand Down Expand Up @@ -1462,7 +1461,7 @@ public ApiResponse<Object> ReassignTaskWithHttpInfo(List<HumanTaskAssignment> bo
// make the HTTP request
RestResponse localVarResponse = (RestResponse)this.Configuration.ApiClient.CallApi(localVarPath,
Method.Post, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
localVarPathParams, localVarHttpContentType);
localVarPathParams, localVarHttpContentType, this.Configuration);

int localVarStatusCode = (int)localVarResponse.StatusCode;

Expand Down Expand Up @@ -1613,7 +1612,7 @@ public ApiResponse<Object> ReleaseTaskWithHttpInfo(string taskId)
// make the HTTP request
RestResponse localVarResponse = (RestResponse)this.Configuration.ApiClient.CallApi(localVarPath,
Method.Post, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
localVarPathParams, localVarHttpContentType);
localVarPathParams, localVarHttpContentType, this.Configuration);

int localVarStatusCode = (int)localVarResponse.StatusCode;

Expand Down Expand Up @@ -1763,7 +1762,7 @@ public ApiResponse<HumanTaskTemplate> SaveTemplateWithHttpInfo(HumanTaskTemplate
// make the HTTP request
RestResponse localVarResponse = (RestResponse)this.Configuration.ApiClient.CallApi(localVarPath,
Method.Post, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
localVarPathParams, localVarHttpContentType);
localVarPathParams, localVarHttpContentType, this.Configuration);

int localVarStatusCode = (int)localVarResponse.StatusCode;

Expand Down Expand Up @@ -1926,7 +1925,7 @@ public ApiResponse<List<HumanTaskTemplate>> SaveTemplatesWithHttpInfo(List<Human
// make the HTTP request
RestResponse localVarResponse = (RestResponse)this.Configuration.ApiClient.CallApi(localVarPath,
Method.Post, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
localVarPathParams, localVarHttpContentType);
localVarPathParams, localVarHttpContentType, this.Configuration);

int localVarStatusCode = (int)localVarResponse.StatusCode;

Expand Down Expand Up @@ -2086,7 +2085,7 @@ public ApiResponse<HumanTaskSearchResult> SearchWithHttpInfo(HumanTaskSearch bod
// make the HTTP request
RestResponse localVarResponse = (RestResponse)this.Configuration.ApiClient.CallApi(localVarPath,
Method.Post, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
localVarPathParams, localVarHttpContentType);
localVarPathParams, localVarHttpContentType, this.Configuration);

int localVarStatusCode = (int)localVarResponse.StatusCode;

Expand Down Expand Up @@ -2236,7 +2235,7 @@ public ApiResponse<Object> SkipTaskWithHttpInfo(string taskId, string reason = n
// make the HTTP request
RestResponse localVarResponse = (RestResponse)this.Configuration.ApiClient.CallApi(localVarPath,
Method.Post, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
localVarPathParams, localVarHttpContentType);
localVarPathParams, localVarHttpContentType, this.Configuration);

int localVarStatusCode = (int)localVarResponse.StatusCode;

Expand Down Expand Up @@ -2393,7 +2392,7 @@ public ApiResponse<Object> UpdateTaskOutputWithHttpInfo(Dictionary<string, Objec
// make the HTTP request
RestResponse localVarResponse = (RestResponse)this.Configuration.ApiClient.CallApi(localVarPath,
Method.Post, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
localVarPathParams, localVarHttpContentType);
localVarPathParams, localVarHttpContentType, this.Configuration);

int localVarStatusCode = (int)localVarResponse.StatusCode;

Expand Down Expand Up @@ -2573,7 +2572,7 @@ public ApiResponse<Object> UpdateTaskOutputByRefWithHttpInfo(Dictionary<string,
// make the HTTP request
RestResponse localVarResponse = (RestResponse)this.Configuration.ApiClient.CallApi(localVarPath,
Method.Post, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
localVarPathParams, localVarHttpContentType);
localVarPathParams, localVarHttpContentType, this.Configuration);

int localVarStatusCode = (int)localVarResponse.StatusCode;

Expand Down Expand Up @@ -2740,7 +2739,7 @@ public ApiResponse<Task> GetConductorTaskByIdWithHttpInfo(string taskId)
// make the HTTP request
RestResponse localVarResponse = (RestResponse)this.Configuration.ApiClient.CallApi(localVarPath,
Method.Get, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
localVarPathParams, localVarHttpContentType);
localVarPathParams, localVarHttpContentType, this.Configuration);

int localVarStatusCode = (int)localVarResponse.StatusCode;

Expand Down
2 changes: 1 addition & 1 deletion Conductor/Client/ApiClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public Object CallApi(
String path, Method method, List<KeyValuePair<String, String>> queryParams, Object postBody,
Dictionary<String, String> headerParams, Dictionary<String, String> formParams,
Dictionary<String, FileParameter> fileParams, Dictionary<String, String> pathParams,
String contentType, Configuration configuration = null)
String contentType, Configuration configuration)
{
int retryCount = 0;
RestResponse response = RetryRestClientCallApi(path, method, queryParams, postBody, headerParams,
Expand Down

0 comments on commit 81b8243

Please sign in to comment.