Skip to content

Commit

Permalink
fix ObjectSerializer s
Browse files Browse the repository at this point in the history
  • Loading branch information
ksvirkou-hubspot committed Mar 25, 2022
1 parent 4e983ae commit 4615d29
Show file tree
Hide file tree
Showing 45 changed files with 135 additions and 135 deletions.
6 changes: 3 additions & 3 deletions codegen/Auth/OAuth/ObjectSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ public static function toQueryValue($object)
{
if (is_array($object)) {
return implode(',', $object);
} elseif (is_bool($value)) {
return $value ? 'true' : 'false';
} elseif (is_bool($object)) {
return $object ? 'true' : 'false';
} else {
return $value;
return $object;
}
}

Expand Down
6 changes: 3 additions & 3 deletions codegen/Automation/Actions/ObjectSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ public static function toQueryValue($object)
{
if (is_array($object)) {
return implode(',', $object);
} elseif (is_bool($value)) {
return $value ? 'true' : 'false';
} elseif (is_bool($object)) {
return $object ? 'true' : 'false';
} else {
return $value;
return $object;
}
}

Expand Down
6 changes: 3 additions & 3 deletions codegen/Cms/AuditLogs/ObjectSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ public static function toQueryValue($object)
{
if (is_array($object)) {
return implode(',', $object);
} elseif (is_bool($value)) {
return $value ? 'true' : 'false';
} elseif (is_bool($object)) {
return $object ? 'true' : 'false';
} else {
return $value;
return $object;
}
}

Expand Down
6 changes: 3 additions & 3 deletions codegen/Cms/Blogs/Authors/ObjectSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ public static function toQueryValue($object)
{
if (is_array($object)) {
return implode(',', $object);
} elseif (is_bool($value)) {
return $value ? 'true' : 'false';
} elseif (is_bool($object)) {
return $object ? 'true' : 'false';
} else {
return $value;
return $object;
}
}

Expand Down
6 changes: 3 additions & 3 deletions codegen/Cms/Blogs/BlogPosts/ObjectSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ public static function toQueryValue($object)
{
if (is_array($object)) {
return implode(',', $object);
} elseif (is_bool($value)) {
return $value ? 'true' : 'false';
} elseif (is_bool($object)) {
return $object ? 'true' : 'false';
} else {
return $value;
return $object;
}
}

Expand Down
6 changes: 3 additions & 3 deletions codegen/Cms/Blogs/Tags/ObjectSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ public static function toQueryValue($object)
{
if (is_array($object)) {
return implode(',', $object);
} elseif (is_bool($value)) {
return $value ? 'true' : 'false';
} elseif (is_bool($object)) {
return $object ? 'true' : 'false';
} else {
return $value;
return $object;
}
}

Expand Down
6 changes: 3 additions & 3 deletions codegen/Cms/Domains/ObjectSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ public static function toQueryValue($object)
{
if (is_array($object)) {
return implode(',', $object);
} elseif (is_bool($value)) {
return $value ? 'true' : 'false';
} elseif (is_bool($object)) {
return $object ? 'true' : 'false';
} else {
return $value;
return $object;
}
}

Expand Down
6 changes: 3 additions & 3 deletions codegen/Cms/Hubdb/ObjectSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ public static function toQueryValue($object)
{
if (is_array($object)) {
return implode(',', $object);
} elseif (is_bool($value)) {
return $value ? 'true' : 'false';
} elseif (is_bool($object)) {
return $object ? 'true' : 'false';
} else {
return $value;
return $object;
}
}

Expand Down
6 changes: 3 additions & 3 deletions codegen/Cms/Performance/ObjectSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ public static function toQueryValue($object)
{
if (is_array($object)) {
return implode(',', $object);
} elseif (is_bool($value)) {
return $value ? 'true' : 'false';
} elseif (is_bool($object)) {
return $object ? 'true' : 'false';
} else {
return $value;
return $object;
}
}

Expand Down
6 changes: 3 additions & 3 deletions codegen/Cms/SiteSearch/ObjectSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ public static function toQueryValue($object)
{
if (is_array($object)) {
return implode(',', $object);
} elseif (is_bool($value)) {
return $value ? 'true' : 'false';
} elseif (is_bool($object)) {
return $object ? 'true' : 'false';
} else {
return $value;
return $object;
}
}

Expand Down
6 changes: 3 additions & 3 deletions codegen/Cms/SourceCode/ObjectSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ public static function toQueryValue($object)
{
if (is_array($object)) {
return implode(',', $object);
} elseif (is_bool($value)) {
return $value ? 'true' : 'false';
} elseif (is_bool($object)) {
return $object ? 'true' : 'false';
} else {
return $value;
return $object;
}
}

Expand Down
6 changes: 3 additions & 3 deletions codegen/Cms/UrlRedirects/ObjectSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ public static function toQueryValue($object)
{
if (is_array($object)) {
return implode(',', $object);
} elseif (is_bool($value)) {
return $value ? 'true' : 'false';
} elseif (is_bool($object)) {
return $object ? 'true' : 'false';
} else {
return $value;
return $object;
}
}

Expand Down
6 changes: 3 additions & 3 deletions codegen/CommunicationPreferences/ObjectSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ public static function toQueryValue($object)
{
if (is_array($object)) {
return implode(',', $object);
} elseif (is_bool($value)) {
return $value ? 'true' : 'false';
} elseif (is_bool($object)) {
return $object ? 'true' : 'false';
} else {
return $value;
return $object;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ public static function toQueryValue($object)
{
if (is_array($object)) {
return implode(',', $object);
} elseif (is_bool($value)) {
return $value ? 'true' : 'false';
} elseif (is_bool($object)) {
return $object ? 'true' : 'false';
} else {
return $value;
return $object;
}
}

Expand Down
6 changes: 3 additions & 3 deletions codegen/Crm/Associations/ObjectSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ public static function toQueryValue($object)
{
if (is_array($object)) {
return implode(',', $object);
} elseif (is_bool($value)) {
return $value ? 'true' : 'false';
} elseif (is_bool($object)) {
return $object ? 'true' : 'false';
} else {
return $value;
return $object;
}
}

Expand Down
6 changes: 3 additions & 3 deletions codegen/Crm/Companies/ObjectSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ public static function toQueryValue($object)
{
if (is_array($object)) {
return implode(',', $object);
} elseif (is_bool($value)) {
return $value ? 'true' : 'false';
} elseif (is_bool($object)) {
return $object ? 'true' : 'false';
} else {
return $value;
return $object;
}
}

Expand Down
6 changes: 3 additions & 3 deletions codegen/Crm/Contacts/ObjectSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ public static function toQueryValue($object)
{
if (is_array($object)) {
return implode(',', $object);
} elseif (is_bool($value)) {
return $value ? 'true' : 'false';
} elseif (is_bool($object)) {
return $object ? 'true' : 'false';
} else {
return $value;
return $object;
}
}

Expand Down
6 changes: 3 additions & 3 deletions codegen/Crm/Deals/ObjectSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ public static function toQueryValue($object)
{
if (is_array($object)) {
return implode(',', $object);
} elseif (is_bool($value)) {
return $value ? 'true' : 'false';
} elseif (is_bool($object)) {
return $object ? 'true' : 'false';
} else {
return $value;
return $object;
}
}

Expand Down
6 changes: 3 additions & 3 deletions codegen/Crm/Extensions/Accounting/ObjectSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ public static function toQueryValue($object)
{
if (is_array($object)) {
return implode(',', $object);
} elseif (is_bool($value)) {
return $value ? 'true' : 'false';
} elseif (is_bool($object)) {
return $object ? 'true' : 'false';
} else {
return $value;
return $object;
}
}

Expand Down
6 changes: 3 additions & 3 deletions codegen/Crm/Extensions/Calling/ObjectSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ public static function toQueryValue($object)
{
if (is_array($object)) {
return implode(',', $object);
} elseif (is_bool($value)) {
return $value ? 'true' : 'false';
} elseif (is_bool($object)) {
return $object ? 'true' : 'false';
} else {
return $value;
return $object;
}
}

Expand Down
6 changes: 3 additions & 3 deletions codegen/Crm/Extensions/Cards/ObjectSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ public static function toQueryValue($object)
{
if (is_array($object)) {
return implode(',', $object);
} elseif (is_bool($value)) {
return $value ? 'true' : 'false';
} elseif (is_bool($object)) {
return $object ? 'true' : 'false';
} else {
return $value;
return $object;
}
}

Expand Down
6 changes: 3 additions & 3 deletions codegen/Crm/Extensions/Videoconferencing/ObjectSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ public static function toQueryValue($object)
{
if (is_array($object)) {
return implode(',', $object);
} elseif (is_bool($value)) {
return $value ? 'true' : 'false';
} elseif (is_bool($object)) {
return $object ? 'true' : 'false';
} else {
return $value;
return $object;
}
}

Expand Down
6 changes: 3 additions & 3 deletions codegen/Crm/Imports/ObjectSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ public static function toQueryValue($object)
{
if (is_array($object)) {
return implode(',', $object);
} elseif (is_bool($value)) {
return $value ? 'true' : 'false';
} elseif (is_bool($object)) {
return $object ? 'true' : 'false';
} else {
return $value;
return $object;
}
}

Expand Down
6 changes: 3 additions & 3 deletions codegen/Crm/LineItems/ObjectSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ public static function toQueryValue($object)
{
if (is_array($object)) {
return implode(',', $object);
} elseif (is_bool($value)) {
return $value ? 'true' : 'false';
} elseif (is_bool($object)) {
return $object ? 'true' : 'false';
} else {
return $value;
return $object;
}
}

Expand Down
6 changes: 3 additions & 3 deletions codegen/Crm/Objects/Calls/ObjectSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ public static function toQueryValue($object)
{
if (is_array($object)) {
return implode(',', $object);
} elseif (is_bool($value)) {
return $value ? 'true' : 'false';
} elseif (is_bool($object)) {
return $object ? 'true' : 'false';
} else {
return $value;
return $object;
}
}

Expand Down
6 changes: 3 additions & 3 deletions codegen/Crm/Objects/Emails/ObjectSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ public static function toQueryValue($object)
{
if (is_array($object)) {
return implode(',', $object);
} elseif (is_bool($value)) {
return $value ? 'true' : 'false';
} elseif (is_bool($object)) {
return $object ? 'true' : 'false';
} else {
return $value;
return $object;
}
}

Expand Down
6 changes: 3 additions & 3 deletions codegen/Crm/Objects/FeedbackSubmissions/ObjectSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ public static function toQueryValue($object)
{
if (is_array($object)) {
return implode(',', $object);
} elseif (is_bool($value)) {
return $value ? 'true' : 'false';
} elseif (is_bool($object)) {
return $object ? 'true' : 'false';
} else {
return $value;
return $object;
}
}

Expand Down
6 changes: 3 additions & 3 deletions codegen/Crm/Objects/Meetings/ObjectSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ public static function toQueryValue($object)
{
if (is_array($object)) {
return implode(',', $object);
} elseif (is_bool($value)) {
return $value ? 'true' : 'false';
} elseif (is_bool($object)) {
return $object ? 'true' : 'false';
} else {
return $value;
return $object;
}
}

Expand Down
Loading

0 comments on commit 4615d29

Please sign in to comment.