Skip to content

Commit

Permalink
Updated endpoints and models
Browse files Browse the repository at this point in the history
  • Loading branch information
sebprt committed Oct 7, 2022
1 parent a3a4e65 commit 093cae3
Show file tree
Hide file tree
Showing 1,255 changed files with 8,773 additions and 389 deletions.
6 changes: 6 additions & 0 deletions src/Authentication/ApiKeyAuthentication.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

declare(strict_types=1);

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Gyroscops\Api\Authentication;

class ApiKeyAuthentication implements \Jane\Component\OpenApiRuntime\Client\AuthenticationPlugin
Expand Down
24 changes: 24 additions & 0 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

declare(strict_types=1);

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Gyroscops\Api;

class Client extends \Gyroscops\Api\Runtime\Client\Client
Expand Down Expand Up @@ -2379,6 +2385,24 @@ public function removePipelineStepProbePipelineItem(string $code, string $probeC
return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\RemovePipelineStepProbePipelineItem($code, $probeCode, $probeLabel, $id), $fetch);
}

/**
* Retrieves a Pipeline resource.
*
* @param string $id Pipeline identifier
* @param array $queryParameters {
*
* @var int $page The collection page number
* }
*
* @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE)
*
* @return \Gyroscops\Api\Model\PipelineStep[]|\Psr\Http\Message\ResponseInterface|null
*/
public function apiPipelinesStepsGetSubresourcePipelineSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT)
{
return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiPipelinesStepsGetSubresourcePipelineSubresource($id, $queryParameters), $fetch);
}

/**
* Retrieves a Pipeline resource.
*
Expand Down
8 changes: 7 additions & 1 deletion src/Endpoint/AcceptReferralRequestReferralRequestItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

declare(strict_types=1);

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Gyroscops\Api\Endpoint;

class AcceptReferralRequestReferralRequestItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint
Expand Down Expand Up @@ -52,7 +58,7 @@ public function getExtraHeaders(): array
*/
protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
{
if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) {
if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) {
return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestRead', 'json');
}
if (400 === $status) {
Expand Down
8 changes: 7 additions & 1 deletion src/Endpoint/AddAfterPipelineStepPipelineCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

declare(strict_types=1);

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Gyroscops\Api\Endpoint;

class AddAfterPipelineStepPipelineCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint
Expand Down Expand Up @@ -56,7 +62,7 @@ public function getExtraHeaders(): array
*/
protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
{
if (false === (null === $contentType) && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) {
if ((null === $contentType) === false && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) {
return json_decode($body);
}
if (400 === $status) {
Expand Down
8 changes: 7 additions & 1 deletion src/Endpoint/AddBeforePipelineStepPipelineCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

declare(strict_types=1);

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Gyroscops\Api\Endpoint;

class AddBeforePipelineStepPipelineCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint
Expand Down Expand Up @@ -56,7 +62,7 @@ public function getExtraHeaders(): array
*/
protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
{
if (false === (null === $contentType) && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) {
if ((null === $contentType) === false && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) {
return json_decode($body);
}
if (400 === $status) {
Expand Down
8 changes: 7 additions & 1 deletion src/Endpoint/AddComposerPipelinePipelineCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

declare(strict_types=1);

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Gyroscops\Api\Endpoint;

class AddComposerPipelinePipelineCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint
Expand Down Expand Up @@ -56,7 +62,7 @@ public function getExtraHeaders(): array
*/
protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
{
if (false === (null === $contentType) && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) {
if ((null === $contentType) === false && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) {
return json_decode($body);
}
if (400 === $status) {
Expand Down
8 changes: 7 additions & 1 deletion src/Endpoint/AddPipelineStepProbePipelineCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

declare(strict_types=1);

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Gyroscops\Api\Endpoint;

class AddPipelineStepProbePipelineCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint
Expand Down Expand Up @@ -56,7 +62,7 @@ public function getExtraHeaders(): array
*/
protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
{
if (false === (null === $contentType) && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) {
if ((null === $contentType) === false && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) {
return json_decode($body);
}
if (400 === $status) {
Expand Down
8 changes: 7 additions & 1 deletion src/Endpoint/AddValueConfigMapCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

declare(strict_types=1);

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Gyroscops\Api\Endpoint;

class AddValueConfigMapCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint
Expand Down Expand Up @@ -54,7 +60,7 @@ public function getExtraHeaders(): array
*/
protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
{
if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) {
if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) {
return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ConfigMap[]', 'json');
}
if (400 === $status) {
Expand Down
8 changes: 7 additions & 1 deletion src/Endpoint/AddValueSecretCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

declare(strict_types=1);

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Gyroscops\Api\Endpoint;

class AddValueSecretCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint
Expand Down Expand Up @@ -54,7 +60,7 @@ public function getExtraHeaders(): array
*/
protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
{
if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) {
if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) {
return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Secret[]', 'json');
}
if (400 === $status) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

declare(strict_types=1);

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Gyroscops\Api\Endpoint;

class ApiActionsOrganizationGetSubresourceActionSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint
Expand Down Expand Up @@ -46,7 +52,7 @@ public function getExtraHeaders(): array
*/
protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
{
if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) {
if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) {
return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json');
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

declare(strict_types=1);

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Gyroscops\Api\Endpoint;

class ApiActionsOwnerGetSubresourceActionSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint
Expand Down Expand Up @@ -46,7 +52,7 @@ public function getExtraHeaders(): array
*/
protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
{
if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) {
if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) {
return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json');
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

declare(strict_types=1);

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Gyroscops\Api\Endpoint;

class ApiActionsWorkspaceGetSubresourceActionSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint
Expand Down Expand Up @@ -46,7 +52,7 @@ public function getExtraHeaders(): array
*/
protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
{
if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) {
if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) {
return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json');
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

declare(strict_types=1);

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Gyroscops\Api\Endpoint;

class ApiExecutionPipelineJobsStepsGetSubresourceExecutionPipelineJobSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint
Expand Down Expand Up @@ -62,7 +68,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver
*/
protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
{
if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) {
if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) {
return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineStep[]', 'json');
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

declare(strict_types=1);

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Gyroscops\Api\Endpoint;

class ApiExecutionPipelinesStepsGetSubresourceExecutionPipelineSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint
Expand Down Expand Up @@ -62,7 +68,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver
*/
protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
{
if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) {
if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) {
return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineStep[]', 'json');
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

declare(strict_types=1);

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Gyroscops\Api\Endpoint;

class ApiExecutionWorkflowJobsActionGetSubresourceExecutionWorkflowJobSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint
Expand Down Expand Up @@ -46,7 +52,7 @@ public function getExtraHeaders(): array
*/
protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
{
if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) {
if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) {
return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobAction', 'json');
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

declare(strict_types=1);

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Gyroscops\Api\Endpoint;

class ApiExecutionWorkflowJobsPipelineGetSubresourceExecutionWorkflowJobSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint
Expand Down Expand Up @@ -46,7 +52,7 @@ public function getExtraHeaders(): array
*/
protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
{
if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) {
if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) {
return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineJob', 'json');
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

declare(strict_types=1);

/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/

namespace Gyroscops\Api\Endpoint;

class ApiExecutionWorkflowJobsPipelineStepsGetSubresourceExecutionWorkflowJobSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint
Expand Down Expand Up @@ -65,7 +71,7 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver
*/
protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null)
{
if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) {
if ((null === $contentType) === false && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) {
return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineStep[]', 'json');
}
}
Expand Down
Loading

0 comments on commit 093cae3

Please sign in to comment.