diff --git a/codegen/Crm/Contacts/Model/PublicObjectSearchRequest.php b/codegen/Crm/Contacts/Model/PublicObjectSearchRequest.php index d14c8875..70d446ed 100644 --- a/codegen/Crm/Contacts/Model/PublicObjectSearchRequest.php +++ b/codegen/Crm/Contacts/Model/PublicObjectSearchRequest.php @@ -310,21 +310,6 @@ public function listInvalidProperties() { $invalidProperties = []; - if ($this->container['after'] === null) { - $invalidProperties[] = "'after' can't be null"; - } - if ($this->container['filter_groups'] === null) { - $invalidProperties[] = "'filter_groups' can't be null"; - } - if ($this->container['limit'] === null) { - $invalidProperties[] = "'limit' can't be null"; - } - if ($this->container['properties'] === null) { - $invalidProperties[] = "'properties' can't be null"; - } - if ($this->container['sorts'] === null) { - $invalidProperties[] = "'sorts' can't be null"; - } return $invalidProperties; } @@ -343,7 +328,7 @@ public function valid() /** * Gets after * - * @return string + * @return string|null */ public function getAfter() { @@ -353,7 +338,7 @@ public function getAfter() /** * Sets after * - * @param string $after A paging cursor token for retrieving subsequent pages. + * @param string|null $after A paging cursor token for retrieving subsequent pages. * * @return self */ @@ -370,7 +355,7 @@ public function setAfter($after) /** * Gets filter_groups * - * @return \HubSpot\Client\Crm\Contacts\Model\FilterGroup[] + * @return \HubSpot\Client\Crm\Contacts\Model\FilterGroup[]|null */ public function getFilterGroups() { @@ -380,7 +365,7 @@ public function getFilterGroups() /** * Sets filter_groups * - * @param \HubSpot\Client\Crm\Contacts\Model\FilterGroup[] $filter_groups Up to 6 groups of filters defining additional query criteria. + * @param \HubSpot\Client\Crm\Contacts\Model\FilterGroup[]|null $filter_groups Up to 6 groups of filters defining additional query criteria. * * @return self */ @@ -397,7 +382,7 @@ public function setFilterGroups($filter_groups) /** * Gets limit * - * @return int + * @return int|null */ public function getLimit() { @@ -407,7 +392,7 @@ public function getLimit() /** * Sets limit * - * @param int $limit The maximum results to return, up to 200 objects. + * @param int|null $limit The maximum results to return, up to 200 objects. * * @return self */ @@ -424,7 +409,7 @@ public function setLimit($limit) /** * Gets properties * - * @return string[] + * @return string[]|null */ public function getProperties() { @@ -434,7 +419,7 @@ public function getProperties() /** * Sets properties * - * @param string[] $properties A list of property names to include in the response. + * @param string[]|null $properties A list of property names to include in the response. * * @return self */ @@ -478,7 +463,7 @@ public function setQuery($query) /** * Gets sorts * - * @return string[] + * @return string[]|null */ public function getSorts() { @@ -488,7 +473,7 @@ public function getSorts() /** * Sets sorts * - * @param string[] $sorts Specifies sorting order based on object properties. + * @param string[]|null $sorts Specifies sorting order based on object properties. * * @return self */