Skip to content
Merged
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
35 changes: 10 additions & 25 deletions codegen/Crm/Contacts/Model/PublicObjectSearchRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand All @@ -343,7 +328,7 @@ public function valid()
/**
* Gets after
*
* @return string
* @return string|null
*/
public function getAfter()
{
Expand All @@ -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
*/
Expand All @@ -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()
{
Expand All @@ -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
*/
Expand All @@ -397,7 +382,7 @@ public function setFilterGroups($filter_groups)
/**
* Gets limit
*
* @return int
* @return int|null
*/
public function getLimit()
{
Expand All @@ -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
*/
Expand All @@ -424,7 +409,7 @@ public function setLimit($limit)
/**
* Gets properties
*
* @return string[]
* @return string[]|null
*/
public function getProperties()
{
Expand All @@ -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
*/
Expand Down Expand Up @@ -478,7 +463,7 @@ public function setQuery($query)
/**
* Gets sorts
*
* @return string[]
* @return string[]|null
*/
public function getSorts()
{
Expand All @@ -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
*/
Expand Down