diff --git a/README.md b/README.md index 05a17d7..9caf93b 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ REST API used for SCORM Cloud integrations. This PHP package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project: - API version: 2.0 -- Package version: 2.1.0 +- Package version: 3.0.0 - Build package: io.swagger.codegen.languages.PhpClientCodegen ## Requirements diff --git a/composer.json b/composer.json index dfe8235..55dff70 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "rustici-software/scormcloud-api-v2-client-php", - "version": "2.1.0", + "version": "3.0.0", "description": "", "keywords": [ "scorm", diff --git a/src/Api/AboutApi.php b/src/Api/AboutApi.php index ee3d1df..d1a728f 100644 --- a/src/Api/AboutApi.php +++ b/src/Api/AboutApi.php @@ -17,7 +17,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Api/ApplicationManagementApi.php b/src/Api/ApplicationManagementApi.php index 9ece1d2..1bf9072 100644 --- a/src/Api/ApplicationManagementApi.php +++ b/src/Api/ApplicationManagementApi.php @@ -17,7 +17,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** @@ -2402,12 +2401,13 @@ protected function getApplicationInfoRequest($child_app_id, $include_course_coun /** * Operation getApplicationList * - * Use the Application Management App to get a list of Applications + * (Deprecated) Use the Application Management App to get basic data about all Applications in a Realm * * * @throws \RusticiSoftware\Cloud\V2\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \RusticiSoftware\Cloud\V2\Model\ApplicationListSchema + * @deprecated Use GetApplications instead. */ public function getApplicationList() { @@ -2418,12 +2418,13 @@ public function getApplicationList() /** * Operation getApplicationListWithHttpInfo * - * Use the Application Management App to get a list of Applications + * (Deprecated) Use the Application Management App to get basic data about all Applications in a Realm * * * @throws \RusticiSoftware\Cloud\V2\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \RusticiSoftware\Cloud\V2\Model\ApplicationListSchema, HTTP status code, HTTP response headers (array of strings) + * @deprecated Use GetApplicationsWithHttpInfo instead. */ public function getApplicationListWithHttpInfo() { @@ -2508,11 +2509,12 @@ public function getApplicationListWithHttpInfo() /** * Operation getApplicationListAsync * - * Use the Application Management App to get a list of Applications + * (Deprecated) Use the Application Management App to get basic data about all Applications in a Realm * * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface + * @deprecated Use GetApplicationsAsync instead. */ public function getApplicationListAsync() { @@ -2527,11 +2529,12 @@ function ($response) { /** * Operation getApplicationListAsyncWithHttpInfo * - * Use the Application Management App to get a list of Applications + * (Deprecated) Use the Application Management App to get basic data about all Applications in a Realm * * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface + * @deprecated Use GetApplicationsAsyncWithHttpInfo instead. */ public function getApplicationListAsyncWithHttpInfo() { @@ -2594,6 +2597,370 @@ protected function getApplicationListRequest() + // body params + $_tempBody = null; + + if ($multipart) { + $headers = $this->headerSelector->selectHeadersForMultipart( + ['application/json'] + ); + } else { + $headers = $this->headerSelector->selectHeaders( + ['application/json'], + ['application/json'] + ); + } + + // for model (json/xml) + if (isset($_tempBody)) { + // $_tempBody is the method argument, if present + $httpBody = $_tempBody; + + if($headers['Content-Type'] === 'application/json') { + // \stdClass has no __toString(), so we should encode it manually + if ($httpBody instanceof \stdClass) { + $httpBody = \GuzzleHttp\json_encode($httpBody); + } + // array has no __toString(), so we should encode it manually + if(is_array($httpBody)) { + $httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($httpBody)); + } + } + } elseif (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValue + ]; + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif ($headers['Content-Type'] === 'application/json') { + $httpBody = \GuzzleHttp\json_encode($formParams); + + } else { + // for HTTP post (form) + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); + } + } + + // this endpoint requires HTTP basic authentication + if ($this->config->getUsername() !== null || $this->config->getPassword() !== null) { + $headers['Authorization'] = 'Basic ' . base64_encode($this->config->getUsername() . ":" . $this->config->getPassword()); + } + // this endpoint requires OAuth (access token) + if ($this->config->getAccessToken() !== null) { + $headers['Authorization'] = 'Bearer ' . $this->config->getAccessToken(); + } + + $defaultHeaders = []; + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $query = \GuzzleHttp\Psr7\Query::build($queryParams); + return new Request( + 'GET', + $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + + /** + * Operation getApplications + * + * Use the Application Management App to get a detailed list of Applications + * + * @param \DateTime $since Filter by ISO 8601 TimeStamp inclusive (defaults to UTC) (optional) + * @param \DateTime $until Filter by ISO 8601 TimeStamp inclusive (defaults to UTC) (optional) + * @param string $datetime_filter Specifies field that `since` and `until` parameters are applied against (optional, default to updated) + * @param string $filter Optional string which filters results by a specified field (described by filterBy). (optional) + * @param string $filter_by Optional enum parameter for specifying the field on which to run the filter. (optional, default to app_id) + * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) + * @param string $more Pagination token returned as `more` property of multi page list requests (optional) + * @param bool $include_course_count Include a count of courses for the application. (optional, default to false) + * @param bool $include_registration_count Include a count of registrations created for the application during the current billing period. (optional, default to false) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) + * + * @throws \RusticiSoftware\Cloud\V2\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return \RusticiSoftware\Cloud\V2\Model\ApplicationInfoListSchema + */ + public function getApplications($since = null, $until = null, $datetime_filter = 'updated', $filter = null, $filter_by = 'app_id', $order_by = 'updated_asc', $more = null, $include_course_count = 'false', $include_registration_count = 'false', $include_total_count = 'false') + { + list($response) = $this->getApplicationsWithHttpInfo($since, $until, $datetime_filter, $filter, $filter_by, $order_by, $more, $include_course_count, $include_registration_count, $include_total_count); + return $response; + } + + /** + * Operation getApplicationsWithHttpInfo + * + * Use the Application Management App to get a detailed list of Applications + * + * @param \DateTime $since Filter by ISO 8601 TimeStamp inclusive (defaults to UTC) (optional) + * @param \DateTime $until Filter by ISO 8601 TimeStamp inclusive (defaults to UTC) (optional) + * @param string $datetime_filter Specifies field that `since` and `until` parameters are applied against (optional, default to updated) + * @param string $filter Optional string which filters results by a specified field (described by filterBy). (optional) + * @param string $filter_by Optional enum parameter for specifying the field on which to run the filter. (optional, default to app_id) + * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) + * @param string $more Pagination token returned as `more` property of multi page list requests (optional) + * @param bool $include_course_count Include a count of courses for the application. (optional, default to false) + * @param bool $include_registration_count Include a count of registrations created for the application during the current billing period. (optional, default to false) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) + * + * @throws \RusticiSoftware\Cloud\V2\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return array of \RusticiSoftware\Cloud\V2\Model\ApplicationInfoListSchema, HTTP status code, HTTP response headers (array of strings) + */ + public function getApplicationsWithHttpInfo($since = null, $until = null, $datetime_filter = 'updated', $filter = null, $filter_by = 'app_id', $order_by = 'updated_asc', $more = null, $include_course_count = 'false', $include_registration_count = 'false', $include_total_count = 'false') + { + $returnType = '\RusticiSoftware\Cloud\V2\Model\ApplicationInfoListSchema'; + $request = $this->getApplicationsRequest($since, $until, $datetime_filter, $filter, $filter_by, $order_by, $more, $include_course_count, $include_registration_count, $include_total_count); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? $e->getResponse()->getBody()->getContents() : null + ); + } + + $statusCode = $response->getStatusCode(); + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $request->getUri() + ), + $statusCode, + $response->getHeaders(), + $response->getBody() + ); + } + + $responseBody = $response->getBody(); + if ($returnType === '\SplFileObject') { + $content = $responseBody; //stream goes to serializer + } else { + $content = $responseBody->getContents(); + if ($returnType !== 'string') { + $content = json_decode($content); + } + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\RusticiSoftware\Cloud\V2\Model\ApplicationInfoListSchema', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 400: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\RusticiSoftware\Cloud\V2\Model\MessageSchema', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 401: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\RusticiSoftware\Cloud\V2\Model\MessageSchema', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + } + throw $e; + } + } + + /** + * Operation getApplicationsAsync + * + * Use the Application Management App to get a detailed list of Applications + * + * @param \DateTime $since Filter by ISO 8601 TimeStamp inclusive (defaults to UTC) (optional) + * @param \DateTime $until Filter by ISO 8601 TimeStamp inclusive (defaults to UTC) (optional) + * @param string $datetime_filter Specifies field that `since` and `until` parameters are applied against (optional, default to updated) + * @param string $filter Optional string which filters results by a specified field (described by filterBy). (optional) + * @param string $filter_by Optional enum parameter for specifying the field on which to run the filter. (optional, default to app_id) + * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) + * @param string $more Pagination token returned as `more` property of multi page list requests (optional) + * @param bool $include_course_count Include a count of courses for the application. (optional, default to false) + * @param bool $include_registration_count Include a count of registrations created for the application during the current billing period. (optional, default to false) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function getApplicationsAsync($since = null, $until = null, $datetime_filter = 'updated', $filter = null, $filter_by = 'app_id', $order_by = 'updated_asc', $more = null, $include_course_count = 'false', $include_registration_count = 'false', $include_total_count = 'false') + { + return $this->getApplicationsAsyncWithHttpInfo($since, $until, $datetime_filter, $filter, $filter_by, $order_by, $more, $include_course_count, $include_registration_count, $include_total_count) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation getApplicationsAsyncWithHttpInfo + * + * Use the Application Management App to get a detailed list of Applications + * + * @param \DateTime $since Filter by ISO 8601 TimeStamp inclusive (defaults to UTC) (optional) + * @param \DateTime $until Filter by ISO 8601 TimeStamp inclusive (defaults to UTC) (optional) + * @param string $datetime_filter Specifies field that `since` and `until` parameters are applied against (optional, default to updated) + * @param string $filter Optional string which filters results by a specified field (described by filterBy). (optional) + * @param string $filter_by Optional enum parameter for specifying the field on which to run the filter. (optional, default to app_id) + * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) + * @param string $more Pagination token returned as `more` property of multi page list requests (optional) + * @param bool $include_course_count Include a count of courses for the application. (optional, default to false) + * @param bool $include_registration_count Include a count of registrations created for the application during the current billing period. (optional, default to false) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function getApplicationsAsyncWithHttpInfo($since = null, $until = null, $datetime_filter = 'updated', $filter = null, $filter_by = 'app_id', $order_by = 'updated_asc', $more = null, $include_course_count = 'false', $include_registration_count = 'false', $include_total_count = 'false') + { + $returnType = '\RusticiSoftware\Cloud\V2\Model\ApplicationInfoListSchema'; + $request = $this->getApplicationsRequest($since, $until, $datetime_filter, $filter, $filter_by, $order_by, $more, $include_course_count, $include_registration_count, $include_total_count); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + $responseBody = $response->getBody(); + if ($returnType === '\SplFileObject') { + $content = $responseBody; //stream goes to serializer + } else { + $content = $responseBody->getContents(); + if ($returnType !== 'string') { + $content = json_decode($content); + } + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'getApplications' + * + * @param \DateTime $since Filter by ISO 8601 TimeStamp inclusive (defaults to UTC) (optional) + * @param \DateTime $until Filter by ISO 8601 TimeStamp inclusive (defaults to UTC) (optional) + * @param string $datetime_filter Specifies field that `since` and `until` parameters are applied against (optional, default to updated) + * @param string $filter Optional string which filters results by a specified field (described by filterBy). (optional) + * @param string $filter_by Optional enum parameter for specifying the field on which to run the filter. (optional, default to app_id) + * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) + * @param string $more Pagination token returned as `more` property of multi page list requests (optional) + * @param bool $include_course_count Include a count of courses for the application. (optional, default to false) + * @param bool $include_registration_count Include a count of registrations created for the application during the current billing period. (optional, default to false) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + protected function getApplicationsRequest($since = null, $until = null, $datetime_filter = 'updated', $filter = null, $filter_by = 'app_id', $order_by = 'updated_asc', $more = null, $include_course_count = 'false', $include_registration_count = 'false', $include_total_count = 'false') + { + + $resourcePath = '/appManagement/applicationList'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + // query params + if ($since !== null) { + $queryParams['since'] = ObjectSerializer::toQueryValue($since); + } + // query params + if ($until !== null) { + $queryParams['until'] = ObjectSerializer::toQueryValue($until); + } + // query params + if ($datetime_filter !== null) { + $queryParams['datetimeFilter'] = ObjectSerializer::toQueryValue($datetime_filter); + } + // query params + if ($filter !== null) { + $queryParams['filter'] = ObjectSerializer::toQueryValue($filter); + } + // query params + if ($filter_by !== null) { + $queryParams['filterBy'] = ObjectSerializer::toQueryValue($filter_by); + } + // query params + if ($order_by !== null) { + $queryParams['orderBy'] = ObjectSerializer::toQueryValue($order_by); + } + // query params + if ($more !== null) { + $queryParams['more'] = ObjectSerializer::toQueryValue($more); + } + // query params + if ($include_course_count !== null) { + $queryParams['includeCourseCount'] = ObjectSerializer::toQueryValue($include_course_count); + } + // query params + if ($include_registration_count !== null) { + $queryParams['includeRegistrationCount'] = ObjectSerializer::toQueryValue($include_registration_count); + } + // query params + if ($include_total_count !== null) { + $queryParams['includeTotalCount'] = ObjectSerializer::toQueryValue($include_total_count); + } + + // body params $_tempBody = null; diff --git a/src/Api/AuthenticationApi.php b/src/Api/AuthenticationApi.php index dd7c966..e8d439a 100644 --- a/src/Api/AuthenticationApi.php +++ b/src/Api/AuthenticationApi.php @@ -17,7 +17,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Api/ContentConnectorsApi.php b/src/Api/ContentConnectorsApi.php index 740dbf6..9f624fa 100644 --- a/src/Api/ContentConnectorsApi.php +++ b/src/Api/ContentConnectorsApi.php @@ -17,7 +17,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Api/CourseApi.php b/src/Api/CourseApi.php index 50bebac..c54029d 100644 --- a/src/Api/CourseApi.php +++ b/src/Api/CourseApi.php @@ -17,7 +17,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** @@ -7739,14 +7738,15 @@ protected function getCourseZipRequest($course_id) * @param string $more Pagination token returned as `more` property of multi page list requests (optional) * @param bool $include_course_metadata Include course metadata in the results. If the course has no metadata, adding this parameter has no effect. (optional, default to false) * @param bool $include_registration_count Include the registration count in the results (optional, default to false) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \RusticiSoftware\Cloud\V2\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \RusticiSoftware\Cloud\V2\Model\CourseListSchema */ - public function getCourses($since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'course_id', $order_by = 'created_desc', $more = null, $include_course_metadata = 'false', $include_registration_count = 'false') + public function getCourses($since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'course_id', $order_by = 'created_desc', $more = null, $include_course_metadata = 'false', $include_registration_count = 'false', $include_total_count = 'false') { - list($response) = $this->getCoursesWithHttpInfo($since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more, $include_course_metadata, $include_registration_count); + list($response) = $this->getCoursesWithHttpInfo($since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more, $include_course_metadata, $include_registration_count, $include_total_count); return $response; } @@ -7765,15 +7765,16 @@ public function getCourses($since = null, $until = null, $datetime_filter = 'upd * @param string $more Pagination token returned as `more` property of multi page list requests (optional) * @param bool $include_course_metadata Include course metadata in the results. If the course has no metadata, adding this parameter has no effect. (optional, default to false) * @param bool $include_registration_count Include the registration count in the results (optional, default to false) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \RusticiSoftware\Cloud\V2\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \RusticiSoftware\Cloud\V2\Model\CourseListSchema, HTTP status code, HTTP response headers (array of strings) */ - public function getCoursesWithHttpInfo($since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'course_id', $order_by = 'created_desc', $more = null, $include_course_metadata = 'false', $include_registration_count = 'false') + public function getCoursesWithHttpInfo($since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'course_id', $order_by = 'created_desc', $more = null, $include_course_metadata = 'false', $include_registration_count = 'false', $include_total_count = 'false') { $returnType = '\RusticiSoftware\Cloud\V2\Model\CourseListSchema'; - $request = $this->getCoursesRequest($since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more, $include_course_metadata, $include_registration_count); + $request = $this->getCoursesRequest($since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more, $include_course_metadata, $include_registration_count, $include_total_count); try { $options = $this->createHttpClientOption(); @@ -7857,13 +7858,14 @@ public function getCoursesWithHttpInfo($since = null, $until = null, $datetime_f * @param string $more Pagination token returned as `more` property of multi page list requests (optional) * @param bool $include_course_metadata Include course metadata in the results. If the course has no metadata, adding this parameter has no effect. (optional, default to false) * @param bool $include_registration_count Include the registration count in the results (optional, default to false) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function getCoursesAsync($since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'course_id', $order_by = 'created_desc', $more = null, $include_course_metadata = 'false', $include_registration_count = 'false') + public function getCoursesAsync($since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'course_id', $order_by = 'created_desc', $more = null, $include_course_metadata = 'false', $include_registration_count = 'false', $include_total_count = 'false') { - return $this->getCoursesAsyncWithHttpInfo($since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more, $include_course_metadata, $include_registration_count) + return $this->getCoursesAsyncWithHttpInfo($since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more, $include_course_metadata, $include_registration_count, $include_total_count) ->then( function ($response) { return $response[0]; @@ -7886,14 +7888,15 @@ function ($response) { * @param string $more Pagination token returned as `more` property of multi page list requests (optional) * @param bool $include_course_metadata Include course metadata in the results. If the course has no metadata, adding this parameter has no effect. (optional, default to false) * @param bool $include_registration_count Include the registration count in the results (optional, default to false) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function getCoursesAsyncWithHttpInfo($since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'course_id', $order_by = 'created_desc', $more = null, $include_course_metadata = 'false', $include_registration_count = 'false') + public function getCoursesAsyncWithHttpInfo($since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'course_id', $order_by = 'created_desc', $more = null, $include_course_metadata = 'false', $include_registration_count = 'false', $include_total_count = 'false') { $returnType = '\RusticiSoftware\Cloud\V2\Model\CourseListSchema'; - $request = $this->getCoursesRequest($since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more, $include_course_metadata, $include_registration_count); + $request = $this->getCoursesRequest($since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more, $include_course_metadata, $include_registration_count, $include_total_count); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -7945,11 +7948,12 @@ function ($exception) { * @param string $more Pagination token returned as `more` property of multi page list requests (optional) * @param bool $include_course_metadata Include course metadata in the results. If the course has no metadata, adding this parameter has no effect. (optional, default to false) * @param bool $include_registration_count Include the registration count in the results (optional, default to false) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function getCoursesRequest($since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'course_id', $order_by = 'created_desc', $more = null, $include_course_metadata = 'false', $include_registration_count = 'false') + protected function getCoursesRequest($since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'course_id', $order_by = 'created_desc', $more = null, $include_course_metadata = 'false', $include_registration_count = 'false', $include_total_count = 'false') { $resourcePath = '/courses'; @@ -8002,6 +8006,10 @@ protected function getCoursesRequest($since = null, $until = null, $datetime_fil if ($include_registration_count !== null) { $queryParams['includeRegistrationCount'] = ObjectSerializer::toQueryValue($include_registration_count); } + // query params + if ($include_total_count !== null) { + $queryParams['includeTotalCount'] = ObjectSerializer::toQueryValue($include_total_count); + } // body params diff --git a/src/Api/DispatchApi.php b/src/Api/DispatchApi.php index baf399a..2b8d1fe 100644 --- a/src/Api/DispatchApi.php +++ b/src/Api/DispatchApi.php @@ -17,7 +17,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** @@ -3626,14 +3625,15 @@ protected function getDestinationDispatchZipRequest($destination_id, $type = 'SC * @param string $filter_by Optional enum parameter for specifying the field on which to run the filter. (optional, default to dispatch_id) * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) * @param string $more Pagination token returned as `more` property of multi page list requests (optional) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \RusticiSoftware\Cloud\V2\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \RusticiSoftware\Cloud\V2\Model\DispatchListSchema */ - public function getDestinationDispatches($destination_id, $course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'dispatch_id', $order_by = 'updated_asc', $more = null) + public function getDestinationDispatches($destination_id, $course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'dispatch_id', $order_by = 'updated_asc', $more = null, $include_total_count = 'false') { - list($response) = $this->getDestinationDispatchesWithHttpInfo($destination_id, $course_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more); + list($response) = $this->getDestinationDispatchesWithHttpInfo($destination_id, $course_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more, $include_total_count); return $response; } @@ -3652,15 +3652,16 @@ public function getDestinationDispatches($destination_id, $course_id = null, $si * @param string $filter_by Optional enum parameter for specifying the field on which to run the filter. (optional, default to dispatch_id) * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) * @param string $more Pagination token returned as `more` property of multi page list requests (optional) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \RusticiSoftware\Cloud\V2\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \RusticiSoftware\Cloud\V2\Model\DispatchListSchema, HTTP status code, HTTP response headers (array of strings) */ - public function getDestinationDispatchesWithHttpInfo($destination_id, $course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'dispatch_id', $order_by = 'updated_asc', $more = null) + public function getDestinationDispatchesWithHttpInfo($destination_id, $course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'dispatch_id', $order_by = 'updated_asc', $more = null, $include_total_count = 'false') { $returnType = '\RusticiSoftware\Cloud\V2\Model\DispatchListSchema'; - $request = $this->getDestinationDispatchesRequest($destination_id, $course_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more); + $request = $this->getDestinationDispatchesRequest($destination_id, $course_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more, $include_total_count); try { $options = $this->createHttpClientOption(); @@ -3752,13 +3753,14 @@ public function getDestinationDispatchesWithHttpInfo($destination_id, $course_id * @param string $filter_by Optional enum parameter for specifying the field on which to run the filter. (optional, default to dispatch_id) * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) * @param string $more Pagination token returned as `more` property of multi page list requests (optional) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function getDestinationDispatchesAsync($destination_id, $course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'dispatch_id', $order_by = 'updated_asc', $more = null) + public function getDestinationDispatchesAsync($destination_id, $course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'dispatch_id', $order_by = 'updated_asc', $more = null, $include_total_count = 'false') { - return $this->getDestinationDispatchesAsyncWithHttpInfo($destination_id, $course_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more) + return $this->getDestinationDispatchesAsyncWithHttpInfo($destination_id, $course_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more, $include_total_count) ->then( function ($response) { return $response[0]; @@ -3781,14 +3783,15 @@ function ($response) { * @param string $filter_by Optional enum parameter for specifying the field on which to run the filter. (optional, default to dispatch_id) * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) * @param string $more Pagination token returned as `more` property of multi page list requests (optional) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function getDestinationDispatchesAsyncWithHttpInfo($destination_id, $course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'dispatch_id', $order_by = 'updated_asc', $more = null) + public function getDestinationDispatchesAsyncWithHttpInfo($destination_id, $course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'dispatch_id', $order_by = 'updated_asc', $more = null, $include_total_count = 'false') { $returnType = '\RusticiSoftware\Cloud\V2\Model\DispatchListSchema'; - $request = $this->getDestinationDispatchesRequest($destination_id, $course_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more); + $request = $this->getDestinationDispatchesRequest($destination_id, $course_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more, $include_total_count); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -3840,11 +3843,12 @@ function ($exception) { * @param string $filter_by Optional enum parameter for specifying the field on which to run the filter. (optional, default to dispatch_id) * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) * @param string $more Pagination token returned as `more` property of multi page list requests (optional) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function getDestinationDispatchesRequest($destination_id, $course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'dispatch_id', $order_by = 'updated_asc', $more = null) + protected function getDestinationDispatchesRequest($destination_id, $course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'dispatch_id', $order_by = 'updated_asc', $more = null, $include_total_count = 'false') { // verify the required parameter 'destination_id' is set if ($destination_id === null || (is_array($destination_id) && count($destination_id) === 0)) { @@ -3899,6 +3903,10 @@ protected function getDestinationDispatchesRequest($destination_id, $course_id = if ($more !== null) { $queryParams['more'] = ObjectSerializer::toQueryValue($more); } + // query params + if ($include_total_count !== null) { + $queryParams['includeTotalCount'] = ObjectSerializer::toQueryValue($include_total_count); + } // path params if ($destination_id !== null) { @@ -4588,14 +4596,15 @@ protected function getDestinationTagsRequest($destination_id) * @param string $filter_by Optional enum parameter for specifying the field on which to run the filter. (optional, default to destination_id) * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) * @param string $more Pagination token returned as `more` property of multi page list requests (optional) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \RusticiSoftware\Cloud\V2\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \RusticiSoftware\Cloud\V2\Model\DestinationListSchema */ - public function getDestinations($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'destination_id', $order_by = 'updated_asc', $more = null) + public function getDestinations($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'destination_id', $order_by = 'updated_asc', $more = null, $include_total_count = 'false') { - list($response) = $this->getDestinationsWithHttpInfo($course_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more); + list($response) = $this->getDestinationsWithHttpInfo($course_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more, $include_total_count); return $response; } @@ -4613,15 +4622,16 @@ public function getDestinations($course_id = null, $since = null, $until = null, * @param string $filter_by Optional enum parameter for specifying the field on which to run the filter. (optional, default to destination_id) * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) * @param string $more Pagination token returned as `more` property of multi page list requests (optional) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \RusticiSoftware\Cloud\V2\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \RusticiSoftware\Cloud\V2\Model\DestinationListSchema, HTTP status code, HTTP response headers (array of strings) */ - public function getDestinationsWithHttpInfo($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'destination_id', $order_by = 'updated_asc', $more = null) + public function getDestinationsWithHttpInfo($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'destination_id', $order_by = 'updated_asc', $more = null, $include_total_count = 'false') { $returnType = '\RusticiSoftware\Cloud\V2\Model\DestinationListSchema'; - $request = $this->getDestinationsRequest($course_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more); + $request = $this->getDestinationsRequest($course_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more, $include_total_count); try { $options = $this->createHttpClientOption(); @@ -4704,13 +4714,14 @@ public function getDestinationsWithHttpInfo($course_id = null, $since = null, $u * @param string $filter_by Optional enum parameter for specifying the field on which to run the filter. (optional, default to destination_id) * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) * @param string $more Pagination token returned as `more` property of multi page list requests (optional) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function getDestinationsAsync($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'destination_id', $order_by = 'updated_asc', $more = null) + public function getDestinationsAsync($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'destination_id', $order_by = 'updated_asc', $more = null, $include_total_count = 'false') { - return $this->getDestinationsAsyncWithHttpInfo($course_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more) + return $this->getDestinationsAsyncWithHttpInfo($course_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more, $include_total_count) ->then( function ($response) { return $response[0]; @@ -4732,14 +4743,15 @@ function ($response) { * @param string $filter_by Optional enum parameter for specifying the field on which to run the filter. (optional, default to destination_id) * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) * @param string $more Pagination token returned as `more` property of multi page list requests (optional) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function getDestinationsAsyncWithHttpInfo($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'destination_id', $order_by = 'updated_asc', $more = null) + public function getDestinationsAsyncWithHttpInfo($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'destination_id', $order_by = 'updated_asc', $more = null, $include_total_count = 'false') { $returnType = '\RusticiSoftware\Cloud\V2\Model\DestinationListSchema'; - $request = $this->getDestinationsRequest($course_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more); + $request = $this->getDestinationsRequest($course_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more, $include_total_count); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -4790,11 +4802,12 @@ function ($exception) { * @param string $filter_by Optional enum parameter for specifying the field on which to run the filter. (optional, default to destination_id) * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) * @param string $more Pagination token returned as `more` property of multi page list requests (optional) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function getDestinationsRequest($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'destination_id', $order_by = 'updated_asc', $more = null) + protected function getDestinationsRequest($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'destination_id', $order_by = 'updated_asc', $more = null, $include_total_count = 'false') { $resourcePath = '/dispatch/destinations'; @@ -4843,6 +4856,10 @@ protected function getDestinationsRequest($course_id = null, $since = null, $unt if ($more !== null) { $queryParams['more'] = ObjectSerializer::toQueryValue($more); } + // query params + if ($include_total_count !== null) { + $queryParams['includeTotalCount'] = ObjectSerializer::toQueryValue($include_total_count); + } // body params @@ -6714,14 +6731,15 @@ protected function getDispatchZipRequest($dispatch_id, $type = 'SCORM_12', $css_ * @param string $filter_by Optional enum parameter for specifying the field on which to run the filter. (optional, default to dispatch_id) * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) * @param string $more Pagination token returned as `more` property of multi page list requests (optional) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \RusticiSoftware\Cloud\V2\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \RusticiSoftware\Cloud\V2\Model\DispatchListSchema */ - public function getDispatches($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'dispatch_id', $order_by = 'updated_asc', $more = null) + public function getDispatches($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'dispatch_id', $order_by = 'updated_asc', $more = null, $include_total_count = 'false') { - list($response) = $this->getDispatchesWithHttpInfo($course_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more); + list($response) = $this->getDispatchesWithHttpInfo($course_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more, $include_total_count); return $response; } @@ -6739,15 +6757,16 @@ public function getDispatches($course_id = null, $since = null, $until = null, $ * @param string $filter_by Optional enum parameter for specifying the field on which to run the filter. (optional, default to dispatch_id) * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) * @param string $more Pagination token returned as `more` property of multi page list requests (optional) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \RusticiSoftware\Cloud\V2\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \RusticiSoftware\Cloud\V2\Model\DispatchListSchema, HTTP status code, HTTP response headers (array of strings) */ - public function getDispatchesWithHttpInfo($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'dispatch_id', $order_by = 'updated_asc', $more = null) + public function getDispatchesWithHttpInfo($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'dispatch_id', $order_by = 'updated_asc', $more = null, $include_total_count = 'false') { $returnType = '\RusticiSoftware\Cloud\V2\Model\DispatchListSchema'; - $request = $this->getDispatchesRequest($course_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more); + $request = $this->getDispatchesRequest($course_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more, $include_total_count); try { $options = $this->createHttpClientOption(); @@ -6830,13 +6849,14 @@ public function getDispatchesWithHttpInfo($course_id = null, $since = null, $unt * @param string $filter_by Optional enum parameter for specifying the field on which to run the filter. (optional, default to dispatch_id) * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) * @param string $more Pagination token returned as `more` property of multi page list requests (optional) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function getDispatchesAsync($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'dispatch_id', $order_by = 'updated_asc', $more = null) + public function getDispatchesAsync($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'dispatch_id', $order_by = 'updated_asc', $more = null, $include_total_count = 'false') { - return $this->getDispatchesAsyncWithHttpInfo($course_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more) + return $this->getDispatchesAsyncWithHttpInfo($course_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more, $include_total_count) ->then( function ($response) { return $response[0]; @@ -6858,14 +6878,15 @@ function ($response) { * @param string $filter_by Optional enum parameter for specifying the field on which to run the filter. (optional, default to dispatch_id) * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) * @param string $more Pagination token returned as `more` property of multi page list requests (optional) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function getDispatchesAsyncWithHttpInfo($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'dispatch_id', $order_by = 'updated_asc', $more = null) + public function getDispatchesAsyncWithHttpInfo($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'dispatch_id', $order_by = 'updated_asc', $more = null, $include_total_count = 'false') { $returnType = '\RusticiSoftware\Cloud\V2\Model\DispatchListSchema'; - $request = $this->getDispatchesRequest($course_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more); + $request = $this->getDispatchesRequest($course_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more, $include_total_count); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -6916,11 +6937,12 @@ function ($exception) { * @param string $filter_by Optional enum parameter for specifying the field on which to run the filter. (optional, default to dispatch_id) * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) * @param string $more Pagination token returned as `more` property of multi page list requests (optional) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function getDispatchesRequest($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'dispatch_id', $order_by = 'updated_asc', $more = null) + protected function getDispatchesRequest($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'dispatch_id', $order_by = 'updated_asc', $more = null, $include_total_count = 'false') { $resourcePath = '/dispatch/dispatches'; @@ -6969,6 +6991,10 @@ protected function getDispatchesRequest($course_id = null, $since = null, $until if ($more !== null) { $queryParams['more'] = ObjectSerializer::toQueryValue($more); } + // query params + if ($include_total_count !== null) { + $queryParams['includeTotalCount'] = ObjectSerializer::toQueryValue($include_total_count); + } // body params @@ -7893,10 +7919,6 @@ protected function getLti13DispatchLaunchRequest($dispatch_id, $external_config, } } - // this endpoint requires HTTP basic authentication - if ($this->config->getUsername() !== null || $this->config->getPassword() !== null) { - $headers['Authorization'] = 'Basic ' . base64_encode($this->config->getUsername() . ":" . $this->config->getPassword()); - } $defaultHeaders = []; if ($this->config->getUserAgent()) { diff --git a/src/Api/InvitationsApi.php b/src/Api/InvitationsApi.php index 0ea89e6..15bbb1b 100644 --- a/src/Api/InvitationsApi.php +++ b/src/Api/InvitationsApi.php @@ -17,7 +17,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** @@ -931,14 +930,15 @@ protected function deleteInvitationTagsRequest($invitation_id, $tags) * @param string $filter_by Optional enum parameter for specifying the field on which to run the filter. (optional, default to invitation_id) * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) * @param string $more Pagination token returned as `more` property of multi page list requests (optional) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \RusticiSoftware\Cloud\V2\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \RusticiSoftware\Cloud\V2\Model\InvitationSummaryList */ - public function getAllInvitations($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'invitation_id', $order_by = 'updated_asc', $more = null) + public function getAllInvitations($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'invitation_id', $order_by = 'updated_asc', $more = null, $include_total_count = 'false') { - list($response) = $this->getAllInvitationsWithHttpInfo($course_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more); + list($response) = $this->getAllInvitationsWithHttpInfo($course_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more, $include_total_count); return $response; } @@ -956,15 +956,16 @@ public function getAllInvitations($course_id = null, $since = null, $until = nul * @param string $filter_by Optional enum parameter for specifying the field on which to run the filter. (optional, default to invitation_id) * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) * @param string $more Pagination token returned as `more` property of multi page list requests (optional) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \RusticiSoftware\Cloud\V2\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \RusticiSoftware\Cloud\V2\Model\InvitationSummaryList, HTTP status code, HTTP response headers (array of strings) */ - public function getAllInvitationsWithHttpInfo($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'invitation_id', $order_by = 'updated_asc', $more = null) + public function getAllInvitationsWithHttpInfo($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'invitation_id', $order_by = 'updated_asc', $more = null, $include_total_count = 'false') { $returnType = '\RusticiSoftware\Cloud\V2\Model\InvitationSummaryList'; - $request = $this->getAllInvitationsRequest($course_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more); + $request = $this->getAllInvitationsRequest($course_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more, $include_total_count); try { $options = $this->createHttpClientOption(); @@ -1047,13 +1048,14 @@ public function getAllInvitationsWithHttpInfo($course_id = null, $since = null, * @param string $filter_by Optional enum parameter for specifying the field on which to run the filter. (optional, default to invitation_id) * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) * @param string $more Pagination token returned as `more` property of multi page list requests (optional) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function getAllInvitationsAsync($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'invitation_id', $order_by = 'updated_asc', $more = null) + public function getAllInvitationsAsync($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'invitation_id', $order_by = 'updated_asc', $more = null, $include_total_count = 'false') { - return $this->getAllInvitationsAsyncWithHttpInfo($course_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more) + return $this->getAllInvitationsAsyncWithHttpInfo($course_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more, $include_total_count) ->then( function ($response) { return $response[0]; @@ -1075,14 +1077,15 @@ function ($response) { * @param string $filter_by Optional enum parameter for specifying the field on which to run the filter. (optional, default to invitation_id) * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) * @param string $more Pagination token returned as `more` property of multi page list requests (optional) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function getAllInvitationsAsyncWithHttpInfo($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'invitation_id', $order_by = 'updated_asc', $more = null) + public function getAllInvitationsAsyncWithHttpInfo($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'invitation_id', $order_by = 'updated_asc', $more = null, $include_total_count = 'false') { $returnType = '\RusticiSoftware\Cloud\V2\Model\InvitationSummaryList'; - $request = $this->getAllInvitationsRequest($course_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more); + $request = $this->getAllInvitationsRequest($course_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more, $include_total_count); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -1133,11 +1136,12 @@ function ($exception) { * @param string $filter_by Optional enum parameter for specifying the field on which to run the filter. (optional, default to invitation_id) * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) * @param string $more Pagination token returned as `more` property of multi page list requests (optional) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function getAllInvitationsRequest($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'invitation_id', $order_by = 'updated_asc', $more = null) + protected function getAllInvitationsRequest($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'invitation_id', $order_by = 'updated_asc', $more = null, $include_total_count = 'false') { $resourcePath = '/invitations'; @@ -1186,6 +1190,10 @@ protected function getAllInvitationsRequest($course_id = null, $since = null, $u if ($more !== null) { $queryParams['more'] = ObjectSerializer::toQueryValue($more); } + // query params + if ($include_total_count !== null) { + $queryParams['includeTotalCount'] = ObjectSerializer::toQueryValue($include_total_count); + } // body params @@ -2169,14 +2177,15 @@ protected function getPrivateInvitationJobStatusRequest($invitation_id) * @param string $filter_by Optional enum parameter for specifying the field on which to run the filter. (optional, default to invitation_id) * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) * @param string $more Pagination token returned as `more` property of multi page list requests (optional) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \RusticiSoftware\Cloud\V2\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \RusticiSoftware\Cloud\V2\Model\PrivateInvitationList */ - public function getPrivateInvitations($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'invitation_id', $order_by = 'updated_asc', $more = null) + public function getPrivateInvitations($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'invitation_id', $order_by = 'updated_asc', $more = null, $include_total_count = 'false') { - list($response) = $this->getPrivateInvitationsWithHttpInfo($course_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more); + list($response) = $this->getPrivateInvitationsWithHttpInfo($course_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more, $include_total_count); return $response; } @@ -2194,15 +2203,16 @@ public function getPrivateInvitations($course_id = null, $since = null, $until = * @param string $filter_by Optional enum parameter for specifying the field on which to run the filter. (optional, default to invitation_id) * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) * @param string $more Pagination token returned as `more` property of multi page list requests (optional) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \RusticiSoftware\Cloud\V2\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \RusticiSoftware\Cloud\V2\Model\PrivateInvitationList, HTTP status code, HTTP response headers (array of strings) */ - public function getPrivateInvitationsWithHttpInfo($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'invitation_id', $order_by = 'updated_asc', $more = null) + public function getPrivateInvitationsWithHttpInfo($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'invitation_id', $order_by = 'updated_asc', $more = null, $include_total_count = 'false') { $returnType = '\RusticiSoftware\Cloud\V2\Model\PrivateInvitationList'; - $request = $this->getPrivateInvitationsRequest($course_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more); + $request = $this->getPrivateInvitationsRequest($course_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more, $include_total_count); try { $options = $this->createHttpClientOption(); @@ -2285,13 +2295,14 @@ public function getPrivateInvitationsWithHttpInfo($course_id = null, $since = nu * @param string $filter_by Optional enum parameter for specifying the field on which to run the filter. (optional, default to invitation_id) * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) * @param string $more Pagination token returned as `more` property of multi page list requests (optional) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function getPrivateInvitationsAsync($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'invitation_id', $order_by = 'updated_asc', $more = null) + public function getPrivateInvitationsAsync($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'invitation_id', $order_by = 'updated_asc', $more = null, $include_total_count = 'false') { - return $this->getPrivateInvitationsAsyncWithHttpInfo($course_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more) + return $this->getPrivateInvitationsAsyncWithHttpInfo($course_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more, $include_total_count) ->then( function ($response) { return $response[0]; @@ -2313,14 +2324,15 @@ function ($response) { * @param string $filter_by Optional enum parameter for specifying the field on which to run the filter. (optional, default to invitation_id) * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) * @param string $more Pagination token returned as `more` property of multi page list requests (optional) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function getPrivateInvitationsAsyncWithHttpInfo($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'invitation_id', $order_by = 'updated_asc', $more = null) + public function getPrivateInvitationsAsyncWithHttpInfo($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'invitation_id', $order_by = 'updated_asc', $more = null, $include_total_count = 'false') { $returnType = '\RusticiSoftware\Cloud\V2\Model\PrivateInvitationList'; - $request = $this->getPrivateInvitationsRequest($course_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more); + $request = $this->getPrivateInvitationsRequest($course_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more, $include_total_count); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -2371,11 +2383,12 @@ function ($exception) { * @param string $filter_by Optional enum parameter for specifying the field on which to run the filter. (optional, default to invitation_id) * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) * @param string $more Pagination token returned as `more` property of multi page list requests (optional) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function getPrivateInvitationsRequest($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'invitation_id', $order_by = 'updated_asc', $more = null) + protected function getPrivateInvitationsRequest($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'invitation_id', $order_by = 'updated_asc', $more = null, $include_total_count = 'false') { $resourcePath = '/invitations/private'; @@ -2424,6 +2437,10 @@ protected function getPrivateInvitationsRequest($course_id = null, $since = null if ($more !== null) { $queryParams['more'] = ObjectSerializer::toQueryValue($more); } + // query params + if ($include_total_count !== null) { + $queryParams['includeTotalCount'] = ObjectSerializer::toQueryValue($include_total_count); + } // body params @@ -2519,14 +2536,15 @@ protected function getPrivateInvitationsRequest($course_id = null, $since = null * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) * @param string $more Pagination token returned as `more` property of multi page list requests (optional) * @param bool $include_registration_report Optional flag to include basic registration information (optional) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \RusticiSoftware\Cloud\V2\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \RusticiSoftware\Cloud\V2\Model\UserInvitationList */ - public function getPrivateUserInvitations($invitation_id, $since = null, $until = null, $datetime_filter = 'updated', $filter = null, $filter_by = 'registration_id', $order_by = 'updated_asc', $more = null, $include_registration_report = null) + public function getPrivateUserInvitations($invitation_id, $since = null, $until = null, $datetime_filter = 'updated', $filter = null, $filter_by = 'registration_id', $order_by = 'updated_asc', $more = null, $include_registration_report = null, $include_total_count = 'false') { - list($response) = $this->getPrivateUserInvitationsWithHttpInfo($invitation_id, $since, $until, $datetime_filter, $filter, $filter_by, $order_by, $more, $include_registration_report); + list($response) = $this->getPrivateUserInvitationsWithHttpInfo($invitation_id, $since, $until, $datetime_filter, $filter, $filter_by, $order_by, $more, $include_registration_report, $include_total_count); return $response; } @@ -2544,15 +2562,16 @@ public function getPrivateUserInvitations($invitation_id, $since = null, $until * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) * @param string $more Pagination token returned as `more` property of multi page list requests (optional) * @param bool $include_registration_report Optional flag to include basic registration information (optional) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \RusticiSoftware\Cloud\V2\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \RusticiSoftware\Cloud\V2\Model\UserInvitationList, HTTP status code, HTTP response headers (array of strings) */ - public function getPrivateUserInvitationsWithHttpInfo($invitation_id, $since = null, $until = null, $datetime_filter = 'updated', $filter = null, $filter_by = 'registration_id', $order_by = 'updated_asc', $more = null, $include_registration_report = null) + public function getPrivateUserInvitationsWithHttpInfo($invitation_id, $since = null, $until = null, $datetime_filter = 'updated', $filter = null, $filter_by = 'registration_id', $order_by = 'updated_asc', $more = null, $include_registration_report = null, $include_total_count = 'false') { $returnType = '\RusticiSoftware\Cloud\V2\Model\UserInvitationList'; - $request = $this->getPrivateUserInvitationsRequest($invitation_id, $since, $until, $datetime_filter, $filter, $filter_by, $order_by, $more, $include_registration_report); + $request = $this->getPrivateUserInvitationsRequest($invitation_id, $since, $until, $datetime_filter, $filter, $filter_by, $order_by, $more, $include_registration_report, $include_total_count); try { $options = $this->createHttpClientOption(); @@ -2643,13 +2662,14 @@ public function getPrivateUserInvitationsWithHttpInfo($invitation_id, $since = n * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) * @param string $more Pagination token returned as `more` property of multi page list requests (optional) * @param bool $include_registration_report Optional flag to include basic registration information (optional) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function getPrivateUserInvitationsAsync($invitation_id, $since = null, $until = null, $datetime_filter = 'updated', $filter = null, $filter_by = 'registration_id', $order_by = 'updated_asc', $more = null, $include_registration_report = null) + public function getPrivateUserInvitationsAsync($invitation_id, $since = null, $until = null, $datetime_filter = 'updated', $filter = null, $filter_by = 'registration_id', $order_by = 'updated_asc', $more = null, $include_registration_report = null, $include_total_count = 'false') { - return $this->getPrivateUserInvitationsAsyncWithHttpInfo($invitation_id, $since, $until, $datetime_filter, $filter, $filter_by, $order_by, $more, $include_registration_report) + return $this->getPrivateUserInvitationsAsyncWithHttpInfo($invitation_id, $since, $until, $datetime_filter, $filter, $filter_by, $order_by, $more, $include_registration_report, $include_total_count) ->then( function ($response) { return $response[0]; @@ -2671,14 +2691,15 @@ function ($response) { * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) * @param string $more Pagination token returned as `more` property of multi page list requests (optional) * @param bool $include_registration_report Optional flag to include basic registration information (optional) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function getPrivateUserInvitationsAsyncWithHttpInfo($invitation_id, $since = null, $until = null, $datetime_filter = 'updated', $filter = null, $filter_by = 'registration_id', $order_by = 'updated_asc', $more = null, $include_registration_report = null) + public function getPrivateUserInvitationsAsyncWithHttpInfo($invitation_id, $since = null, $until = null, $datetime_filter = 'updated', $filter = null, $filter_by = 'registration_id', $order_by = 'updated_asc', $more = null, $include_registration_report = null, $include_total_count = 'false') { $returnType = '\RusticiSoftware\Cloud\V2\Model\UserInvitationList'; - $request = $this->getPrivateUserInvitationsRequest($invitation_id, $since, $until, $datetime_filter, $filter, $filter_by, $order_by, $more, $include_registration_report); + $request = $this->getPrivateUserInvitationsRequest($invitation_id, $since, $until, $datetime_filter, $filter, $filter_by, $order_by, $more, $include_registration_report, $include_total_count); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -2729,11 +2750,12 @@ function ($exception) { * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) * @param string $more Pagination token returned as `more` property of multi page list requests (optional) * @param bool $include_registration_report Optional flag to include basic registration information (optional) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function getPrivateUserInvitationsRequest($invitation_id, $since = null, $until = null, $datetime_filter = 'updated', $filter = null, $filter_by = 'registration_id', $order_by = 'updated_asc', $more = null, $include_registration_report = null) + protected function getPrivateUserInvitationsRequest($invitation_id, $since = null, $until = null, $datetime_filter = 'updated', $filter = null, $filter_by = 'registration_id', $order_by = 'updated_asc', $more = null, $include_registration_report = null, $include_total_count = 'false') { // verify the required parameter 'invitation_id' is set if ($invitation_id === null || (is_array($invitation_id) && count($invitation_id) === 0)) { @@ -2781,6 +2803,10 @@ protected function getPrivateUserInvitationsRequest($invitation_id, $since = nul if ($include_registration_report !== null) { $queryParams['includeRegistrationReport'] = ObjectSerializer::toQueryValue($include_registration_report); } + // query params + if ($include_total_count !== null) { + $queryParams['includeTotalCount'] = ObjectSerializer::toQueryValue($include_total_count); + } // path params if ($invitation_id !== null) { @@ -3186,14 +3212,15 @@ protected function getPublicInvitationRequest($invitation_id, $include_registrat * @param string $filter_by Optional enum parameter for specifying the field on which to run the filter. (optional, default to invitation_id) * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) * @param string $more Pagination token returned as `more` property of multi page list requests (optional) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \RusticiSoftware\Cloud\V2\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \RusticiSoftware\Cloud\V2\Model\PublicInvitationList */ - public function getPublicInvitations($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'invitation_id', $order_by = 'updated_asc', $more = null) + public function getPublicInvitations($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'invitation_id', $order_by = 'updated_asc', $more = null, $include_total_count = 'false') { - list($response) = $this->getPublicInvitationsWithHttpInfo($course_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more); + list($response) = $this->getPublicInvitationsWithHttpInfo($course_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more, $include_total_count); return $response; } @@ -3211,15 +3238,16 @@ public function getPublicInvitations($course_id = null, $since = null, $until = * @param string $filter_by Optional enum parameter for specifying the field on which to run the filter. (optional, default to invitation_id) * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) * @param string $more Pagination token returned as `more` property of multi page list requests (optional) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \RusticiSoftware\Cloud\V2\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \RusticiSoftware\Cloud\V2\Model\PublicInvitationList, HTTP status code, HTTP response headers (array of strings) */ - public function getPublicInvitationsWithHttpInfo($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'invitation_id', $order_by = 'updated_asc', $more = null) + public function getPublicInvitationsWithHttpInfo($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'invitation_id', $order_by = 'updated_asc', $more = null, $include_total_count = 'false') { $returnType = '\RusticiSoftware\Cloud\V2\Model\PublicInvitationList'; - $request = $this->getPublicInvitationsRequest($course_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more); + $request = $this->getPublicInvitationsRequest($course_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more, $include_total_count); try { $options = $this->createHttpClientOption(); @@ -3302,13 +3330,14 @@ public function getPublicInvitationsWithHttpInfo($course_id = null, $since = nul * @param string $filter_by Optional enum parameter for specifying the field on which to run the filter. (optional, default to invitation_id) * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) * @param string $more Pagination token returned as `more` property of multi page list requests (optional) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function getPublicInvitationsAsync($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'invitation_id', $order_by = 'updated_asc', $more = null) + public function getPublicInvitationsAsync($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'invitation_id', $order_by = 'updated_asc', $more = null, $include_total_count = 'false') { - return $this->getPublicInvitationsAsyncWithHttpInfo($course_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more) + return $this->getPublicInvitationsAsyncWithHttpInfo($course_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more, $include_total_count) ->then( function ($response) { return $response[0]; @@ -3330,14 +3359,15 @@ function ($response) { * @param string $filter_by Optional enum parameter for specifying the field on which to run the filter. (optional, default to invitation_id) * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) * @param string $more Pagination token returned as `more` property of multi page list requests (optional) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function getPublicInvitationsAsyncWithHttpInfo($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'invitation_id', $order_by = 'updated_asc', $more = null) + public function getPublicInvitationsAsyncWithHttpInfo($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'invitation_id', $order_by = 'updated_asc', $more = null, $include_total_count = 'false') { $returnType = '\RusticiSoftware\Cloud\V2\Model\PublicInvitationList'; - $request = $this->getPublicInvitationsRequest($course_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more); + $request = $this->getPublicInvitationsRequest($course_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more, $include_total_count); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -3388,11 +3418,12 @@ function ($exception) { * @param string $filter_by Optional enum parameter for specifying the field on which to run the filter. (optional, default to invitation_id) * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) * @param string $more Pagination token returned as `more` property of multi page list requests (optional) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function getPublicInvitationsRequest($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'invitation_id', $order_by = 'updated_asc', $more = null) + protected function getPublicInvitationsRequest($course_id = null, $since = null, $until = null, $datetime_filter = 'updated', $tags = null, $filter = null, $filter_by = 'invitation_id', $order_by = 'updated_asc', $more = null, $include_total_count = 'false') { $resourcePath = '/invitations/public'; @@ -3441,6 +3472,10 @@ protected function getPublicInvitationsRequest($course_id = null, $since = null, if ($more !== null) { $queryParams['more'] = ObjectSerializer::toQueryValue($more); } + // query params + if ($include_total_count !== null) { + $queryParams['includeTotalCount'] = ObjectSerializer::toQueryValue($include_total_count); + } // body params @@ -3536,14 +3571,15 @@ protected function getPublicInvitationsRequest($course_id = null, $since = null, * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) * @param string $more Pagination token returned as `more` property of multi page list requests (optional) * @param bool $include_registration_report Optional flag to include basic registration information (optional) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \RusticiSoftware\Cloud\V2\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \RusticiSoftware\Cloud\V2\Model\UserInvitationList */ - public function getPublicUserInvitations($invitation_id, $since = null, $until = null, $datetime_filter = 'updated', $filter = null, $filter_by = 'registration_id', $order_by = 'updated_asc', $more = null, $include_registration_report = null) + public function getPublicUserInvitations($invitation_id, $since = null, $until = null, $datetime_filter = 'updated', $filter = null, $filter_by = 'registration_id', $order_by = 'updated_asc', $more = null, $include_registration_report = null, $include_total_count = 'false') { - list($response) = $this->getPublicUserInvitationsWithHttpInfo($invitation_id, $since, $until, $datetime_filter, $filter, $filter_by, $order_by, $more, $include_registration_report); + list($response) = $this->getPublicUserInvitationsWithHttpInfo($invitation_id, $since, $until, $datetime_filter, $filter, $filter_by, $order_by, $more, $include_registration_report, $include_total_count); return $response; } @@ -3561,15 +3597,16 @@ public function getPublicUserInvitations($invitation_id, $since = null, $until = * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) * @param string $more Pagination token returned as `more` property of multi page list requests (optional) * @param bool $include_registration_report Optional flag to include basic registration information (optional) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \RusticiSoftware\Cloud\V2\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \RusticiSoftware\Cloud\V2\Model\UserInvitationList, HTTP status code, HTTP response headers (array of strings) */ - public function getPublicUserInvitationsWithHttpInfo($invitation_id, $since = null, $until = null, $datetime_filter = 'updated', $filter = null, $filter_by = 'registration_id', $order_by = 'updated_asc', $more = null, $include_registration_report = null) + public function getPublicUserInvitationsWithHttpInfo($invitation_id, $since = null, $until = null, $datetime_filter = 'updated', $filter = null, $filter_by = 'registration_id', $order_by = 'updated_asc', $more = null, $include_registration_report = null, $include_total_count = 'false') { $returnType = '\RusticiSoftware\Cloud\V2\Model\UserInvitationList'; - $request = $this->getPublicUserInvitationsRequest($invitation_id, $since, $until, $datetime_filter, $filter, $filter_by, $order_by, $more, $include_registration_report); + $request = $this->getPublicUserInvitationsRequest($invitation_id, $since, $until, $datetime_filter, $filter, $filter_by, $order_by, $more, $include_registration_report, $include_total_count); try { $options = $this->createHttpClientOption(); @@ -3660,13 +3697,14 @@ public function getPublicUserInvitationsWithHttpInfo($invitation_id, $since = nu * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) * @param string $more Pagination token returned as `more` property of multi page list requests (optional) * @param bool $include_registration_report Optional flag to include basic registration information (optional) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function getPublicUserInvitationsAsync($invitation_id, $since = null, $until = null, $datetime_filter = 'updated', $filter = null, $filter_by = 'registration_id', $order_by = 'updated_asc', $more = null, $include_registration_report = null) + public function getPublicUserInvitationsAsync($invitation_id, $since = null, $until = null, $datetime_filter = 'updated', $filter = null, $filter_by = 'registration_id', $order_by = 'updated_asc', $more = null, $include_registration_report = null, $include_total_count = 'false') { - return $this->getPublicUserInvitationsAsyncWithHttpInfo($invitation_id, $since, $until, $datetime_filter, $filter, $filter_by, $order_by, $more, $include_registration_report) + return $this->getPublicUserInvitationsAsyncWithHttpInfo($invitation_id, $since, $until, $datetime_filter, $filter, $filter_by, $order_by, $more, $include_registration_report, $include_total_count) ->then( function ($response) { return $response[0]; @@ -3688,14 +3726,15 @@ function ($response) { * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) * @param string $more Pagination token returned as `more` property of multi page list requests (optional) * @param bool $include_registration_report Optional flag to include basic registration information (optional) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function getPublicUserInvitationsAsyncWithHttpInfo($invitation_id, $since = null, $until = null, $datetime_filter = 'updated', $filter = null, $filter_by = 'registration_id', $order_by = 'updated_asc', $more = null, $include_registration_report = null) + public function getPublicUserInvitationsAsyncWithHttpInfo($invitation_id, $since = null, $until = null, $datetime_filter = 'updated', $filter = null, $filter_by = 'registration_id', $order_by = 'updated_asc', $more = null, $include_registration_report = null, $include_total_count = 'false') { $returnType = '\RusticiSoftware\Cloud\V2\Model\UserInvitationList'; - $request = $this->getPublicUserInvitationsRequest($invitation_id, $since, $until, $datetime_filter, $filter, $filter_by, $order_by, $more, $include_registration_report); + $request = $this->getPublicUserInvitationsRequest($invitation_id, $since, $until, $datetime_filter, $filter, $filter_by, $order_by, $more, $include_registration_report, $include_total_count); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -3746,11 +3785,12 @@ function ($exception) { * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) * @param string $more Pagination token returned as `more` property of multi page list requests (optional) * @param bool $include_registration_report Optional flag to include basic registration information (optional) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function getPublicUserInvitationsRequest($invitation_id, $since = null, $until = null, $datetime_filter = 'updated', $filter = null, $filter_by = 'registration_id', $order_by = 'updated_asc', $more = null, $include_registration_report = null) + protected function getPublicUserInvitationsRequest($invitation_id, $since = null, $until = null, $datetime_filter = 'updated', $filter = null, $filter_by = 'registration_id', $order_by = 'updated_asc', $more = null, $include_registration_report = null, $include_total_count = 'false') { // verify the required parameter 'invitation_id' is set if ($invitation_id === null || (is_array($invitation_id) && count($invitation_id) === 0)) { @@ -3798,6 +3838,10 @@ protected function getPublicUserInvitationsRequest($invitation_id, $since = null if ($include_registration_report !== null) { $queryParams['includeRegistrationReport'] = ObjectSerializer::toQueryValue($include_registration_report); } + // query params + if ($include_total_count !== null) { + $queryParams['includeTotalCount'] = ObjectSerializer::toQueryValue($include_total_count); + } // path params if ($invitation_id !== null) { diff --git a/src/Api/LearnerApi.php b/src/Api/LearnerApi.php index da74e67..b28bb9e 100644 --- a/src/Api/LearnerApi.php +++ b/src/Api/LearnerApi.php @@ -17,7 +17,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Api/PingApi.php b/src/Api/PingApi.php index 9b10d17..bb9ce64 100644 --- a/src/Api/PingApi.php +++ b/src/Api/PingApi.php @@ -17,7 +17,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Api/RegistrationApi.php b/src/Api/RegistrationApi.php index 21b94a3..bc4bf1a 100644 --- a/src/Api/RegistrationApi.php +++ b/src/Api/RegistrationApi.php @@ -17,7 +17,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** @@ -6262,14 +6261,15 @@ protected function getRegistrationTagsRequest($registration_id) * @param bool $include_child_results Include information about each learning object, not just the top level in the results (optional, default to false) * @param bool $include_interactions_and_objectives Include interactions and objectives in the results (optional, default to false) * @param bool $include_runtime Include runtime details in the results (optional, default to false) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \RusticiSoftware\Cloud\V2\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \RusticiSoftware\Cloud\V2\Model\RegistrationListSchema */ - public function getRegistrations($course_id = null, $learner_id = null, $since = null, $until = null, $datetime_filter = 'created', $tags = null, $filter = null, $filter_by = 'registration_id', $order_by = 'created_desc', $more = null, $include_child_results = 'false', $include_interactions_and_objectives = 'false', $include_runtime = 'false') + public function getRegistrations($course_id = null, $learner_id = null, $since = null, $until = null, $datetime_filter = 'created', $tags = null, $filter = null, $filter_by = 'registration_id', $order_by = 'created_desc', $more = null, $include_child_results = 'false', $include_interactions_and_objectives = 'false', $include_runtime = 'false', $include_total_count = 'false') { - list($response) = $this->getRegistrationsWithHttpInfo($course_id, $learner_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more, $include_child_results, $include_interactions_and_objectives, $include_runtime); + list($response) = $this->getRegistrationsWithHttpInfo($course_id, $learner_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more, $include_child_results, $include_interactions_and_objectives, $include_runtime, $include_total_count); return $response; } @@ -6291,15 +6291,16 @@ public function getRegistrations($course_id = null, $learner_id = null, $since = * @param bool $include_child_results Include information about each learning object, not just the top level in the results (optional, default to false) * @param bool $include_interactions_and_objectives Include interactions and objectives in the results (optional, default to false) * @param bool $include_runtime Include runtime details in the results (optional, default to false) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \RusticiSoftware\Cloud\V2\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \RusticiSoftware\Cloud\V2\Model\RegistrationListSchema, HTTP status code, HTTP response headers (array of strings) */ - public function getRegistrationsWithHttpInfo($course_id = null, $learner_id = null, $since = null, $until = null, $datetime_filter = 'created', $tags = null, $filter = null, $filter_by = 'registration_id', $order_by = 'created_desc', $more = null, $include_child_results = 'false', $include_interactions_and_objectives = 'false', $include_runtime = 'false') + public function getRegistrationsWithHttpInfo($course_id = null, $learner_id = null, $since = null, $until = null, $datetime_filter = 'created', $tags = null, $filter = null, $filter_by = 'registration_id', $order_by = 'created_desc', $more = null, $include_child_results = 'false', $include_interactions_and_objectives = 'false', $include_runtime = 'false', $include_total_count = 'false') { $returnType = '\RusticiSoftware\Cloud\V2\Model\RegistrationListSchema'; - $request = $this->getRegistrationsRequest($course_id, $learner_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more, $include_child_results, $include_interactions_and_objectives, $include_runtime); + $request = $this->getRegistrationsRequest($course_id, $learner_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more, $include_child_results, $include_interactions_and_objectives, $include_runtime, $include_total_count); try { $options = $this->createHttpClientOption(); @@ -6386,13 +6387,14 @@ public function getRegistrationsWithHttpInfo($course_id = null, $learner_id = nu * @param bool $include_child_results Include information about each learning object, not just the top level in the results (optional, default to false) * @param bool $include_interactions_and_objectives Include interactions and objectives in the results (optional, default to false) * @param bool $include_runtime Include runtime details in the results (optional, default to false) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function getRegistrationsAsync($course_id = null, $learner_id = null, $since = null, $until = null, $datetime_filter = 'created', $tags = null, $filter = null, $filter_by = 'registration_id', $order_by = 'created_desc', $more = null, $include_child_results = 'false', $include_interactions_and_objectives = 'false', $include_runtime = 'false') + public function getRegistrationsAsync($course_id = null, $learner_id = null, $since = null, $until = null, $datetime_filter = 'created', $tags = null, $filter = null, $filter_by = 'registration_id', $order_by = 'created_desc', $more = null, $include_child_results = 'false', $include_interactions_and_objectives = 'false', $include_runtime = 'false', $include_total_count = 'false') { - return $this->getRegistrationsAsyncWithHttpInfo($course_id, $learner_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more, $include_child_results, $include_interactions_and_objectives, $include_runtime) + return $this->getRegistrationsAsyncWithHttpInfo($course_id, $learner_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more, $include_child_results, $include_interactions_and_objectives, $include_runtime, $include_total_count) ->then( function ($response) { return $response[0]; @@ -6418,14 +6420,15 @@ function ($response) { * @param bool $include_child_results Include information about each learning object, not just the top level in the results (optional, default to false) * @param bool $include_interactions_and_objectives Include interactions and objectives in the results (optional, default to false) * @param bool $include_runtime Include runtime details in the results (optional, default to false) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function getRegistrationsAsyncWithHttpInfo($course_id = null, $learner_id = null, $since = null, $until = null, $datetime_filter = 'created', $tags = null, $filter = null, $filter_by = 'registration_id', $order_by = 'created_desc', $more = null, $include_child_results = 'false', $include_interactions_and_objectives = 'false', $include_runtime = 'false') + public function getRegistrationsAsyncWithHttpInfo($course_id = null, $learner_id = null, $since = null, $until = null, $datetime_filter = 'created', $tags = null, $filter = null, $filter_by = 'registration_id', $order_by = 'created_desc', $more = null, $include_child_results = 'false', $include_interactions_and_objectives = 'false', $include_runtime = 'false', $include_total_count = 'false') { $returnType = '\RusticiSoftware\Cloud\V2\Model\RegistrationListSchema'; - $request = $this->getRegistrationsRequest($course_id, $learner_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more, $include_child_results, $include_interactions_and_objectives, $include_runtime); + $request = $this->getRegistrationsRequest($course_id, $learner_id, $since, $until, $datetime_filter, $tags, $filter, $filter_by, $order_by, $more, $include_child_results, $include_interactions_and_objectives, $include_runtime, $include_total_count); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -6480,11 +6483,12 @@ function ($exception) { * @param bool $include_child_results Include information about each learning object, not just the top level in the results (optional, default to false) * @param bool $include_interactions_and_objectives Include interactions and objectives in the results (optional, default to false) * @param bool $include_runtime Include runtime details in the results (optional, default to false) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function getRegistrationsRequest($course_id = null, $learner_id = null, $since = null, $until = null, $datetime_filter = 'created', $tags = null, $filter = null, $filter_by = 'registration_id', $order_by = 'created_desc', $more = null, $include_child_results = 'false', $include_interactions_and_objectives = 'false', $include_runtime = 'false') + protected function getRegistrationsRequest($course_id = null, $learner_id = null, $since = null, $until = null, $datetime_filter = 'created', $tags = null, $filter = null, $filter_by = 'registration_id', $order_by = 'created_desc', $more = null, $include_child_results = 'false', $include_interactions_and_objectives = 'false', $include_runtime = 'false', $include_total_count = 'false') { $resourcePath = '/registrations'; @@ -6549,6 +6553,10 @@ protected function getRegistrationsRequest($course_id = null, $learner_id = null if ($include_runtime !== null) { $queryParams['includeRuntime'] = ObjectSerializer::toQueryValue($include_runtime); } + // query params + if ($include_total_count !== null) { + $queryParams['includeTotalCount'] = ObjectSerializer::toQueryValue($include_total_count); + } // body params diff --git a/src/Api/ReportingApi.php b/src/Api/ReportingApi.php index b7ee2f8..5081e00 100644 --- a/src/Api/ReportingApi.php +++ b/src/Api/ReportingApi.php @@ -17,7 +17,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Api/XapiApi.php b/src/Api/XapiApi.php index 8bdca96..589a343 100644 --- a/src/Api/XapiApi.php +++ b/src/Api/XapiApi.php @@ -17,7 +17,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** @@ -1983,14 +1982,15 @@ protected function getXapiCredentialRequest($xapi_credential_id) * @param string $filter_by Optional enum parameter for specifying the field on which to run the filter. (optional, default to credential_id) * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) * @param string $more Pagination token returned as `more` property of multi page list requests (optional) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \RusticiSoftware\Cloud\V2\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \RusticiSoftware\Cloud\V2\Model\XapiCredentialsListSchema */ - public function getXapiCredentials($since = null, $until = null, $datetime_filter = 'updated', $filter = null, $filter_by = 'credential_id', $order_by = 'updated_asc', $more = null) + public function getXapiCredentials($since = null, $until = null, $datetime_filter = 'updated', $filter = null, $filter_by = 'credential_id', $order_by = 'updated_asc', $more = null, $include_total_count = 'false') { - list($response) = $this->getXapiCredentialsWithHttpInfo($since, $until, $datetime_filter, $filter, $filter_by, $order_by, $more); + list($response) = $this->getXapiCredentialsWithHttpInfo($since, $until, $datetime_filter, $filter, $filter_by, $order_by, $more, $include_total_count); return $response; } @@ -2006,15 +2006,16 @@ public function getXapiCredentials($since = null, $until = null, $datetime_filte * @param string $filter_by Optional enum parameter for specifying the field on which to run the filter. (optional, default to credential_id) * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) * @param string $more Pagination token returned as `more` property of multi page list requests (optional) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \RusticiSoftware\Cloud\V2\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \RusticiSoftware\Cloud\V2\Model\XapiCredentialsListSchema, HTTP status code, HTTP response headers (array of strings) */ - public function getXapiCredentialsWithHttpInfo($since = null, $until = null, $datetime_filter = 'updated', $filter = null, $filter_by = 'credential_id', $order_by = 'updated_asc', $more = null) + public function getXapiCredentialsWithHttpInfo($since = null, $until = null, $datetime_filter = 'updated', $filter = null, $filter_by = 'credential_id', $order_by = 'updated_asc', $more = null, $include_total_count = 'false') { $returnType = '\RusticiSoftware\Cloud\V2\Model\XapiCredentialsListSchema'; - $request = $this->getXapiCredentialsRequest($since, $until, $datetime_filter, $filter, $filter_by, $order_by, $more); + $request = $this->getXapiCredentialsRequest($since, $until, $datetime_filter, $filter, $filter_by, $order_by, $more, $include_total_count); try { $options = $this->createHttpClientOption(); @@ -2087,13 +2088,14 @@ public function getXapiCredentialsWithHttpInfo($since = null, $until = null, $da * @param string $filter_by Optional enum parameter for specifying the field on which to run the filter. (optional, default to credential_id) * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) * @param string $more Pagination token returned as `more` property of multi page list requests (optional) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function getXapiCredentialsAsync($since = null, $until = null, $datetime_filter = 'updated', $filter = null, $filter_by = 'credential_id', $order_by = 'updated_asc', $more = null) + public function getXapiCredentialsAsync($since = null, $until = null, $datetime_filter = 'updated', $filter = null, $filter_by = 'credential_id', $order_by = 'updated_asc', $more = null, $include_total_count = 'false') { - return $this->getXapiCredentialsAsyncWithHttpInfo($since, $until, $datetime_filter, $filter, $filter_by, $order_by, $more) + return $this->getXapiCredentialsAsyncWithHttpInfo($since, $until, $datetime_filter, $filter, $filter_by, $order_by, $more, $include_total_count) ->then( function ($response) { return $response[0]; @@ -2113,14 +2115,15 @@ function ($response) { * @param string $filter_by Optional enum parameter for specifying the field on which to run the filter. (optional, default to credential_id) * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) * @param string $more Pagination token returned as `more` property of multi page list requests (optional) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function getXapiCredentialsAsyncWithHttpInfo($since = null, $until = null, $datetime_filter = 'updated', $filter = null, $filter_by = 'credential_id', $order_by = 'updated_asc', $more = null) + public function getXapiCredentialsAsyncWithHttpInfo($since = null, $until = null, $datetime_filter = 'updated', $filter = null, $filter_by = 'credential_id', $order_by = 'updated_asc', $more = null, $include_total_count = 'false') { $returnType = '\RusticiSoftware\Cloud\V2\Model\XapiCredentialsListSchema'; - $request = $this->getXapiCredentialsRequest($since, $until, $datetime_filter, $filter, $filter_by, $order_by, $more); + $request = $this->getXapiCredentialsRequest($since, $until, $datetime_filter, $filter, $filter_by, $order_by, $more, $include_total_count); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -2169,11 +2172,12 @@ function ($exception) { * @param string $filter_by Optional enum parameter for specifying the field on which to run the filter. (optional, default to credential_id) * @param string $order_by Optional enum parameter for specifying the field and order by which to sort the results. (optional, default to updated_asc) * @param string $more Pagination token returned as `more` property of multi page list requests (optional) + * @param bool $include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (optional, default to false) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function getXapiCredentialsRequest($since = null, $until = null, $datetime_filter = 'updated', $filter = null, $filter_by = 'credential_id', $order_by = 'updated_asc', $more = null) + protected function getXapiCredentialsRequest($since = null, $until = null, $datetime_filter = 'updated', $filter = null, $filter_by = 'credential_id', $order_by = 'updated_asc', $more = null, $include_total_count = 'false') { $resourcePath = '/xapi/credentials'; @@ -2211,6 +2215,10 @@ protected function getXapiCredentialsRequest($since = null, $until = null, $date if ($more !== null) { $queryParams['more'] = ObjectSerializer::toQueryValue($more); } + // query params + if ($include_total_count !== null) { + $queryParams['includeTotalCount'] = ObjectSerializer::toQueryValue($include_total_count); + } // body params diff --git a/src/Api/ZoomiApi.php b/src/Api/ZoomiApi.php index 2a433ea..ec0e001 100644 --- a/src/Api/ZoomiApi.php +++ b/src/Api/ZoomiApi.php @@ -17,7 +17,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/ApiException.php b/src/ApiException.php index fc7bf30..4355e5d 100644 --- a/src/ApiException.php +++ b/src/ApiException.php @@ -17,7 +17,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Configuration.php b/src/Configuration.php index a95ccfe..762c381 100644 --- a/src/Configuration.php +++ b/src/Configuration.php @@ -17,7 +17,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** @@ -88,7 +87,7 @@ class Configuration * * @var string */ - protected $userAgent = 'Swagger-Codegen/2.1.0/php'; + protected $userAgent = 'Swagger-Codegen/3.0.0/php'; /** * Debug switch (default set to false) @@ -397,7 +396,7 @@ public static function toDebugReport() $report .= ' OS: ' . php_uname() . PHP_EOL; $report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL; $report .= ' OpenAPI Spec Version: 2.0' . PHP_EOL; - $report .= ' SDK Package Version: 2.1.0' . PHP_EOL; + $report .= ' SDK Package Version: 3.0.0' . PHP_EOL; $report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL; return $report; diff --git a/src/HeaderSelector.php b/src/HeaderSelector.php index 26e2e16..edf1213 100644 --- a/src/HeaderSelector.php +++ b/src/HeaderSelector.php @@ -17,7 +17,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/AboutSchema.php b/src/Model/AboutSchema.php index 7bdece7..63ca4af 100644 --- a/src/Model/AboutSchema.php +++ b/src/Model/AboutSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/ActivityResultSchema.php b/src/Model/ActivityResultSchema.php index b101b0b..4851570 100644 --- a/src/Model/ActivityResultSchema.php +++ b/src/Model/ActivityResultSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/ApplicationInfoListSchema.php b/src/Model/ApplicationInfoListSchema.php new file mode 100644 index 0000000..7378665 --- /dev/null +++ b/src/Model/ApplicationInfoListSchema.php @@ -0,0 +1,330 @@ + '\RusticiSoftware\Cloud\V2\Model\ApplicationInfoSchema[]', + 'more' => 'string' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $swaggerFormats = [ + 'applications' => null, + 'more' => null + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function swaggerTypes() + { + return self::$swaggerTypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function swaggerFormats() + { + return self::$swaggerFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'applications' => 'applications', + 'more' => 'more' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'applications' => 'setApplications', + 'more' => 'setMore' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'applications' => 'getApplications', + 'more' => 'getMore' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$swaggerModelName; + } + + + + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['applications'] = isset($data['applications']) ? $data['applications'] : null; + $this->container['more'] = isset($data['more']) ? $data['more'] : null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets applications + * + * @return \RusticiSoftware\Cloud\V2\Model\ApplicationInfoSchema[] + */ + public function getApplications() + { + return $this->container['applications']; + } + + /** + * Sets applications + * + * @param \RusticiSoftware\Cloud\V2\Model\ApplicationInfoSchema[] $applications applications + * + * @return $this + */ + public function setApplications($applications) + { + $this->container['applications'] = $applications; + + return $this; + } + + /** + * Gets more + * + * @return string + */ + public function getMore() + { + return $this->container['more']; + } + + /** + * Sets more + * + * @param string $more Token for getting the next set of results, from the prior set of results. + * + * @return $this + */ + public function setMore($more) + { + $this->container['more'] = $more; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed + */ + public function offsetGet($offset) + { + return isset($this->container[$offset]) ? $this->container[$offset] : null; + } + + /** + * Sets value based on offset. + * + * @param integer $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/Model/ApplicationInfoSchema.php b/src/Model/ApplicationInfoSchema.php index 9393777..5d2c88a 100644 --- a/src/Model/ApplicationInfoSchema.php +++ b/src/Model/ApplicationInfoSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** @@ -60,6 +59,7 @@ class ApplicationInfoSchema implements ModelInterface, ArrayAccess 'id' => 'string', 'name' => 'string', 'create_date' => '\DateTime', + 'update_date' => '\DateTime', 'allow_delete' => 'bool', 'course_count' => 'int', 'registration_count' => 'int' @@ -74,6 +74,7 @@ class ApplicationInfoSchema implements ModelInterface, ArrayAccess 'id' => null, 'name' => null, 'create_date' => 'date-time', + 'update_date' => 'date-time', 'allow_delete' => null, 'course_count' => 'int32', 'registration_count' => 'int32' @@ -109,6 +110,7 @@ public static function swaggerFormats() 'id' => 'id', 'name' => 'name', 'create_date' => 'createDate', + 'update_date' => 'updateDate', 'allow_delete' => 'allowDelete', 'course_count' => 'courseCount', 'registration_count' => 'registrationCount' @@ -123,6 +125,7 @@ public static function swaggerFormats() 'id' => 'setId', 'name' => 'setName', 'create_date' => 'setCreateDate', + 'update_date' => 'setUpdateDate', 'allow_delete' => 'setAllowDelete', 'course_count' => 'setCourseCount', 'registration_count' => 'setRegistrationCount' @@ -137,6 +140,7 @@ public static function swaggerFormats() 'id' => 'getId', 'name' => 'getName', 'create_date' => 'getCreateDate', + 'update_date' => 'getUpdateDate', 'allow_delete' => 'getAllowDelete', 'course_count' => 'getCourseCount', 'registration_count' => 'getRegistrationCount' @@ -205,6 +209,7 @@ public function __construct(array $data = null) $this->container['id'] = isset($data['id']) ? $data['id'] : null; $this->container['name'] = isset($data['name']) ? $data['name'] : null; $this->container['create_date'] = isset($data['create_date']) ? $data['create_date'] : null; + $this->container['update_date'] = isset($data['update_date']) ? $data['update_date'] : null; $this->container['allow_delete'] = isset($data['allow_delete']) ? $data['allow_delete'] : null; $this->container['course_count'] = isset($data['course_count']) ? $data['course_count'] : null; $this->container['registration_count'] = isset($data['registration_count']) ? $data['registration_count'] : null; @@ -306,6 +311,30 @@ public function setCreateDate($create_date) return $this; } + /** + * Gets update_date + * + * @return \DateTime + */ + public function getUpdateDate() + { + return $this->container['update_date']; + } + + /** + * Sets update_date + * + * @param \DateTime $update_date The time the application was last updated in UTC + * + * @return $this + */ + public function setUpdateDate($update_date) + { + $this->container['update_date'] = $update_date; + + return $this; + } + /** * Gets allow_delete * diff --git a/src/Model/ApplicationListSchema.php b/src/Model/ApplicationListSchema.php index 6dece56..cd3169c 100644 --- a/src/Model/ApplicationListSchema.php +++ b/src/Model/ApplicationListSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/ApplicationRequestSchema.php b/src/Model/ApplicationRequestSchema.php index dd1d008..38b2aa5 100644 --- a/src/Model/ApplicationRequestSchema.php +++ b/src/Model/ApplicationRequestSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/ApplicationSchema.php b/src/Model/ApplicationSchema.php index e4811ab..886dd8d 100644 --- a/src/Model/ApplicationSchema.php +++ b/src/Model/ApplicationSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/ApplicationToken.php b/src/Model/ApplicationToken.php index 8991372..60c6a1f 100644 --- a/src/Model/ApplicationToken.php +++ b/src/Model/ApplicationToken.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/AssetFileSchema.php b/src/Model/AssetFileSchema.php index 4a54240..f3b179d 100644 --- a/src/Model/AssetFileSchema.php +++ b/src/Model/AssetFileSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/BatchTagsSchema.php b/src/Model/BatchTagsSchema.php index a982898..4c3a784 100644 --- a/src/Model/BatchTagsSchema.php +++ b/src/Model/BatchTagsSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/CommentSchema.php b/src/Model/CommentSchema.php index b255521..08e952c 100644 --- a/src/Model/CommentSchema.php +++ b/src/Model/CommentSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/CompletionAmountSchema.php b/src/Model/CompletionAmountSchema.php index 63f4129..932f469 100644 --- a/src/Model/CompletionAmountSchema.php +++ b/src/Model/CompletionAmountSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/ConnectorListSchema.php b/src/Model/ConnectorListSchema.php index 898e891..f855f9d 100644 --- a/src/Model/ConnectorListSchema.php +++ b/src/Model/ConnectorListSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/ConnectorSchema.php b/src/Model/ConnectorSchema.php index f5ec20a..f6c40a3 100644 --- a/src/Model/ConnectorSchema.php +++ b/src/Model/ConnectorSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/CourseActivitySchema.php b/src/Model/CourseActivitySchema.php index 7ad4ae4..bf28283 100644 --- a/src/Model/CourseActivitySchema.php +++ b/src/Model/CourseActivitySchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/CourseListNonPagedSchema.php b/src/Model/CourseListNonPagedSchema.php index b77c07c..6dfc336 100644 --- a/src/Model/CourseListNonPagedSchema.php +++ b/src/Model/CourseListNonPagedSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/CourseListSchema.php b/src/Model/CourseListSchema.php index 20734fb..e9efb20 100644 --- a/src/Model/CourseListSchema.php +++ b/src/Model/CourseListSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/CourseReferenceSchema.php b/src/Model/CourseReferenceSchema.php index 3502e92..c3f467e 100644 --- a/src/Model/CourseReferenceSchema.php +++ b/src/Model/CourseReferenceSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/CourseSchema.php b/src/Model/CourseSchema.php index 8c13504..1432dc7 100644 --- a/src/Model/CourseSchema.php +++ b/src/Model/CourseSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/CreateConnectorSchema.php b/src/Model/CreateConnectorSchema.php index b1f37ba..9c2c36a 100644 --- a/src/Model/CreateConnectorSchema.php +++ b/src/Model/CreateConnectorSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/CreateDispatchIdSchema.php b/src/Model/CreateDispatchIdSchema.php index e77cb93..bbcba5c 100644 --- a/src/Model/CreateDispatchIdSchema.php +++ b/src/Model/CreateDispatchIdSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/CreateDispatchListSchema.php b/src/Model/CreateDispatchListSchema.php index 8dfb3b4..147e027 100644 --- a/src/Model/CreateDispatchListSchema.php +++ b/src/Model/CreateDispatchListSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/CreateDispatchSchema.php b/src/Model/CreateDispatchSchema.php index 3bbac46..706facf 100644 --- a/src/Model/CreateDispatchSchema.php +++ b/src/Model/CreateDispatchSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/CreatePrivateInvitationSchema.php b/src/Model/CreatePrivateInvitationSchema.php index e6de403..d4e9ee2 100644 --- a/src/Model/CreatePrivateInvitationSchema.php +++ b/src/Model/CreatePrivateInvitationSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/CreatePublicInvitationSchema.php b/src/Model/CreatePublicInvitationSchema.php index 78eed3f..749d44b 100644 --- a/src/Model/CreatePublicInvitationSchema.php +++ b/src/Model/CreatePublicInvitationSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/CreateRegistrationSchema.php b/src/Model/CreateRegistrationSchema.php index c48ec9c..be21fee 100644 --- a/src/Model/CreateRegistrationSchema.php +++ b/src/Model/CreateRegistrationSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/CredentialCreatedSchema.php b/src/Model/CredentialCreatedSchema.php index 3734869..db5dd3f 100644 --- a/src/Model/CredentialCreatedSchema.php +++ b/src/Model/CredentialCreatedSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/CredentialListSchema.php b/src/Model/CredentialListSchema.php index d47bbed..eaf6e49 100644 --- a/src/Model/CredentialListSchema.php +++ b/src/Model/CredentialListSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/CredentialRequestSchema.php b/src/Model/CredentialRequestSchema.php index f4396f6..92f115c 100644 --- a/src/Model/CredentialRequestSchema.php +++ b/src/Model/CredentialRequestSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/CredentialSchema.php b/src/Model/CredentialSchema.php index 76a30f7..3d86735 100644 --- a/src/Model/CredentialSchema.php +++ b/src/Model/CredentialSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/DestinationIdSchema.php b/src/Model/DestinationIdSchema.php index 6004dbf..0c1fb9c 100644 --- a/src/Model/DestinationIdSchema.php +++ b/src/Model/DestinationIdSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/DestinationListSchema.php b/src/Model/DestinationListSchema.php index 6a1b60d..f77e705 100644 --- a/src/Model/DestinationListSchema.php +++ b/src/Model/DestinationListSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/DestinationSchema.php b/src/Model/DestinationSchema.php index defae8b..bcad897 100644 --- a/src/Model/DestinationSchema.php +++ b/src/Model/DestinationSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/DispatchIdSchema.php b/src/Model/DispatchIdSchema.php index 62943e0..e7677b9 100644 --- a/src/Model/DispatchIdSchema.php +++ b/src/Model/DispatchIdSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/DispatchListSchema.php b/src/Model/DispatchListSchema.php index cb9c0a0..ec93a45 100644 --- a/src/Model/DispatchListSchema.php +++ b/src/Model/DispatchListSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/DispatchLti13InfoSchema.php b/src/Model/DispatchLti13InfoSchema.php index 8f32943..ac2f470 100644 --- a/src/Model/DispatchLti13InfoSchema.php +++ b/src/Model/DispatchLti13InfoSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/DispatchLtiInfoSchema.php b/src/Model/DispatchLtiInfoSchema.php index 06f495d..0059a1c 100644 --- a/src/Model/DispatchLtiInfoSchema.php +++ b/src/Model/DispatchLtiInfoSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/DispatchRegistrationCountSchema.php b/src/Model/DispatchRegistrationCountSchema.php index aff23fa..48dc24c 100644 --- a/src/Model/DispatchRegistrationCountSchema.php +++ b/src/Model/DispatchRegistrationCountSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/DispatchSchema.php b/src/Model/DispatchSchema.php index 5ef2111..48fd92c 100644 --- a/src/Model/DispatchSchema.php +++ b/src/Model/DispatchSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/EnabledSchema.php b/src/Model/EnabledSchema.php index 799a085..345e500 100644 --- a/src/Model/EnabledSchema.php +++ b/src/Model/EnabledSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/FileListItemSchema.php b/src/Model/FileListItemSchema.php index d4aa77a..fa9a95e 100644 --- a/src/Model/FileListItemSchema.php +++ b/src/Model/FileListItemSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/FileListSchema.php b/src/Model/FileListSchema.php index 7814102..b83ef8c 100644 --- a/src/Model/FileListSchema.php +++ b/src/Model/FileListSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/ImportAssetRequestSchema.php b/src/Model/ImportAssetRequestSchema.php index 4042e80..0281108 100644 --- a/src/Model/ImportAssetRequestSchema.php +++ b/src/Model/ImportAssetRequestSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/ImportConnectorRequestSchema.php b/src/Model/ImportConnectorRequestSchema.php index 3165b33..fb4d8ee 100644 --- a/src/Model/ImportConnectorRequestSchema.php +++ b/src/Model/ImportConnectorRequestSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/ImportFetchRequestSchema.php b/src/Model/ImportFetchRequestSchema.php index 423241a..4e08a77 100644 --- a/src/Model/ImportFetchRequestSchema.php +++ b/src/Model/ImportFetchRequestSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/ImportJobResultSchema.php b/src/Model/ImportJobResultSchema.php index 57404e2..81a6f2f 100644 --- a/src/Model/ImportJobResultSchema.php +++ b/src/Model/ImportJobResultSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/ImportMediaFileReferenceRequestSchema.php b/src/Model/ImportMediaFileReferenceRequestSchema.php index c3b89bf..ea7b1d1 100644 --- a/src/Model/ImportMediaFileReferenceRequestSchema.php +++ b/src/Model/ImportMediaFileReferenceRequestSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/ImportRequestSchema.php b/src/Model/ImportRequestSchema.php index ca6c7f2..ae51727 100644 --- a/src/Model/ImportRequestSchema.php +++ b/src/Model/ImportRequestSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/ImportResultSchema.php b/src/Model/ImportResultSchema.php index 760c5ae..f209622 100644 --- a/src/Model/ImportResultSchema.php +++ b/src/Model/ImportResultSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/IntegerResultSchema.php b/src/Model/IntegerResultSchema.php index c8a4a68..86ee2f1 100644 --- a/src/Model/IntegerResultSchema.php +++ b/src/Model/IntegerResultSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/InvitationEmailSchema.php b/src/Model/InvitationEmailSchema.php index 0301fc5..fd2cf30 100644 --- a/src/Model/InvitationEmailSchema.php +++ b/src/Model/InvitationEmailSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/InvitationJobStatusSchema.php b/src/Model/InvitationJobStatusSchema.php index 3f9f7b9..68a152b 100644 --- a/src/Model/InvitationJobStatusSchema.php +++ b/src/Model/InvitationJobStatusSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/InvitationSummaryList.php b/src/Model/InvitationSummaryList.php index 50a3535..c8a565b 100644 --- a/src/Model/InvitationSummaryList.php +++ b/src/Model/InvitationSummaryList.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** @@ -28,8 +27,6 @@ */ namespace RusticiSoftware\Cloud\V2\Model; - -use \ArrayAccess; use \RusticiSoftware\Cloud\V2\ObjectSerializer; /** @@ -40,7 +37,7 @@ * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ -class InvitationSummaryList implements ModelInterface, ArrayAccess +class InvitationSummaryList extends PaginatedList { const DISCRIMINATOR = null; @@ -57,8 +54,7 @@ class InvitationSummaryList implements ModelInterface, ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'invitations' => '\RusticiSoftware\Cloud\V2\Model\InvitationSummarySchema[]', - 'more' => 'string' + 'invitations' => '\RusticiSoftware\Cloud\V2\Model\InvitationSummarySchema[]' ]; /** @@ -67,8 +63,7 @@ class InvitationSummaryList implements ModelInterface, ArrayAccess * @var string[] */ protected static $swaggerFormats = [ - 'invitations' => null, - 'more' => null + 'invitations' => null ]; /** @@ -78,7 +73,7 @@ class InvitationSummaryList implements ModelInterface, ArrayAccess */ public static function swaggerTypes() { - return self::$swaggerTypes; + return self::$swaggerTypes + parent::swaggerTypes(); } /** @@ -88,7 +83,7 @@ public static function swaggerTypes() */ public static function swaggerFormats() { - return self::$swaggerFormats; + return self::$swaggerFormats + parent::swaggerFormats(); } /** @@ -98,8 +93,7 @@ public static function swaggerFormats() * @var string[] */ protected static $attributeMap = [ - 'invitations' => 'invitations', - 'more' => 'more' + 'invitations' => 'invitations' ]; /** @@ -108,8 +102,7 @@ public static function swaggerFormats() * @var string[] */ protected static $setters = [ - 'invitations' => 'setInvitations', - 'more' => 'setMore' + 'invitations' => 'setInvitations' ]; /** @@ -118,8 +111,7 @@ public static function swaggerFormats() * @var string[] */ protected static $getters = [ - 'invitations' => 'getInvitations', - 'more' => 'getMore' + 'invitations' => 'getInvitations' ]; /** @@ -130,7 +122,7 @@ public static function swaggerFormats() */ public static function attributeMap() { - return self::$attributeMap; + return parent::attributeMap() + self::$attributeMap; } /** @@ -140,7 +132,7 @@ public static function attributeMap() */ public static function setters() { - return self::$setters; + return parent::setters() + self::$setters; } /** @@ -150,7 +142,7 @@ public static function setters() */ public static function getters() { - return self::$getters; + return parent::getters() + self::$getters; } /** @@ -167,12 +159,6 @@ public function getModelName() - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; /** * Constructor @@ -182,8 +168,9 @@ public function getModelName() */ public function __construct(array $data = null) { + parent::__construct($data); + $this->container['invitations'] = isset($data['invitations']) ? $data['invitations'] : null; - $this->container['more'] = isset($data['more']) ? $data['more'] : null; } /** @@ -193,7 +180,7 @@ public function __construct(array $data = null) */ public function listInvalidProperties() { - $invalidProperties = []; + $invalidProperties = parent::listInvalidProperties(); return $invalidProperties; } @@ -233,30 +220,6 @@ public function setInvitations($invitations) return $this; } - - /** - * Gets more - * - * @return string - */ - public function getMore() - { - return $this->container['more']; - } - - /** - * Sets more - * - * @param string $more Token for getting the next set of results, from the prior set of results. - * - * @return $this - */ - public function setMore($more) - { - $this->container['more'] = $more; - - return $this; - } /** * Returns true if offset exists. False otherwise. * diff --git a/src/Model/InvitationSummarySchema.php b/src/Model/InvitationSummarySchema.php index 78a6da9..75a3438 100644 --- a/src/Model/InvitationSummarySchema.php +++ b/src/Model/InvitationSummarySchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/ItemValuePairSchema.php b/src/Model/ItemValuePairSchema.php index f4c38ea..e3fb15a 100644 --- a/src/Model/ItemValuePairSchema.php +++ b/src/Model/ItemValuePairSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/LaunchAuthOptionsSchema.php b/src/Model/LaunchAuthOptionsSchema.php index 4979742..b11e640 100644 --- a/src/Model/LaunchAuthOptionsSchema.php +++ b/src/Model/LaunchAuthOptionsSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/LaunchAuthSchema.php b/src/Model/LaunchAuthSchema.php index 4d51f71..675ff60 100644 --- a/src/Model/LaunchAuthSchema.php +++ b/src/Model/LaunchAuthSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/LaunchHistoryListSchema.php b/src/Model/LaunchHistoryListSchema.php index 6c2388e..5149a7f 100644 --- a/src/Model/LaunchHistoryListSchema.php +++ b/src/Model/LaunchHistoryListSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/LaunchHistorySchema.php b/src/Model/LaunchHistorySchema.php index 5d63149..4d29e1a 100644 --- a/src/Model/LaunchHistorySchema.php +++ b/src/Model/LaunchHistorySchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/LaunchLinkRequestSchema.php b/src/Model/LaunchLinkRequestSchema.php index 4fd66e6..888c30e 100644 --- a/src/Model/LaunchLinkRequestSchema.php +++ b/src/Model/LaunchLinkRequestSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/LaunchLinkSchema.php b/src/Model/LaunchLinkSchema.php index ffc5ad5..f03d7e6 100644 --- a/src/Model/LaunchLinkSchema.php +++ b/src/Model/LaunchLinkSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/LearnerPreferenceSchema.php b/src/Model/LearnerPreferenceSchema.php index 0437f67..1470a15 100644 --- a/src/Model/LearnerPreferenceSchema.php +++ b/src/Model/LearnerPreferenceSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/LearnerSchema.php b/src/Model/LearnerSchema.php index 5e196d8..c822a65 100644 --- a/src/Model/LearnerSchema.php +++ b/src/Model/LearnerSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/Lti13PlatformConfigurationSchema.php b/src/Model/Lti13PlatformConfigurationSchema.php index ec5ebfa..ba303df 100644 --- a/src/Model/Lti13PlatformConfigurationSchema.php +++ b/src/Model/Lti13PlatformConfigurationSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/Lti13ToolConfigurationSchema.php b/src/Model/Lti13ToolConfigurationSchema.php index 2b6cb69..ddc56fe 100644 --- a/src/Model/Lti13ToolConfigurationSchema.php +++ b/src/Model/Lti13ToolConfigurationSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/MediaFileMetadataSchema.php b/src/Model/MediaFileMetadataSchema.php index a473cb7..12eb207 100644 --- a/src/Model/MediaFileMetadataSchema.php +++ b/src/Model/MediaFileMetadataSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/MessageSchema.php b/src/Model/MessageSchema.php index e887a4c..cd3d176 100644 --- a/src/Model/MessageSchema.php +++ b/src/Model/MessageSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/MetadataSchema.php b/src/Model/MetadataSchema.php index 1cadd8f..fdd419a 100644 --- a/src/Model/MetadataSchema.php +++ b/src/Model/MetadataSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/ModelInterface.php b/src/Model/ModelInterface.php index c621139..d8ff5d4 100644 --- a/src/Model/ModelInterface.php +++ b/src/Model/ModelInterface.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/ObjectiveSchema.php b/src/Model/ObjectiveSchema.php index 6b7c3e0..38caa16 100644 --- a/src/Model/ObjectiveSchema.php +++ b/src/Model/ObjectiveSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/PaginatedList.php b/src/Model/PaginatedList.php new file mode 100644 index 0000000..03210e8 --- /dev/null +++ b/src/Model/PaginatedList.php @@ -0,0 +1,300 @@ + 'string' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $swaggerFormats = [ + 'more' => null + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function swaggerTypes() + { + return self::$swaggerTypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function swaggerFormats() + { + return self::$swaggerFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'more' => 'more' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'more' => 'setMore' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'more' => 'getMore' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$swaggerModelName; + } + + + + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['more'] = isset($data['more']) ? $data['more'] : null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets more + * + * @return string + */ + public function getMore() + { + return $this->container['more']; + } + + /** + * Sets more + * + * @param string $more Token for getting the next set of results, from the prior set of results. + * + * @return $this + */ + public function setMore($more) + { + $this->container['more'] = $more; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed + */ + public function offsetGet($offset) + { + return isset($this->container[$offset]) ? $this->container[$offset] : null; + } + + /** + * Sets value based on offset. + * + * @param integer $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/Model/PermissionsSchema.php b/src/Model/PermissionsSchema.php index 4c4ea68..9d8aff1 100644 --- a/src/Model/PermissionsSchema.php +++ b/src/Model/PermissionsSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/PingSchema.php b/src/Model/PingSchema.php index c0425b8..58c26d1 100644 --- a/src/Model/PingSchema.php +++ b/src/Model/PingSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/PostBackSchema.php b/src/Model/PostBackSchema.php index 6f38c97..d9825db 100644 --- a/src/Model/PostBackSchema.php +++ b/src/Model/PostBackSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/PrivateInvitationList.php b/src/Model/PrivateInvitationList.php index 2a48234..e1b13d0 100644 --- a/src/Model/PrivateInvitationList.php +++ b/src/Model/PrivateInvitationList.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** @@ -28,8 +27,6 @@ */ namespace RusticiSoftware\Cloud\V2\Model; - -use \ArrayAccess; use \RusticiSoftware\Cloud\V2\ObjectSerializer; /** @@ -40,7 +37,7 @@ * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ -class PrivateInvitationList implements ModelInterface, ArrayAccess +class PrivateInvitationList extends PaginatedList { const DISCRIMINATOR = null; @@ -57,8 +54,7 @@ class PrivateInvitationList implements ModelInterface, ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'invitations' => '\RusticiSoftware\Cloud\V2\Model\PrivateInvitationSchema[]', - 'more' => 'string' + 'invitations' => '\RusticiSoftware\Cloud\V2\Model\PrivateInvitationSchema[]' ]; /** @@ -67,8 +63,7 @@ class PrivateInvitationList implements ModelInterface, ArrayAccess * @var string[] */ protected static $swaggerFormats = [ - 'invitations' => null, - 'more' => null + 'invitations' => null ]; /** @@ -78,7 +73,7 @@ class PrivateInvitationList implements ModelInterface, ArrayAccess */ public static function swaggerTypes() { - return self::$swaggerTypes; + return self::$swaggerTypes + parent::swaggerTypes(); } /** @@ -88,7 +83,7 @@ public static function swaggerTypes() */ public static function swaggerFormats() { - return self::$swaggerFormats; + return self::$swaggerFormats + parent::swaggerFormats(); } /** @@ -98,8 +93,7 @@ public static function swaggerFormats() * @var string[] */ protected static $attributeMap = [ - 'invitations' => 'invitations', - 'more' => 'more' + 'invitations' => 'invitations' ]; /** @@ -108,8 +102,7 @@ public static function swaggerFormats() * @var string[] */ protected static $setters = [ - 'invitations' => 'setInvitations', - 'more' => 'setMore' + 'invitations' => 'setInvitations' ]; /** @@ -118,8 +111,7 @@ public static function swaggerFormats() * @var string[] */ protected static $getters = [ - 'invitations' => 'getInvitations', - 'more' => 'getMore' + 'invitations' => 'getInvitations' ]; /** @@ -130,7 +122,7 @@ public static function swaggerFormats() */ public static function attributeMap() { - return self::$attributeMap; + return parent::attributeMap() + self::$attributeMap; } /** @@ -140,7 +132,7 @@ public static function attributeMap() */ public static function setters() { - return self::$setters; + return parent::setters() + self::$setters; } /** @@ -150,7 +142,7 @@ public static function setters() */ public static function getters() { - return self::$getters; + return parent::getters() + self::$getters; } /** @@ -167,12 +159,6 @@ public function getModelName() - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; /** * Constructor @@ -182,8 +168,9 @@ public function getModelName() */ public function __construct(array $data = null) { + parent::__construct($data); + $this->container['invitations'] = isset($data['invitations']) ? $data['invitations'] : null; - $this->container['more'] = isset($data['more']) ? $data['more'] : null; } /** @@ -193,7 +180,7 @@ public function __construct(array $data = null) */ public function listInvalidProperties() { - $invalidProperties = []; + $invalidProperties = parent::listInvalidProperties(); return $invalidProperties; } @@ -233,30 +220,6 @@ public function setInvitations($invitations) return $this; } - - /** - * Gets more - * - * @return string - */ - public function getMore() - { - return $this->container['more']; - } - - /** - * Sets more - * - * @param string $more Token for getting the next set of results, from the prior set of results. - * - * @return $this - */ - public function setMore($more) - { - $this->container['more'] = $more; - - return $this; - } /** * Returns true if offset exists. False otherwise. * diff --git a/src/Model/PrivateInvitationSchema.php b/src/Model/PrivateInvitationSchema.php index 620292d..7fc153a 100644 --- a/src/Model/PrivateInvitationSchema.php +++ b/src/Model/PrivateInvitationSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/PrivateInvitationUpdateSchema.php b/src/Model/PrivateInvitationUpdateSchema.php index 3e62c58..93542f1 100644 --- a/src/Model/PrivateInvitationUpdateSchema.php +++ b/src/Model/PrivateInvitationUpdateSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/PublicInvitationList.php b/src/Model/PublicInvitationList.php index de8c2fc..917e07a 100644 --- a/src/Model/PublicInvitationList.php +++ b/src/Model/PublicInvitationList.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** @@ -28,8 +27,6 @@ */ namespace RusticiSoftware\Cloud\V2\Model; - -use \ArrayAccess; use \RusticiSoftware\Cloud\V2\ObjectSerializer; /** @@ -40,7 +37,7 @@ * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ -class PublicInvitationList implements ModelInterface, ArrayAccess +class PublicInvitationList extends PaginatedList { const DISCRIMINATOR = null; @@ -57,8 +54,7 @@ class PublicInvitationList implements ModelInterface, ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'invitations' => '\RusticiSoftware\Cloud\V2\Model\PublicInvitationSchema[]', - 'more' => 'string' + 'invitations' => '\RusticiSoftware\Cloud\V2\Model\PublicInvitationSchema[]' ]; /** @@ -67,8 +63,7 @@ class PublicInvitationList implements ModelInterface, ArrayAccess * @var string[] */ protected static $swaggerFormats = [ - 'invitations' => null, - 'more' => null + 'invitations' => null ]; /** @@ -78,7 +73,7 @@ class PublicInvitationList implements ModelInterface, ArrayAccess */ public static function swaggerTypes() { - return self::$swaggerTypes; + return self::$swaggerTypes + parent::swaggerTypes(); } /** @@ -88,7 +83,7 @@ public static function swaggerTypes() */ public static function swaggerFormats() { - return self::$swaggerFormats; + return self::$swaggerFormats + parent::swaggerFormats(); } /** @@ -98,8 +93,7 @@ public static function swaggerFormats() * @var string[] */ protected static $attributeMap = [ - 'invitations' => 'invitations', - 'more' => 'more' + 'invitations' => 'invitations' ]; /** @@ -108,8 +102,7 @@ public static function swaggerFormats() * @var string[] */ protected static $setters = [ - 'invitations' => 'setInvitations', - 'more' => 'setMore' + 'invitations' => 'setInvitations' ]; /** @@ -118,8 +111,7 @@ public static function swaggerFormats() * @var string[] */ protected static $getters = [ - 'invitations' => 'getInvitations', - 'more' => 'getMore' + 'invitations' => 'getInvitations' ]; /** @@ -130,7 +122,7 @@ public static function swaggerFormats() */ public static function attributeMap() { - return self::$attributeMap; + return parent::attributeMap() + self::$attributeMap; } /** @@ -140,7 +132,7 @@ public static function attributeMap() */ public static function setters() { - return self::$setters; + return parent::setters() + self::$setters; } /** @@ -150,7 +142,7 @@ public static function setters() */ public static function getters() { - return self::$getters; + return parent::getters() + self::$getters; } /** @@ -167,12 +159,6 @@ public function getModelName() - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; /** * Constructor @@ -182,8 +168,9 @@ public function getModelName() */ public function __construct(array $data = null) { + parent::__construct($data); + $this->container['invitations'] = isset($data['invitations']) ? $data['invitations'] : null; - $this->container['more'] = isset($data['more']) ? $data['more'] : null; } /** @@ -193,7 +180,7 @@ public function __construct(array $data = null) */ public function listInvalidProperties() { - $invalidProperties = []; + $invalidProperties = parent::listInvalidProperties(); return $invalidProperties; } @@ -233,30 +220,6 @@ public function setInvitations($invitations) return $this; } - - /** - * Gets more - * - * @return string - */ - public function getMore() - { - return $this->container['more']; - } - - /** - * Sets more - * - * @param string $more Token for getting the next set of results, from the prior set of results. - * - * @return $this - */ - public function setMore($more) - { - $this->container['more'] = $more; - - return $this; - } /** * Returns true if offset exists. False otherwise. * diff --git a/src/Model/PublicInvitationSchema.php b/src/Model/PublicInvitationSchema.php index 66601f5..8bb43c0 100644 --- a/src/Model/PublicInvitationSchema.php +++ b/src/Model/PublicInvitationSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/PublicInvitationUpdateSchema.php b/src/Model/PublicInvitationUpdateSchema.php index 38f48b1..28feea8 100644 --- a/src/Model/PublicInvitationUpdateSchema.php +++ b/src/Model/PublicInvitationUpdateSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/RegistrationCompletion.php b/src/Model/RegistrationCompletion.php index 326ebce..2d63d82 100644 --- a/src/Model/RegistrationCompletion.php +++ b/src/Model/RegistrationCompletion.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/RegistrationListSchema.php b/src/Model/RegistrationListSchema.php index 29a993e..b6e3cf8 100644 --- a/src/Model/RegistrationListSchema.php +++ b/src/Model/RegistrationListSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/RegistrationSchema.php b/src/Model/RegistrationSchema.php index d695420..67926ff 100644 --- a/src/Model/RegistrationSchema.php +++ b/src/Model/RegistrationSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/RegistrationSuccess.php b/src/Model/RegistrationSuccess.php index 2707900..c7473f0 100644 --- a/src/Model/RegistrationSuccess.php +++ b/src/Model/RegistrationSuccess.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/ReportageAccountInfoSchema.php b/src/Model/ReportageAccountInfoSchema.php index b9af1f5..dc3e243 100644 --- a/src/Model/ReportageAccountInfoSchema.php +++ b/src/Model/ReportageAccountInfoSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/ReportageAccountInfoUsageSchema.php b/src/Model/ReportageAccountInfoUsageSchema.php index c921a98..2a747a7 100644 --- a/src/Model/ReportageAccountInfoUsageSchema.php +++ b/src/Model/ReportageAccountInfoUsageSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/ReportageAuthTokenSchema.php b/src/Model/ReportageAuthTokenSchema.php index bd050a2..6e89b54 100644 --- a/src/Model/ReportageAuthTokenSchema.php +++ b/src/Model/ReportageAuthTokenSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/ReportageLinkSchema.php b/src/Model/ReportageLinkSchema.php index 2adc805..8ea9dcb 100644 --- a/src/Model/ReportageLinkSchema.php +++ b/src/Model/ReportageLinkSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/ResponseError.php b/src/Model/ResponseError.php index 9fb8393..0e60084 100644 --- a/src/Model/ResponseError.php +++ b/src/Model/ResponseError.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/RuntimeInteractionSchema.php b/src/Model/RuntimeInteractionSchema.php index 80a30ad..bf0bb84 100644 --- a/src/Model/RuntimeInteractionSchema.php +++ b/src/Model/RuntimeInteractionSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/RuntimeObjectiveSchema.php b/src/Model/RuntimeObjectiveSchema.php index 34ceb49..875d8a5 100644 --- a/src/Model/RuntimeObjectiveSchema.php +++ b/src/Model/RuntimeObjectiveSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/RuntimeSchema.php b/src/Model/RuntimeSchema.php index 2ddba6b..edc89e5 100644 --- a/src/Model/RuntimeSchema.php +++ b/src/Model/RuntimeSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/ScoreSchema.php b/src/Model/ScoreSchema.php index 6adddfc..2532e0a 100644 --- a/src/Model/ScoreSchema.php +++ b/src/Model/ScoreSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/SettingItem.php b/src/Model/SettingItem.php index ca16e9e..01760f3 100644 --- a/src/Model/SettingItem.php +++ b/src/Model/SettingItem.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/SettingListSchema.php b/src/Model/SettingListSchema.php index 6f750b3..377b40d 100644 --- a/src/Model/SettingListSchema.php +++ b/src/Model/SettingListSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/SettingMetadata.php b/src/Model/SettingMetadata.php index 258e0ff..a873a02 100644 --- a/src/Model/SettingMetadata.php +++ b/src/Model/SettingMetadata.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/SettingValidValue.php b/src/Model/SettingValidValue.php index 808a675..11f9bc7 100644 --- a/src/Model/SettingValidValue.php +++ b/src/Model/SettingValidValue.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/SettingsIndividualSchema.php b/src/Model/SettingsIndividualSchema.php index 2a9e473..0097022 100644 --- a/src/Model/SettingsIndividualSchema.php +++ b/src/Model/SettingsIndividualSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/SettingsPostSchema.php b/src/Model/SettingsPostSchema.php index 38c5b47..37733c6 100644 --- a/src/Model/SettingsPostSchema.php +++ b/src/Model/SettingsPostSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/SharedDataEntrySchema.php b/src/Model/SharedDataEntrySchema.php index 5b82e4d..a09e2a0 100644 --- a/src/Model/SharedDataEntrySchema.php +++ b/src/Model/SharedDataEntrySchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/StaticPropertiesSchema.php b/src/Model/StaticPropertiesSchema.php index 3f0afba..b4f61a9 100644 --- a/src/Model/StaticPropertiesSchema.php +++ b/src/Model/StaticPropertiesSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/StringResultSchema.php b/src/Model/StringResultSchema.php index e3c6842..4008c50 100644 --- a/src/Model/StringResultSchema.php +++ b/src/Model/StringResultSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/TagListSchema.php b/src/Model/TagListSchema.php index 347c926..4485525 100644 --- a/src/Model/TagListSchema.php +++ b/src/Model/TagListSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/TitleSchema.php b/src/Model/TitleSchema.php index 5f319af..84e3f1f 100644 --- a/src/Model/TitleSchema.php +++ b/src/Model/TitleSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/TokenRequestSchema.php b/src/Model/TokenRequestSchema.php index 12a8212..c329f20 100644 --- a/src/Model/TokenRequestSchema.php +++ b/src/Model/TokenRequestSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/UpdateApplicationSchema.php b/src/Model/UpdateApplicationSchema.php index 5d4816a..3ae5f56 100644 --- a/src/Model/UpdateApplicationSchema.php +++ b/src/Model/UpdateApplicationSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/UpdateConnectorSchema.php b/src/Model/UpdateConnectorSchema.php index b06c9bd..8733740 100644 --- a/src/Model/UpdateConnectorSchema.php +++ b/src/Model/UpdateConnectorSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/UpdateDispatchSchema.php b/src/Model/UpdateDispatchSchema.php index 28fc6cf..1bd2293 100644 --- a/src/Model/UpdateDispatchSchema.php +++ b/src/Model/UpdateDispatchSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/UserInvitationList.php b/src/Model/UserInvitationList.php index bd81130..b106f02 100644 --- a/src/Model/UserInvitationList.php +++ b/src/Model/UserInvitationList.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** @@ -28,8 +27,6 @@ */ namespace RusticiSoftware\Cloud\V2\Model; - -use \ArrayAccess; use \RusticiSoftware\Cloud\V2\ObjectSerializer; /** @@ -40,7 +37,7 @@ * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ -class UserInvitationList implements ModelInterface, ArrayAccess +class UserInvitationList extends PaginatedList { const DISCRIMINATOR = null; @@ -57,8 +54,7 @@ class UserInvitationList implements ModelInterface, ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'user_invitations' => '\RusticiSoftware\Cloud\V2\Model\UserInvitationSchema[]', - 'more' => 'string' + 'user_invitations' => '\RusticiSoftware\Cloud\V2\Model\UserInvitationSchema[]' ]; /** @@ -67,8 +63,7 @@ class UserInvitationList implements ModelInterface, ArrayAccess * @var string[] */ protected static $swaggerFormats = [ - 'user_invitations' => null, - 'more' => null + 'user_invitations' => null ]; /** @@ -78,7 +73,7 @@ class UserInvitationList implements ModelInterface, ArrayAccess */ public static function swaggerTypes() { - return self::$swaggerTypes; + return self::$swaggerTypes + parent::swaggerTypes(); } /** @@ -88,7 +83,7 @@ public static function swaggerTypes() */ public static function swaggerFormats() { - return self::$swaggerFormats; + return self::$swaggerFormats + parent::swaggerFormats(); } /** @@ -98,8 +93,7 @@ public static function swaggerFormats() * @var string[] */ protected static $attributeMap = [ - 'user_invitations' => 'userInvitations', - 'more' => 'more' + 'user_invitations' => 'userInvitations' ]; /** @@ -108,8 +102,7 @@ public static function swaggerFormats() * @var string[] */ protected static $setters = [ - 'user_invitations' => 'setUserInvitations', - 'more' => 'setMore' + 'user_invitations' => 'setUserInvitations' ]; /** @@ -118,8 +111,7 @@ public static function swaggerFormats() * @var string[] */ protected static $getters = [ - 'user_invitations' => 'getUserInvitations', - 'more' => 'getMore' + 'user_invitations' => 'getUserInvitations' ]; /** @@ -130,7 +122,7 @@ public static function swaggerFormats() */ public static function attributeMap() { - return self::$attributeMap; + return parent::attributeMap() + self::$attributeMap; } /** @@ -140,7 +132,7 @@ public static function attributeMap() */ public static function setters() { - return self::$setters; + return parent::setters() + self::$setters; } /** @@ -150,7 +142,7 @@ public static function setters() */ public static function getters() { - return self::$getters; + return parent::getters() + self::$getters; } /** @@ -167,12 +159,6 @@ public function getModelName() - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; /** * Constructor @@ -182,8 +168,9 @@ public function getModelName() */ public function __construct(array $data = null) { + parent::__construct($data); + $this->container['user_invitations'] = isset($data['user_invitations']) ? $data['user_invitations'] : null; - $this->container['more'] = isset($data['more']) ? $data['more'] : null; } /** @@ -193,7 +180,7 @@ public function __construct(array $data = null) */ public function listInvalidProperties() { - $invalidProperties = []; + $invalidProperties = parent::listInvalidProperties(); return $invalidProperties; } @@ -233,30 +220,6 @@ public function setUserInvitations($user_invitations) return $this; } - - /** - * Gets more - * - * @return string - */ - public function getMore() - { - return $this->container['more']; - } - - /** - * Sets more - * - * @param string $more Token for getting the next set of results, from the prior set of results. - * - * @return $this - */ - public function setMore($more) - { - $this->container['more'] = $more; - - return $this; - } /** * Returns true if offset exists. False otherwise. * diff --git a/src/Model/UserInvitationSchema.php b/src/Model/UserInvitationSchema.php index 8b97f21..061af17 100644 --- a/src/Model/UserInvitationSchema.php +++ b/src/Model/UserInvitationSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/UserInvitationSchemaRegistrationReport.php b/src/Model/UserInvitationSchemaRegistrationReport.php index 95ec747..c408d2b 100644 --- a/src/Model/UserInvitationSchemaRegistrationReport.php +++ b/src/Model/UserInvitationSchemaRegistrationReport.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/XapiAccount.php b/src/Model/XapiAccount.php index 8fdacca..d39075e 100644 --- a/src/Model/XapiAccount.php +++ b/src/Model/XapiAccount.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/XapiActivity.php b/src/Model/XapiActivity.php index f141b30..b5abdbf 100644 --- a/src/Model/XapiActivity.php +++ b/src/Model/XapiActivity.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/XapiActivityDefinition.php b/src/Model/XapiActivityDefinition.php index 2fc0fbf..b3bcd1a 100644 --- a/src/Model/XapiActivityDefinition.php +++ b/src/Model/XapiActivityDefinition.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/XapiAgentGroup.php b/src/Model/XapiAgentGroup.php index 38b2102..797b8e9 100644 --- a/src/Model/XapiAgentGroup.php +++ b/src/Model/XapiAgentGroup.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/XapiAttachment.php b/src/Model/XapiAttachment.php index 2756e85..5834751 100644 --- a/src/Model/XapiAttachment.php +++ b/src/Model/XapiAttachment.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/XapiContext.php b/src/Model/XapiContext.php index e55e637..50fa06f 100644 --- a/src/Model/XapiContext.php +++ b/src/Model/XapiContext.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/XapiContextActivity.php b/src/Model/XapiContextActivity.php index b63da8b..59473d0 100644 --- a/src/Model/XapiContextActivity.php +++ b/src/Model/XapiContextActivity.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/XapiCredentialAuthTypeSchema.php b/src/Model/XapiCredentialAuthTypeSchema.php index 97d0c1b..8ef0abb 100644 --- a/src/Model/XapiCredentialAuthTypeSchema.php +++ b/src/Model/XapiCredentialAuthTypeSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/XapiCredentialPermissionsLevelSchema.php b/src/Model/XapiCredentialPermissionsLevelSchema.php index 7818497..b910c91 100644 --- a/src/Model/XapiCredentialPermissionsLevelSchema.php +++ b/src/Model/XapiCredentialPermissionsLevelSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/XapiCredentialPostSchema.php b/src/Model/XapiCredentialPostSchema.php index d4b79fd..d078635 100644 --- a/src/Model/XapiCredentialPostSchema.php +++ b/src/Model/XapiCredentialPostSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/XapiCredentialPutSchema.php b/src/Model/XapiCredentialPutSchema.php index dcce488..f50ef2a 100644 --- a/src/Model/XapiCredentialPutSchema.php +++ b/src/Model/XapiCredentialPutSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/XapiCredentialSchema.php b/src/Model/XapiCredentialSchema.php index c87d008..a424800 100644 --- a/src/Model/XapiCredentialSchema.php +++ b/src/Model/XapiCredentialSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/XapiCredentialsListSchema.php b/src/Model/XapiCredentialsListSchema.php index 590cfbb..df17fdb 100644 --- a/src/Model/XapiCredentialsListSchema.php +++ b/src/Model/XapiCredentialsListSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/XapiEndpointSchema.php b/src/Model/XapiEndpointSchema.php index c5c9e46..f520be6 100644 --- a/src/Model/XapiEndpointSchema.php +++ b/src/Model/XapiEndpointSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/XapiInteractionComponent.php b/src/Model/XapiInteractionComponent.php index 9d47e11..01c7b3f 100644 --- a/src/Model/XapiInteractionComponent.php +++ b/src/Model/XapiInteractionComponent.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/XapiResult.php b/src/Model/XapiResult.php index 0ada1d5..677ec7d 100644 --- a/src/Model/XapiResult.php +++ b/src/Model/XapiResult.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/XapiScore.php b/src/Model/XapiScore.php index 4a0f318..bc5408e 100644 --- a/src/Model/XapiScore.php +++ b/src/Model/XapiScore.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/XapiStatement.php b/src/Model/XapiStatement.php index 442b086..d3784fc 100644 --- a/src/Model/XapiStatement.php +++ b/src/Model/XapiStatement.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/XapiStatementPipeListSchema.php b/src/Model/XapiStatementPipeListSchema.php index 715a5c8..6342609 100644 --- a/src/Model/XapiStatementPipeListSchema.php +++ b/src/Model/XapiStatementPipeListSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/XapiStatementPipePostSchema.php b/src/Model/XapiStatementPipePostSchema.php index face7e5..765ca72 100644 --- a/src/Model/XapiStatementPipePostSchema.php +++ b/src/Model/XapiStatementPipePostSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/XapiStatementPipePutSchema.php b/src/Model/XapiStatementPipePutSchema.php index e86dd98..5ae9d54 100644 --- a/src/Model/XapiStatementPipePutSchema.php +++ b/src/Model/XapiStatementPipePutSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/XapiStatementPipeSchema.php b/src/Model/XapiStatementPipeSchema.php index 92149dc..9da1d09 100644 --- a/src/Model/XapiStatementPipeSchema.php +++ b/src/Model/XapiStatementPipeSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/XapiStatementReference.php b/src/Model/XapiStatementReference.php index a74294d..b029a08 100644 --- a/src/Model/XapiStatementReference.php +++ b/src/Model/XapiStatementReference.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/XapiStatementResult.php b/src/Model/XapiStatementResult.php index a6f8bff..af8f942 100644 --- a/src/Model/XapiStatementResult.php +++ b/src/Model/XapiStatementResult.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/XapiVerb.php b/src/Model/XapiVerb.php index 67c326f..0ca35cf 100644 --- a/src/Model/XapiVerb.php +++ b/src/Model/XapiVerb.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/ZoomiCompanyId.php b/src/Model/ZoomiCompanyId.php index 2073b88..cf7481a 100644 --- a/src/Model/ZoomiCompanyId.php +++ b/src/Model/ZoomiCompanyId.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/Model/ZoomiCourseOptionsSchema.php b/src/Model/ZoomiCourseOptionsSchema.php index e6c9ece..42cc914 100644 --- a/src/Model/ZoomiCourseOptionsSchema.php +++ b/src/Model/ZoomiCourseOptionsSchema.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /** diff --git a/src/ObjectSerializer.php b/src/ObjectSerializer.php index 1b88655..42af3c8 100644 --- a/src/ObjectSerializer.php +++ b/src/ObjectSerializer.php @@ -18,7 +18,6 @@ * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.27 */ /**