Skip to content

Commit

Permalink
Merge pull request #418 from HubSpot/codegen/cmsClientsP2
Browse files Browse the repository at this point in the history
Codegen: CMS Source Code
  • Loading branch information
ksvirkou-hubspot authored Oct 25, 2024
2 parents 8185198 + 64a4518 commit 87b6b18
Show file tree
Hide file tree
Showing 18 changed files with 532 additions and 913 deletions.
22 changes: 11 additions & 11 deletions codegen/Cms/SourceCode/Api/ContentApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/**
* CMS Source Code
*
* Endpoints for interacting with files in the CMS Developer File System. These files include HTML templates, CSS, JS, modules, and other assets which are used to create CMS content.
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v3
* Generated by: https://openapi-generator.tech
Expand Down Expand Up @@ -402,7 +402,7 @@ public function archiveRequest($environment, $path, string $contentType = self::
*
* @param string $environment The environment of the file (\"draft\" or \"published\"). (required)
* @param string $path The file system location of the file. (required)
* @param \SplFileObject $file The file to upload. (optional)
* @param \SplFileObject $file file (optional)
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['create'] to see the possible values for this operation
*
* @throws \HubSpot\Client\Cms\SourceCode\ApiException on non-2xx response or if the response body is not in the expected format
Expand All @@ -423,7 +423,7 @@ public function create($environment, $path, $file = null, string $contentType =
*
* @param string $environment The environment of the file (\"draft\" or \"published\"). (required)
* @param string $path The file system location of the file. (required)
* @param \SplFileObject $file The file to upload. (optional)
* @param \SplFileObject $file (optional)
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['create'] to see the possible values for this operation
*
* @throws \HubSpot\Client\Cms\SourceCode\ApiException on non-2xx response or if the response body is not in the expected format
Expand Down Expand Up @@ -585,7 +585,7 @@ public function createWithHttpInfo($environment, $path, $file = null, string $co
*
* @param string $environment The environment of the file (\"draft\" or \"published\"). (required)
* @param string $path The file system location of the file. (required)
* @param \SplFileObject $file The file to upload. (optional)
* @param \SplFileObject $file (optional)
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['create'] to see the possible values for this operation
*
* @throws \InvalidArgumentException
Expand All @@ -609,7 +609,7 @@ function ($response) {
*
* @param string $environment The environment of the file (\"draft\" or \"published\"). (required)
* @param string $path The file system location of the file. (required)
* @param \SplFileObject $file The file to upload. (optional)
* @param \SplFileObject $file (optional)
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['create'] to see the possible values for this operation
*
* @throws \InvalidArgumentException
Expand Down Expand Up @@ -662,7 +662,7 @@ function ($exception) {
*
* @param string $environment The environment of the file (\"draft\" or \"published\"). (required)
* @param string $path The file system location of the file. (required)
* @param \SplFileObject $file The file to upload. (optional)
* @param \SplFileObject $file (optional)
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['create'] to see the possible values for this operation
*
* @throws \InvalidArgumentException
Expand Down Expand Up @@ -794,7 +794,7 @@ public function createRequest($environment, $path, $file = null, string $content
*
* @param string $environment The environment of the file (\"draft\" or \"published\"). (required)
* @param string $path The file system location of the file. (required)
* @param \SplFileObject $file The file to upload. (optional)
* @param \SplFileObject $file file (optional)
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['createOrUpdate'] to see the possible values for this operation
*
* @throws \HubSpot\Client\Cms\SourceCode\ApiException on non-2xx response or if the response body is not in the expected format
Expand All @@ -814,7 +814,7 @@ public function createOrUpdate($environment, $path, $file = null, string $conten
*
* @param string $environment The environment of the file (\"draft\" or \"published\"). (required)
* @param string $path The file system location of the file. (required)
* @param \SplFileObject $file The file to upload. (optional)
* @param \SplFileObject $file (optional)
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['createOrUpdate'] to see the possible values for this operation
*
* @throws \HubSpot\Client\Cms\SourceCode\ApiException on non-2xx response or if the response body is not in the expected format
Expand Down Expand Up @@ -975,7 +975,7 @@ public function createOrUpdateWithHttpInfo($environment, $path, $file = null, st
*
* @param string $environment The environment of the file (\"draft\" or \"published\"). (required)
* @param string $path The file system location of the file. (required)
* @param \SplFileObject $file The file to upload. (optional)
* @param \SplFileObject $file (optional)
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['createOrUpdate'] to see the possible values for this operation
*
* @throws \InvalidArgumentException
Expand All @@ -998,7 +998,7 @@ function ($response) {
*
* @param string $environment The environment of the file (\"draft\" or \"published\"). (required)
* @param string $path The file system location of the file. (required)
* @param \SplFileObject $file The file to upload. (optional)
* @param \SplFileObject $file (optional)
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['createOrUpdate'] to see the possible values for this operation
*
* @throws \InvalidArgumentException
Expand Down Expand Up @@ -1050,7 +1050,7 @@ function ($exception) {
*
* @param string $environment The environment of the file (\"draft\" or \"published\"). (required)
* @param string $path The file system location of the file. (required)
* @param \SplFileObject $file The file to upload. (optional)
* @param \SplFileObject $file (optional)
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['createOrUpdate'] to see the possible values for this operation
*
* @throws \InvalidArgumentException
Expand Down
Loading

0 comments on commit 87b6b18

Please sign in to comment.