+ *
+ * Status Code |
+ * Description |
+ * Response Headers |
+ *
+ *
+ * 200 |
+ * Success |
+ * * X-RateLimit-Limit - The request limit per minute.
+ * * X-RateLimit-Remaining - The number of available requests left for the current time
+ * window.
+ * * X-RateLimit-Retry-After - The number of seconds left until the current rate limit window
+ * resets.
+ * |
+ *
+ *
+ * 400 |
+ * Bad Request |
+ * * X-RateLimit-Limit - The request limit per minute.
+ * * X-RateLimit-Remaining - The number of available requests left for the current time
+ * window.
+ * * X-RateLimit-Retry-After - The number of seconds left until the current rate limit window
+ * resets.
+ * |
+ *
+ *
+ * 404 |
+ * Not Found |
+ * * X-RateLimit-Limit - The request limit per minute.
+ * * X-RateLimit-Remaining - The number of available requests left for the current time
+ * window.
+ * * X-RateLimit-Retry-After - The number of seconds left until the current rate limit window
+ * resets.
+ * |
+ *
+ *
+ * 429 |
+ * Too Many Requests |
+ * * X-RateLimit-Limit - The request limit per minute.
+ * * X-RateLimit-Remaining - The number of available requests left for the current time
+ * window.
+ * * X-RateLimit-Retry-After - The number of seconds left until the current rate limit window
+ * resets.
+ * |
+ *
+ *
+ */
+ private okhttp3.Call updateDiscardedCall(String videoId, DiscardedVideoUpdatePayload discardedVideoUpdatePayload,
+ final ApiCallback _callback) throws ApiException {
+ Object localVarPostBody = discardedVideoUpdatePayload;
+
+ // create path and map variables
+ String localVarPath = "/discarded/videos/{videoId}".replaceAll("\\{" + "videoId" + "\\}",
+ localVarApiClient.escapeString(videoId.toString()));
+
+ List