@@ -7424,7 +7424,7 @@ public function createUserBadgeRequest($tenant_id, $create_user_badge_params, st
74247424 *
74257425 * @throws \FastComments\Client\ApiException on non-2xx response or if the response body is not in the expected format
74267426 * @throws \InvalidArgumentException
7427- * @return \FastComments\Client\Model\CreateVote200Response
7427+ * @return \FastComments\Client\Model\VoteComment200Response
74287428 */
74297429 public function createVote($tenant_id, $comment_id, $direction, $user_id = null, $anon_user_id = null, string $contentType = self::contentTypes['createVote'][0])
74307430 {
@@ -7446,7 +7446,7 @@ public function createVote($tenant_id, $comment_id, $direction, $user_id = null,
74467446 *
74477447 * @throws \FastComments\Client\ApiException on non-2xx response or if the response body is not in the expected format
74487448 * @throws \InvalidArgumentException
7449- * @return array of \FastComments\Client\Model\CreateVote200Response , HTTP status code, HTTP response headers (array of strings)
7449+ * @return array of \FastComments\Client\Model\VoteComment200Response , HTTP status code, HTTP response headers (array of strings)
74507450 */
74517451 public function createVoteWithHttpInfo($tenant_id, $comment_id, $direction, $user_id = null, $anon_user_id = null, string $contentType = self::contentTypes['createVote'][0])
74527452 {
@@ -7477,11 +7477,11 @@ public function createVoteWithHttpInfo($tenant_id, $comment_id, $direction, $use
74777477
74787478 switch($statusCode) {
74797479 case 200:
7480- if ('\FastComments\Client\Model\CreateVote200Response ' === '\SplFileObject') {
7480+ if ('\FastComments\Client\Model\VoteComment200Response ' === '\SplFileObject') {
74817481 $content = $response->getBody(); //stream goes to serializer
74827482 } else {
74837483 $content = (string) $response->getBody();
7484- if ('\FastComments\Client\Model\CreateVote200Response ' !== 'string') {
7484+ if ('\FastComments\Client\Model\VoteComment200Response ' !== 'string') {
74857485 try {
74867486 $content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
74877487 } catch (\JsonException $exception) {
@@ -7499,7 +7499,7 @@ public function createVoteWithHttpInfo($tenant_id, $comment_id, $direction, $use
74997499 }
75007500
75017501 return [
7502- ObjectSerializer::deserialize($content, '\FastComments\Client\Model\CreateVote200Response ', []),
7502+ ObjectSerializer::deserialize($content, '\FastComments\Client\Model\VoteComment200Response ', []),
75037503 $response->getStatusCode(),
75047504 $response->getHeaders()
75057505 ];
@@ -7518,7 +7518,7 @@ public function createVoteWithHttpInfo($tenant_id, $comment_id, $direction, $use
75187518 );
75197519 }
75207520
7521- $returnType = '\FastComments\Client\Model\CreateVote200Response ';
7521+ $returnType = '\FastComments\Client\Model\VoteComment200Response ';
75227522 if ($returnType === '\SplFileObject') {
75237523 $content = $response->getBody(); //stream goes to serializer
75247524 } else {
@@ -7551,7 +7551,7 @@ public function createVoteWithHttpInfo($tenant_id, $comment_id, $direction, $use
75517551 case 200:
75527552 $data = ObjectSerializer::deserialize(
75537553 $e->getResponseBody(),
7554- '\FastComments\Client\Model\CreateVote200Response ',
7554+ '\FastComments\Client\Model\VoteComment200Response ',
75557555 $e->getResponseHeaders()
75567556 );
75577557 $e->setResponseObject($data);
@@ -7603,7 +7603,7 @@ function ($response) {
76037603 */
76047604 public function createVoteAsyncWithHttpInfo($tenant_id, $comment_id, $direction, $user_id = null, $anon_user_id = null, string $contentType = self::contentTypes['createVote'][0])
76057605 {
7606- $returnType = '\FastComments\Client\Model\CreateVote200Response ';
7606+ $returnType = '\FastComments\Client\Model\VoteComment200Response ';
76077607 $request = $this->createVoteRequest($tenant_id, $comment_id, $direction, $user_id, $anon_user_id, $contentType);
76087608
76097609 return $this->client
@@ -13648,7 +13648,7 @@ public function deleteUserBadgeRequest($tenant_id, $id, string $contentType = se
1364813648 *
1364913649 * @throws \FastComments\Client\ApiException on non-2xx response or if the response body is not in the expected format
1365013650 * @throws \InvalidArgumentException
13651- * @return \FastComments\Client\Model\DeleteVote200Response
13651+ * @return \FastComments\Client\Model\DeleteCommentVote200Response
1365213652 */
1365313653 public function deleteVote($tenant_id, $id, $edit_key = null, string $contentType = self::contentTypes['deleteVote'][0])
1365413654 {
@@ -13668,7 +13668,7 @@ public function deleteVote($tenant_id, $id, $edit_key = null, string $contentTyp
1366813668 *
1366913669 * @throws \FastComments\Client\ApiException on non-2xx response or if the response body is not in the expected format
1367013670 * @throws \InvalidArgumentException
13671- * @return array of \FastComments\Client\Model\DeleteVote200Response , HTTP status code, HTTP response headers (array of strings)
13671+ * @return array of \FastComments\Client\Model\DeleteCommentVote200Response , HTTP status code, HTTP response headers (array of strings)
1367213672 */
1367313673 public function deleteVoteWithHttpInfo($tenant_id, $id, $edit_key = null, string $contentType = self::contentTypes['deleteVote'][0])
1367413674 {
@@ -13699,11 +13699,11 @@ public function deleteVoteWithHttpInfo($tenant_id, $id, $edit_key = null, string
1369913699
1370013700 switch($statusCode) {
1370113701 case 200:
13702- if ('\FastComments\Client\Model\DeleteVote200Response ' === '\SplFileObject') {
13702+ if ('\FastComments\Client\Model\DeleteCommentVote200Response ' === '\SplFileObject') {
1370313703 $content = $response->getBody(); //stream goes to serializer
1370413704 } else {
1370513705 $content = (string) $response->getBody();
13706- if ('\FastComments\Client\Model\DeleteVote200Response ' !== 'string') {
13706+ if ('\FastComments\Client\Model\DeleteCommentVote200Response ' !== 'string') {
1370713707 try {
1370813708 $content = json_decode($content, false, 512, JSON_THROW_ON_ERROR);
1370913709 } catch (\JsonException $exception) {
@@ -13721,7 +13721,7 @@ public function deleteVoteWithHttpInfo($tenant_id, $id, $edit_key = null, string
1372113721 }
1372213722
1372313723 return [
13724- ObjectSerializer::deserialize($content, '\FastComments\Client\Model\DeleteVote200Response ', []),
13724+ ObjectSerializer::deserialize($content, '\FastComments\Client\Model\DeleteCommentVote200Response ', []),
1372513725 $response->getStatusCode(),
1372613726 $response->getHeaders()
1372713727 ];
@@ -13740,7 +13740,7 @@ public function deleteVoteWithHttpInfo($tenant_id, $id, $edit_key = null, string
1374013740 );
1374113741 }
1374213742
13743- $returnType = '\FastComments\Client\Model\DeleteVote200Response ';
13743+ $returnType = '\FastComments\Client\Model\DeleteCommentVote200Response ';
1374413744 if ($returnType === '\SplFileObject') {
1374513745 $content = $response->getBody(); //stream goes to serializer
1374613746 } else {
@@ -13773,7 +13773,7 @@ public function deleteVoteWithHttpInfo($tenant_id, $id, $edit_key = null, string
1377313773 case 200:
1377413774 $data = ObjectSerializer::deserialize(
1377513775 $e->getResponseBody(),
13776- '\FastComments\Client\Model\DeleteVote200Response ',
13776+ '\FastComments\Client\Model\DeleteCommentVote200Response ',
1377713777 $e->getResponseHeaders()
1377813778 );
1377913779 $e->setResponseObject($data);
@@ -13821,7 +13821,7 @@ function ($response) {
1382113821 */
1382213822 public function deleteVoteAsyncWithHttpInfo($tenant_id, $id, $edit_key = null, string $contentType = self::contentTypes['deleteVote'][0])
1382313823 {
13824- $returnType = '\FastComments\Client\Model\DeleteVote200Response ';
13824+ $returnType = '\FastComments\Client\Model\DeleteCommentVote200Response ';
1382513825 $request = $this->deleteVoteRequest($tenant_id, $id, $edit_key, $contentType);
1382613826
1382713827 return $this->client
0 commit comments