Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions codegen/Cms/Blogs/Authors/Api/BlogAuthorsApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
* The version of the OpenAPI document: v3
* Generated by: https://openapi-generator.tech
* Generator version: 7.17.0
* Generator version: 7.19.0
*/

/**
Expand Down Expand Up @@ -1972,7 +1972,7 @@ public function detachFromLangGroupRequest($detach_from_lang_group_request_v_nex
*
* @param string $object_id The Blog Author id. (required)
* @param bool|null $archived Specifies whether to return deleted Blog Authors. Defaults to `false`. (optional)
* @param string|null $property property (optional)
* @param string|null $property Used to specify which properties of the Blog Authors to include in the response. (optional)
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['getById'] to see the possible values for this operation
*
* @throws \HubSpot\Client\Cms\Blogs\Authors\ApiException on non-2xx response or if the response body is not in the expected format
Expand All @@ -1992,7 +1992,7 @@ public function getById($object_id, $archived = null, $property = null, string $
*
* @param string $object_id The Blog Author id. (required)
* @param bool|null $archived Specifies whether to return deleted Blog Authors. Defaults to `false`. (optional)
* @param string|null $property (optional)
* @param string|null $property Used to specify which properties of the Blog Authors to include in the response. (optional)
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['getById'] to see the possible values for this operation
*
* @throws \HubSpot\Client\Cms\Blogs\Authors\ApiException on non-2xx response or if the response body is not in the expected format
Expand Down Expand Up @@ -2093,7 +2093,7 @@ public function getByIdWithHttpInfo($object_id, $archived = null, $property = nu
*
* @param string $object_id The Blog Author id. (required)
* @param bool|null $archived Specifies whether to return deleted Blog Authors. Defaults to `false`. (optional)
* @param string|null $property (optional)
* @param string|null $property Used to specify which properties of the Blog Authors to include in the response. (optional)
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['getById'] to see the possible values for this operation
*
* @throws \InvalidArgumentException
Expand All @@ -2116,7 +2116,7 @@ function ($response) {
*
* @param string $object_id The Blog Author id. (required)
* @param bool|null $archived Specifies whether to return deleted Blog Authors. Defaults to `false`. (optional)
* @param string|null $property (optional)
* @param string|null $property Used to specify which properties of the Blog Authors to include in the response. (optional)
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['getById'] to see the possible values for this operation
*
* @throws \InvalidArgumentException
Expand Down Expand Up @@ -2168,7 +2168,7 @@ function ($exception) {
*
* @param string $object_id The Blog Author id. (required)
* @param bool|null $archived Specifies whether to return deleted Blog Authors. Defaults to `false`. (optional)
* @param string|null $property (optional)
* @param string|null $property Used to specify which properties of the Blog Authors to include in the response. (optional)
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['getById'] to see the possible values for this operation
*
* @throws \InvalidArgumentException
Expand Down Expand Up @@ -2296,7 +2296,7 @@ public function getByIdRequest($object_id, $archived = null, $property = null, s
* @param string|null $after The cursor token value to get the next set of results. You can get this from the `paging.next.after` JSON property of a paged response containing more results. (optional)
* @param int|null $limit The maximum number of results to return. Default is 100. (optional)
* @param bool|null $archived Specifies whether to return deleted Blog Authors. Defaults to `false`. (optional)
* @param string|null $property property (optional)
* @param string|null $property Used to specify which properties of the Blog Authors to include in the response. (optional)
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['getPage'] to see the possible values for this operation
*
* @throws \HubSpot\Client\Cms\Blogs\Authors\ApiException on non-2xx response or if the response body is not in the expected format
Expand Down Expand Up @@ -2324,7 +2324,7 @@ public function getPage($created_at = null, $created_after = null, $created_befo
* @param string|null $after The cursor token value to get the next set of results. You can get this from the `paging.next.after` JSON property of a paged response containing more results. (optional)
* @param int|null $limit The maximum number of results to return. Default is 100. (optional)
* @param bool|null $archived Specifies whether to return deleted Blog Authors. Defaults to `false`. (optional)
* @param string|null $property (optional)
* @param string|null $property Used to specify which properties of the Blog Authors to include in the response. (optional)
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['getPage'] to see the possible values for this operation
*
* @throws \HubSpot\Client\Cms\Blogs\Authors\ApiException on non-2xx response or if the response body is not in the expected format
Expand Down Expand Up @@ -2433,7 +2433,7 @@ public function getPageWithHttpInfo($created_at = null, $created_after = null, $
* @param string|null $after The cursor token value to get the next set of results. You can get this from the `paging.next.after` JSON property of a paged response containing more results. (optional)
* @param int|null $limit The maximum number of results to return. Default is 100. (optional)
* @param bool|null $archived Specifies whether to return deleted Blog Authors. Defaults to `false`. (optional)
* @param string|null $property (optional)
* @param string|null $property Used to specify which properties of the Blog Authors to include in the response. (optional)
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['getPage'] to see the possible values for this operation
*
* @throws \InvalidArgumentException
Expand Down Expand Up @@ -2464,7 +2464,7 @@ function ($response) {
* @param string|null $after The cursor token value to get the next set of results. You can get this from the `paging.next.after` JSON property of a paged response containing more results. (optional)
* @param int|null $limit The maximum number of results to return. Default is 100. (optional)
* @param bool|null $archived Specifies whether to return deleted Blog Authors. Defaults to `false`. (optional)
* @param string|null $property (optional)
* @param string|null $property Used to specify which properties of the Blog Authors to include in the response. (optional)
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['getPage'] to see the possible values for this operation
*
* @throws \InvalidArgumentException
Expand Down Expand Up @@ -2524,7 +2524,7 @@ function ($exception) {
* @param string|null $after The cursor token value to get the next set of results. You can get this from the `paging.next.after` JSON property of a paged response containing more results. (optional)
* @param int|null $limit The maximum number of results to return. Default is 100. (optional)
* @param bool|null $archived Specifies whether to return deleted Blog Authors. Defaults to `false`. (optional)
* @param string|null $property (optional)
* @param string|null $property Used to specify which properties of the Blog Authors to include in the response. (optional)
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['getPage'] to see the possible values for this operation
*
* @throws \InvalidArgumentException
Expand Down
2 changes: 1 addition & 1 deletion codegen/Cms/Blogs/Authors/ApiException.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
* The version of the OpenAPI document: v3
* Generated by: https://openapi-generator.tech
* Generator version: 7.17.0
* Generator version: 7.19.0
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion codegen/Cms/Blogs/Authors/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
* The version of the OpenAPI document: v3
* Generated by: https://openapi-generator.tech
* Generator version: 7.17.0
* Generator version: 7.19.0
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion codegen/Cms/Blogs/Authors/FormDataProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
* The version of the OpenAPI document: v3
* Generated by: https://openapi-generator.tech
* Generator version: 7.17.0
* Generator version: 7.19.0
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion codegen/Cms/Blogs/Authors/HeaderSelector.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
* The version of the OpenAPI document: v3
* Generated by: https://openapi-generator.tech
* Generator version: 7.17.0
* Generator version: 7.19.0
*/

/**
Expand Down
58 changes: 29 additions & 29 deletions codegen/Cms/Blogs/Authors/Model/AttachToLangPrimaryRequestVNext.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*
* The version of the OpenAPI document: v3
* Generated by: https://openapi-generator.tech
* Generator version: 7.17.0
* Generator version: 7.19.0
*/

/**
Expand Down Expand Up @@ -58,8 +58,8 @@ class AttachToLangPrimaryRequestVNext implements ModelInterface, ArrayAccess, \J
* @var string[]
*/
protected static $openAPITypes = [
'language' => 'string',
'id' => 'string',
'language' => 'string',
'primary_id' => 'string',
'primary_language' => 'string'
];
Expand All @@ -72,8 +72,8 @@ class AttachToLangPrimaryRequestVNext implements ModelInterface, ArrayAccess, \J
* @psalm-var array<string, string|null>
*/
protected static $openAPIFormats = [
'language' => null,
'id' => null,
'language' => null,
'primary_id' => null,
'primary_language' => null
];
Expand All @@ -84,8 +84,8 @@ class AttachToLangPrimaryRequestVNext implements ModelInterface, ArrayAccess, \J
* @var boolean[]
*/
protected static array $openAPINullables = [
'language' => false,
'id' => false,
'language' => false,
'primary_id' => false,
'primary_language' => false
];
Expand Down Expand Up @@ -176,8 +176,8 @@ public function isNullableSetToNull(string $property): bool
* @var string[]
*/
protected static $attributeMap = [
'language' => 'language',
'id' => 'id',
'language' => 'language',
'primary_id' => 'primaryId',
'primary_language' => 'primaryLanguage'
];
Expand All @@ -188,8 +188,8 @@ public function isNullableSetToNull(string $property): bool
* @var string[]
*/
protected static $setters = [
'language' => 'setLanguage',
'id' => 'setId',
'language' => 'setLanguage',
'primary_id' => 'setPrimaryId',
'primary_language' => 'setPrimaryLanguage'
];
Expand All @@ -200,8 +200,8 @@ public function isNullableSetToNull(string $property): bool
* @var string[]
*/
protected static $getters = [
'language' => 'getLanguage',
'id' => 'getId',
'language' => 'getLanguage',
'primary_id' => 'getPrimaryId',
'primary_language' => 'getPrimaryLanguage'
];
Expand Down Expand Up @@ -263,8 +263,8 @@ public function getModelName()
*/
public function __construct(?array $data = null)
{
$this->setIfExists('language', $data ?? [], null);
$this->setIfExists('id', $data ?? [], null);
$this->setIfExists('language', $data ?? [], null);
$this->setIfExists('primary_id', $data ?? [], null);
$this->setIfExists('primary_language', $data ?? [], null);
}
Expand Down Expand Up @@ -296,12 +296,12 @@ public function listInvalidProperties()
{
$invalidProperties = [];

if ($this->container['language'] === null) {
$invalidProperties[] = "'language' can't be null";
}
if ($this->container['id'] === null) {
$invalidProperties[] = "'id' can't be null";
}
if ($this->container['language'] === null) {
$invalidProperties[] = "'language' can't be null";
}
if ($this->container['primary_id'] === null) {
$invalidProperties[] = "'primary_id' can't be null";
}
Expand All @@ -321,55 +321,55 @@ public function valid()


/**
* Gets language
* Gets id
*
* @return string
*/
public function getLanguage()
public function getId()
{
return $this->container['language'];
return $this->container['id'];
}

/**
* Sets language
* Sets id
*
* @param string $language Designated language of the object to add to a multi-language group.
* @param string $id ID of the object to add to a multi-language group.
*
* @return self
*/
public function setLanguage($language)
public function setId($id)
{
if (is_null($language)) {
throw new \InvalidArgumentException('non-nullable language cannot be null');
if (is_null($id)) {
throw new \InvalidArgumentException('non-nullable id cannot be null');
}
$this->container['language'] = $language;
$this->container['id'] = $id;

return $this;
}

/**
* Gets id
* Gets language
*
* @return string
*/
public function getId()
public function getLanguage()
{
return $this->container['id'];
return $this->container['language'];
}

/**
* Sets id
* Sets language
*
* @param string $id ID of the object to add to a multi-language group.
* @param string $language Designated language of the object to add to a multi-language group.
*
* @return self
*/
public function setId($id)
public function setLanguage($language)
{
if (is_null($id)) {
throw new \InvalidArgumentException('non-nullable id cannot be null');
if (is_null($language)) {
throw new \InvalidArgumentException('non-nullable language cannot be null');
}
$this->container['id'] = $id;
$this->container['language'] = $language;

return $this;
}
Expand Down
2 changes: 1 addition & 1 deletion codegen/Cms/Blogs/Authors/Model/BatchInputBlogAuthor.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*
* The version of the OpenAPI document: v3
* Generated by: https://openapi-generator.tech
* Generator version: 7.17.0
* Generator version: 7.19.0
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion codegen/Cms/Blogs/Authors/Model/BatchInputJsonNode.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*
* The version of the OpenAPI document: v3
* Generated by: https://openapi-generator.tech
* Generator version: 7.17.0
* Generator version: 7.19.0
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion codegen/Cms/Blogs/Authors/Model/BatchInputString.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*
* The version of the OpenAPI document: v3
* Generated by: https://openapi-generator.tech
* Generator version: 7.17.0
* Generator version: 7.19.0
*/

/**
Expand Down
Loading