Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add associations v4 (Codegen only) #217

Merged
merged 1 commit into from
Feb 20, 2023
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
Add associations v4 (Codegen only)
  • Loading branch information
ksvirkou-hubspot committed Feb 20, 2023
commit 11b91d54da517b1e8bc87f6b0fdf722042541a6e
1,784 changes: 1,784 additions & 0 deletions codegen/Crm/Associations/V4/Api/BatchApi.php

Large diffs are not rendered by default.

1,375 changes: 1,375 additions & 0 deletions codegen/Crm/Associations/V4/Api/DefinitionsApi.php

Large diffs are not rendered by default.

119 changes: 119 additions & 0 deletions codegen/Crm/Associations/V4/ApiException.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
<?php
/**
* ApiException
* PHP version 7.4
*
* @category Class
* @package HubSpot\Client\Crm\Associations\V4
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/

/**
* CrmPublicAssociationsServiceV4
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v4
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 6.0.1
*/

/**
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/

namespace HubSpot\Client\Crm\Associations\V4;

use \Exception;

/**
* ApiException Class Doc Comment
*
* @category Class
* @package HubSpot\Client\Crm\Associations\V4
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/
class ApiException extends Exception
{
/**
* The HTTP body of the server response either as Json or string.
*
* @var \stdClass|string|null
*/
protected $responseBody;

/**
* The HTTP header of the server response.
*
* @var string[]|null
*/
protected $responseHeaders;

/**
* The deserialized response object
*
* @var \stdClass|string|null
*/
protected $responseObject;

/**
* Constructor
*
* @param string $message Error message
* @param int $code HTTP status code
* @param string[]|null $responseHeaders HTTP response header
* @param \stdClass|string|null $responseBody HTTP decoded body of the server response either as \stdClass or string
*/
public function __construct($message = "", $code = 0, $responseHeaders = [], $responseBody = null)
{
parent::__construct($message, $code);
$this->responseHeaders = $responseHeaders;
$this->responseBody = $responseBody;
}

/**
* Gets the HTTP response header
*
* @return string[]|null HTTP response header
*/
public function getResponseHeaders()
{
return $this->responseHeaders;
}

/**
* Gets the HTTP body of the server response either as Json or string
*
* @return \stdClass|string|null HTTP body of the server response either as \stdClass or string
*/
public function getResponseBody()
{
return $this->responseBody;
}

/**
* Sets the deserialized response object (during deserialization)
*
* @param mixed $obj Deserialized response object
*
* @return void
*/
public function setResponseObject($obj)
{
$this->responseObject = $obj;
}

/**
* Gets the deserialized response object (during deserialization)
*
* @return mixed the deserialized response object
*/
public function getResponseObject()
{
return $this->responseObject;
}
}
Loading