diff --git a/README.md b/README.md index f25fadb..220a1b6 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,10 @@ License ## Latest Version + +- [5.0.0](/versions/5.0.0/README.md) + - Handled Record `rollup_summary` datatype. + - [4.0.0](/versions/4.0.0/README.md) - Supported multiple field update operations in the FieldsOperations class. @@ -69,10 +73,10 @@ For older versions, please [refer](https://github.com/zoho/zohocrm-php-sdk-6.0/r ## Including the SDK in your project You can include the SDK to your project using Composer. -For installing the latest [version](https://github.com/zoho/zohocrm-php-sdk-6.0/releases/tag/4.0.0) of PHP SDK, navigate to the workspace of your client app and run the following command. +For installing the latest [version](https://github.com/zoho/zohocrm-php-sdk-6.0/releases/tag/5.0.0) of PHP SDK, navigate to the workspace of your client app and run the following command. ```sh -composer require zohocrm/php-sdk-6.0:4.0.0 +composer require zohocrm/php-sdk-6.0:5.0.0 ``` With this, the PHP SDK will be installed and a package named vendor will be created in the workspace of your client app. @@ -91,4 +95,4 @@ For example, if you generate the tokens for your Sandbox environment in the CN d --- -For more details, kindly refer here. [here](/versions/4.0.0/README.md). +For more details, kindly refer here. [here](/versions/5.0.0/README.md). diff --git a/src/com/zoho/crm/api/util/Constants.php b/src/com/zoho/crm/api/util/Constants.php index ffd8104..1f8a469 100755 --- a/src/com/zoho/crm/api/util/Constants.php +++ b/src/com/zoho/crm/api/util/Constants.php @@ -257,7 +257,7 @@ class Constants const SET_API_URL_EXCEPTION = "Exception in setting API URL"; const AUTHENTICATION_EXCEPTION = "Exception in authenticating current request : "; const FORM_REQUEST_EXCEPTION = "Exception in forming request body : "; - const SDK_VERSION = "4.0.0"; + const SDK_VERSION = "5.0.0"; const API_CALL_EXCEPTION = "Exception in current API call execution : "; const HTTP = "http"; const CONTENT_API_URL = "content.zohoapis.com"; @@ -323,6 +323,7 @@ class Constants const CALL_DURATION = "Call_Duration"; const PRIMARY_KEY_ERROR = "Value null or missing for required key(s) : "; const FORMULA = "formula"; + const ROLLUP_SUMMARY = "rollup_summary"; const PICKLIST = "picklist"; const NULL_VALUE = "null"; const UNSUPPORTED_IN_API = "API UNSUPPORTED OPERATION"; diff --git a/src/com/zoho/crm/api/util/Utility.php b/src/com/zoho/crm/api/util/Utility.php index 0032e77..27698c8 100755 --- a/src/com/zoho/crm/api/util/Utility.php +++ b/src/com/zoho/crm/api/util/Utility.php @@ -764,6 +764,21 @@ public static function setDataType($fieldDetail, $field, $moduleAPIName) } $fieldDetail[Constants::READ_ONLY] = true; } + else if(strtolower($apiType) == Constants::ROLLUP_SUMMARY) + { + if($field->getRollupSummary() != null) + { + $returnType = $field->getRollupSummary()->getReturnType(); + if($returnType != null && array_key_exists($returnType, Utility::$apiTypeVsDataType) && Utility::$apiTypeVsDataType[$returnType] != null) + { + $fieldDetail[Constants::TYPE] = Utility::$apiTypeVsDataType[$returnType]; + } + else if($field->getJsonType() != null && array_key_exists($field->getJsonType(), Utility::$apiTypeVsDataType) && Utility::$apiTypeVsDataType[$field->getJsonType()] != null) + { + $fieldDetail[Constants::TYPE] = Utility::$apiTypeVsDataType[$field->getJsonType()]; + } + } + } else { return; diff --git a/versions/5.0.0/README.md b/versions/5.0.0/README.md new file mode 100644 index 0000000..b252a59 --- /dev/null +++ b/versions/5.0.0/README.md @@ -0,0 +1,933 @@ +License +======= + + Copyright (c) 2021, ZOHO CORPORATION PRIVATE LIMITED + All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +# ZOHO CRM PHP SDK 6.0 for API version 6 + +## Table Of Contents + +* [Overview](#overview) +* [Registering a Zoho Client](#registering-a-zoho-client) +* [Environmental Setup](#environmental-setup) +* [Including the SDK in your project](#including-the-sdk-in-your-project) +* [Persistence](#token-persistence) + * [DataBase Persistence](#database-persistence) + * [File Persistence](#file-persistence) + * [Custom Persistence](#custom-persistence) +* [Configuration](#configuration) +* [Initialization](#initializing-the-application) +* [Class Hierarchy](#class-hierarchy) +* [Responses And Exceptions](#responses-and-exceptions) +* [Multi-User support in the PHP SDK](#multi-user-app) +* [Sample Code](#sdk-sample-code) + +## Overview + +Zoho CRM PHP SDK offers a way to create client PHP applications that can be integrated with Zoho CRM. + +## Registering a Zoho Client + +Since Zoho CRM APIs are authenticated with OAuth2 standards, you should register your client app with Zoho. To register your app: + +- Visit this page [https://api-console.zoho.com/](https://api-console.zoho.com) + +- Click `ADD CLIENT`. + +- Choose the `Client Type`. + +- Enter **Client Name**, **Client Domain** or **Homepage URL** and **Authorized Redirect URIs** then click `CREATE`. + +- Your Client app will be created. + +- Select the created OAuth client. + +- Generate grant token by providing the necessary scopes, time duration (the duration for which the generated token is valid) and Scope Description. + +## Environmental Setup + +PHP SDK is installable through **Composer**. **Composer** is a tool for dependency management in PHP. SDK expects the following from the client app. + +- Client app must have PHP(version 7 and above) with curl extension enabled. + +- PHP SDK must be installed into client app though **Composer**. + +## Including the SDK in your project + +You can include the SDK to your project using: + +- Install **Composer** (if not installed). + + - Run this command to install the composer. + + ```sh + curl -sS https://getcomposer.org/installer | php + ``` + + - To install composer on mac/linux machine: + + ```sh + https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx + ``` + + - To install composer on windows machine: + + ```sh + https://getcomposer.org/doc/00-intro.md#installation-windows + ``` + +- Install **PHP SDK**. + + - Navigate to the workspace of your client app. + + - Run the command below: + + ```sh + composer require zohocrm/php-sdk-6.0:5.0.0 + ``` + + - The PHP SDK will be installed and a package named vendor will be created in the workspace of your client app. + +- Using the SDK. + + - Add the below line in PHP files of your client app, where you would like to make use of PHP SDK. + + ```php + require 'vendor/autoload.php'; + ``` + + Through this line, you can access all the functionalities of the PHP SDK. The namespaces of the class to be used must be included within the "use" statement. + +--- +**Note** + +> - If you are facing SSL related issues, make sure your SSL certificate is valid and configured properly. You can download the certificate bundle from here. To add the SSL certificate, locate the php.ini file in the PHP folder in your system, and add these lines to your certificate: + + - curl.cainfo="/cacert.pem" + - openssl.cafile="/cacert.pem" + +> - **serialize_precision**, **int** - The number of significant digits stored while serializing floating point numbers. From PHP 7.1.0, the default value for this key is -1. This means that the floating point value will not be rounded off during serializing and un-serializing the JSON. +Prior to PHP 7.1.0, the default value was 17, meaning the floating point number will be rounded off to 17 digits(or to the number specified in this key). You can change this value in **php.ini** file according to the number of decimal places you have set for currency or decimal fields in your CRM org. +--- + +## Token Persistence + +Token persistence refers to storing and utilizing the authentication tokens that are provided by Zoho. Token persistence enables the SDK to automatically refresh the access token after initialization using the refresh token without the need for user intervention. There are three ways provided by the SDK in which persistence can be utilized. They are DataBase Persistence, File Persistence, and Custom Persistence. Please note that the default method of token persistence provided by the Zoho CRM SDK is File persistence. + +### Table of Contents + +- [DataBase Persistence](#database-persistence) + +- [File Persistence](#file-persistence) + +- [Custom Persistence](#custom-persistence) + +### Implementing OAuth Persistence + +Once the application is authorized, OAuth access and refresh tokens can be used for subsequent user data requests to Zoho CRM. Hence, they need to be persisted by the client app. + +The persistence is achieved by writing an implementation of the inbuilt **TokenStore interface**, which has the following callback methods. + +- **findToken(Token $token)** - invoked before firing a request to fetch the saved tokens. This method should return an implementation of **Token interface** object for the library to process it. + +- **saveToken(Token $token)** - invoked after fetching access and refresh tokens from Zoho. + +- **deleteToken($id)** - invoked before saving the latest tokens. + +- **getTokens()** - The method to retrieve all the stored tokens. + +- **deleteTokens()** - The method to delete all the stored tokens. + +- **findTokenById($id)** - This method is used to retrieve the user token details based on unique ID. + +Note: + +- $id is a string. + +- $token is an instance of **Token** interface. + +### DataBase Persistence + +Database persistence is a technique that involves storing and retrieving data from a database. In case the user prefers to use the default DataBase persistence, **MySQL** can be used. + +- Create a table in your Database with required columns + + - id varchar(10) + + - user_name varchar(255) + + - client_id varchar(255) + + - client_secret varchar(255) + + - refresh_token varchar(255) + + - access_token varchar(255) + + - grant_token varchar(255) + + - expiry_time varchar(20) + + - redirect_url varchar(255) + + - api_domain varchar(255) + +Note: +- Custom database name and table name can be set in DBStore instance + +#### MySQL Query + +```sql +CREATE DATABASE zohoauth; +CREATE TABLE oauthtoken ( + id varchar(10) NOT NULL, + user_name varchar(255) NOT NULL, + client_id varchar(255), + client_secret varchar(255), + refresh_token varchar(255), + access_token varchar(255), + grant_token varchar(255), + expiry_time varchar(20), + redirect_url varchar(255), + api_domain varchar(255), + primary key (id) +); +``` + +#### Create DBStore object + +```php +/* +* Create an instance of TokenStore. +* host -> DataBase host name. Default "jdbc:mysql://localhost" +* databaseName -> DataBase name. Default "zohooauth" +* userName -> DataBase user name. Default "root" +* tableName -> DataBase table name. Default "oauthtoken" +* password -> DataBase password. Default "" +* portNumber -> DataBase port number. Default "3306" +*/ +// $tokenstore = (new DBBuilder())->build(); +$tokenstore = (new DBBuilder()) +->host("hostName") +->databaseName("databaseName") +->userName("userName") +->portNumber("portNumber") +->tableName("tableName") +->password("password") +->build(); +``` + +### File Persistence + +In case of default File Persistence, the user can persist tokens in the local drive, by providing the the absolute file path to the FileStore object. + +- The File contains + + - id + + - user_name + + - client_id + + - client_secret + + - refresh_token + + - access_token + + - grant_token + + - expiry_time + + - redirect_url + + - api_domain + +#### Create FileStore object + +```php +//Parameter containing the absolute file path to store tokens +$tokenstore = new FileStore("/usr/php_sdk_token.txt"); +``` + +### Custom Persistence + +Users can create their own logic for storing and retrieving authentication tokens using the custom persistence technique. To use Custom Persistence, the user must implement **TokenStore interface** (**com\zoho\api\authenticator\store\TokenStore**) and override the methods. + +```php + +``` + +## Configuration + +Before you get started with creating your PHP application, you need to register your client and authenticate the app with Zoho. + +| Mandatory Keys | Optional Keys | +|:---------------|:---------------| +| environment | logger | +| token | store | +| | SDKConfig | +| | requestProxy | +| | resourcePath | + +---- + +The **environment** key contains the domain information to make API calls. The **token** key represents the OAuth info, including the clientID, clientSecret, grantToken, redirectURL, refreshToken or accessToken depending on the flow that you use. Refer to **create an instance of OAuthToken** for more details. + +- Configure the API environment which decides the domain and the URL to make API calls. + + ```php + /* + * Configure the environment + * which is of the pattern Domain::Environment + * Available Domains: USDataCenter, EUDataCenter, INDataCenter, CNDataCenter, AUDataCenter,CADataCenter + * Available Environments: PRODUCTION(), DEVELOPER(), SANDBOX() + */ + $environment = USDataCenter::PRODUCTION(); + ``` + +- Create an instance of **OAuthToken** with the information that you get after registering your Zoho client. In the context of Token persistence, the grant token flow and refresh token flow involve storing and persistence the token.However, the access token flow does not involve token persistence and the access token is directly utilized for API calls. Depending on the tokens available with you, choose grantToken flow, refreshToken flow or accessToken flow. + + - By default, the findUser key is set to true, to set userSignature. However, this requires the ***ZohoCRM.users.READ*** and ***ZohoCRM.org.READ*** scopes to be mandatory. If you do not want to set userSignature, you must set the findUser key to false. + + - Use the following method for **grantToken flow :** + ```php + $token = (new OAuthBuider()) + ->clientID("clientId") + ->clientSecret("clientSecret") + ->grantToken("grantToken") + ->redirectURL("redirectURL") + ->findUser(false)// by default true + ->build(); + ``` + - Use the following method for **refreshToken flow :** + ```php + $token = (new OAuthBuilder()) + ->clientId("clientId") + ->clientSecret("clientSecret") + ->refreshToken("refreshToken") + ->redirectURL("redirectURL") + ->findUser(false)// by default true + ->build(); + ``` + - Use the following method for **accessToken flow :** + ```php + $token = (new OAuthBuilder()) + ->accessToken("accessToken") + ->findUser(false)// by default true + ->build(); + ``` + - Use the following method for **Id flow :** + ```php + $token = (new OAuthBuilder()) + ->id("id") + ->build(); + ``` + +- Create an instance of **Logger** Class to log exception and API information. + + ```php + /* + * Create an instance of Logger Class that requires the following + * level -> Level of the log messages to be logged. Can be configured by typing Levels "::" and choose any level from the list displayed. + * filePath -> Absolute file path, where messages need to be logged. + */ + $logger = (new LogBuilder()) + ->level(Levels::INFO) + ->filePath("/usr/php_sdk_log.log") + ->build(); + ``` + +- Create an instance of **TokenStore** to persist tokens, used for authenticating all the requests. By default, the SDK creates the sdk_tokens.txt created in the current working directory) to persist the tokens. + + ```php + /* + * Create an instance of DBStore that requires the following + * host -> DataBase host name. Default value "localhost" + * databaseName -> DataBase name. Default value "zohooauth" + * userName -> DataBase user name. Default value "root" + * password -> DataBase password. Default value "" + * portNumber -> DataBase port number. Default value "3306" + * tabletName -> DataBase table name. Default value "oauthtoken" + */ + //$tokenstore = (new DBBuilder())->build(); + + $tokenstore = (new DBBuilder()) + ->host("hostName") + ->databaseName("dataBaseName") + ->tableName("tableName") + ->userName("userName") + ->password("password") + ->portNumber("portNumber") + ->build(); + ``` + - Use the following method for File Store + ```php + $tokenStore = new FileStore("absolute_file_path"); + ``` + - Use the following method for Custom Store + ```php + $tokenStore = new CustomStore(); + ``` + +- Create an instance of SDKConfig containing SDK configurations. + + ```php + /* + * By default, the SDK creates the SDKConfig instance + * autoRefreshFields (default value is false) + * true - all the modules' fields will be auto-refreshed in the background, every hour. + * false - the fields will not be auto-refreshed in the background. The user can manually delete the file(s) or refresh the fields using methods from ModuleFieldsHandler(com\zoho\crm\api\util\ModuleFieldsHandler) + * + * pickListValidation (default value is true) + * A boolean field that validates user input for a pick list field and allows or disallows the addition of a new value to the list. + * true - the SDK validates the input. If the value does not exist in the pick list, the SDK throws an error. + * false - the SDK does not validate the input and makes the API request with the user’s input to the pick list + * + * enableSSLVerification (default value is true) + * A boolean field to enable or disable curl certificate verification + * true - the SDK verifies the authenticity of certificate + * false - the SDK skips the verification + */ + $autoRefreshFields = false; + $pickListValidation = false; + $enableSSLVerification = true; + //The number of seconds to wait while trying to connect. Use 0 to wait indefinitely. + $connectionTimeout = 2; + //The maximum number of seconds to allow cURL functions to execute. + $timeout = 2; + $sdkConfig = (new SDKConfigBuilder()) + ->autoRefreshFields($autoRefreshFields) + ->pickListValidation($pickListValidation) + ->sslVerification($enableSSLVerification) + ->connectionTimeout($connectionTimeout) + ->timeout($timeout) + ->build(); + ``` + +- Create an instance of RequestProxy containing the proxy properties of the user. + + ```php + $requestProxy = (new ProxyBuilder()) + ->host("proxyHost") + ->port("proxyPort") + ->user("proxyUser") + ->password("password") + ->build(); + ``` + +- The path containing the absolute directory path to store user specific files containing module fields information. + + ```php + $resourcePath = "/usr"; + ``` + +## Initializing the Application + +Initialize the SDK using the following code. + +```php +level(Levels::INFO) + ->filePath("/users/php_sdk_log.log") + ->build(); + + $environment = USDataCenter::PRODUCTION(); + + $token = (new OAuthBuilder()) + ->clientId("clientId") + ->clientSecret("clientSecret") + ->refreshToken("grantToken") + ->redirectURL("redirectURL") + ->build(); + + $tokenstore = (new DBBuilder()) + ->host("hostName") + ->databaseName("dataBaseName") + ->userName("userName") + ->password("password") + ->portNumber("portNumber") + ->tableName("tableName") + ->build(); + + $autoRefreshFields = false; + $pickListValidation = false; + $connectionTimeout = 2; //The number of seconds to wait while trying to connect. Use 0 to wait indefinitely. + $timeout = 2; //The maximum number of seconds to allow cURL functions to execute. + $enableSSLVerification = false; + $sdkConfig = (new SDKConfigBuilder()) + ->autoRefreshFields($autoRefreshFields) + ->pickListValidation($pickListValidation) + ->sslVerification($enableSSLVerification) + ->connectionTimeout($connectionTimeout) + ->timeout($timeout) + ->build(); + + $resourcePath = "/users/php-application"; + + $requestProxy = (new ProxyBuilder()) + ->host("proxyHost") + ->port(0) + ->user("proxyUser") + ->password("password") + ->build(); + + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->store($tokenstore) + ->SDKConfig($sdkConfig) + ->resourcePath($resourcePath) + ->logger($logger) + ->requestProxy($requestProxy) + ->initialize(); + } +} +Initialize::initialize(); +?> +``` + +- You can now access the functionalities of the SDK. Refer to the sample codes to make various API calls through the SDK. + +## Class Hierarchy + +![classdiagram](class_hierarchy.png) + +## Responses and Exceptions + +All SDK method calls return an instance of the **APIResponse** class. + +Use the **getObject()** method in the returned **APIResponse** object to obtain the response handler interface depending on the type of request (**GET, POST,PUT,DELETE**). + +**APIResponse<ResponseHandler>** and **APIResponse<ActionHandler>** are the common wrapper objects for Zoho CRM APIs’ responses. + +Whenever the API returns an error response, the response will be an instance of **APIException** class. + +All other exceptions such as SDK anomalies and other unexpected behaviours are thrown under the **SDKException** class. + +### GET Requests + +- The **getObject()** of the returned APIResponse instance returns the response as follows. + +- Most of the APIs follows the **Common** Structure as below. + + - The **ResponseHandler interface** encompasses the following + - **ResponseWrapper class** (for **application/json** responses) + - **FileBodyWrapper class** (for File download responses) + - **APIException class** + + +- Some of the APIs follow the **Particular** Structure as below. + + - The **ResponseHandler interface** encompasses the following + - **HistoryWrapper class** (for **application/json** responses in **backup** API, holds the list of instances of **History class** and instance of **Info class**) + - **UrlsWrapper class** (for **application/json** responses in **backup** API, holds the instance of **Urls class**) + - **SourcesCountWrapper class** (for **application/json** responses in **UserGroups** API, holds the List of instances of **SourceCount class**) + - **SourcesWrapper class** (for **application/json** responses in **Usergroups** APi, holds the List of instances of **Sources class** and instance of **Info class**) + + + - The **ResponseWrapper interface** in **BulkWrite** API encompasses the following + - **BulkWriteResponse class** (for **application/json** responses) + - **APIException class** + + - The **CountHandler interface** encompasses the following + - **CountWrapper class** (for **application/json** responses in **Record** API, holds the Long **count**) + - **APIException class** + + - The **DeletedRecordsHandler interface** encompasses the following + - **DeletedRecordsWrapper class** (for **application/json** responses in **Record** API, holds the list of instances of **DeletedRecord class** and instance of **Info class**) + - **APIException class** + + - The **DownloadHandler interface** encompasses the following + - **FileBodyWrapper class** (for File download responses) + - **APIException class** + + - The **MassUpdateResponseHandler interface** encompasses the following + - **MassUpdateResponseWrapper class** (for **application/json** responses in **Record** API, holds the list of instances of **MassUpdateResponse interface**) + - **APIException class** + + - The **MassUpdateResponse interface** encompasses of following + - **MassUpdate class** (for **application/json** responses) + - **APIException class** + + - The **ValidationHandler interface** in **UserTerritories** API encomposses the following + - **ValidationWrapper class** (for **application/json** responses, holds the list of instances of **ValidationGroup interface**) + - **APIException class** + + - The **ValidationGroup interface** in **UserTerritories** API encompasses the following + - **Validation class** + - **BulkValidation class** + +### POST, PUT, DELETE Requests + +- The **getObject()** of the returned APIResponse instance returns the response as follows. + +- Most of the APIs follows the **Common** Structure as. + + - The **ActionHandler interface** encompasses the following + - **ActionWrapper class** (for **application/json** responses) + - **APIException class** + + - The **ActionWrapper class** contains **Property/Properties** that may contain one/list of **ActionResponse interfaces**. + + - The **ActionResponse interface** encompasses the following + - **SuccessResponse class** (for **application/json** responses) + - **APIException class** + +- Some of the APIs follow the **Particular** Structure as. + + - The **ActionHandler interface** encompasses the following + - **ActionWrapper class** (for **application/json** responses) + - **APIException class** + + - The **ActionWrapper class** contains **Property/Properties** that may contain one/list of **ActionResponse interface**. + + - The **RecordActionHandler interface** encompasses the following + - **RecordActionWrapper class** (for **application/json** responses in **Tags** API, holds the list of instance of **RecordActionResponse interface**, Boolean **wfScheduler**, String **successCount** and Boolean **lockedCount**) + - **APIException class** + + - **RecordActionResponse interface** encompasses the following + - **RecordSuccessResponse class** (for **application/json** responses) + - **APIException class** + + - The **ActionHandler interface** in **Currencies** API encompasses the following + - **BaseCurrencyActionWrapper class** (for **application/json** responses) + - **APIException class** + + - The **BaseCurrencyActionWrapper class** contains **Property/Properties** that contain **BaseCurrencyActionResponse interface**. + + - The **BaseCurrencyActionResponse interface** encompasses the following + - **SuccessResponse class** (for **application/json** responses) + - **APIException class** + + - The **MassUpdateActionHandler interface** encompasses the following + - **MassUpdateActionWrapper class** (for **application/json** responses in **Record** API, holds the list of instances of **MassUpdateActionResponse interface**) + - **APIException class** + + - The **MassUpdateActionResponse interface** encompasses of following + - **MassUpdateSuccessResponse class** (for **application/json** responses) + - **APIException class** + + - The **FileHandler interface** in **Record** API encompasses the following + - **SuccessResponse class** (for **application/json** responses) + - **APIException class** + + - The **SignActionHandler interface** in **MailMerge** API encompasses the following + - **SignActionWrapper class** (for **application/json** responses) + - **APIException class** + + - The **DeleteActionHandler interface** encompasses the following + - **DeleteActionWrapper class** (for **application/json** responses in **ShareRecords** API, holds the instance of **DeleteActionResponse interface**) + - **APIException class** + - The **DeleteActionResponse interface** encompasses the following + - **SuccessResponse class** (for **application/json** responses) + - **APIException class** + + - The **TransferActionHandler interface** in **UserTerritories** API encompasses the following + - **TransferActionWrapper class** (fro **application/json** responses , holds the list of instances of **TransferActionResponse interface**) + + - The **TransferActionResponse interface** encompasses the following + - **SuccessResponse class** (for **application/json** responses) + - **APIException class** + + - The **ActionResponse interface** in **Territories** API encompasses the following + - **Success class** (for **application/json** responses) + - **APIException class** + + - The **TransferPipelineActionHandler interface** in **Pipeline** API encompasses the following + - **TransferPipelineActionWrapper class** (for **application/json** responses, holds the list of insatnces of **TransferPipelineActionResponse interface**) + - **APIException class** + + - The **TransferPipelineActionResponse interface** in **Pipeline** API encompasses the following + - **TransferPipelineSuccessResponse class** (for **application/json** responses) + - **APIException class** + +## Multi-user App + +Multi-users functionality is achieved using **switchUser()** method + +```php + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->SDKConfig($configInstance) + ->switchUser(); +``` + +To Remove a user's configuration in SDK. Use the below code + +```php + Initializer::removeUserConfiguration($token); +``` + +```php +clientId("clientId") + ->clientSecret("clientSecret") + ->grantToken("grantToken") + ->redirectURL("redirectURL") + ->build(); + + (new InitializeBuilder()) + ->environment($environment1) + ->token($token1) + ->initialize(); + + $this->getRecords("Leads"); + + $environment2 = EUDataCenter::PRODUCTION(); + + $token2 = (new OAuthBuilder()) + ->clientId("clientId2") + ->clientSecret("clientSecret2") + ->refreshToken("refreshToken2") + ->redirectURL("redirectURL2") + ->build(); + + $this->getRecords("Leads"); + + // Initializer::removeUserConfiguration($token); + + (new InitializeBuilder()) + ->environment($environment2) + ->token($token2) + ->switchUser(); + + $this->getRecords("Contacts"); + } + + public function getRecords($moduleAPIName) + { + try + { + $recordOperations = new RecordOperations($moduleAPIName); + $paramInstance = new ParameterMap(); + $fieldNames = array("id", "City"); + foreach ($fieldNames as $fieldName) + { + $paramInstance->add(GetRecordsParam::fields(), $fieldName); + } + $headerInstance = new HeaderMap(); + $ifmodifiedsince = date_create("2020-06-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get())); + $headerInstance->add(GetRecordsHeader::IfModifiedSince(), $ifmodifiedsince); + $response = $recordOperations->getRecords($paramInstance, $headerInstance); + echo($response->getStatusCode() . "\n"); + print_r($response->getObject()); + echo("\n"); + } + catch (\Exception $e) + { + print_r($e); + } + } +} +$obj = new MultiThread(); +$obj->main(); +?> +``` + +- The program execution starts from main(). + +- The details of **"user1"** are is given in the variables user1, token1, environment1. + +- Similarly, the details of another user **"user2"** is given in the variables user2, token2, environment2. + +- Then, the **switchUser()** function is used to switch between the **"user1"** and **"user2"** as required. + +- Based on the latest switched user, the **$this->getRecords($moduleAPIName)** will fetch record. + +## SDK Sample code + +```php +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + public static function createRecords(String $moduleAPIName) + { + $recordOperations = new RecordOperations($moduleAPIName); + $bodyWrapper = new BodyWrapper(); + $records = array(); + $record1 = new Record(); + $record1->addFieldValue(Leads::City(), "City"); + $record1->addFieldValue(Leads::Company(), "company"); + $record1->addFieldValue(Leads::LastName(), "FROm PHP"); + $record1->addFieldValue(Leads::FirstName(), "First Name"); + $record1->addFieldValue(Leads::Email(), "abc@zoho.com"); + $tagList = array(); + $tag = new Tag(); + $tag->setName("TestTask"); + array_push($tagList, $tag); + $record1->setTag($tagList); + array_push($records, $record1); + $bodyWrapper->setData($records); + $headerInstance = new HeaderMap(); + $response = $recordOperations->createRecords($bodyWrapper, $headerInstance); + if ($response != null) { + echo ("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + $actionHandler = $response->getObject(); + if ($actionHandler instanceof ActionWrapper) { + $actionWrapper = $actionHandler; + $actionResponses = $actionWrapper->getData(); + foreach ($actionResponses as $actionResponse) { + if ($actionResponse instanceof SuccessResponse) { + $successResponse = $actionResponse; + echo ("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo ("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($successResponse->getDetails() as $key => $value) { + echo ($key . " : "); + print_r($value); + echo ("\n"); + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } + else if ($actionResponse instanceof APIException) { + $exception = $actionResponse; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : "); print_r($value); echo("\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } + else if ($actionHandler instanceof APIException) { + $exception = $actionHandler; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName = "leads"; +CreateRecords::initialize(); +CreateRecords::createRecords($moduleAPIName); +?> +``` diff --git a/versions/5.0.0/class_hierarchy.png b/versions/5.0.0/class_hierarchy.png new file mode 100755 index 0000000..87eb39c Binary files /dev/null and b/versions/5.0.0/class_hierarchy.png differ diff --git a/versions/5.0.0/composer.json b/versions/5.0.0/composer.json new file mode 100755 index 0000000..76170b8 --- /dev/null +++ b/versions/5.0.0/composer.json @@ -0,0 +1,28 @@ +{ + "name" : "zohocrm/php-sdk-6.0", + "description" : "Zoho CRM API SDK for PHP", + "type" : "sdk", + "homepage": "https://github.com/zoho/zohocrm-php-sdk-6.0", + "license": "Apache-2.0", + "authors" : [ + { + "name" : "Zoho CRM API Team", + "email" : "support@zohocrm.com", + "homepage" : "https://www.zoho.com/crm/help/customer-support.html", + "role" : "Developer" + } + ], + "require" : { + "php" : ">=7.0", + "ext-json" : "*", + "ext-curl" : "*" + }, + "require-dev" : { + "phpunit/phpunit" : ">=5.7" + }, + "autoload" : { + "psr-4" : { + "" : "src/" + } + } +} \ No newline at end of file diff --git a/versions/5.0.0/samples/record/AssignTerritoriesToMultipleRecords.php b/versions/5.0.0/samples/record/AssignTerritoriesToMultipleRecords.php new file mode 100644 index 0000000..071cac1 --- /dev/null +++ b/versions/5.0.0/samples/record/AssignTerritoriesToMultipleRecords.php @@ -0,0 +1,102 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function assignTerritoriesToMultipleRecords($moduleAPIName) + { + $recordOperations = new RecordOperations($moduleAPIName); + $request = new BodyWrapper(); + $records = []; + $record1 = new Record(); + $record1->setId("3477061121072"); + /* + * Call addKeyValue method that takes two arguments + * 1 -> A string that is the Field's API Name + * 2 -> Value + */ + $territory = new Territory(); + $territory->setId("34770613051397"); + $record1->addKeyValue("Territories", [$territory]); + array_push($records, $record1); + $request->setData($records); + $response = $recordOperations->assignTerritoriesToMultipleRecords($request); + if ($response != null) { + echo ("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + $actionHandler = $response->getObject(); + if ($actionHandler instanceof ActionWrapper) { + $actionWrapper = $actionHandler; + $actionResponses = $actionWrapper->getData(); + foreach ($actionResponses as $actionResponse) { + if ($actionResponse instanceof SuccessResponse) { + $successResponse = $actionResponse; + echo ("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo ("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($successResponse->getDetails() as $key => $value) { + echo ($key . " : "); + print_r($value); + echo ("\n"); + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } + else if ($actionResponse instanceof APIException) { + $exception = $actionResponse; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } + else if ($actionHandler instanceof APIException) { + $exception = $actionHandler; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { //If response is not as expected + print_r($response); + } + } + } +} +$moduleAPIName="leads"; +AssignTerritoriesToMultipleRecords::initialize(); +AssignTerritoriesToMultipleRecords::assignTerritoriesToMultipleRecords($moduleAPIName); diff --git a/versions/5.0.0/samples/record/AssignTerritoryToRecord.php b/versions/5.0.0/samples/record/AssignTerritoryToRecord.php new file mode 100644 index 0000000..339e8c3 --- /dev/null +++ b/versions/5.0.0/samples/record/AssignTerritoryToRecord.php @@ -0,0 +1,102 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function assignTerritoryToRecord($moduleAPIName, $id) + { + $recordOperations = new RecordOperations($moduleAPIName); + $request = new BodyWrapper(); + $records = array(); + $record1 = new Record(); + /* + * Call addKeyValue method that takes two arguments + * 1 -> A string that is the Field's API Name + * 2 -> Value + */ + $territory = new Territory(); + $territory->setId("34770613051397"); + $record1->addKeyValue("Territories", [$territory]); + array_push($records, $record1); + $request->setData($records); + $response = $recordOperations->assignTerritoryToRecord($id, $request); + if ($response != null) { + echo ("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + $actionHandler = $response->getObject(); + if ($actionHandler instanceof ActionWrapper) { + $actionWrapper = $actionHandler; + $actionResponses = $actionWrapper->getData(); + foreach ($actionResponses as $actionResponse) { + if ($actionResponse instanceof SuccessResponse) { + $successResponse = $actionResponse; + echo ("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo ("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($successResponse->getDetails() as $key => $value) { + echo ($key . " : "); + print_r($value); + echo ("\n"); + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } + else if ($actionResponse instanceof APIException) { + $exception = $actionResponse; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } + else if ($actionHandler instanceof APIException) { + $exception = $actionHandler; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName = "leads"; +$id = "3477061182671"; +AssignTerritoryToRecord::initialize(); +AssignTerritoryToRecord::assignTerritoryToRecord($moduleAPIName,$id); diff --git a/versions/5.0.0/samples/record/CreateRecords.php b/versions/5.0.0/samples/record/CreateRecords.php new file mode 100644 index 0000000..63963e0 --- /dev/null +++ b/versions/5.0.0/samples/record/CreateRecords.php @@ -0,0 +1,336 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function createRecords(string $moduleAPIName) + { + $recordOperations = new RecordOperations($moduleAPIName); + $bodyWrapper = new BodyWrapper(); + $records = array(); + $record1 = new Record(); + /* + * Call addFieldValue method that takes two arguments + * 1 -> Call Field "." and choose the module from the displayed list and press "." and choose the field name from the displayed list. + * 2 -> Value + */ + // Leads start + $record1->addFieldValue(Leads::City(), "City"); + $record1->addFieldValue(Leads::LastName(), "FROm PHP"); + $record1->addFieldValue(Leads::FirstName(), "First Name"); + $record1->addFieldValue(Leads::Company(), "KKRNP"); + $recordOwner = new MinifiedUser(); + $recordOwner->setEmail("abc@zoho.com"); + $record1->addFieldValue(Leads::Owner(), $recordOwner); + // Leads end + + //Custom fields + /* + * Call addKeyValue method that takes two arguments + * 1 -> A string that is the Field's API Name + * 2 -> Value + */ + $record1->addKeyValue("CustomField", "Value"); + $record1->addKeyValue("Pick", new Choice("true")); + $record = new Record(); + $record->addKeyValue("id", "44024801099117"); + $record1->addKeyValue("Lookup_1", $record); + $user = new MinifiedUser(); + $user->setId("4402482541"); + $record1->addKeyValue("User_1", $user); + + $multi_select_record = new Record(); + $multi_select_record->setId("347706112966050"); + $linkingRecord = new Record(); + $linkingRecord->addKeyValue("Multi_Select_Lookup_1", $multi_select_record); + $record1->addKeyValue("Multi_Select_Lookup_1", [$linkingRecord]); + + $subformList = array(); + $subform = new Record(); + $subform->addKeyValue("customfield", "customValue"); + $user1 = new MinifiedUser(); + $user1->setId("4402482541"); + $subform->addKeyValue("Userfield", $user1); + array_push($subformList, $subform); + $record1->addKeyValue("Subform_2", $subformList); + + $record1->addKeyValue("Multiselect", array(new Choice("Option 1"), new Choice("Option 2"))); + $record1->addKeyValue("Datetime3", date_create("2023-06-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get()))); + $record1->addKeyValue("Date_1", (new \DateTime('2021-03-08'))); + $record1->addKeyValue("Subject", "From PHP"); + $record1->addKeyValue("External", "TestExternal123"); + $taxes = array(); + $tax = new Tax(); + $tax->setValue("MyTax1123 - 10.0 %"); + array_push($taxes, $tax); + $record1->addKeyValue("Tax", $taxes); + $record1->addKeyValue("Product_Name", "AutomatedSDK"); + $record1->addKeyValue("Products_External", "Products_External"); + + $imageUpload = new ImageUpload(); + $imageUpload->setFileIdS("ae9c7cefa4183e275ffade3f0ff"); + $record1->addKeyValue("Image_Upload", [$imageUpload]); + + $fileDetails = array(); + $fileDetail1 = new FileDetails(); + $fileDetail1->setFileIdS("ae9c7cefa418ae8b6161a4df6e2c0dc1f0f80"); + array_push($fileDetails, $fileDetail1); + $fileDetail2 = new FileDetails(); + $fileDetail2->setFileIdS("ae9c7cefa418ae745678b577297a3b3"); + array_push($fileDetails, $fileDetail2); + $fileDetail3 = new FileDetails(); + $fileDetail3->setFileIdS("ae9c7cefa418aecb609f1ba7bd4aee6eb"); + array_push($fileDetails, $fileDetail3); + $record1->addKeyValue("File_Upload", $fileDetails); + // Custom fields end + + // Deals start + $record1->addFieldValue(Deals::Stage(), new Choice("Qualification")); + $record1->addFieldValue(Deals::DealName(), "deal_name"); + $record1->addFieldValue(Deals::Description(), "deals description"); + $record1->addFieldValue(Deals::ClosingDate(), new \DateTime("2021-06-02")); + $record1->addFieldValue(Deals::Amount(), 50.7); + $accounts = new Record(); + $accounts->addKeyValue("id", "3477061058489"); + $record1->addFieldValue(Accounts::AccountName(), $accounts); + $record1->addFieldValue(Deals::AccountName(), $accounts); + $record1->addFieldValue(Deals::Pipeline(), new Choice("Qualification")); + // Deals end + + /** Following methods are being used only by Inventory modules */ + $record1->addFieldValue(Purchase_Orders::Subject(), "TestPHP SDK"); + $vendorName = new Record(); + $vendorName->addFieldValue(Vendors::id(), "3477061072471"); + $record1->addFieldValue(Purchase_Orders::VendorName(), $vendorName); + $contactName = new Record(); + $contactName->addFieldValue(Contacts::id(), "3477061113834"); + $record1->addFieldValue(Purchase_Orders::ContactName(), $contactName); + $accountName = new Record(); + $accountName->addKeyValue("name", "automatedAccount"); + $record1->addFieldValue(Quotes::AccountName(), $accountName); + $record1->addKeyValue("Discount", 10.5); + $inventoryLineItemList = array(); + $inventoryLineItem = new Record(); + $lineItemProduct = new LineItemProduct(); + $lineItemProduct->setId("3477061053569"); + // $lineItemProduct->addKeyValue("Products_External", "Products_External"); + $inventoryLineItem->addKeyValue("Product_Name", $lineItemProduct); + $inventoryLineItem->addKeyValue("Quantity", 1.5); + $inventoryLineItem->addKeyValue("Description", "productDescription"); + $inventoryLineItem->addKeyValue("ListPrice", 10.0); + $inventoryLineItem->addKeyValue("Discount", "5%"); + $productLineTaxes = array(); + $productLineTax = new LineTax(); + $productLineTax->setName("MyTax2156"); + $productLineTax->setPercentage(20.0); + array_push($productLineTaxes, $productLineTax); + $inventoryLineItem->addKeyValue("Line_Tax", $productLineTaxes); + array_push($inventoryLineItemList, $inventoryLineItem); + $record1->addKeyValue("Purchase_Items", $inventoryLineItemList); + $lineTaxes = array(); + $lineTax = new LineTax(); + $lineTax->setName("MyTax2156 - 12.0 %"); + $lineTax->setPercentage(20.0); + array_push($lineTaxes, $lineTax); + $record1->addKeyValue('$line_tax', $lineTaxes); + /** End Inventory **/ + + /** Following methods are being used only by Activity modules */ + // Tasks,Calls,Events + $record1->addFieldValue(Tasks::Subject(), "TestPHP SDK"); + $record1->addFieldValue(Tasks::Description(), "Test Task"); + $record1->addKeyValue("Currency", new Choice("INR")); + $remindAt = new RemindAt(); + $remindAt->setAlarm("FREQ=DAILY;INTERVAL=10;UNTIL=2020-08-14;DTSTART=2020-07-03"); + $record1->addFieldValue(Tasks::RemindAt(), $remindAt); + $whoId = new Record(); + $whoId->setId("3477061113834"); + $record1->addFieldValue(Tasks::WhoId(), $whoId); + $record1->addFieldValue(Tasks::Status(), new Choice("Waiting for input")); + $record1->addFieldValue(Tasks::DueDate(), new \DateTime('2021-03-08')); + $record1->addFieldValue(Tasks::Priority(), new Choice("High")); + $record1->addKeyValue('$se_module', "Accounts"); + $whatId = new Record(); + $whatId->setId("3477061113831"); + $record1->addFieldValue(Tasks::WhatId(), $whatId); + + // Events + /** Recurring Activity can be provided in any activity module*/ + $recurringActivity = new RecurringActivity(); + $recurringActivity->setRrule("FREQ=DAILY;INTERVAL=10;UNTIL=2020-08-14;DTSTART=2020-07-03"); + $record1->addFieldValue(Events::RecurringActivity(), $recurringActivity); + $record1->addFieldValue(Events::Description(), "Test Events"); + $startdatetime = date_create("2020-06-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get())); + $record1->addFieldValue(Events::StartDateTime(), $startdatetime); + $participants = array(); + $participant1 = new Participants(); + $participant1->setEmail("abc@zoho.com"); + $participant1->setType("email"); + array_push($participants, $participant1); + $participant2 = new Participants(); + $participant2->addKeyValue("participant", "3477061190301"); + $participant2->addKeyValue("type", "lead"); + array_push($participants, $participant2); + $record1->addFieldValue(Events::Participants(), $participants); + $record1->addKeyValue('$send_notification', true); + $record1->addFieldValue(Events::EventTitle(), "From PHP"); + $enddatetime = date_create("2020-07-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get())); + $record1->addFieldValue(Events::EndDateTime(), $enddatetime); + $record1->addFieldValue(Events::CheckInStatus(), "PLANNED"); + $reminderList = array(); + $remindAt = new Reminder(); + $remindAt->setPeriod("minutes"); + $remindAt->setUnit(15); + array_push($reminderList, $remindAt); + $remindAt1 = new Reminder(); + $remindAt1->setPeriod("days"); + $remindAt1->setUnit(1); + $remindAt1->setTime("10:30"); + array_push($reminderList, $remindAt1); + $record1->addFieldValue(Events::RemindAt(), $reminderList); + $record1->addKeyValue('$se_module', "Leads"); + $whatId = new Record(); + $whatId->setId("3477061190301"); + $record1->addFieldValue(Events::WhatId(), $whatId); + $record1->addFieldValue(Tasks::WhatId(), $whatId); + $record1->addFieldValue(Calls::CallType(), new Choice("Outbound")); + $record1->addFieldValue(Calls::CallStartTime(), date_create("2020-07-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get()))); + /** End Activity **/ + + /** Following methods are being used only by Price_Books modules */ + $pricingDetails = array(); + $pricingDetail1 = new PricingDetails(); + $pricingDetail1->setFromRange(1.0); + $pricingDetail1->setToRange(5.0); + $pricingDetail1->setDiscount(2.0); + array_push($pricingDetails, $pricingDetail1); + $pricingDetail2 = new PricingDetails(); + $pricingDetail2->addKeyValue("from_range", 6.0); + $pricingDetail2->addKeyValue("to_range", 11.0); + $pricingDetail2->addKeyValue("discount", 3.0); + array_push($pricingDetails, $pricingDetail2); + $record1->addFieldValue(Price_Books::PricingDetails(), $pricingDetails); + $record1->addKeyValue("Email", "user1223@zoho.com"); + $record1->addFieldValue(Price_Books::Description(), "TEST"); + $record1->addFieldValue(Price_Books::PriceBookName(), "book_name"); + $record1->addFieldValue(Price_Books::PricingModel(), new Choice("Flat")); + $tag = new Tag(); + $tag->setName("Testtask"); + $record1->setTag([$tag]); + + // used when GDPR is enabled + $dataConsent = new Consent(); + $dataConsent->setConsentRemarks("Approved"); + $dataConsent->setConsentThrough("Email"); + $dataConsent->setContactThroughEmail(true); + $dataConsent->setContactThroughSocial(false); + $dataConsent->setContactThroughPhone(true); + $dataConsent->setContactThroughSurvey(true); + $dataConsent->setConsentDate(new \DateTime('2023-10-10')); + $dataConsent->setDataProcessingBasis("Obtained"); + $record1->addKeyValue("Data_Processing_Basis_Details", $dataConsent); + + array_push($records, $record1); + $bodyWrapper->setData($records); + $trigger = array("approval", "workflow", "blueprint"); + $bodyWrapper->setTrigger($trigger); + $bodyWrapper->setLarId("347706187515"); + + $headerInstance = new HeaderMap(); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Quotes.Quoted_Items.Product_Name.Products_External"); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Products.Products_External"); + $response = $recordOperations->createRecords($bodyWrapper, $headerInstance); + if ($response != null) { + echo ("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + $actionHandler = $response->getObject(); + if ($actionHandler instanceof ActionWrapper) { + $actionWrapper = $actionHandler; + $actionResponses = $actionWrapper->getData(); + foreach ($actionResponses as $actionResponse) { + if ($actionResponse instanceof SuccessResponse) { + $successResponse = $actionResponse; + echo ("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo ("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($successResponse->getDetails() as $key => $value) { + echo ($key . " : "); + print_r($value); + echo ("\n"); + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } + else if ($actionResponse instanceof APIException) { + $exception = $actionResponse; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : "); print_r($value); echo("\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } + else if ($actionHandler instanceof APIException) { + $exception = $actionHandler; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName = "Price_Books"; +CreateRecords::initialize(); +CreateRecords::createRecords($moduleAPIName); diff --git a/versions/5.0.0/samples/record/DeletePhoto.php b/versions/5.0.0/samples/record/DeletePhoto.php new file mode 100644 index 0000000..594be79 --- /dev/null +++ b/versions/5.0.0/samples/record/DeletePhoto.php @@ -0,0 +1,71 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function deletePhoto(string $moduleAPIName, string $recordId) + { + $recordOperations = new RecordOperations($moduleAPIName); + $response = $recordOperations->deletePhoto($recordId); + if ($response != null) { + echo ("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + $fileHandler = $response->getObject(); + if ($fileHandler instanceof SuccessResponse) { + $successResponse = $fileHandler; + echo ("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo ("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo ("Details: "); + if ($successResponse->getDetails() != null) { + foreach ($successResponse->getDetails() as $keyName => $keyValue) { + echo ($keyName . ": " . $keyValue . "\n"); + } + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } + else if ($fileHandler instanceof APIException) { + $exception = $fileHandler; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + if ($exception->getDetails() != null) { + foreach ($exception->getDetails() as $keyName => $keyValue) { + echo ($keyName . ": " . $keyValue . "\n"); + } + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName = "Leads"; +$recordId = "3477002"; +DeletePhoto::initialize(); +DeletePhoto::deletePhoto($moduleAPIName,$recordId); diff --git a/versions/5.0.0/samples/record/DeleteRecord.php b/versions/5.0.0/samples/record/DeleteRecord.php new file mode 100644 index 0000000..338c27d --- /dev/null +++ b/versions/5.0.0/samples/record/DeleteRecord.php @@ -0,0 +1,92 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function deleteRecord(string $moduleAPIName, string $recordId) + { + $recordOperations = new RecordOperations($moduleAPIName); + $paramInstance = new ParameterMap(); + $paramInstance->add(DeleteRecordParam::wfTrigger(), false); + $headerInstance = new HeaderMap(); + // $headerInstance->add(DeleteRecordHeader::XEXTERNAL(), "Leads.External"); + //Call deleteRecord method that takes paramInstance and recordId as parameter. + $response = $recordOperations->deleteRecord($recordId, $paramInstance, $headerInstance); + if ($response != null) { + echo ("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + $actionHandler = $response->getObject(); + if ($actionHandler instanceof ActionWrapper) { + $actionWrapper = $actionHandler; + $actionResponses = $actionWrapper->getData(); + foreach ($actionResponses as $actionResponse) { + if ($actionResponse instanceof SuccessResponse) { + $successResponse = $actionResponse; + echo ("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo ("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($successResponse->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } + else if ($actionResponse instanceof APIException) { + $exception = $actionResponse; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } + else if ($actionHandler instanceof APIException) { + $exception = $actionHandler; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName = "Leads"; +$recordId = "3477002"; +DeleteRecord::initialize(); +DeleteRecord::deleteRecord($moduleAPIName,$recordId); diff --git a/versions/5.0.0/samples/record/DeleteRecordUsingExternalId.php b/versions/5.0.0/samples/record/DeleteRecordUsingExternalId.php new file mode 100644 index 0000000..a421dc7 --- /dev/null +++ b/versions/5.0.0/samples/record/DeleteRecordUsingExternalId.php @@ -0,0 +1,92 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function deleteRecordUsingExternalId(string $moduleAPIName, string $externalFieldValue) + { + $recordOperations = new RecordOperations($moduleAPIName); + $paramInstance = new ParameterMap(); + $paramInstance->add(DeleteRecordParam::wfTrigger(), false); + $headerInstance = new HeaderMap(); + $headerInstance->add(DeleteRecordHeader::XEXTERNAL(), "Leads.External"); + $response = $recordOperations->deleteRecordUsingExternalId($externalFieldValue, $paramInstance, $headerInstance); + if ($response != null) { + echo ("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + $actionHandler = $response->getObject(); + if ($actionHandler instanceof ActionWrapper) { + $actionWrapper = $actionHandler; + $actionResponses = $actionWrapper->getData(); + foreach ($actionResponses as $actionResponse) { + if ($actionResponse instanceof SuccessResponse) { + $successResponse = $actionResponse; + echo ("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo ("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($successResponse->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } + else if ($actionResponse instanceof APIException) { + $exception = $actionResponse; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } + else if ($actionHandler instanceof APIException) { + $exception = $actionHandler; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName="leads"; +$externalFieldValue="external"; +DeleteRecordUsingExternalId::initialize(); +DeleteRecordUsingExternalId::deleteRecordUsingExternalId($moduleAPIName,$externalFieldValue); diff --git a/versions/5.0.0/samples/record/DeleteRecords.php b/versions/5.0.0/samples/record/DeleteRecords.php new file mode 100644 index 0000000..d1bc920 --- /dev/null +++ b/versions/5.0.0/samples/record/DeleteRecords.php @@ -0,0 +1,94 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function deleteRecords(string $moduleAPIName, array $recordIds) + { + $recordOperations = new RecordOperations($moduleAPIName); + $paramInstance = new ParameterMap(); + foreach ($recordIds as $id) { + $paramInstance->add(DeleteRecordsParam::ids(), $id); + } + $paramInstance->add(DeleteRecordsParam::wfTrigger(), true); + $headerInstance = new HeaderMap(); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Leads.External");t + $response = $recordOperations->deleteRecords($paramInstance, $headerInstance); + if ($response != null) { + echo ("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + $actionHandler = $response->getObject(); + if ($actionHandler instanceof ActionWrapper) { + $actionWrapper = $actionHandler; + $actionResponses = $actionWrapper->getData(); + foreach ($actionResponses as $actionResponse) { + if ($actionResponse instanceof SuccessResponse) { + $successResponse = $actionResponse; + echo ("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo ("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($successResponse->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } + else if ($actionResponse instanceof APIException) { + $exception = $actionResponse; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } + else if ($actionHandler instanceof APIException) { + $exception = $actionHandler; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName="leads"; +$recordIds=array("330892038487434","330892038481234"); +DeleteRecords::initialize(); +DeleteRecords::deleteRecords($moduleAPIName,$recordIds); diff --git a/versions/5.0.0/samples/record/GetDeletedRecords.php b/versions/5.0.0/samples/record/GetDeletedRecords.php new file mode 100644 index 0000000..3247f90 --- /dev/null +++ b/versions/5.0.0/samples/record/GetDeletedRecords.php @@ -0,0 +1,108 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function getDeletedRecords(string $moduleAPIName) + { + $recordOperations = new RecordOperations($moduleAPIName); + $paramInstance = new ParameterMap(); + $paramInstance->add(GetDeletedRecordsParam::type(), "all"); //all, recycle, permanent + $paramInstance->add(GetDeletedRecordsParam::page(), 1); + $paramInstance->add(GetDeletedRecordsParam::perPage(), 2); + $headerInstance = new HeaderMap(); + $ifModifiedSince = date_create("2020-06-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get())); + $headerInstance->add(GetDeletedRecordsHeader::IfModifiedSince(), $ifModifiedSince); + $response = $recordOperations->getDeletedRecords($paramInstance, $headerInstance); + if ($response != null) { + echo ("Status code " . $response->getStatusCode() . "\n"); + if (in_array($response->getStatusCode(), array(204, 304))) { + echo ($response->getStatusCode() == 204 ? "No Content\n" : "Not Modified\n"); + return; + } + if ($response->isExpected()) { + $deletedRecordsHandler = $response->getObject(); + if ($deletedRecordsHandler instanceof DeletedRecordsWrapper) { + $deletedRecordsWrapper = $deletedRecordsHandler; + $deletedRecords = $deletedRecordsWrapper->getData(); + foreach ($deletedRecords as $deletedRecord) { + $deletedBy = $deletedRecord->getDeletedBy(); + if ($deletedBy != null) { + echo ("DeletedRecord Deleted By User-Name: " . $deletedBy->getName() . "\n"); + echo ("DeletedRecord Deleted By User-ID: " . $deletedBy->getId() . "\n"); + } + echo ("DeletedRecord ID: " . $deletedRecord->getId() . "\n"); + echo ("DeletedRecord DisplayName: " . $deletedRecord->getDisplayName() . "\n"); + echo ("DeletedRecord Type: " . $deletedRecord->getType() . "\n"); + $createdBy = $deletedRecord->getCreatedBy(); + if ($createdBy != null) { + echo ("DeletedRecord Created By User-Name: " . $createdBy->getName() . "\n"); + echo ("DeletedRecord Created By User-ID: " . $createdBy->getId() . "\n"); + } + echo ("DeletedRecord DeletedTime: "); + print_r($deletedRecord->getDeletedTime()); + echo ("\n"); + } + $info = $deletedRecordsWrapper->getInfo(); + if ($info != null) { + if ($info->getPerPage() != null) { + echo ("Deleted Record Info PerPage: " . $info->getPerPage() . "\n"); + } + if ($info->getCount() != null) { + echo ("Deleted Record Info Count: " . $info->getCount() . "\n"); + } + if ($info->getPage() != null) { + echo ("Deleted Record Info Page: " . $info->getPage() . "\n"); + } + if ($info->getMoreRecords() != null) { + echo ("Deleted Record Info MoreRecords: " . $info->getMoreRecords() . "\n"); + } + } + } + else if ($deletedRecordsHandler instanceof APIException) { + $exception = $deletedRecordsHandler; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName="leads"; +GetDeletedRecords::initialize(); +GetDeletedRecords::getDeletedRecords($moduleAPIName); diff --git a/versions/5.0.0/samples/record/GetMassUpdateStatus.php b/versions/5.0.0/samples/record/GetMassUpdateStatus.php new file mode 100644 index 0000000..eb8541b --- /dev/null +++ b/versions/5.0.0/samples/record/GetMassUpdateStatus.php @@ -0,0 +1,95 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function getMassUpdateStatus(string $moduleAPIName, string $jobId) + { + $recordOperations = new RecordOperations($moduleAPIName); + $paramInstance = new ParameterMap(); + $paramInstance->add(GetMassUpdateStatusParam::jobId(), $jobId); + $response = $recordOperations->getMassUpdateStatus($paramInstance); + if ($response != null) { + echo ("Status code " . $response->getStatusCode() . "\n"); + if (in_array($response->getStatusCode(), array(204, 304))) { + echo ($response->getStatusCode() == 204 ? "No Content\n" : "Not Modified\n"); + return; + } + if ($response->isExpected()) { + $massUpdateResponseHandler = $response->getObject(); + if ($massUpdateResponseHandler instanceof MassUpdateResponseWrapper) { + $massUpdateResponseWrapper = $massUpdateResponseHandler; + $massUpdateResponses = $massUpdateResponseWrapper->getData(); + foreach ($massUpdateResponses as $massUpdateResponse) { + if ($massUpdateResponse instanceof MassUpdate) { + $massUpdate = $massUpdateResponse; + echo ("MassUpdate Status: " . $massUpdate->getStatus()->getValue() . "\n"); + echo ("MassUpdate FailedCount: " . $massUpdate->getFailedCount() . "\n"); + echo ("MassUpdate UpdatedCount: " . $massUpdate->getUpdatedCount() . "\n"); + echo ("MassUpdate NotUpdatedCount: " . $massUpdate->getNotUpdatedCount() . "\n"); + echo ("MassUpdate TotalCount: " . $massUpdate->getTotalCount() . "\n"); + } + else if ($massUpdateResponse instanceof APIException) { + $exception = $massUpdateResponse; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + if ($exception->getDetails() != null) { + echo ("Details: "); + foreach ($exception->getDetails() as $keyName => $keyValue) { + echo ($keyName . ": " . $keyValue . "\n"); + } + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } + else if ($massUpdateResponseHandler instanceof APIException) { + $exception = $massUpdateResponseHandler; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + if ($exception->getDetails() != null) { + echo ("Details: "); + foreach ($exception->getDetails() as $keyName => $keyValue) { + echo ($keyName . ": " . $keyValue . "\n"); + } + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName = "leads"; +$jobId = "34770615177002"; +GetMassUpdateStatus::initialize(); +GetMassUpdateStatus::getMassUpdateStatus($moduleAPIName,$jobId); diff --git a/versions/5.0.0/samples/record/GetPhoto.php b/versions/5.0.0/samples/record/GetPhoto.php new file mode 100644 index 0000000..7a03c99 --- /dev/null +++ b/versions/5.0.0/samples/record/GetPhoto.php @@ -0,0 +1,74 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function getPhoto(string $moduleAPIName, string $recordId, string $destinationFolder) + { + $recordOperations = new RecordOperations($moduleAPIName); + $response = $recordOperations->getPhoto($recordId); + if ($response != null) { + echo ("Status code " . $response->getStatusCode() . "\n"); + if (in_array($response->getStatusCode(), array(204, 304))) { + echo ($response->getStatusCode() == 204 ? "No Content\n" : "Not Modified\n"); + return; + } + if ($response->isExpected()) { + $downloadHandler = $response->getObject(); + if ($downloadHandler instanceof FileBodyWrapper) { + $fileBodyWrapper = $downloadHandler; + $streamWrapper = $fileBodyWrapper->getFile(); + //Create a file instance with the absolute_file_path + print_r($streamWrapper->getName()); + $fp = fopen($destinationFolder . "/" . $streamWrapper->getName(), "w"); + $stream = $streamWrapper->getStream(); + fputs($fp, $stream); + fclose($fp); + } + else if ($downloadHandler instanceof APIException) { + $exception = $downloadHandler; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + if ($exception->getDetails() != null) { + echo ("Details: \n"); + foreach ($exception->getDetails() as $keyName => $keyValue) { + echo ($keyName . ": " . $keyValue . "\n"); + } + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName = "Leads"; +$recordId = "3477061194181"; +$destinationFolder = "/Users/Documents/file"; +GetPhoto::initialize(); +GetPhoto::getPhoto($moduleAPIName,$recordId,$destinationFolder); diff --git a/versions/5.0.0/samples/record/GetRecord.php b/versions/5.0.0/samples/record/GetRecord.php new file mode 100644 index 0000000..dd0834d --- /dev/null +++ b/versions/5.0.0/samples/record/GetRecord.php @@ -0,0 +1,339 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function getRecord(string $moduleAPIName, string $recordId, string $destinationFolder) + { + $recordOperations = new RecordOperations($moduleAPIName); + $paramInstance = new ParameterMap(); + $paramInstance->add(GetRecordParam::approved(), "false"); + $paramInstance->add(GetRecordParam::converted(), "false"); + $fieldNames = array("Deal_Name", "Company"); + foreach($fieldNames as $fieldName) + { + $paramInstance->add(GetRecordParam::fields(), $fieldName); + } + $startdatetime = date_create("2020-06-27T15:10:00"); + $paramInstance->add(GetRecordParam::startDateTime(), $startdatetime); + $enddatetime = date_create("2020-06-29T15:10:00"); + $paramInstance->add(GetRecordParam::endDateTime(), $enddatetime); + $paramInstance->add(GetRecordParam::territoryId(), "34770613051357"); + $paramInstance->add(GetRecordParam::includeChild(), "true"); + $headerInstance = new HeaderMap(); + // $ifmodifiedsince = date_create("2020-06-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get())); + // $headerInstance->add(GetRecordHeader::IfModifiedSince(), $ifmodifiedsince); + // $headerInstance->add(GetRecordHeader::XEXTERNAL(), "Leads.External"); + //Call getRecord method that takes paramInstance, moduleAPIName and recordID as parameter + $response = $recordOperations->getRecord($recordId, $paramInstance, $headerInstance); + if ($response != null) { + echo ("Status code " . $response->getStatusCode() . "\n"); + if (in_array($response->getStatusCode(), array(204, 304))) { + echo ($response->getStatusCode() == 204 ? "No Content\n" : "Not Modified\n"); + return; + } + if ($response->isExpected()) { + $responseHandler = $response->getObject(); + if ($responseHandler instanceof ResponseWrapper) { + $responseWrapper = $responseHandler; + $records = $responseWrapper->getData(); + if ($records != null) { + foreach ($records as $record) { + echo ("Record ID: " . $record->getId() . "\n"); + $createdBy = $record->getCreatedBy(); + if ($createdBy != null) { + echo ("Record Created By User-ID: " . $createdBy->getId() . "\n"); + echo ("Record Created By User-Name: " . $createdBy->getName() . "\n"); + echo ("Record Created By User-Email: " . $createdBy->getEmail() . "\n"); + } + echo ("Record CreatedTime: "); + print_r($record->getCreatedTime()); + echo ("\n"); + $modifiedBy = $record->getModifiedBy(); + if ($modifiedBy != null) { + echo ("Record Modified By User-ID: " . $modifiedBy->getId() . "\n"); + echo ("Record Modified By User-Name: " . $modifiedBy->getName() . "\n"); + echo ("Record Modified By User-Email: " . $modifiedBy->getEmail() . "\n"); + } + echo ("Record ModifiedTime: "); + print_r($record->getModifiedTime()); + echo ("\n"); + $tags = $record->getTag(); + if ($tags != null) { + foreach ($tags as $tag) { + echo ("Record Tag Name: " . $tag->getName() . "\n"); + echo ("Record Tag ID: " . $tag->getId() . "\n"); + } + } + //To get particular field value + echo ("Record Field Value: " . $record->getKeyValue("Last_Name") . "\n"); // FieldApiName + echo ("Record KeyValues : \n"); + foreach ($record->getKeyValues() as $keyName => $value) { + if ($value != null) { + if ((is_array($value) && sizeof($value) > 0) && isset($value[0])) { + if ($value[0] instanceof FileDetails) { + $fileDetails = $value; + foreach ($fileDetails as $fileDetail) { + echo ("Record FileDetails FileIds: " . $fileDetail->getFileIdS() . "\n"); + echo ("Record FileDetails FileNameS: " . $fileDetail->getFileNameS() . "\n"); + echo ("Record FileDetails SizeS: " . $fileDetail->getSizeS() . "\n"); + echo ("Record FileDetails ID: " . $fileDetail->getId() . "\n"); + } + } else if ($value[0] instanceof Choice) { + $choice = $value; + foreach ($choice as $choiceValue) { + echo ("Record " . $keyName . " : " . $choiceValue->getValue() . "\n"); + } + } else if ($value[0] instanceof Tag) { + $tagList = $value; + foreach ($tagList as $tag) { + echo ("Record Tag Name: " . $tag->getName() . "\n"); + echo ("Record Tag ID: " . $tag->getId() . "\n"); + } + } else if ($value[0] instanceof PricingDetails) { + $pricingDetails = $value; + foreach ($pricingDetails as $pricingDetail) { + echo ("Record PricingDetails ToRange: " . $pricingDetail->getToRange() . "\n"); + echo ("Record PricingDetails Discount: " . $pricingDetail->getDiscount() . "\n"); + echo ("Record PricingDetails ID: " . $pricingDetail->getId() . "\n"); + echo ("Record PricingDetails FromRange: " . $pricingDetail->getFromRange() . "\n"); + } + } else if ($value[0] instanceof Participants) { + $participants = $value; + foreach ($participants as $participant) { + echo ("RelatedRecord Participants Name: " . $participant->getName() . "\n"); + echo ("RelatedRecord Participants Invited: " . $participant->getInvited() . "\n"); + echo ("RelatedRecord Participants ID: " . $participant->getId() . "\n"); + echo ("RelatedRecord Participants Type: " . $participant->getType() . "\n"); + echo ("RelatedRecord Participants Participant: " . $participant->getParticipant() . "\n"); + echo ("RelatedRecord Participants Status: " . $participant->getStatus() . "\n"); + } + } else if ($value[0] instanceof Record) { + $recordList = $value; + foreach ($recordList as $record1) { + foreach ($record1->getKeyValues() as $key => $value1) { + echo ($key . " : "); + print_r($value1); + echo ("\n"); + } + } + } else if ($value[0] instanceof LineTax) { + $lineTaxes = $value; + foreach ($lineTaxes as $lineTax) { + echo ("Record ProductDetails LineTax Percentage: " . $lineTax->getPercentage() . "\n"); + echo ("Record ProductDetails LineTax Name: " . $lineTax->getName() . "\n"); + echo ("Record ProductDetails LineTax Id: " . $lineTax->getId() . "\n"); + echo ("Record ProductDetails LineTax Value: " . $lineTax->getValue() . "\n"); + } + } else if ($value[0] instanceof Comment) { + $comments = $value; + foreach ($comments as $comment) { + echo ("Record Comment CommentedBy: " . $comment->getCommentedBy() . "\n"); + echo ("Record Comment CommentedTime: "); + print_r($comment->getCommentedTime()); + echo ("\n"); + echo ("Record Comment CommentContent: " . $comment->getCommentContent() . "\n"); + echo ("Record Comment Id: " . $comment->getId() . "\n"); + } + } else if ($value[0] instanceof Attachment) { + $attachments = $value; + foreach ($attachments as $attachment) { + $owner = $attachment->getOwner(); + if ($owner != null) { + echo ("Record Attachment Owner User-Name: " . $owner->getName() . "\n"); + echo ("Record Attachment Owner User-ID: " . $owner->getId() . "\n"); + echo ("Record Attachment Owner User-Email: " . $owner->getEmail() . "\n"); + } + echo ("Record Attachment Modified Time: "); + print_r($attachment->getModifiedTime()); + echo ("\n"); + echo ("Record Attachment File Name: " . $attachment->getFileName() . "\n"); + echo ("Record Attachment Created Time: "); + print_r($attachment->getCreatedTime()); + echo ("\n"); + echo ("Record Attachment File Size: " . $attachment->getSize() . "\n"); + $parentId = $attachment->getParentId(); + if ($parentId != null) { + echo ("Record Attachment parent record Name: " . $parentId->getName() . "\n"); + echo ("Record Attachment parent record ID: " . $parentId->getId() . "\n"); + } + echo ("Record Attachment is Editable: " . $attachment->getEditable() . "\n"); + echo ("Record Attachment File ID: " . $attachment->getFileId() . "\n"); + echo ("Record Attachment File Type: " . $attachment->getType() . "\n"); + echo ("Record Attachment seModule: " . $attachment->getSeModule() . "\n"); + $modifiedBy = $attachment->getModifiedBy(); + if ($modifiedBy != null) { + echo ("Record Attachment Modified By User-Name: " . $modifiedBy->getName() . "\n"); + echo ("Record Attachment Modified By User-ID: " . $modifiedBy->getId() . "\n"); + echo ("Record Attachment Modified By User-Email: " . $modifiedBy->getEmail() . "\n"); + } + echo ("Record Attachment State: " . $attachment->getState() . "\n"); + echo ("Record Attachment ID: " . $attachment->getId() . "\n"); + $createdBy = $attachment->getCreatedBy(); + if ($createdBy != null) { + echo ("Record Attachment Created By User-Name: " . $createdBy->getName() . "\n"); + echo ("Record Attachment Created By User-ID: " . $createdBy->getId() . "\n"); + echo ("Record Attachment Created By User-Email: " . $createdBy->getEmail() . "\n"); + } + echo ("Record Attachment LinkUrl: " . $attachment->getLinkUrl() . "\n"); + } + } else if ($value[0] instanceof ImageUpload) { + $imageUploads = $value; + foreach ($imageUploads as $imageUpload) { + echo ("RelatedRecord " . $keyName . " Description: " . $imageUpload->getDescriptionS() . "\n"); + echo ("RelatedRecord " . $keyName . " FileIds: " . $imageUpload->getFileIdS() . "\n"); + echo ("RelatedRecord " . $keyName . " FileNameS: " . $imageUpload->getFileNameS() . "\n"); + echo ("RelatedRecord " . $keyName . " PreviewIdS: " . $imageUpload->getPreviewIdS() . "\n"); + echo ("RelatedRecord " . $keyName . " SizeS: " . $imageUpload->getSizeS() . "\n"); + echo ("RelatedRecord " . $keyName . " States: " . $imageUpload->getStateS() . "\n"); + echo ("RelatedRecord " . $keyName . " ID: " . $imageUpload->getId() . "\n"); + echo ("RelatedRecord " . $keyName . " SequenceNumberS: " . $imageUpload->getSequenceNumberS() . "\n"); + } + } else { + echo ($keyName . " : "); + print_r($value); + echo ("\n"); + } + } else if ($value instanceof Layouts) { + $layout = $value; + if ($layout != null) { + echo ("Record " . $keyName . " ID: " . $layout->getId() . "\n"); + echo ("Record " . $keyName . " Name: " . $layout->getName() . "\n"); + } + } else if ($value instanceof MinifiedUser) { + $user = $value; + if ($user != null) { + echo ("Record " . $keyName . " User-ID: " . $user->getId() . "\n"); + echo ("Record " . $keyName . " User-Name: " . $user->getName() . "\n"); + echo ("Record " . $keyName . " User-Email: " . $user->getEmail() . "\n"); + } + } else if ($value instanceof Record) { + $recordValue = $value; + echo ("Record " . $keyName . " ID: " . $recordValue->getId() . "\n"); + echo ("Record " . $keyName . " Name: " . $recordValue->getKeyValue("name") . "\n"); + } else if ($value instanceof Choice) { + $choiceValue = $value; + echo ("Record " . $keyName . " : " . $choiceValue->getValue() . "\n"); + } else if ($value instanceof RemindAt) { + echo ($keyName . ": " . $value->getAlarm() . "\n"); + } else if ($value instanceof RecurringActivity) { + echo ($keyName . " : RRULE" . ": " . $value->getRrule() . "\n"); + } else if ($value instanceof Consent) { + $consent = $value; + echo ("Record Consent ID: " . $consent->getId(). "\n"); + $owner = $consent->getOwner(); + if ($owner != null) { + echo ("Record Consent Owner Name: " . $owner->getName() . "\n"); + echo ("Record Consent Owner ID: " . $owner->getId() . "\n"); + echo ("Record Consent Owner Email: " . $owner->getEmail() . "\n"); + } + $consentCreatedBy = $consent->getCreatedBy(); + if ($consentCreatedBy != null) { + echo ("Record Consent CreatedBy Name: " . $consentCreatedBy->getName() . "\n"); + echo ("Record Consent CreatedBy ID: " . $consentCreatedBy->getId() . "\n"); + echo ("Record Consent CreatedBy Email: " . $consentCreatedBy->getEmail() . "\n"); + } + $consentModifiedBy = $consent->getModifiedBy(); + if ($consentModifiedBy != null) { + echo ("Record Consent ModifiedBy Name: " . $consentModifiedBy->getName() . "\n"); + echo ("Record Consent ModifiedBy ID: " . $consentModifiedBy->getId() . "\n"); + echo ("Record Consent ModifiedBy Email: " . $consentModifiedBy->getEmail() . "\n"); + } + echo ("Record Consent CreatedTime: " . date_format($consent->getCreatedTime(), 'd-m-y-H-i-s') . "\n"); + echo ("Record Consent ModifiedTime: " . date_format($consent->getModifiedTime(), 'd-m-y-H-i-s') . "\n"); + echo ("Record Consent ContactThroughEmail: " . $consent->getContactThroughEmail() . "\n"); + echo ("Record Consent ContactThroughSocial: " . $consent->getContactThroughSocial() . "\n"); + echo ("Record Consent ContactThroughSurvey: " . $consent->getContactThroughSurvey() . "\n"); + echo ("Record Consent ContactThroughPhone: " . $consent->getContactThroughPhone() . "\n"); + echo ("Record Consent MailSentTime: " . date_format($consent->getMailSentTime(), 'd-m-y-H-i-s') . "\n"); + echo ("Record Consent ConsentDate: " . date_format($consent->getConsentDate(), 'd-m-y-H-i-s'). "\n"); + echo ("Record Consent ConsentRemarks: " . $consent->getConsentRemarks() . "\n"); + echo ("Record Consent ConsentThrough: " . $consent->getConsentThrough() . "\n"); + echo ("Record Consent DataProcessingBasis: " . $consent->getDataProcessingBasis() . "\n"); + //To get custom values + echo ("Record Consent Lawful Reason: " . $consent->getKeyValue("Lawful_Reason") . "\n"); + } else { + echo ($keyName . " : "); + print_r($value); + echo ("\n"); + } + } else { + echo ($keyName . " : "); + print_r($value); + echo ("\n"); + } + } + } + } + } else if ($responseHandler instanceof FileBodyWrapper) { + $fileBodyWrapper = $responseHandler; + $streamWrapper = $fileBodyWrapper->getFile(); + //Create a file instance with the absolute_file_path + $fp = fopen($destinationFolder . "/" . $streamWrapper->getName(), "w"); + $stream = $streamWrapper->getStream(); + fputs($fp, $stream); + fclose($fp); + } + else if ($responseHandler instanceof APIException) { + $exception = $responseHandler; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName = "Participants"; +$recordId = "3477061194181"; +$destinationFolder = "users/user_name/documents"; +GetRecord::initialize(); +GetRecord::getRecord($moduleAPIName, $recordId, $destinationFolder); diff --git a/versions/5.0.0/samples/record/GetRecordCount.php b/versions/5.0.0/samples/record/GetRecordCount.php new file mode 100644 index 0000000..98f3873 --- /dev/null +++ b/versions/5.0.0/samples/record/GetRecordCount.php @@ -0,0 +1,68 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function getRecordCount($moduleAPIName) + { + $recordOperations = new RecordOperations($moduleAPIName); + $paramInstance = new ParameterMap(); + $paramInstance->add(RecordCountParam::phone(), "(990) 000-0"); + $response = $recordOperations->recordCount($paramInstance); + if ($response != null) { + echo ("Status code " . $response->getStatusCode() . "\n"); + if (in_array($response->getStatusCode(), array(204, 304))) { + echo ($response->getStatusCode() == 204 ? "No Content\n" : "Not Modified\n"); + return; + } + if ($response->isExpected()) { + $countHandler = $response->getObject(); + if ($countHandler instanceof CountWrapper) { + $countWrapper = $countHandler; + echo ("Record Count: " . $countWrapper->getCount() . "\n"); + } + else if ($countHandler instanceof APIException) { + $exception = $countHandler; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { //If response is not as expected + print_r($response); + } + } + } +} +$moduleAPIName = "Leads"; +GetRecordCount::initialize(); +GetRecordCount::getRecordCount($moduleAPIName); diff --git a/versions/5.0.0/samples/record/GetRecordUsingExternalId.php b/versions/5.0.0/samples/record/GetRecordUsingExternalId.php new file mode 100644 index 0000000..1915f1a --- /dev/null +++ b/versions/5.0.0/samples/record/GetRecordUsingExternalId.php @@ -0,0 +1,339 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function getRecordUsingExternalId(string $moduleAPIName, string $externalFieldValue, string $destinationFolder) + { + $recordOperations = new RecordOperations($moduleAPIName); + $paramInstance = new ParameterMap(); + $paramInstance->add(GetRecordUsingExternalIdParam::approved(), "false"); + $paramInstance->add(GetRecordUsingExternalIdParam::converted(), "false"); + $fieldNames = array("Deal_Name", "Company"); + foreach ($fieldNames as $fieldName) { + $paramInstance->add(GetRecordUsingExternalIdParam::fields(), $fieldName); + } + $startdatetime = date_create("2020-06-27T15:10:00"); + $paramInstance->add(GetRecordUsingExternalIdParam::startDateTime(), $startdatetime); + $enddatetime = date_create("2020-06-29T15:10:00"); + $paramInstance->add(GetRecordUsingExternalIdParam::endDateTime(), $enddatetime); + $paramInstance->add(GetRecordUsingExternalIdParam::territoryId(), "34770613051357"); + $paramInstance->add(GetRecordUsingExternalIdParam::includeChild(), "true"); + $headerInstance = new HeaderMap(); + $ifmodifiedsince = date_create("2020-06-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get())); + $headerInstance->add(GetRecordUsingExternalIdHeader::IfModifiedSince(), $ifmodifiedsince); + // $headerInstance->add(GetRecordHeader::XEXTERNAL(), "Leads.External"); + //Call getRecordUsingExternalId method that takes externalFieldValue, moduleAPIName, paramInstance and headerInstance as parameter + $response = $recordOperations->getRecordUsingExternalId($externalFieldValue, $paramInstance, $headerInstance); + if ($response != null) { + echo ("Status code " . $response->getStatusCode() . "\n"); + if (in_array($response->getStatusCode(), array(204, 304))) { + echo ($response->getStatusCode() == 204 ? "No Content\n" : "Not Modified\n"); + return; + } + if ($response->isExpected()) { + $responseHandler = $response->getObject(); + if ($responseHandler instanceof ResponseWrapper) { + $responseWrapper = $responseHandler; + $records = $responseWrapper->getData(); + if ($records != null) { + foreach ($records as $record) { + echo ("Record ID: " . $record->getId() . "\n"); + $createdBy = $record->getCreatedBy(); + if ($createdBy != null) { + echo ("Record Created By User-ID: " . $createdBy->getId() . "\n"); + echo ("Record Created By User-Name: " . $createdBy->getName() . "\n"); + echo ("Record Created By User-Email: " . $createdBy->getEmail() . "\n"); + } + echo ("Record CreatedTime: "); + print_r($record->getCreatedTime()); + echo ("\n"); + $modifiedBy = $record->getModifiedBy(); + if ($modifiedBy != null) { + echo ("Record Modified By User-ID: " . $modifiedBy->getId() . "\n"); + echo ("Record Modified By User-Name: " . $modifiedBy->getName() . "\n"); + echo ("Record Modified By User-Email: " . $modifiedBy->getEmail() . "\n"); + } + echo ("Record ModifiedTime: "); + print_r($record->getModifiedTime()); + echo ("\n"); + $tags = $record->getTag(); + if ($tags != null) { + foreach ($tags as $tag) { + echo ("Record Tag Name: " . $tag->getName() . "\n"); + echo ("Record Tag ID: " . $tag->getId() . "\n"); + } + } + //To get particular field value + echo ("Record Field Value: " . $record->getKeyValue("Last_Name") . "\n"); // FieldApiName + echo ("Record KeyValues : \n"); + foreach ($record->getKeyValues() as $keyName => $value) { + if ($value != null) { + if ((is_array($value) && sizeof($value) > 0) && isset($value[0])) { + if ($value[0] instanceof FileDetails) { + $fileDetails = $value; + foreach ($fileDetails as $fileDetail) { + echo ("Record FileDetails FileIds: " . $fileDetail->getFileIdS() . "\n"); + echo ("Record FileDetails FileNameS: " . $fileDetail->getFileNameS() . "\n"); + echo ("Record FileDetails SizeS: " . $fileDetail->getSizeS() . "\n"); + echo ("Record FileDetails ID: " . $fileDetail->getId() . "\n"); + } + } else if ($value[0] instanceof Choice) { + $choice = $value; + foreach ($choice as $choiceValue) { + echo ("Record " . $keyName . " : " . $choiceValue->getValue() . "\n"); + } + } else if ($value[0] instanceof Tag) { + $tagList = $value; + foreach ($tagList as $tag) { + echo ("Record Tag Name: " . $tag->getName() . "\n"); + echo ("Record Tag ID: " . $tag->getId() . "\n"); + } + } else if ($value[0] instanceof PricingDetails) { + $pricingDetails = $value; + foreach ($pricingDetails as $pricingDetail) { + echo ("Record PricingDetails ToRange: " . $pricingDetail->getToRange() . "\n"); + echo ("Record PricingDetails Discount: " . $pricingDetail->getDiscount() . "\n"); + echo ("Record PricingDetails ID: " . $pricingDetail->getId() . "\n"); + echo ("Record PricingDetails FromRange: " . $pricingDetail->getFromRange() . "\n"); + } + } else if ($value[0] instanceof Participants) { + $participants = $value; + foreach ($participants as $participant) { + echo ("RelatedRecord Participants Name: " . $participant->getName() . "\n"); + echo ("RelatedRecord Participants Invited: " . $participant->getInvited() . "\n"); + echo ("RelatedRecord Participants ID: " . $participant->getId() . "\n"); + echo ("RelatedRecord Participants Type: " . $participant->getType() . "\n"); + echo ("RelatedRecord Participants Participant: " . $participant->getParticipant() . "\n"); + echo ("RelatedRecord Participants Status: " . $participant->getStatus() . "\n"); + } + } else if ($value[0] instanceof Record) { + $recordList = $value; + foreach ($recordList as $record1) { + foreach ($record1->getKeyValues() as $key => $value1) { + echo ($key . " : "); + print_r($value1); + echo ("\n"); + } + } + } else if ($value[0] instanceof LineTax) { + $lineTaxes = $value; + foreach ($lineTaxes as $lineTax) { + echo ("Record ProductDetails LineTax Percentage: " . $lineTax->getPercentage() . "\n"); + echo ("Record ProductDetails LineTax Name: " . $lineTax->getName() . "\n"); + echo ("Record ProductDetails LineTax Id: " . $lineTax->getId() . "\n"); + echo ("Record ProductDetails LineTax Value: " . $lineTax->getValue() . "\n"); + } + } else if ($value[0] instanceof Comment) { + $comments = $value; + foreach ($comments as $comment) { + echo ("Record Comment CommentedBy: " . $comment->getCommentedBy() . "\n"); + echo ("Record Comment CommentedTime: "); + print_r($comment->getCommentedTime()); + echo ("\n"); + echo ("Record Comment CommentContent: " . $comment->getCommentContent() . "\n"); + echo ("Record Comment Id: " . $comment->getId() . "\n"); + } + } else if ($value[0] instanceof Attachment) { + $attachments = $value; + foreach ($attachments as $attachment) { + $owner = $attachment->getOwner(); + if ($owner != null) { + echo ("Record Attachment Owner User-Name: " . $owner->getName() . "\n"); + echo ("Record Attachment Owner User-ID: " . $owner->getId() . "\n"); + echo ("Record Attachment Owner User-Email: " . $owner->getEmail() . "\n"); + } + echo ("Record Attachment Modified Time: "); + print_r($attachment->getModifiedTime()); + echo ("\n"); + echo ("Record Attachment File Name: " . $attachment->getFileName() . "\n"); + echo ("Record Attachment Created Time: "); + print_r($attachment->getCreatedTime()); + echo ("\n"); + echo ("Record Attachment File Size: " . $attachment->getSize() . "\n"); + $parentId = $attachment->getParentId(); + if ($parentId != null) { + echo ("Record Attachment parent record Name: " . $parentId->getName() . "\n"); + echo ("Record Attachment parent record ID: " . $parentId->getId() . "\n"); + } + echo ("Record Attachment is Editable: " . $attachment->getEditable() . "\n"); + echo ("Record Attachment File ID: " . $attachment->getFileId() . "\n"); + echo ("Record Attachment File Type: " . $attachment->getType() . "\n"); + echo ("Record Attachment seModule: " . $attachment->getSeModule() . "\n"); + $modifiedBy = $attachment->getModifiedBy(); + if ($modifiedBy != null) { + echo ("Record Attachment Modified By User-Name: " . $modifiedBy->getName() . "\n"); + echo ("Record Attachment Modified By User-ID: " . $modifiedBy->getId() . "\n"); + echo ("Record Attachment Modified By User-Email: " . $modifiedBy->getEmail() . "\n"); + } + echo ("Record Attachment State: " . $attachment->getState() . "\n"); + echo ("Record Attachment ID: " . $attachment->getId() . "\n"); + $createdBy = $attachment->getCreatedBy(); + if ($createdBy != null) { + echo ("Record Attachment Created By User-Name: " . $createdBy->getName() . "\n"); + echo ("Record Attachment Created By User-ID: " . $createdBy->getId() . "\n"); + echo ("Record Attachment Created By User-Email: " . $createdBy->getEmail() . "\n"); + } + echo ("Record Attachment LinkUrl: " . $attachment->getLinkUrl() . "\n"); + } + } else if ($value[0] instanceof ImageUpload) { + $imageUploads = $value; + foreach ($imageUploads as $imageUpload) { + echo ("RelatedRecord " . $keyName . " Description: " . $imageUpload->getDescriptionS() . "\n"); + echo ("RelatedRecord " . $keyName . " FileIds: " . $imageUpload->getFileIdS() . "\n"); + echo ("RelatedRecord " . $keyName . " FileNameS: " . $imageUpload->getFileNameS() . "\n"); + echo ("RelatedRecord " . $keyName . " PreviewIdS: " . $imageUpload->getPreviewIdS() . "\n"); + echo ("RelatedRecord " . $keyName . " SizeS: " . $imageUpload->getSizeS() . "\n"); + echo ("RelatedRecord " . $keyName . " States: " . $imageUpload->getStateS() . "\n"); + echo ("RelatedRecord " . $keyName . " ID: " . $imageUpload->getId() . "\n"); + echo ("RelatedRecord " . $keyName . " SequenceNumberS: " . $imageUpload->getSequenceNumberS() . "\n"); + } + } else { + echo ($keyName . " : "); + print_r($value); + echo ("\n"); + } + } else if ($value instanceof Layouts) { + $layout = $value; + if ($layout != null) { + echo ("Record " . $keyName . " ID: " . $layout->getId() . "\n"); + echo ("Record " . $keyName . " Name: " . $layout->getName() . "\n"); + } + } else if ($value instanceof MinifiedUser) { + $user = $value; + if ($user != null) { + echo ("Record " . $keyName . " User-ID: " . $user->getId() . "\n"); + echo ("Record " . $keyName . " User-Name: " . $user->getName() . "\n"); + echo ("Record " . $keyName . " User-Email: " . $user->getEmail() . "\n"); + } + } else if ($value instanceof Record) { + $recordValue = $value; + echo ("Record " . $keyName . " ID: " . $recordValue->getId() . "\n"); + echo ("Record " . $keyName . " Name: " . $recordValue->getKeyValue("name") . "\n"); + } else if ($value instanceof Choice) { + $choiceValue = $value; + echo ("Record " . $keyName . " : " . $choiceValue->getValue() . "\n"); + } else if ($value instanceof RemindAt) { + echo ($keyName . ": " . $value->getAlarm() . "\n"); + } else if ($value instanceof RecurringActivity) { + echo ($keyName . " : RRULE" . ": " . $value->getRrule() . "\n"); + } else if ($value instanceof Consent) { + $consent = $value; + echo ("Record Consent ID: " . $consent->getId()); + $owner = $consent->getOwner(); + if ($owner != null) { + echo ("Record Consent Owner Name: " . $owner->getName()); + echo ("Record Consent Owner ID: " . $owner->getId()); + echo ("Record Consent Owner Email: " . $owner->getEmail()); + } + $consentCreatedBy = $consent->getCreatedBy(); + if ($consentCreatedBy != null) { + echo ("Record Consent CreatedBy Name: " . $consentCreatedBy->getName()); + echo ("Record Consent CreatedBy ID: " . $consentCreatedBy->getId()); + echo ("Record Consent CreatedBy Email: " . $consentCreatedBy->getEmail()); + } + $consentModifiedBy = $consent->getModifiedBy(); + if ($consentModifiedBy != null) { + echo ("Record Consent ModifiedBy Name: " . $consentModifiedBy->getName()); + echo ("Record Consent ModifiedBy ID: " . $consentModifiedBy->getId()); + echo ("Record Consent ModifiedBy Email: " . $consentModifiedBy->getEmail()); + } + echo ("Record Consent CreatedTime: " . date_format($consent->getCreatedTime(), 'd-m-y-H-i-s') . "\n"); + echo ("Record Consent ModifiedTime: " . date_format($consent->getModifiedTime(), 'd-m-y-H-i-s') . "\n"); + echo ("Record Consent ContactThroughEmail: " . $consent->getContactThroughEmail()); + echo ("Record Consent ContactThroughSocial: " . $consent->getContactThroughSocial()); + echo ("Record Consent ContactThroughSurvey: " . $consent->getContactThroughSurvey()); + echo ("Record Consent ContactThroughPhone: " . $consent->getContactThroughPhone()); + echo ("Record Consent MailSentTime: " . date_format($consent->getMailSentTime(), 'd-m-y-H-i-s') . "\n"); + echo ("Record Consent ConsentDate: " . date_format($consent->getConsentDate(), 'd-m-y-H-i-s') . "\n"); + echo ("Record Consent ConsentRemarks: " . $consent->getConsentRemarks()); + echo ("Record Consent ConsentThrough: " . $consent->getConsentThrough()); + echo ("Record Consent DataProcessingBasis: " . $consent->getDataProcessingBasis()); + //To get custom values + echo ("Record Consent Lawful Reason: " . $consent->getKeyValue("Lawful_Reason")); + } else { + echo ($keyName . " : "); + print_r($value); + echo ("\n"); + } + } else { + echo ($keyName . " : "); + print_r($value); + echo ("\n"); + } + } + } + } + } else if ($responseHandler instanceof FileBodyWrapper) { + $fileBodyWrapper = $responseHandler; + $streamWrapper = $fileBodyWrapper->getFile(); + //Create a file instance with the absolute_file_path + $fp = fopen($destinationFolder . "/" . $streamWrapper->getName(), "w"); + $stream = $streamWrapper->getStream(); + fputs($fp, $stream); + fclose($fp); + } + else if ($responseHandler instanceof APIException) { + $exception = $responseHandler; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName="leads"; +$externalFieldValue="External99"; +$destinationfolder= "users/user_name/documents"; +GetRecordUsingExternalId::initialize(); +GetRecordUsingExternalId::getRecordUsingExternalId($moduleAPIName,$externalFieldValue,$destinationfolder); diff --git a/versions/5.0.0/samples/record/GetRecords.php b/versions/5.0.0/samples/record/GetRecords.php new file mode 100644 index 0000000..ea868d1 --- /dev/null +++ b/versions/5.0.0/samples/record/GetRecords.php @@ -0,0 +1,346 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function getRecords(string $moduleAPIName) + { + $recordOperations = new RecordOperations($moduleAPIName); + $paramInstance = new ParameterMap(); + $paramInstance->add(GetRecordsParam::approved(), "true"); + $paramInstance->add(GetRecordsParam::converted(), "1234"); + $paramInstance->add(GetRecordsParam::cvid(), "34770610089005"); + $ids = array("TestExternalLead111", "34770614352001"); + foreach($ids as $id) + { + $paramInstance->add(GetRecordsParam::ids(), $id); + } + $paramInstance->add(GetRecordsParam::uid(), "34770615181008"); + $fieldNames = array("id", "City"); + foreach ($fieldNames as $fieldName) { + $paramInstance->add(GetRecordsParam::fields(), $fieldName); + } + $paramInstance->add(GetRecordsParam::sortBy(), "Email"); + $paramInstance->add(GetRecordsParam::sortOrder(), "desc"); + $paramInstance->add(GetRecordsParam::page(), 1); + $paramInstance->add(GetRecordsParam::perPage(), 3); + $startdatetime = date_create("2020-06-27T15:10:00+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get())); + $paramInstance->add(GetRecordsParam::startDateTime(), $startdatetime); + $enddatetime = date_create("2020-06-29T18:10:00+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get())); + $paramInstance->add(GetRecordsParam::endDateTime(), $enddatetime); + $paramInstance->add(GetRecordsParam::territoryId(), "34770613051357"); + $paramInstance->add(GetRecordsParam::includeChild(), true); + $headerInstance = new HeaderMap(); + $datetime = date_create("2021-02-26T15:28:34+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get())); + $headerInstance->add(GetRecordsHeader::IfModifiedSince(), $datetime); + // $headerInstance->add(GetRecordsHeader::XEXTERNAL(), "Leads.External"); + //Call getRecords method + $response = $recordOperations->getRecords($paramInstance, $headerInstance); + if ($response != null) { + echo ("Status code " . $response->getStatusCode() . "\n"); + if (in_array($response->getStatusCode(), array(204, 304))) { + echo ($response->getStatusCode() == 204 ? "No Content\n" : "Not Modified\n"); + return; + } + if ($response->isExpected()) { + $responseHandler = $response->getObject(); + if ($responseHandler instanceof ResponseWrapper) { + $responseWrapper = $responseHandler; + $records = $responseWrapper->getData(); + if ($records != null) { + foreach ($records as $record) { + echo ("Record ID: " . $record->getId() . "\n"); + $createdBy = $record->getCreatedBy(); + if ($createdBy != null) { + echo ("Record Created By User-ID: " . $createdBy->getId() . "\n"); + echo ("Record Created By User-Name: " . $createdBy->getName() . "\n"); + echo ("Record Created By User-Email: " . $createdBy->getEmail() . "\n"); + } + echo ("Record CreatedTime: "); + print_r($record->getCreatedTime()); + echo ("\n"); + $modifiedBy = $record->getModifiedBy(); + if ($modifiedBy != null) { + echo ("Record Modified By User-ID: " . $modifiedBy->getId() . "\n"); + echo ("Record Modified By User-Name: " . $modifiedBy->getName() . "\n"); + echo ("Record Modified By User-Email: " . $modifiedBy->getEmail() . "\n"); + } + echo ("Record ModifiedTime: "); + print_r($record->getModifiedTime()); + echo ("\n"); + $tags = $record->getTag(); + if ($tags != null) { + foreach ($tags as $tag) { + echo ("Record Tag Name: " . $tag->getName() . "\n"); + echo ("Record Tag ID: " . $tag->getId() . "\n"); + } + } + //To get particular field value + echo ("Record Field Value: " . $record->getKeyValue("Last_Name") . "\n"); // FieldApiName + echo ("Record KeyValues : \n"); + foreach ($record->getKeyValues() as $keyName => $value) { + if ($value != null) { + if ((is_array($value) && sizeof($value) > 0) && isset($value[0])) { + if ($value[0] instanceof FileDetails) { + $fileDetails = $value; + foreach ($fileDetails as $fileDetail) { + echo ("Record FileDetails FileIds: " . $fileDetail->getFileIdS() . "\n"); + echo ("Record FileDetails FileNameS: " . $fileDetail->getFileNameS() . "\n"); + echo ("Record FileDetails SizeS: " . $fileDetail->getSizeS() . "\n"); + echo ("Record FileDetails ID: " . $fileDetail->getId() . "\n"); + } + } else if ($value[0] instanceof Choice) { + $choice = $value; + foreach ($choice as $choiceValue) { + echo ("Record " . $keyName . " : " . $choiceValue->getValue() . "\n"); + } + } else if ($value[0] instanceof Tag) { + $tagList = $value; + foreach ($tagList as $tag) { + echo ("Record Tag Name: " . $tag->getName() . "\n"); + echo ("Record Tag ID: " . $tag->getId() . "\n"); + } + } else if ($value[0] instanceof PricingDetails) { + $pricingDetails = $value; + foreach ($pricingDetails as $pricingDetail) { + echo ("Record PricingDetails ToRange: " . $pricingDetail->getToRange() . "\n"); + echo ("Record PricingDetails Discount: " . $pricingDetail->getDiscount() . "\n"); + echo ("Record PricingDetails ID: " . $pricingDetail->getId() . "\n"); + echo ("Record PricingDetails FromRange: " . $pricingDetail->getFromRange() . "\n"); + } + } else if ($value[0] instanceof Participants) { + $participants = $value; + foreach ($participants as $participant) { + echo ("RelatedRecord Participants Name: " . $participant->getName() . "\n"); + echo ("RelatedRecord Participants Invited: " . $participant->getInvited() . "\n"); + echo ("RelatedRecord Participants ID: " . $participant->getId() . "\n"); + echo ("RelatedRecord Participants Type: " . $participant->getType() . "\n"); + echo ("RelatedRecord Participants Participant: " . $participant->getParticipant() . "\n"); + echo ("RelatedRecord Participants Status: " . $participant->getStatus() . "\n"); + } + } else if ($value[0] instanceof Record) { + $recordList = $value; + foreach ($recordList as $record1) { + foreach ($record1->getKeyValues() as $key => $value1) { + echo ($key . " : "); + print_r($value1); + echo ("\n"); + } + } + } else if ($value[0] instanceof LineTax) { + $lineTaxes = $value; + foreach ($lineTaxes as $lineTax) { + echo ("Record ProductDetails LineTax Percentage: " . $lineTax->getPercentage() . "\n"); + echo ("Record ProductDetails LineTax Name: " . $lineTax->getName() . "\n"); + echo ("Record ProductDetails LineTax Id: " . $lineTax->getId() . "\n"); + echo ("Record ProductDetails LineTax Value: " . $lineTax->getValue() . "\n"); + } + } else if ($value[0] instanceof Comment) { + $comments = $value; + foreach ($comments as $comment) { + echo ("Record Comment CommentedBy: " . $comment->getCommentedBy() . "\n"); + echo ("Record Comment CommentedTime: "); + print_r($comment->getCommentedTime()); + echo ("\n"); + echo ("Record Comment CommentContent: " . $comment->getCommentContent() . "\n"); + echo ("Record Comment Id: " . $comment->getId() . "\n"); + } + } else if ($value[0] instanceof Attachment) { + $attachments = $value; + foreach ($attachments as $attachment) { + $owner = $attachment->getOwner(); + if ($owner != null) { + echo ("Record Attachment Owner User-Name: " . $owner->getName() . "\n"); + echo ("Record Attachment Owner User-ID: " . $owner->getId() . "\n"); + echo ("Record Attachment Owner User-Email: " . $owner->getEmail() . "\n"); + } + echo ("Record Attachment Modified Time: "); + print_r($attachment->getModifiedTime()); + echo ("\n"); + echo ("Record Attachment File Name: " . $attachment->getFileName() . "\n"); + echo ("Record Attachment Created Time: "); + print_r($attachment->getCreatedTime()); + echo ("\n"); + echo ("Record Attachment File Size: " . $attachment->getSize() . "\n"); + $parentId = $attachment->getParentId(); + if ($parentId != null) { + echo ("Record Attachment parent record Name: " . $parentId->getName() . "\n"); + echo ("Record Attachment parent record ID: " . $parentId->getId() . "\n"); + } + echo ("Record Attachment is Editable: " . $attachment->getEditable() . "\n"); + echo ("Record Attachment File ID: " . $attachment->getFileId() . "\n"); + echo ("Record Attachment File Type: " . $attachment->getType() . "\n"); + echo ("Record Attachment seModule: " . $attachment->getSeModule() . "\n"); + $modifiedBy = $attachment->getModifiedBy(); + if ($modifiedBy != null) { + echo ("Record Attachment Modified By User-Name: " . $modifiedBy->getName() . "\n"); + echo ("Record Attachment Modified By User-ID: " . $modifiedBy->getId() . "\n"); + echo ("Record Attachment Modified By User-Email: " . $modifiedBy->getEmail() . "\n"); + } + echo ("Record Attachment State: " . $attachment->getState() . "\n"); + echo ("Record Attachment ID: " . $attachment->getId() . "\n"); + $createdBy = $attachment->getCreatedBy(); + if ($createdBy != null) { + echo ("Record Attachment Created By User-Name: " . $createdBy->getName() . "\n"); + echo ("Record Attachment Created By User-ID: " . $createdBy->getId() . "\n"); + echo ("Record Attachment Created By User-Email: " . $createdBy->getEmail() . "\n"); + } + echo ("Record Attachment LinkUrl: " . $attachment->getLinkUrl() . "\n"); + } + } else if ($value[0] instanceof ImageUpload) { + $imageUploads = $value; + foreach ($imageUploads as $imageUpload) { + echo ("RelatedRecord " . $keyName . " Description: " . $imageUpload->getDescriptionS() . "\n"); + echo ("RelatedRecord " . $keyName . " FileIds: " . $imageUpload->getFileIdS() . "\n"); + echo ("RelatedRecord " . $keyName . " FileNameS: " . $imageUpload->getFileNameS() . "\n"); + echo ("RelatedRecord " . $keyName . " PreviewIdS: " . $imageUpload->getPreviewIdS() . "\n"); + echo ("RelatedRecord " . $keyName . " SizeS: " . $imageUpload->getSizeS() . "\n"); + echo ("RelatedRecord " . $keyName . " States: " . $imageUpload->getStateS() . "\n"); + echo ("RelatedRecord " . $keyName . " ID: " . $imageUpload->getId() . "\n"); + echo ("RelatedRecord " . $keyName . " SequenceNumberS: " . $imageUpload->getSequenceNumberS() . "\n"); + } + } else { + echo ($keyName . " : "); + print_r($value); + echo ("\n"); + } + } else if ($value instanceof Layouts) { + $layout = $value; + if ($layout != null) { + echo ("Record " . $keyName . " ID: " . $layout->getId() . "\n"); + echo ("Record " . $keyName . " Name: " . $layout->getName() . "\n"); + } + } else if ($value instanceof MinifiedUser) { + $user = $value; + if ($user != null) { + echo ("Record " . $keyName . " User-ID: " . $user->getId() . "\n"); + echo ("Record " . $keyName . " User-Name: " . $user->getName() . "\n"); + echo ("Record " . $keyName . " User-Email: " . $user->getEmail() . "\n"); + } + } else if ($value instanceof Record) { + $recordValue = $value; + echo ("Record " . $keyName . " ID: " . $recordValue->getId() . "\n"); + echo ("Record " . $keyName . " Name: " . $recordValue->getKeyValue("name") . "\n"); + } else if ($value instanceof Choice) { + $choiceValue = $value; + echo ("Record " . $keyName . " : " . $choiceValue->getValue() . "\n"); + } else if ($value instanceof RemindAt) { + echo ($keyName . ": " . $value->getAlarm() . "\n"); + } else if ($value instanceof RecurringActivity) { + echo ($keyName . " : RRULE" . ": " . $value->getRrule() . "\n"); + } else if ($value instanceof Consent) { + $consent = $value; + echo ("Record Consent ID: " . $consent->getId()); + $owner = $consent->getOwner(); + if ($owner != null) { + echo ("Record Consent Owner Name: " . $owner->getName()); + echo ("Record Consent Owner ID: " . $owner->getId()); + echo ("Record Consent Owner Email: " . $owner->getEmail()); + } + $consentCreatedBy = $consent->getCreatedBy(); + if ($consentCreatedBy != null) { + echo ("Record Consent CreatedBy Name: " . $consentCreatedBy->getName()); + echo ("Record Consent CreatedBy ID: " . $consentCreatedBy->getId()); + echo ("Record Consent CreatedBy Email: " . $consentCreatedBy->getEmail()); + } + $consentModifiedBy = $consent->getModifiedBy(); + if ($consentModifiedBy != null) { + echo ("Record Consent ModifiedBy Name: " . $consentModifiedBy->getName()); + echo ("Record Consent ModifiedBy ID: " . $consentModifiedBy->getId()); + echo ("Record Consent ModifiedBy Email: " . $consentModifiedBy->getEmail()); + } + echo ("Record Consent CreatedTime: " . date_format($consent->getCreatedTime(), 'd-m-y-H-i-s') . "\n"); + echo ("Record Consent ModifiedTime: " . date_format($consent->getModifiedTime(), 'd-m-y-H-i-s') . "\n"); + echo ("Record Consent ContactThroughEmail: " . $consent->getContactThroughEmail()); + echo ("Record Consent ContactThroughSocial: " . $consent->getContactThroughSocial()); + echo ("Record Consent ContactThroughSurvey: " . $consent->getContactThroughSurvey()); + echo ("Record Consent ContactThroughPhone: " . $consent->getContactThroughPhone()); + echo ("Record Consent MailSentTime: " . date_format($consent->getMailSentTime(), 'd-m-y-H-i-s') . "\n"); + echo ("Record Consent ConsentDate: " . date_format($consent->getConsentDate(), 'd-m-y-H-i-s') . "\n"); + echo ("Record Consent ConsentRemarks: " . $consent->getConsentRemarks()); + echo ("Record Consent ConsentThrough: " . $consent->getConsentThrough()); + echo ("Record Consent DataProcessingBasis: " . $consent->getDataProcessingBasis()); + //To get custom values + echo ("Record Consent Lawful Reason: " . $consent->getKeyValue("Lawful_Reason")); + } else { + echo ($keyName . " : "); + print_r($value); + echo ("\n"); + } + } else { + echo ($keyName . " : "); + print_r($value); + echo ("\n"); + } + } + } + } + $info = $responseWrapper->getInfo(); + echo ("Record Info PerPage : " . $info->getPerPage() . "\n"); + echo ("Record Info Count : " . $info->getCount() . "\n"); + echo ("Record Info Page : " . $info->getPage() . "\n"); + echo ("Record Info MoreRecords : "); + print_r($info->getMoreRecords()); + echo ("\n"); + } + else if ($responseHandler instanceof APIException) { + $exception = $responseHandler; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName="leads"; +GetRecords::initialize(); +GetRecords::getRecords($moduleAPIName); diff --git a/versions/5.0.0/samples/record/MassUpdateRecords.php b/versions/5.0.0/samples/record/MassUpdateRecords.php new file mode 100644 index 0000000..7c47194 --- /dev/null +++ b/versions/5.0.0/samples/record/MassUpdateRecords.php @@ -0,0 +1,114 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function massUpdateRecords(string $moduleAPIName) + { + $recordOperations = new RecordOperations($moduleAPIName); + $request = new MassUpdateBodyWrapper(); + $records = array(); + $record1 = new Record(); + /* + * Call addKeyValue method that takes two arguments + * 1 -> A string that is the Field's API Name + * 2 -> Value + */ + $record1->addKeyValue("City", "Value"); + //Add Record instance to the list + array_push($records, $record1); + $request->setData($records); + // $request->setCvid("347706187501"); + $ids = array("3477061126926"); + $request->setIds($ids); + // $territory = new Territory(); + // $territory->setId("34770613051357"); + // $territory->setIncludeChild(true); + // $request->setTerritory($territory); + $request->setOverWrite(true); + //Call massUpdateRecords method that takes BodyWrapper instance, ModuleAPIName as parameter. + $response = $recordOperations->massUpdateRecords($request); + if ($response != null) { + echo ("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + $massUpdateActionHandler = $response->getObject(); + if ($massUpdateActionHandler instanceof MassUpdateActionWrapper) { + $massUpdateActionWrapper = $massUpdateActionHandler; + $massUpdateActionResponses = $massUpdateActionWrapper->getData(); + foreach ($massUpdateActionResponses as $massUpdateActionResponse) { + if ($massUpdateActionResponse instanceof MassUpdateSuccessResponse) { + $massUpdateSuccessResponse = $massUpdateActionResponse; + echo ("Status: " . $massUpdateSuccessResponse->getStatus()->getValue() . "\n"); + echo ("Code: " . $massUpdateSuccessResponse->getCode()->getValue() . "\n"); + if ($massUpdateSuccessResponse->getDetails() != null) { + echo ("Details: "); + foreach ($massUpdateSuccessResponse->getDetails() as $keyName => $keyValue) { + echo ($keyName . ": "); + print_r($keyValue); + echo ("\n"); + } + } + echo ("Message: " . ($massUpdateSuccessResponse->getMessage() instanceof Choice ? $massUpdateSuccessResponse->getMessage()->getValue() : $massUpdateSuccessResponse->getMessage()) . "\n"); + } + else if ($massUpdateActionResponse instanceof APIException) { + $exception = $massUpdateActionResponse; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + if ($exception->getDetails() != null) { + foreach ($exception->getDetails() as $keyName => $keyValue) { + echo ($keyName . ": " . $keyValue . "\n"); + } + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } + else if ($massUpdateActionHandler instanceof APIException) { + $exception = $massUpdateActionHandler; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + if ($exception->getDetails() != null) { + echo ("Details: "); + foreach ($exception->getDetails() as $keyName => $keyValue) { + echo ($keyName . ": " . $keyValue . "\n"); + } + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName="leads"; +MassUpdateRecords::initialize(); +MassUpdateRecords::massUpdateRecords($moduleAPIName); diff --git a/versions/5.0.0/samples/record/RemoveTerritoriesFromMultipleRecords.php b/versions/5.0.0/samples/record/RemoveTerritoriesFromMultipleRecords.php new file mode 100644 index 0000000..4b39705 --- /dev/null +++ b/versions/5.0.0/samples/record/RemoveTerritoriesFromMultipleRecords.php @@ -0,0 +1,104 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function removeTerritoriesFromMultipleRecords($moduleAPIName) + { + $recordOperations = new RecordOperations($moduleAPIName); + $request = new BodyWrapper(); + $records = array(); + $record1 = new Record(); + $record1->setId("3477061121072"); + /* + * Call addKeyValue method that takes two arguments + * 1 -> A string that is the Field's API Name + * 2 -> Value + */ + $territory = new Territory(); + $territory->setId("34770613051397"); + $record1->addKeyValue("Territories", [$territory]); + //Add Record instance to the list + array_push($records, $record1); + $request->setData($records); + //Call removeTerritoriesFromMultipleRecords method that takes moduleAPIName and BodyWrapper instance as parameter + $response = $recordOperations->removeTerritoriesFromMultipleRecords($request); + if ($response != null) { + echo ("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + $actionHandler = $response->getObject(); + if ($actionHandler instanceof ActionWrapper) { + $actionWrapper = $actionHandler; + $actionResponses = $actionWrapper->getData(); + foreach ($actionResponses as $actionResponse) { + if ($actionResponse instanceof SuccessResponse) { + $successResponse = $actionResponse; + echo ("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo ("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($successResponse->getDetails() as $key => $value) { + echo ($key . " : "); + print_r($value); + echo ("\n"); + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } + else if ($actionResponse instanceof APIException) { + $exception = $actionResponse; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } + else if ($actionHandler instanceof APIException) { + $exception = $actionHandler; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName="leads"; +RemoveTerritoriesFromMultipleRecords::initialize(); +RemoveTerritoriesFromMultipleRecords::removeTerritoriesFromMultipleRecords($moduleAPIName); diff --git a/versions/5.0.0/samples/record/RemoveTerritoriesFromRecord.php b/versions/5.0.0/samples/record/RemoveTerritoriesFromRecord.php new file mode 100644 index 0000000..0c182e2 --- /dev/null +++ b/versions/5.0.0/samples/record/RemoveTerritoriesFromRecord.php @@ -0,0 +1,103 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function removeTerritoriesFromRecord($moduleAPIName, $id) + { + $recordOperations = new RecordOperations($moduleAPIName); + $request = new BodyWrapper(); + $records = array(); + $record1 = new Record(); + /* + * Call addKeyValue method that takes two arguments + * 1 -> A string that is the Field's API Name + * 2 -> Value + */ + $territory = new Territory(); + $territory->setId("34770613051397"); + $record1->addKeyValue("Territories", [$territory]); + //Add Record instance to the list + array_push($records, $record1); + $request->setData($records); + $response = $recordOperations->removeTerritoriesFromRecord($id, $request); + if ($response != null) { + echo ("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + $actionHandler = $response->getObject(); + if ($actionHandler instanceof ActionWrapper) { + $actionWrapper = $actionHandler; + $actionResponses = $actionWrapper->getData(); + foreach ($actionResponses as $actionResponse) { + if ($actionResponse instanceof SuccessResponse) { + $successResponse = $actionResponse; + echo ("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo ("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($successResponse->getDetails() as $key => $value) { + echo ($key . " : "); + print_r($value); + echo ("\n"); + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } + else if ($actionResponse instanceof APIException) { + $exception = $actionResponse; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } + else if ($actionHandler instanceof APIException) { + $exception = $actionHandler; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName = "Leads"; +$recordId = "3477061121072"; +RemoveTerritoriesFromRecord::initialize(); +RemoveTerritoriesFromRecord::removeTerritoriesFromRecord($moduleAPIName,$recordId); diff --git a/versions/5.0.0/samples/record/SearchRecords.php b/versions/5.0.0/samples/record/SearchRecords.php new file mode 100644 index 0000000..d02539b --- /dev/null +++ b/versions/5.0.0/samples/record/SearchRecords.php @@ -0,0 +1,316 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function searchRecords(string $moduleAPIName) + { + $recordOperations = new RecordOperations($moduleAPIName); + $paramInstance = new ParameterMap(); + $paramInstance->add(SearchRecordsParam::criteria(), "((Last_Name:starts_with:Last Name) or (Company:starts_with:fasf\\(123\\) K))"); + // $paramInstance->add(SearchRecordsParam::criteria(), "(External:in:External1)"); + $paramInstance->add(SearchRecordsParam::email(), "username@zoho.com"); + $paramInstance->add(SearchRecordsParam::phone(), "234567890"); + $paramInstance->add(SearchRecordsParam::word(), "First Name Last Name"); + $paramInstance->add(SearchRecordsParam::converted(), "both"); + $paramInstance->add(SearchRecordsParam::approved(), "both"); + $paramInstance->add(SearchRecordsParam::page(), 1); + $paramInstance->add(SearchRecordsParam::perPage(), 2); + $headerInstance = new HeaderMap(); + $headerInstance->add(UpdateRecordHeader::XEXTERNAL(), "Leads.External"); + //Call searchRecords method + $response = $recordOperations->searchRecords($paramInstance, $headerInstance); + if ($response->isExpected()) { + $responseHandler = $response->getObject(); + if ($responseHandler instanceof ResponseWrapper) { + $responseWrapper = $responseHandler; + $records = $responseWrapper->getData(); + if ($records != null) { + foreach ($records as $record) { + echo ("Record ID: " . $record->getId() . "\n"); + $createdBy = $record->getCreatedBy(); + if ($createdBy != null) { + echo ("Record Created By User-ID: " . $createdBy->getId() . "\n"); + echo ("Record Created By User-Name: " . $createdBy->getName() . "\n"); + echo ("Record Created By User-Email: " . $createdBy->getEmail() . "\n"); + } + echo ("Record CreatedTime: "); + print_r($record->getCreatedTime()); + echo ("\n"); + $modifiedBy = $record->getModifiedBy(); + if ($modifiedBy != null) { + echo ("Record Modified By User-ID: " . $modifiedBy->getId() . "\n"); + echo ("Record Modified By User-Name: " . $modifiedBy->getName() . "\n"); + echo ("Record Modified By User-Email: " . $modifiedBy->getEmail() . "\n"); + } + echo ("Record ModifiedTime: "); + print_r($record->getModifiedTime()); + echo ("\n"); + $tags = $record->getTag(); + if ($tags != null) { + foreach ($tags as $tag) { + echo ("Record Tag Name: " . $tag->getName() . "\n"); + echo ("Record Tag ID: " . $tag->getId() . "\n"); + } + } + //To get particular field value + echo ("Record Field Value: " . $record->getKeyValue("Last_Name") . "\n"); // FieldApiName + echo ("Record KeyValues : \n"); + foreach ($record->getKeyValues() as $keyName => $value) { + if ($value != null) { + if ((is_array($value) && sizeof($value) > 0) && isset($value[0])) { + if ($value[0] instanceof FileDetails) { + $fileDetails = $value; + foreach ($fileDetails as $fileDetail) { + echo ("Record FileDetails FileIds: " . $fileDetail->getFileIdS() . "\n"); + echo ("Record FileDetails FileNameS: " . $fileDetail->getFileNameS() . "\n"); + echo ("Record FileDetails SizeS: " . $fileDetail->getSizeS() . "\n"); + echo ("Record FileDetails ID: " . $fileDetail->getId() . "\n"); + } + } else if ($value[0] instanceof Choice) { + $choice = $value; + foreach ($choice as $choiceValue) { + echo ("Record " . $keyName . " : " . $choiceValue->getValue() . "\n"); + } + } else if ($value[0] instanceof Tag) { + $tagList = $value; + foreach ($tagList as $tag) { + echo ("Record Tag Name: " . $tag->getName() . "\n"); + echo ("Record Tag ID: " . $tag->getId() . "\n"); + } + } else if ($value[0] instanceof PricingDetails) { + $pricingDetails = $value; + foreach ($pricingDetails as $pricingDetail) { + echo ("Record PricingDetails ToRange: " . $pricingDetail->getToRange() . "\n"); + echo ("Record PricingDetails Discount: " . $pricingDetail->getDiscount() . "\n"); + echo ("Record PricingDetails ID: " . $pricingDetail->getId() . "\n"); + echo ("Record PricingDetails FromRange: " . $pricingDetail->getFromRange() . "\n"); + } + } else if ($value[0] instanceof Participants) { + $participants = $value; + foreach ($participants as $participant) { + echo ("RelatedRecord Participants Name: " . $participant->getName() . "\n"); + echo ("RelatedRecord Participants Invited: " . $participant->getInvited() . "\n"); + echo ("RelatedRecord Participants ID: " . $participant->getId() . "\n"); + echo ("RelatedRecord Participants Type: " . $participant->getType() . "\n"); + echo ("RelatedRecord Participants Participant: " . $participant->getParticipant() . "\n"); + echo ("RelatedRecord Participants Status: " . $participant->getStatus() . "\n"); + } + } else if ($value[0] instanceof Record) { + $recordList = $value; + foreach ($recordList as $record1) { + foreach ($record1->getKeyValues() as $key => $value1) { + echo ($key . " : "); + print_r($value1); + echo ("\n"); + } + } + } else if ($value[0] instanceof LineTax) { + $lineTaxes = $value; + foreach ($lineTaxes as $lineTax) { + echo ("Record ProductDetails LineTax Percentage: " . $lineTax->getPercentage() . "\n"); + echo ("Record ProductDetails LineTax Name: " . $lineTax->getName() . "\n"); + echo ("Record ProductDetails LineTax Id: " . $lineTax->getId() . "\n"); + echo ("Record ProductDetails LineTax Value: " . $lineTax->getValue() . "\n"); + } + } else if ($value[0] instanceof Comment) { + $comments = $value; + foreach ($comments as $comment) { + echo ("Record Comment CommentedBy: " . $comment->getCommentedBy() . "\n"); + echo ("Record Comment CommentedTime: "); + print_r($comment->getCommentedTime()); + echo ("\n"); + echo ("Record Comment CommentContent: " . $comment->getCommentContent() . "\n"); + echo ("Record Comment Id: " . $comment->getId() . "\n"); + } + } else if ($value[0] instanceof Attachment) { + $attachments = $value; + foreach ($attachments as $attachment) { + $owner = $attachment->getOwner(); + if ($owner != null) { + echo ("Record Attachment Owner User-Name: " . $owner->getName() . "\n"); + echo ("Record Attachment Owner User-ID: " . $owner->getId() . "\n"); + echo ("Record Attachment Owner User-Email: " . $owner->getEmail() . "\n"); + } + echo ("Record Attachment Modified Time: "); + print_r($attachment->getModifiedTime()); + echo ("\n"); + echo ("Record Attachment File Name: " . $attachment->getFileName() . "\n"); + echo ("Record Attachment Created Time: "); + print_r($attachment->getCreatedTime()); + echo ("\n"); + echo ("Record Attachment File Size: " . $attachment->getSize() . "\n"); + $parentId = $attachment->getParentId(); + if ($parentId != null) { + echo ("Record Attachment parent record Name: " . $parentId->getName() . "\n"); + echo ("Record Attachment parent record ID: " . $parentId->getId() . "\n"); + } + echo ("Record Attachment is Editable: " . $attachment->getEditable() . "\n"); + echo ("Record Attachment File ID: " . $attachment->getFileId() . "\n"); + echo ("Record Attachment File Type: " . $attachment->getType() . "\n"); + echo ("Record Attachment seModule: " . $attachment->getSeModule() . "\n"); + $modifiedBy = $attachment->getModifiedBy(); + if ($modifiedBy != null) { + echo ("Record Attachment Modified By User-Name: " . $modifiedBy->getName() . "\n"); + echo ("Record Attachment Modified By User-ID: " . $modifiedBy->getId() . "\n"); + echo ("Record Attachment Modified By User-Email: " . $modifiedBy->getEmail() . "\n"); + } + echo ("Record Attachment State: " . $attachment->getState() . "\n"); + echo ("Record Attachment ID: " . $attachment->getId() . "\n"); + $createdBy = $attachment->getCreatedBy(); + if ($createdBy != null) { + echo ("Record Attachment Created By User-Name: " . $createdBy->getName() . "\n"); + echo ("Record Attachment Created By User-ID: " . $createdBy->getId() . "\n"); + echo ("Record Attachment Created By User-Email: " . $createdBy->getEmail() . "\n"); + } + echo ("Record Attachment LinkUrl: " . $attachment->getLinkUrl() . "\n"); + } + } else if ($value[0] instanceof ImageUpload) { + $imageUploads = $value; + foreach ($imageUploads as $imageUpload) { + echo ("RelatedRecord " . $keyName . " Description: " . $imageUpload->getDescriptionS() . "\n"); + echo ("RelatedRecord " . $keyName . " FileIds: " . $imageUpload->getFileIdS() . "\n"); + echo ("RelatedRecord " . $keyName . " FileNameS: " . $imageUpload->getFileNameS() . "\n"); + echo ("RelatedRecord " . $keyName . " PreviewIdS: " . $imageUpload->getPreviewIdS() . "\n"); + echo ("RelatedRecord " . $keyName . " SizeS: " . $imageUpload->getSizeS() . "\n"); + echo ("RelatedRecord " . $keyName . " States: " . $imageUpload->getStateS() . "\n"); + echo ("RelatedRecord " . $keyName . " ID: " . $imageUpload->getId() . "\n"); + echo ("RelatedRecord " . $keyName . " SequenceNumberS: " . $imageUpload->getSequenceNumberS() . "\n"); + } + } else { + echo ($keyName . " : "); + print_r($value); + echo ("\n"); + } + } else if ($value instanceof Layouts) { + $layout = $value; + if ($layout != null) { + echo ("Record " . $keyName . " ID: " . $layout->getId() . "\n"); + echo ("Record " . $keyName . " Name: " . $layout->getName() . "\n"); + } + } else if ($value instanceof MinifiedUser) { + $user = $value; + if ($user != null) { + echo ("Record " . $keyName . " User-ID: " . $user->getId() . "\n"); + echo ("Record " . $keyName . " User-Name: " . $user->getName() . "\n"); + echo ("Record " . $keyName . " User-Email: " . $user->getEmail() . "\n"); + } + } else if ($value instanceof Record) { + $recordValue = $value; + echo ("Record " . $keyName . " ID: " . $recordValue->getId() . "\n"); + echo ("Record " . $keyName . " Name: " . $recordValue->getKeyValue("name") . "\n"); + } else if ($value instanceof Choice) { + $choiceValue = $value; + echo ("Record " . $keyName . " : " . $choiceValue->getValue() . "\n"); + } else if ($value instanceof RemindAt) { + echo ($keyName . ": " . $value->getAlarm() . "\n"); + } else if ($value instanceof RecurringActivity) { + echo ($keyName . " : RRULE" . ": " . $value->getRrule() . "\n"); + } else if ($value instanceof Consent) { + $consent = $value; + echo ("Record Consent ID: " . $consent->getId()); + $owner = $consent->getOwner(); + if ($owner != null) { + echo ("Record Consent Owner Name: " . $owner->getName()); + echo ("Record Consent Owner ID: " . $owner->getId()); + echo ("Record Consent Owner Email: " . $owner->getEmail()); + } + $consentCreatedBy = $consent->getCreatedBy(); + if ($consentCreatedBy != null) { + echo ("Record Consent CreatedBy Name: " . $consentCreatedBy->getName()); + echo ("Record Consent CreatedBy ID: " . $consentCreatedBy->getId()); + echo ("Record Consent CreatedBy Email: " . $consentCreatedBy->getEmail()); + } + $consentModifiedBy = $consent->getModifiedBy(); + if ($consentModifiedBy != null) { + echo ("Record Consent ModifiedBy Name: " . $consentModifiedBy->getName()); + echo ("Record Consent ModifiedBy ID: " . $consentModifiedBy->getId()); + echo ("Record Consent ModifiedBy Email: " . $consentModifiedBy->getEmail()); + } + echo ("Record Consent CreatedTime: " . date_format($consent->getCreatedTime(), 'd-m-y-H-i-s') . "\n"); + echo ("Record Consent ModifiedTime: " . date_format($consent->getModifiedTime(), 'd-m-y-H-i-s') . "\n"); + echo ("Record Consent ContactThroughEmail: " . $consent->getContactThroughEmail()); + echo ("Record Consent ContactThroughSocial: " . $consent->getContactThroughSocial()); + echo ("Record Consent ContactThroughSurvey: " . $consent->getContactThroughSurvey()); + echo ("Record Consent ContactThroughPhone: " . $consent->getContactThroughPhone()); + echo ("Record Consent MailSentTime: " . date_format($consent->getMailSentTime(), 'd-m-y-H-i-s') . "\n"); + echo ("Record Consent ConsentDate: " . date_format($consent->getConsentDate(), 'd-m-y-H-i-s') . "\n"); + echo ("Record Consent ConsentRemarks: " . $consent->getConsentRemarks()); + echo ("Record Consent ConsentThrough: " . $consent->getConsentThrough()); + echo ("Record Consent DataProcessingBasis: " . $consent->getDataProcessingBasis()); + //To get custom values + echo ("Record Consent Lawful Reason: " . $consent->getKeyValue("Lawful_Reason")); + } else { + echo ($keyName . " : "); + print_r($value); + echo ("\n"); + } + } else { + echo ($keyName . " : "); + print_r($value); + echo ("\n"); + } + } + } + } + } + else if ($responseHandler instanceof APIException) { + $exception = $responseHandler; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } +} +$moduleAPIName = "leads"; +SearchRecords::initialize(); +SearchRecords::searchRecords($moduleAPIName); diff --git a/versions/5.0.0/samples/record/UpdateRecord.php b/versions/5.0.0/samples/record/UpdateRecord.php new file mode 100644 index 0000000..01b752c --- /dev/null +++ b/versions/5.0.0/samples/record/UpdateRecord.php @@ -0,0 +1,203 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function updateRecord(string $moduleAPIName, string $recordId) + { + $recordOperations = new RecordOperations($moduleAPIName); + $request = new BodyWrapper(); + $records = array(); + $record1 = new Record(); + /* + * Call addFieldValue method that takes two arguments + * 1 -> Call Field "." and choose the module from the displayed list and press "." and choose the field name from the displayed list. + * 2 -> Value + */ + $record1->addFieldValue(Leads::City(), "City"); + $record1->addFieldValue(Leads::LastName(), "Last Name"); + $record1->addFieldValue(Leads::FirstName(), "First Name"); + $record1->addFieldValue(Leads::Company(), "KKRNP"); + // $accounts = new Record(); + // $accounts->addKeyValue("id", "3477061058489"); + // $record1->addFieldValue(Contacts::AccountName(), $accounts); + /* + * Call addKeyValue method that takes two arguments + * 1 -> A string that is the Field's API Name + * 2 -> Value + */ + $record1->addKeyValue("Custom_field", "Value"); + $record1->addKeyValue("Custom_field_2", "value"); + $record1->addKeyValue("Date_1", new \DateTime('2020-03-08')); + $record1->addKeyValue("Date_Time_2", date_create("2021-06-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get()))); + $fileDetails = array(); + $fileDetail1 = new FileDetails(); + $fileDetail1->setFileIds("3475"); + array_push($fileDetails, $fileDetail1); + $fileDetail2 = new FileDetails(); + $fileDetail2->setFileIds("ae9c7cefa418aec1d6a5cc2d9ab35c32244f4e660f3702f05463e2fd0a2d8c1c"); + array_push($fileDetails, $fileDetail2); + $fileDetail3 = new FileDetails(); + $fileDetail3->setFileIds("ae9c7cefa418aec1d6a5cc2d9ab35c326a3f4c7562925ac9afc0f7433dd2098c"); + array_push($fileDetails, $fileDetail3); + $record1->addKeyValue("File_Upload", $fileDetails); + $recordOwner = new MinifiedUser(); + $recordOwner->setEmail("abc@zoho.com"); + $record1->addKeyValue("Owner", $recordOwner); + //Used when GDPR is enabled + $dataConsent = new Consent(); + $dataConsent->setConsentRemarks("Approved."); + $dataConsent->setConsentThrough("Email"); + $dataConsent->setContactThroughEmail(true); + $dataConsent->setContactThroughSocial(false); + $record1->addKeyValue("Data_Processing_Basis_Details", $dataConsent); + $subformList = []; + $subform = new Record(); + $subform->addKeyValue("Subform FieldAPIName", "FieldValue"); + array_push($subformList, $subform); + $record1->addKeyValue("Subform Name", $subformList); + /** Following methods are being used only by Inventory modules */ + $dealName = new Record(); + $dealName->addFieldValue(Deals::id(), "3477061121123"); + $record1->addFieldValue(Sales_Orders::DealName(), $dealName); + $contactName = new Record(); + $contactName->addFieldValue(Contacts::id(), "3477061118531"); + $record1->addFieldValue(Purchase_Orders::ContactName(), $contactName); + $accountName = new Record(); + $accountName->addKeyValue("name", "automatedAccount"); + $record1->addFieldValue(Quotes::AccountName(), $accountName); + $record1->addKeyValue("Discount", 10.5); + $inventoryLineItemList = []; + $inventoryLineItem = new Record(); + $lineItemProduct = new LineItemProduct(); + $lineItemProduct->setId("3477061012107031"); + // $lineItemProduct->addKeyValue("Products_External", "AutomatedSDKExternal"); + $inventoryLineItem->addKeyValue("Description", "asd"); + $inventoryLineItem->addKeyValue("Discount", "5"); + $parentId = new Record(); + $parentId->setId("352403307331017"); + // inventoryLineItem->addKeyValue("Parent_Id", 5); + $inventoryLineItem->addKeyValue("Sequence_Number", "1"); + $lineitemProduct = new LineItemProduct(); + $lineitemProduct->setId("35240333659082"); + $inventoryLineItem->addKeyValue("Product_Name", $lineItemProduct); + $inventoryLineItem->addKeyValue("Sequence_Number", "1"); + $inventoryLineItem->addKeyValue("Quantity", 123.2); + $inventoryLineItem->addKeyValue("Tax", 123.2); + array_push($inventoryLineItemList, $inventoryLineItem); + $productLineTaxes = []; + $productLineTax = new LineTax(); + $productLineTax->setName("MyT2ax1134"); + $productLineTax->setPercentage(20.0); + array_push($productLineTaxes, $productLineTax); + $inventoryLineItem->addKeyValue("Line_Tax", $productLineTaxes); + array_push($inventoryLineItemList, $inventoryLineItem); + $record1->addKeyValue("Quoted_Items", $inventoryLineItemList); + $lineTaxes = []; + $lineTax = new LineTax(); + $lineTax->setName("MyT2ax1134"); + $lineTax->setPercentage(20.0); + array_push($lineTaxes, $lineTax); + $record1->addKeyValue('$line_tax', $lineTaxes); + /** End Inventory **/ + $tagList = []; + $tag = new Tag(); + $tag->setName("Testtask1"); + array_push($tagList, $tag); + $record1->setTag($tagList); + //Add Record instance to the list + array_push($records, $record1); + $request->setData($records); + $trigger = array("approval", "workflow", "blueprint"); + $request->setTrigger($trigger); + $headerInstance = new HeaderMap(); + // $headerInstance->add(UpdateRecordHeader::XEXTERNAL(), "Quotes.Quoted_Items.Product_Name.Products_External"); + //Call updateRecord method that takes BodyWrapper instance, ModuleAPIName and recordId as parameter. + $response = $recordOperations->updateRecord($recordId, $request, $headerInstance); + if ($response != null) { + echo ("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + $actionHandler = $response->getObject(); + if ($actionHandler instanceof ActionWrapper) { + $actionWrapper = $actionHandler; + $actionResponses = $actionWrapper->getData(); + foreach ($actionResponses as $actionResponse) { + if ($actionResponse instanceof SuccessResponse) { + $successResponse = $actionResponse; + echo ("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo ("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($successResponse->getDetails() as $key => $value) { + echo ($key . " : "); + print_r($value); + echo ("\n"); + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } + else if ($actionResponse instanceof APIException) { + $exception = $actionResponse; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } + else if ($actionHandler instanceof APIException) { + $exception = $actionHandler; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName = "leads"; +$recordId = "34772"; +UpdateRecord::initialize(); +UpdateRecord::updateRecord($moduleAPIName,$recordId); diff --git a/versions/5.0.0/samples/record/UpdateRecordUsingExternalId.php b/versions/5.0.0/samples/record/UpdateRecordUsingExternalId.php new file mode 100644 index 0000000..04334b5 --- /dev/null +++ b/versions/5.0.0/samples/record/UpdateRecordUsingExternalId.php @@ -0,0 +1,204 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function updateRecordUsingExternalId(string $moduleAPIName, string $externalFieldValue) + { + $recordOperations = new RecordOperations($moduleAPIName); + $request = new BodyWrapper(); + $records = array(); + $record1 = new Record(); + /* + * Call addFieldValue method that takes two arguments + * 1 -> Call Field "." and choose the module from the displayed list and press "." and choose the field name from the displayed list. + * 2 -> Value + */ + $record1->addFieldValue(Leads::City(), "City"); + $record1->addFieldValue(Leads::LastName(), "Last Name"); + $record1->addFieldValue(Leads::FirstName(), "First Name"); + $record1->addFieldValue(Leads::Company(), "KKRNP"); + // $accounts = new Record(); + // $accounts->addKeyValue("id", "3477061058489"); + // $record1->addFieldValue(Contacts::AccountName(), $accounts); + /* + * Call addKeyValue method that takes two arguments + * 1 -> A string that is the Field's API Name + * 2 -> Value + */ + $record1->addKeyValue("Custom_field", "Value"); + $record1->addKeyValue("Custom_field_2", "value"); + $record1->addKeyValue("Date_1", new \DateTime('2020-03-08')); + $record1->addKeyValue("Date_Time_2", date_create("2021-06-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get()))); + $fileDetails = array(); + $fileDetail1 = new FileDetails(); + $fileDetail1->setFileIdS("3475"); + array_push($fileDetails, $fileDetail1); + $fileDetail2 = new FileDetails(); + $fileDetail2->setFileIdS("ae9c7cefa418ae3702f05463e2fd0a2d8c1c"); + array_push($fileDetails, $fileDetail2); + $fileDetail3 = new FileDetails(); + $fileDetail3->setFileIdS("ae9c7cefa41ac9afc0f7433dd2098c"); + array_push($fileDetails, $fileDetail3); + $record1->addKeyValue("File_Upload", $fileDetails); + $recordOwner = new MinifiedUser(); + $recordOwner->setEmail("abc@zoho.com"); + $record1->addKeyValue("Owner", $recordOwner); + //Used when GDPR is enabled + $dataConsent = new Consent(); + $dataConsent->setConsentRemarks("Approved."); + $dataConsent->setConsentThrough("Email"); + $dataConsent->setContactThroughEmail(true); + $dataConsent->setContactThroughSocial(false); + $record1->addKeyValue("Data_Processing_Basis_Details", $dataConsent); + $subformList = []; + $subform = new Record(); + $subform->addKeyValue("Subform FieldAPIName", "FieldValue"); + array_push($subformList, $subform); + $record1->addKeyValue("Subform Name", $subformList); + /** Following methods are being used only by Inventory modules */ + $dealName = new Record(); + $dealName->addFieldValue(Deals::id(), "3477061121123"); + $record1->addFieldValue(Sales_Orders::DealName(), $dealName); + $contactName = new Record(); + $contactName->addFieldValue(Contacts::id(), "3477061118531"); + $record1->addFieldValue(Purchase_Orders::ContactName(), $contactName); + $accountName = new Record(); + $accountName->addKeyValue("name", "automatedAccount"); + $record1->addFieldValue(Quotes::AccountName(), $accountName); + $record1->addKeyValue("Discount", 10.5); + $inventoryLineItemList = []; + $inventoryLineItem = new Record(); + $lineItemProduct = new LineItemProduct(); + $lineItemProduct->setId("3477061012107031"); + // $lineItemProduct->addKeyValue("Products_External", "AutomatedSDKExternal"); + $inventoryLineItem->addKeyValue("Description", "asd"); + $inventoryLineItem->addKeyValue("Discount", "5"); + $parentId = new Record(); + $parentId->setId("352403307331017"); + // inventoryLineItem->addKeyValue("Parent_Id", 5); + $inventoryLineItem->addKeyValue("Sequence_Number", "1"); + $lineitemProduct = new LineItemProduct(); + $lineitemProduct->setId("35240333659082"); + $inventoryLineItem->addKeyValue("Product_Name", $lineItemProduct); + $inventoryLineItem->addKeyValue("Sequence_Number", "1"); + $inventoryLineItem->addKeyValue("Quantity", 123.2); + $inventoryLineItem->addKeyValue("Tax", 123.2); + array_push($inventoryLineItemList, $inventoryLineItem); + $productLineTaxes = []; + $productLineTax = new LineTax(); + $productLineTax->setName("MyT2ax1134"); + $productLineTax->setPercentage(20.0); + array_push($productLineTaxes, $productLineTax); + $inventoryLineItem->addKeyValue("Line_Tax", $productLineTaxes); + array_push($inventoryLineItemList, $inventoryLineItem); + $record1->addKeyValue("Quoted_Items", $inventoryLineItemList); + $lineTaxes = []; + $lineTax = new LineTax(); + $lineTax->setName("MyT2ax1134"); + $lineTax->setPercentage(20.0); + array_push($lineTaxes, $lineTax); + $record1->addKeyValue('$line_tax', $lineTaxes); + /** End Inventory **/ + $tagList = []; + $tag = new Tag(); + $tag->setName("Testtask1"); + array_push($tagList, $tag); + $record1->setTag($tagList); + //Add Record instance to the list + array_push($records, $record1); + $request->setData($records); + $trigger = array("approval", "workflow", "blueprint"); + $request->setTrigger($trigger); + $headerInstance = new HeaderMap(); + $headerInstance->add(UpdateRecordHeader::XEXTERNAL(), "Quotes.Quoted_Items.Product_Name.Products_External"); + //Call updateRecordUsingExternalId method that takes externalFieldValue, ModuleAPIName, BodyWrapper instance and headerInstance as parameter. + $response = $recordOperations->updateRecordUsingExternalId($externalFieldValue, $request, $headerInstance); + if ($response != null) { + echo ("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + $actionHandler = $response->getObject(); + if ($actionHandler instanceof ActionWrapper) { + $actionWrapper = $actionHandler; + $actionResponses = $actionWrapper->getData(); + foreach ($actionResponses as $actionResponse) { + if ($actionResponse instanceof SuccessResponse) { + $successResponse = $actionResponse; + echo ("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo ("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($successResponse->getDetails() as $key => $value) { + echo ($key . " : "); + print_r($value); + echo ("\n"); + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } + else if ($actionResponse instanceof APIException) { + $exception = $actionResponse; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } + else if ($actionHandler instanceof APIException) { + $exception = $actionHandler; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName = "leads"; +$extenalFieldValue= "external"; +UpdateRecordUsingExternalId::initialize(); +UpdateRecordUsingExternalId::updateRecordUsingExternalId($moduleAPIName,$extenalFieldValue); diff --git a/versions/5.0.0/samples/record/UpdateRecords.php b/versions/5.0.0/samples/record/UpdateRecords.php new file mode 100644 index 0000000..f6bda93 --- /dev/null +++ b/versions/5.0.0/samples/record/UpdateRecords.php @@ -0,0 +1,185 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function updateRecords(string $moduleAPIName) + { + $recordOperations = new RecordOperations($moduleAPIName); + $request = new BodyWrapper(); + $records = array(); + $record1 = new Record(); + $record1->setId("3477061122606"); + /* + * Call addFieldValue method that takes two arguments + * 1 -> Call Field "." and choose the module from the displayed list and press "." and choose the field name from the displayed list. + * 2 -> Value + */ + $record1->addFieldValue(Leads::City(), "City"); + $record1->addFieldValue(Leads::LastName(), "Last Name"); + $record1->addFieldValue(Leads::FirstName(), "First Name"); + $record1->addFieldValue(Leads::Company(), "KKRNP"); + /* + * Call addKeyValue method that takes two arguments + * 1 -> A string that is the Field's API Name + * 2 -> Value + */ + $record1->addKeyValue("Custom_field", "Value"); + $record1->addKeyValue("Custom_field_2", "value"); + $recordOwner = new MinifiedUser(); + $recordOwner->setEmail("abc@zoho.com"); + $record1->addKeyValue("Owner", $recordOwner); + /** Following methods are being used only by Inventory modules */ + $vendorName = new Record(); + $vendorName->addFieldValue(Vendors::id(), "3477061072471"); + $record1->addFieldValue(Purchase_Orders::VendorName(), $vendorName); + $dealName = new Record(); + $dealName->addFieldValue(Deals::id(), "3477061121123"); + $record1->addFieldValue(Sales_Orders::DealName(), $dealName); + $contactName = new Record(); + $contactName->addFieldValue(Contacts::id(), "3477061113834"); + $record1->addFieldValue(Purchase_Orders::ContactName(), $contactName); + $accountName = new Record(); + $accountName->addKeyValue("name", "automatedAccount"); + $record1->addFieldValue(Quotes::AccountName(), $accountName); + $record1->addKeyValue("Discount", 10.5); + $inventoryLineItemList = array(); + $inventoryLineItem = new Record(); + $lineItemProduct = new LineItemProduct(); + // $lineItemProduct->setId("34770610122601"); + $lineItemProduct->addKeyValue("Products_External", "Products_External"); + $inventoryLineItem->addKeyValue("Product_Name", $lineItemProduct); + $inventoryLineItem->addKeyValue("Quantity", 1.5); + $inventoryLineItem->addKeyValue("Description", "productDescription"); + $inventoryLineItem->addKeyValue("ListPrice", 10.0); + $inventoryLineItem->addKeyValue("Discount", "5%"); + $productLineTaxes = array(); + $productLineTax = new LineTax(); + $productLineTax->setName("MyTax1123"); + $productLineTax->setPercentage(20.0); + array_push($productLineTaxes, $productLineTax); + $inventoryLineItem->addKeyValue("Line_Tax", $productLineTaxes); + array_push($inventoryLineItemList, $inventoryLineItem); + $record1->addKeyValue("Quoted_Items", $inventoryLineItemList); + $record1->addKeyValue("Invoiced_Items", $inventoryLineItemList); + $record1->addKeyValue("Purchase_Items", $inventoryLineItemList); + $record1->addKeyValue("Ordered_Items", $inventoryLineItemList); + $lineTaxes = array(); + $lineTax = new LineTax(); + $lineTax->setName("MyTax1123"); + $lineTax->setPercentage(20.0); + array_push($lineTaxes, $lineTax); + $record1->addKeyValue('$line_tax', $lineTaxes); + /** End Inventory **/ + //Add Record instance to the list + array_push($records, $record1); + $record2 = new Record(); + $record2->setId("347706198731"); + /* + * Call addFieldValue method that takes two arguments + * 1 -> Call Field "." and choose the module from the displayed list and press "." and choose the field name from the displayed list. + * 2 -> Value + */ + $record2->addFieldValue(Leads::City(), "City"); + $record2->addFieldValue(Leads::LastName(), "Last Name"); + $record2->addFieldValue(Leads::FirstName(), "First Name"); + $record2->addFieldValue(Leads::Company(), "KKRNP"); + /* + * Call addKeyValue method that takes two arguments + * 1 -> A string that is the Field's API Name + * 2 -> Value + */ + $record2->addKeyValue("Custom_field", "Value"); + $record2->addKeyValue("Custom_field_2", "value"); + //Add Record instance to the list + array_push($records, $record2); + $request->setData($records); + $trigger = array("approval", "workflow", "blueprint"); + $request->setTrigger($trigger); + $headerInstance = new HeaderMap(); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Quotes.Quoted_Items.Product_Name.Products_External"); + //Call createRecords method that takes moduleAPIName, BodyWrapper instance and $headerInstance as parameter. + $response = $recordOperations->updateRecords($request, $headerInstance); + if ($response != null) { + echo ("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + $actionHandler = $response->getObject(); + if ($actionHandler instanceof ActionWrapper) { + $actionWrapper = $actionHandler; + $actionResponses = $actionWrapper->getData(); + foreach ($actionResponses as $actionResponse) { + if ($actionResponse instanceof SuccessResponse) { + $successResponse = $actionResponse; + echo ("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo ("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($successResponse->getDetails() as $key => $value) { + echo ($key . " : "); + print_r($value); + echo ("\n"); + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } + else if ($actionResponse instanceof APIException) { + $exception = $actionResponse; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } + else if ($actionHandler instanceof APIException) { + $exception = $actionHandler; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName = "leads"; +UpdateRecords::initialize(); +UpdateRecords::updateRecords($moduleAPIName); diff --git a/versions/5.0.0/samples/record/UploadPhoto.php b/versions/5.0.0/samples/record/UploadPhoto.php new file mode 100644 index 0000000..a2a7459 --- /dev/null +++ b/versions/5.0.0/samples/record/UploadPhoto.php @@ -0,0 +1,77 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function uploadPhoto(string $moduleAPIName, string $recordId, string $absoluteFilePath) + { + $recordOperations = new RecordOperations($moduleAPIName); + $fileBodyWrapper = new FileBodyWrapper(); + $streamWrapper = new StreamWrapper(null, null, $absoluteFilePath); + $fileBodyWrapper->setFile($streamWrapper); + $response = $recordOperations->uploadPhoto($recordId, $fileBodyWrapper); + if ($response != null) { + echo ("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + $fileHandler = $response->getObject(); + if ($fileHandler instanceof SuccessResponse) { + $successResponse = $fileHandler; + echo ("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo ("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo ("Details: "); + if ($successResponse->getDetails() != null) { + foreach ($successResponse->getDetails() as $keyName => $keyValue) { + echo ($keyName . ": " . $keyValue . "\n"); + } + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } + else if ($fileHandler instanceof APIException) { + $exception = $fileHandler; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + if ($exception->getDetails() != null) { + foreach ($exception->getDetails() as $keyName => $keyValue) { + echo ($keyName . ": " . $keyValue . "\n"); + } + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName = "Participants"; +$recordId = "3477061194181"; +$absoluteFilePath = "/Users/Documents/photo.png"; +UploadPhoto::initialize(); +UploadPhoto::uploadPhoto($moduleAPIName,$recordId,$absoluteFilePath); diff --git a/versions/5.0.0/samples/record/UpsertRecords.php b/versions/5.0.0/samples/record/UpsertRecords.php new file mode 100644 index 0000000..b0eb96a --- /dev/null +++ b/versions/5.0.0/samples/record/UpsertRecords.php @@ -0,0 +1,136 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function upsertRecords(string $moduleAPIName) + { + $recordOperations = new RecordOperations($moduleAPIName); + $request = new BodyWrapper(); + $records = array(); + $record1 = new Record(); + /* + * Call addFieldValue method that takes two arguments + * 1 -> Call Field "." and choose the module from the displayed list and press "." and choose the field name from the displayed list. + * 2 -> Value + */ + $record1->addFieldValue(Leads::City(), "City"); + $record1->addFieldValue(Leads::LastName(), "Last Name"); + $record1->addFieldValue(Leads::FirstName(), "First Name"); + $record1->addFieldValue(Leads::Company(), "Company1"); + /* + * Call addKeyValue method that takes two arguments + * 1 -> A string that is the Field's API Name + * 2 -> Value + */ + $record1->addKeyValue("Custom_field", "Value"); + $record1->addKeyValue("Custom_field_2", "value"); + //Add Record instance to the list + array_push($records, $record1); + $record2 = new Record(); + /* + * Call addFieldValue method that takes two arguments + * 1 -> Call Field "." and choose the module from the displayed list and press "." and choose the field name from the displayed list. + * 2 -> Value + */ + $record2->addFieldValue(Leads::City(), "City"); + $record2->addFieldValue(Leads::LastName(), "Last Name"); + $record2->addFieldValue(Leads::FirstName(), "First Name"); + $record2->addFieldValue(Leads::Company(), "Company12"); + /* + * Call addKeyValue method that takes two arguments + * 1 -> A string that is the Field's API Name + * 2 -> Value + */ + $record2->addKeyValue("Custom_field", "Value"); + $record2->addKeyValue("Custom_field_2", "value"); + $record2->addKeyValue("External", "External1"); + //Add Record instance to the list + array_push($records, $record2); + $duplicateCheckFields = array("City", "Last_Name", "First_Name"); + $request->setDuplicateCheckFields($duplicateCheckFields); + $request->setData($records); + $headerInstance = new HeaderMap(); + // $headerInstance->add(UpsertRecordsHeader::XEXTERNAL(), "Leads.External"); + //Call UpsertRecordsHeader method that takes BodyWrapper instance as parameter. + $response = $recordOperations->upsertRecords($request, $headerInstance); + if ($response != null) { + echo ("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + $actionHandler = $response->getObject(); + if ($actionHandler instanceof ActionWrapper) { + $actionWrapper = $actionHandler; + $actionResponses = $actionWrapper->getData(); + foreach ($actionResponses as $actionResponse) { + if ($actionResponse instanceof SuccessResponse) { + $successResponse = $actionResponse; + echo ("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo ("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($successResponse->getDetails() as $key => $value) { + echo ($key . " : "); + print_r($value); + echo ("\n"); + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } + else if ($actionResponse instanceof APIException) { + $exception = $actionResponse; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } + else if ($actionHandler instanceof APIException) { + $exception = $actionHandler; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName = "leads"; +UpsertRecords::initialize(); +UpsertRecords::upsertRecords($moduleAPIName); diff --git a/versions/5.0.0/samples/record/createrecords/CreateAccounts.php b/versions/5.0.0/samples/record/createrecords/CreateAccounts.php new file mode 100644 index 0000000..1f39d63 --- /dev/null +++ b/versions/5.0.0/samples/record/createrecords/CreateAccounts.php @@ -0,0 +1,198 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function createAccounts(String $moduleAPIName) + { + $recordOperations = new RecordOperations($moduleAPIName); + $bodyWrapper = new BodyWrapper(); + $records = array(); + $recordClass = 'com\zoho\crm\api\record\Record'; + $record1 = new $recordClass(); + $record1->addFieldValue(Accounts::AccountName(), 'New Account'); + $record1->addFieldValue(Accounts::Phone(), '1010101'); + $record1->addKeyValue("Email", 'abc@zoho.com'); + $record1->addFieldValue(Accounts::Fax(), 'fax'); + $record1->addFieldValue(Accounts::AccountSite(), 'www.account.com'); + $record1->addFieldValue(Accounts::Website(), 'website.com'); + $record1->addFieldValue(Accounts::AccountNumber(), '10212212'); + $record1->addFieldValue(Accounts::Ownership(), new Choice('Private')); + $record1->addFieldValue(Accounts::AccountType(), new Choice('Customer')); + $record1->addFieldValue(Accounts::Employees(), 12); + $record1->addFieldValue(Accounts::Industry(), new Choice('Real Estate')); + $record1->addFieldValue(Accounts::SICCode(), 12321); + $record1->addFieldValue(Accounts::AnnualRevenue(), 1002.2); + $parent_account = new Record(); + $parent_account->setId("440248000884001"); + $record1->addFieldValue(Accounts::ParentAccount(), $parent_account); + // Address info + $record1->addFieldValue(Accounts::BillingCity(), 'billing city'); + $record1->addFieldValue(Accounts::BillingStreet(), 'billing Street'); + $record1->addFieldValue(Accounts::BillingCode(), 'billing code'); + $record1->addFieldValue(Accounts::BillingCountry(), 'billing Country'); + $record1->addFieldValue(Accounts::BillingState(), 'billing State'); + $record1->addFieldValue(Accounts::ShippingCity(), 'shipping city'); + $record1->addFieldValue(Accounts::ShippingCode(), 'shipping code'); + $record1->addFieldValue(Accounts::ShippingCountry(), 'shipping country'); + $record1->addFieldValue(Accounts::ShippingStreet(), 'shipping street'); + $record1->addFieldValue(Accounts::ShippingState(), 'shipping state'); + // + $record1->addFieldValue(Accounts::Description(), 'description'); + // used when GDPR is enabled + $dataConsent = new Consent(); + $dataConsent->setConsentRemarks("Approved"); + $dataConsent->setConsentThrough("Email"); + $dataConsent->setContactThroughEmail(true); + $dataConsent->setContactThroughSocial(false); + $dataConsent->setContactThroughPhone(true); + $dataConsent->setContactThroughSurvey(true); + $dataConsent->setConsentDate(new \DateTime('2023-10-10')); + $dataConsent->setDataProcessingBasis("Obtained"); + $record1->addKeyValue("Data_Processing_Basis_Details", $dataConsent); + // for custom Fields + $record1->addKeyValue("External", "Value12445"); + $record1->addKeyValue("Custom_Field", "custom_value"); + $record1->addKeyValue("Date_Time_1", date_create("2020-06-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get()))); + $record1->addKeyValue("Date_1", new \DateTime('2021-12-10')); + $record1->addKeyValue("Subject", "AutomatedSDK"); + $record1->addKeyValue("Product_Name", "Automated"); + $fileDetails = array(); + $fileDetail1 = new FileDetails(); + $fileDetail1->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35cae23d729ad87c6d90b0bd44183d280"); + array_push($fileDetails, $fileDetail1); + $fileDetail2 = new FileDetails(); + $fileDetail2->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35cae23d729ad87c6d90b0bd44183d2de"); + array_push($fileDetails, $fileDetail2); + $record1->addKeyValue("File_Upload", $fileDetails); + // for Custom User LookUp + $user = new MinifiedUser(); + $user->setId("4222222222222323123"); + $record1->addKeyValue("User_1", $user); + // for Custom LookUp + $data = new Record(); + $data->setId("4232434444444342123"); + $record1->addKeyValue("Lookup_1", $data); + // for Custom PickList + $record1->addKeyValue("Pick", new Choice("true")); + // for Custom MultiSelect + $record1->addKeyValue("MultiSelect", array(new Choice("Option 1"), new Choice("Option 2"))); + // for Subform + $subformList = array(); + $subform = new Record(); + $subform->addKeyValue("CustomField", "customValue"); + $user1 = new MinifiedUser(); + $user1->setId("430300032334343"); + $subform->addKeyValue("UserField", $user1); + array_push($subformList, $subform); + $record1->addKeyValue("Subform_1", $subformList); + // for MultiSelectLookUp/Custom MultiSelectLookup + $multiselectList = array(); + $record = new Record(); + $record->addKeyValue("id", "440248000884001"); + $linkingRecord = new Record(); + $linkingRecord->addKeyValue("Msl", $record); + array_push($multiselectList, $linkingRecord); + $record1->addKeyValue("Msl", $multiselectList); + // + $tagList = array(); + $tag = new Tag(); + $tag->setName("Testtask"); + array_push($tagList, $tag); + $record1->setTag($tagList); + //Add Record instance to the list + array_push($records, $record1); + $bodyWrapper->setData($records); + $trigger = array("approval", "workflow", "blueprint"); + $bodyWrapper->setTrigger($trigger); + $bodyWrapper->setLarId("34770610087515"); + + $headerInstance = new HeaderMap(); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Quotes.Quoted_Items.Product_Name.Products_External"); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Products.Products_External"); + //Call createRecords method that takes BodyWrapper instance as parameter. + $response = $recordOperations->createRecords($bodyWrapper, $headerInstance); + if ($response != null) { + //Get the status code from response + echo("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + //Get object from response + $actionHandler = $response->getObject(); + if ($actionHandler instanceof ActionWrapper) { + $actionWrapper = $actionHandler; + $actionResponses = $actionWrapper->getData(); + foreach ($actionResponses as $actionResponse) { + if ($actionResponse instanceof SuccessResponse) { + $successResponse = $actionResponse; + echo("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($successResponse->getDetails() as $key => $value) { + echo($key . " : "); + print_r($value); + echo("\n"); + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } else if ($actionResponse instanceof APIException) { + $exception = $actionResponse; + echo("Status: " . $exception->getStatus()->getValue() . "\n"); + echo("Code: " . $exception->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } else if ($actionHandler instanceof APIException) { + $exception = $actionHandler; + echo("Status: " . $exception->getStatus()->getValue() . "\n"); + echo("Code: " . $exception->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage())); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName = "Accounts"; +CreateAccounts::initialize(); +CreateAccounts::createAccounts($moduleAPIName); \ No newline at end of file diff --git a/versions/5.0.0/samples/record/createrecords/CreateCalls.php b/versions/5.0.0/samples/record/createrecords/CreateCalls.php new file mode 100644 index 0000000..76bd067 --- /dev/null +++ b/versions/5.0.0/samples/record/createrecords/CreateCalls.php @@ -0,0 +1,210 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function createCalls($moduleAPIName) + { + $recordOperations = new RecordOperations($moduleAPIName); + $bodyWrapper = new BodyWrapper(); + $records = array(); + $recordClass = 'com\zoho\crm\api\record\Record'; + $record1 = new $recordClass(); + + // Schedule a call + $whoId = new Record(); + $whoId->setId("440248001306013"); + $record1->addFieldValue(Calls::WhoId(), $whoId); + $whatId = new Record(); + $whatId->setId("440248001331009"); + $record1->addFieldValue(Calls::WhatId(), $whatId); + $record1->addFieldValue(Calls::CallType(), new Choice("Outbound")); + $record1->addFieldValue(Calls::OutgoingCallStatus(), new Choice("Scheduled")); + $record1->addFieldValue(Calls::CallStartTime(), date_create("2023-06-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get()))); + $user = new Users(); + $user->setId("440248000254001"); + $record1->addKeyValue("Call_Owner", $user); + $record1->addFieldValue(Calls::Subject(), "call Scheduled"); + $record1->addFieldValue(Calls::Reminder(), new Choice("None")); + $record1->addFieldValue(Calls::CallPurpose(), new Choice("Demo")); + $record1->addFieldValue(Calls::CallAgenda(), "agenda to make call"); + $record1->addKeyValue('$se_module', "Accounts"); + + // log a call + $whoId1 = new Record(); + $whoId1->setId("440248001030088"); + $record1->addFieldValue(Calls::WhoId(), $whoId1); + $whatId1 = new Record(); + $whatId1->setId("440248001179025"); + $record1->addFieldValue(Calls::WhatId(), $whatId1); + $record1->addFieldValue(Calls::CallType(), new Choice("Outbound")); + $record1->addFieldValue(Calls::Subject(), "call"); + $record1->addFieldValue(Calls::CallDuration(), "10:00"); + $record1->addFieldValue(Calls::OutgoingCallStatus(), new Choice("Completed")); + $record1->addKeyValue("Voice_Recording__s", "recordingofcall.com"); + $record1->addFieldValue(Calls::CallStartTime(), date_create("2023-04-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get()))); + $record1->addFieldValue(Calls::CallPurpose(), new Choice("Demo")); + $record1->addFieldValue(Calls::CallAgenda(), "agenda to make call"); + $record1->addFieldValue(Calls::CallResult(), "Not interested"); + $record1->addFieldValue(Calls::Description(), "description"); + $record1->addKeyValue('$se_module', "Accounts"); + // + + // used when GDPR is enabled + $dataConsent = new Consent(); + $dataConsent->setConsentRemarks("Approved"); + $dataConsent->setConsentThrough("Email"); + $dataConsent->setContactThroughEmail(true); + $dataConsent->setContactThroughSocial(false); + $dataConsent->setContactThroughPhone(true); + $dataConsent->setContactThroughSurvey(true); + $dataConsent->setConsentDate(new \DateTime('2023-10-10')); + $dataConsent->setDataProcessingBasis("Obtained"); + $record1->addKeyValue("Data_Processing_Basis_Details", $dataConsent); + // for custom Fields + $record1->addKeyValue("External", "Value12445"); + $record1->addKeyValue("Custom_Field", "custom_value"); + $record1->addKeyValue("Date_Time_1", date_create("2020-06-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get()))); + $record1->addKeyValue("Date_1", '2023-12-12'); + $record1->addKeyValue("Subject", "AutomatedSDK"); + $record1->addKeyValue("Product_Name", "Automated"); + $fileDetails = array(); + $fileDetail1 = new FileDetails(); + $fileDetail1->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d280"); + array_push($fileDetails, $fileDetail1); + $fileDetail2 = new FileDetails(); + $fileDetail2->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d2de"); + array_push($fileDetails, $fileDetail2); + $record1->addKeyValue("File_Upload", $fileDetails); + // for Custom User LookUp + $user = new MinifiedUser(); + $user->setId("4222222222222323123"); + $record1->addKeyValue("User_1", $user); + // for Custom LookUp + $data = new Record(); + $data->setId("4232434444444342123"); + $record1->addKeyValue("Lookup_1", $data); + // for Custom PickList + $record1->addKeyValue("Pick", new Choice("true")); + // for Custom MultiSelect + $record1->addKeyValue("MultiSelect", array(new Choice("Option 1"), new Choice("Option 2"))); + // for Subform + $subformList = array(); + $subform = new Record(); + $subform->addKeyValue("CustomField", "customValue"); + $user1 = new MinifiedUser(); + $user1->setId("430300032334334343"); + $subform->addKeyValue("UserField", $user1); + array_push($subformList, $subform); + $record1->addKeyValue("Subform_1", $subformList); + // for MultiSelectLookUp/Custom MultiSelectLookup + $multiselectList = array(); + $record = new Record(); + $record->addKeyValue("id", "440248000884001"); + $linkingRecord = new Record(); + $linkingRecord->addKeyValue("Msl", $record); + array_push($multiselectList, $linkingRecord); + $record1->addKeyValue("Msl", $multiselectList); + // + $tagList = array(); + $tag = new Tag(); + $tag->setName("Testtask"); + array_push($tagList, $tag); + $record1->setTag($tagList); + //Add Record instance to the list + array_push($records, $record1); + $bodyWrapper->setData($records); + $trigger = array("approval", "workflow", "blueprint"); + $bodyWrapper->setTrigger($trigger); + $bodyWrapper->setLarId("34770610087515"); + + $headerInstance = new HeaderMap(); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Quotes.Quoted_Items.Product_Name.Products_External"); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Products.Products_External"); + //Call createRecords method that takes BodyWrapper instance as parameter. + $response = $recordOperations->createRecords($bodyWrapper, $headerInstance); + if ($response != null) { + //Get the status code from response + echo("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + //Get object from response + $actionHandler = $response->getObject(); + if ($actionHandler instanceof ActionWrapper) { + $actionWrapper = $actionHandler; + $actionResponses = $actionWrapper->getData(); + foreach ($actionResponses as $actionResponse) { + if ($actionResponse instanceof SuccessResponse) { + $successResponse = $actionResponse; + echo("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($successResponse->getDetails() as $key => $value) { + echo($key . " : "); + print_r($value); + echo("\n"); + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } else if ($actionResponse instanceof APIException) { + $exception = $actionResponse; + echo("Status: " . $exception->getStatus()->getValue() . "\n"); + echo("Code: " . $exception->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } else if ($actionHandler instanceof APIException) { + $exception = $actionHandler; + echo("Status: " . $exception->getStatus()->getValue() . "\n"); + echo("Code: " . $exception->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName ="Calls"; +CreateCalls::initialize(); +CreateCalls::createCalls($moduleAPIName); \ No newline at end of file diff --git a/versions/5.0.0/samples/record/createrecords/CreateCampaigns.php b/versions/5.0.0/samples/record/createrecords/CreateCampaigns.php new file mode 100644 index 0000000..c6e7607 --- /dev/null +++ b/versions/5.0.0/samples/record/createrecords/CreateCampaigns.php @@ -0,0 +1,180 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function createCampaigns($moduleAPIName) + { + $recordOperations = new RecordOperations($moduleAPIName); + $bodyWrapper = new BodyWrapper(); + $records = array(); + $recordClass = 'com\zoho\crm\api\record\Record'; + $record1 = new $recordClass(); + $record1->addFieldValue(Campaigns::CampaignName(), "New Campaign"); + $record1->addFieldValue(Campaigns::NumSent(), "10"); + $record1->addFieldValue(Campaigns::StartDate(), new \DateTime('2023-10-10')); + $record1->addFieldValue(Campaigns::EndDate(), new \DateTime('2023-10-20')); + $record1->addFieldValue(Campaigns::ActualCost(), 100.0); + $record1->addFieldValue(Campaigns::ExpectedRevenue(), 120.0); + $record1->addFieldValue(Campaigns::Type(), new Choice("Webinar")); + $record1->addFieldValue(Campaigns::BudgetedCost(), 110.0); + $record1->addFieldValue(Campaigns::ExpectedResponse(), "100"); + $record1->addFieldValue(Campaigns::Description(), "description"); + $record1->addFieldValue(Campaigns::Status(), new Choice("Active")); + // used when GDPR is enabled + $dataConsent = new Consent(); + $dataConsent->setConsentRemarks("Approved"); + $dataConsent->setConsentThrough("Email"); + $dataConsent->setContactThroughEmail(true); + $dataConsent->setContactThroughSocial(false); + $dataConsent->setContactThroughPhone(true); + $dataConsent->setContactThroughSurvey(true); + $dataConsent->setConsentDate(new \DateTime('2023-10-10')); + $dataConsent->setDataProcessingBasis("Obtained"); + $record1->addKeyValue("Data_Processing_Basis_Details", $dataConsent); + // for custom Fields + $record1->addKeyValue("External", "Value12445"); + $record1->addKeyValue("Custom_Field", "custom_value"); + $record1->addKeyValue("Date_Time_1", date_create("2020-06-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get()))); + $record1->addKeyValue("Date_1", '2023-12-12'); + $record1->addKeyValue("Subject", "AutomatedSDK"); + $record1->addKeyValue("Product_Name", "Automated"); + $fileDetails = array(); + $fileDetail1 = new FileDetails(); + $fileDetail1->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d280"); + array_push($fileDetails, $fileDetail1); + $fileDetail2 = new FileDetails(); + $fileDetail2->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d2de"); + array_push($fileDetails, $fileDetail2); + $record1->addKeyValue("File_Upload", $fileDetails); + // for Custom User LookUp + $user = new MinifiedUser(); + $user->setId("4222222222222323123"); + $record1->addKeyValue("User_1", $user); + // for Custom LookUp + $data = new Record(); + $data->setId("4232434444444342123"); + $record1->addKeyValue("Lookup_1", $data); + // for Custom PickList + $record1->addKeyValue("Pick", new Choice("true")); + // for Custom MultiSelect + $record1->addKeyValue("MultiSelect", array(new Choice("Option 1"), new Choice("Option 2"))); + // for Subform + $subformList = array(); + $subform = new Record(); + $subform->addKeyValue("CustomField", "customValue"); + $user1 = new MinifiedUser(); + $user1->setId("430300032334334343"); + $subform->addKeyValue("UserField", $user1); + array_push($subformList, $subform); + $record1->addKeyValue("Subform_1", $subformList); + // for MultiSelectLookUp/Custom MultiSelectLookup + $multiselectList = array(); + $record = new Record(); + $record->addKeyValue("id", "440248000884001"); + $linkingRecord = new Record(); + $linkingRecord->addKeyValue("Msl", $record); + array_push($multiselectList, $linkingRecord); + $record1->addKeyValue("Msl", $multiselectList); + // + $tagList = array(); + $tag = new Tag(); + $tag->setName("Testtask"); + array_push($tagList, $tag); + $record1->setTag($tagList); + //Add Record instance to the list + array_push($records, $record1); + $bodyWrapper->setData($records); + $trigger = array("approval", "workflow", "blueprint"); + $bodyWrapper->setTrigger($trigger); + $bodyWrapper->setLarId("34770610087515"); + + $headerInstance = new HeaderMap(); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Quotes.Quoted_Items.Product_Name.Products_External"); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Products.Products_External"); + //Call createRecords method that takes BodyWrapper instance as parameter. + $response = $recordOperations->createRecords($bodyWrapper, $headerInstance); + if ($response != null) { + //Get the status code from response + echo("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + //Get object from response + $actionHandler = $response->getObject(); + if ($actionHandler instanceof ActionWrapper) { + $actionWrapper = $actionHandler; + $actionResponses = $actionWrapper->getData(); + foreach ($actionResponses as $actionResponse) { + if ($actionResponse instanceof SuccessResponse) { + $successResponse = $actionResponse; + echo("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($successResponse->getDetails() as $key => $value) { + echo($key . " : "); + print_r($value); + echo("\n"); + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } else if ($actionResponse instanceof APIException) { + $exception = $actionResponse; + echo("Status: " . $exception->getStatus()->getValue() . "\n"); + echo("Code: " . $exception->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } else if ($actionHandler instanceof APIException) { + $exception = $actionHandler; + echo("Status: " . $exception->getStatus()->getValue() . "\n"); + echo("Code: " . $exception->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName = "Campaigns"; +CreateCampaigns::initialize(); +CreateCampaigns::createCampaigns($moduleAPIName); \ No newline at end of file diff --git a/versions/5.0.0/samples/record/createrecords/CreateCases.php b/versions/5.0.0/samples/record/createrecords/CreateCases.php new file mode 100644 index 0000000..79eb401 --- /dev/null +++ b/versions/5.0.0/samples/record/createrecords/CreateCases.php @@ -0,0 +1,192 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function createCases($moduleAPIName) + { + $recordOperations = new RecordOperations($moduleAPIName); + $bodyWrapper = new BodyWrapper(); + $records = array(); + $recordClass = 'com\zoho\crm\api\record\Record'; + $record1 = new $recordClass(); + $record1->addFieldValue(Cases::Subject(), "New Case"); + $record1->addFieldValue(Cases::Type(), new Choice("Question")); + $productName = new Record(); + $productName->setId("440248001307052"); + $record1->addFieldValue(Cases::ProductName(), $productName); + $record1->addFieldValue(Cases::CaseOrigin(), new Choice("Email")); + $record1->addFieldValue(Cases::Status(), new Choice("On Hold")); + $record1->addFieldValue(Cases::ReportedBy(), "none"); + $record1->addFieldValue(Cases::Phone(), "30002110003"); + $contactName = new Record(); + $contactName->setId("440248001306013"); + $record1->addFieldValue(Cases::RelatedTo(), $contactName); + $accountName = new Record(); + $accountName->setId("440248001331009"); + $record1->addFieldValue(Cases::AccountName(), $accountName); + $record1->addFieldValue(Cases::Email(), "abc@zoho.com"); + $record1->addFieldValue(Cases::Priority(), new Choice("Low")); + $record1->addFieldValue(Cases::CaseReason(), new Choice("New problem")); + $dealName = new Record(); + $dealName->addKeyValue("id", "440248001103110"); + $record1->addFieldValue(Cases::DealName(), $dealName); + $record1->addFieldValue(Cases::Description(), "description"); + $record1->addFieldValue(Cases::InternalComments(), "comments"); + $record1->addFieldValue(Cases::Solution(), "Solution for Problem"); + // used when GDPR is enabled + $dataConsent = new Consent(); + $dataConsent->setConsentRemarks("Approved"); + $dataConsent->setConsentThrough("Email"); + $dataConsent->setContactThroughEmail(true); + $dataConsent->setContactThroughSocial(false); + $dataConsent->setContactThroughPhone(true); + $dataConsent->setContactThroughSurvey(true); + $dataConsent->setConsentDate(new \DateTime('2023-10-10')); + $dataConsent->setDataProcessingBasis("Obtained"); + $record1->addKeyValue("Data_Processing_Basis_Details", $dataConsent); + // for custom Fields + $record1->addKeyValue("External", "Value12445"); + $record1->addKeyValue("Custom_Field", "custom_value"); + $record1->addKeyValue("Date_Time_1", date_create("2020-06-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get()))); + $record1->addKeyValue("Date_1", '2023-12-12'); + $record1->addKeyValue("Subject", "AutomatedSDK"); + $fileDetails = array(); + $fileDetail1 = new FileDetails(); + $fileDetail1->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d280"); + array_push($fileDetails, $fileDetail1); + $fileDetail2 = new FileDetails(); + $fileDetail2->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d2de"); + array_push($fileDetails, $fileDetail2); + $record1->addKeyValue("File_Upload", $fileDetails); + // for Custom User LookUp + $user = new MinifiedUser(); + $user->setId("4222222222222323123"); + $record1->addKeyValue("User_1", $user); + // for Custom LookUp + $data = new Record(); + $data->setId("4232434444444342123"); + $record1->addKeyValue("Lookup_1", $data); + // for Custom PickList + $record1->addKeyValue("Pick", new Choice("true")); + // for Custom MultiSelect + $record1->addKeyValue("MultiSelect", array(new Choice("Option 1"), new Choice("Option 2"))); + // for Subform + $subformList = array(); + $subform = new Record(); + $subform->addKeyValue("CustomField", "customValue"); + $user1 = new MinifiedUser(); + $user1->setId("430300032334334343"); + $subform->addKeyValue("UserField", $user1); + array_push($subformList, $subform); + $record1->addKeyValue("Subform_1", $subformList); + // for MultiSelectLookUp/Custom MultiSelectLookup + $multiselectList = array(); + $record = new Record(); + $record->addKeyValue("id", "440248000884001"); + $linkingRecord = new Record(); + $linkingRecord->addKeyValue("Msl", $record); + array_push($multiselectList, $linkingRecord); + $record1->addKeyValue("Msl", $multiselectList); + // + $tagList = array(); + $tag = new Tag(); + $tag->setName("Testtask"); + array_push($tagList, $tag); + $record1->setTag($tagList); + //Add Record instance to the list + array_push($records, $record1); + $bodyWrapper->setData($records); + $trigger = array("approval", "workflow", "blueprint"); + $bodyWrapper->setTrigger($trigger); + $bodyWrapper->setLarId("34770610087515"); + + $headerInstance = new HeaderMap(); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Quotes.Quoted_Items.Product_Name.Products_External"); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Products.Products_External"); + //Call createRecords method that takes BodyWrapper instance as parameter. + $response = $recordOperations->createRecords($bodyWrapper, $headerInstance); + if ($response != null) { + //Get the status code from response + echo("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + //Get object from response + $actionHandler = $response->getObject(); + if ($actionHandler instanceof ActionWrapper) { + $actionWrapper = $actionHandler; + $actionResponses = $actionWrapper->getData(); + foreach ($actionResponses as $actionResponse) { + if ($actionResponse instanceof SuccessResponse) { + $successResponse = $actionResponse; + echo("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($successResponse->getDetails() as $key => $value) { + echo($key . " : "); + print_r($value); + echo("\n"); + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } else if ($actionResponse instanceof APIException) { + $exception = $actionResponse; + echo("Status: " . $exception->getStatus()->getValue() . "\n"); + echo("Code: " . $exception->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } else if ($actionHandler instanceof APIException) { + $exception = $actionHandler; + echo("Status: " . $exception->getStatus()->getValue() . "\n"); + echo("Code: " . $exception->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName = "Cases"; +CreateCases::initialize(); +CreateCases::createCases($moduleAPIName); \ No newline at end of file diff --git a/versions/5.0.0/samples/record/createrecords/CreateContacts.php b/versions/5.0.0/samples/record/createrecords/CreateContacts.php new file mode 100644 index 0000000..84e9dc9 --- /dev/null +++ b/versions/5.0.0/samples/record/createrecords/CreateContacts.php @@ -0,0 +1,210 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + public static function createContacts(String $moduleAPIName) + { + $recordOperations = new RecordOperations($moduleAPIName); + $bodyWrapper = new BodyWrapper(); + $records = array(); + $recordClass = 'com\zoho\crm\api\record\Record'; + $record1 = new $recordClass(); + $record1->addFieldValue(Contacts::LastName(), 'Last Name'); + $record1->addFieldValue(Contacts::FirstName(), 'First Name'); + $record1->addFieldValue(Contacts::Email(), 'abc12@zoho.com'); + $record1->addFieldValue(Contacts::Title(), 'Title'); + $record1->addFieldValue(Contacts::Phone(), '1000101'); + $record1->addFieldValue(Contacts::Department(), 'Department name'); + $record1->addFieldValue(Contacts::OtherPhone(), '123123'); + $record1->addFieldValue(Contacts::HomePhone(), '100010001'); + $record1->addFieldValue(Contacts::Mobile(), '9820'); + $record1->addFieldValue(Contacts::Fax(), 'fax'); + $record1->addFieldValue(Contacts::Assistant(), 'Assistant'); + $record1->addFieldValue(Contacts::DateOfBirth(), new \DateTime('1990-12-01')); + $record1->addFieldValue(Contacts::AsstPhone(), '123321'); + $record1->addFieldValue(Contacts::EmailOptOut(), true); + $record1->addFieldValue(Contacts::SkypeID(), 'skype_123'); + $record1->addFieldValue(Contacts::SecondaryEmail(), 'abc1@zoho.com'); + $record1->addFieldValue(Contacts::Twitter(), 'twitter_55'); + $account_name = new Record(); + $account_name->setId("440248001179025"); + $record1->addFieldValue(Contacts::AccountName(), $account_name); + $vendor_name = new Record(); + $vendor_name->setId("440248001054948"); + $record1->addFieldValue(Contacts::VendorName(), $vendor_name); + $reporting_to = new Record(); + $reporting_to->setId("3004300030405022"); + $record1->addFieldValue(Contacts::ReportingTo(), $reporting_to); + // Address info + $record1->addFieldValue(Contacts::MailingCity(), 'Mailing City'); + $record1->addFieldValue(Contacts::MailingCountry(), 'Mailing Country'); + $record1->addFieldValue(Contacts::MailingState(), 'Mailing State'); + $record1->addFieldValue(Contacts::MailingStreet(), 'Mailing Street'); + $record1->addFieldValue(Contacts::MailingZip(), 'Mailing Zip'); + $record1->addFieldValue(Contacts::OtherCity(), 'Other city'); + $record1->addFieldValue(Contacts::OtherCountry(), 'other country'); + $record1->addFieldValue(Contacts::OtherState(), 'other state'); + $record1->addFieldValue(Contacts::OtherStreet(), 'other street'); + $record1->addFieldValue(Contacts::OtherZip(), 'other zip'); + // + $record1->addFieldValue(Contacts::Description(), 'description'); + // used when GDPR is enabled + $dataConsent = new Consent(); + $dataConsent->setConsentRemarks("Approved"); + $dataConsent->setConsentThrough("Email"); + $dataConsent->setContactThroughEmail(true); + $dataConsent->setContactThroughSocial(false); + $dataConsent->setContactThroughPhone(true); + $dataConsent->setContactThroughSurvey(true); + $dataConsent->setConsentDate(new \DateTime('2023-10-10')); + $dataConsent->setDataProcessingBasis("Obtained"); + $record1->addKeyValue("Data_Processing_Basis_Details", $dataConsent); + // for custom Fields + $record1->addKeyValue("External", "Value12445"); + $record1->addKeyValue("Custom_Field", "custom_value"); + $record1->addKeyValue("Date_Time_1", date_create("2020-06-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get()))); + $record1->addKeyValue("Date_1", new \DateTime('2023-12-12')); + $record1->addKeyValue("Subject", "AutomatedSDK"); + $record1->addKeyValue("Product_Name", "Automated"); + $fileDetails = array(); + $fileDetail1 = new FileDetails(); + $fileDetail1->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d280"); + array_push($fileDetails,$fileDetail1); + $fileDetail2 = new FileDetails(); + $fileDetail2->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d2de"); + array_push($fileDetails,$fileDetail2); + $record1->addKeyValue("File_Upload", $fileDetails); + // for Custom User LookUp + $user = new MinifiedUser(); + $user->setId("4222222222222323123"); + $record1->addKeyValue("User_1", $user); + // for Custom LookUp + $data = new Record(); + $data->setId("4232434444444342123"); + $record1->addKeyValue("Lookup_1", $data); + // for Custom PickList + $record1->addKeyValue("Pick", new Choice("true")); + // for Custom MultiSelect + $record1->addKeyValue("MultiSelect", array(new Choice("Option 1"), new Choice("Option 2"))); + // for Subform + $subformList = array(); + $subform = new Record(); + $subform->addKeyValue("CustomField", "customValue"); + $user1 = new MinifiedUser(); + $user1->setId("430300032334334343"); + $subform->addKeyValue("UserField", $user1); + array_push($subformList, $subform); + $record1->addKeyValue("Subform_1", $subformList); + // for MultiSelectLookUp/Custom MultiSelectLookup + $multiselectList = array(); + $record = new Record(); + $record->addKeyValue("id", "440248000884001"); + $linkingRecord = new Record(); + $linkingRecord->addKeyValue("Msl", $record); + array_push($multiselectList,$linkingRecord); + $record1->addKeyValue("Msl", $multiselectList); + // + $tagList = array(); + $tag = new Tag(); + $tag->setName("Testtask"); + array_push($tagList, $tag); + $record1->setTag($tagList); + //Add Record instance to the list + array_push($records, $record1); + $bodyWrapper->setData($records); + $trigger = array("approval", "workflow", "blueprint"); + $bodyWrapper->setTrigger($trigger); + $bodyWrapper->setLarId("34770610087515"); + + $headerInstance = new HeaderMap(); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Quotes.Quoted_Items.Product_Name.Products_External"); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Products.Products_External"); + //Call createRecords method that takes BodyWrapper instance as parameter. + $response = $recordOperations->createRecords($bodyWrapper, $headerInstance); + if ($response != null) { + //Get the status code from response + echo ("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + //Get object from response + $actionHandler = $response->getObject(); + if ($actionHandler instanceof ActionWrapper) { + $actionWrapper = $actionHandler; + $actionResponses = $actionWrapper->getData(); + foreach ($actionResponses as $actionResponse) { + if ($actionResponse instanceof SuccessResponse) { + $successResponse = $actionResponse; + echo("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($successResponse->getDetails() as $key => $value) { + echo($key . " : "); + print_r($value); + echo("\n"); + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } else if ($actionResponse instanceof APIException) { + $exception = $actionResponse; + echo("Status: " . $exception->getStatus()->getValue() . "\n"); + echo("Code: " . $exception->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo($key . " : "); + print_r($value); + echo("\n"); + } + echo("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } + else if ($actionHandler instanceof APIException) { + $exception = $actionHandler; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName = "Contacts"; +CreateContacts::initialize(); +CreateContacts::createContacts($moduleAPIName); \ No newline at end of file diff --git a/versions/5.0.0/samples/record/createrecords/CreateDeals.php b/versions/5.0.0/samples/record/createrecords/CreateDeals.php new file mode 100644 index 0000000..2b3347d --- /dev/null +++ b/versions/5.0.0/samples/record/createrecords/CreateDeals.php @@ -0,0 +1,190 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function createDeals(String $moduleAPIName) + { + $recordOperations = new RecordOperations($moduleAPIName); + $bodyWrapper = new BodyWrapper(); + $records = array(); + $recordClass = 'com\zoho\crm\api\record\Record'; + $record1 = new $recordClass(); + $record1->addFieldValue(Deals::DealName(), 'New Deal'); + $record1->addFieldValue(Deals::Amount(), 100.0); + $record1->addFieldValue(Deals::ClosingDate(), new \DateTime("2023-12-10")); + $record1->addFieldValue(Deals::Stage(), new Choice("Qualification")); + $record1->addFieldValue(Deals::Type(), new Choice("New Business")); + $record1->addFieldValue(Deals::Probability(), 10); + $record1->addFieldValue(Deals::NextStep(), 'Next Step'); + $record1->addFieldValue(Deals::ExpectedRevenue(), 120.0); + $record1->addFieldValue(Deals::LeadSource(), new Choice("Cold Call")); + $record1->addFieldValue(Deals::Description(), 'description'); + $account_name = new Record(); + $account_name->setId("440248000884001"); + $record1->addFieldValue(Deals::AccountName(), $account_name); + $contact_name = new Record(); + $contact_name->setId("440248001030088"); + $record1->addFieldValue(Deals::ContactName(), $contact_name); + $campaign_source = new Record(); + $campaign_source->setId("30323230213"); + $record1->addFieldValue(Deals::AccountName(), $campaign_source); + // used when GDPR is enabled + $dataConsent = new Consent(); + $dataConsent->setConsentRemarks("Approved"); + $dataConsent->setConsentThrough("Email"); + $dataConsent->setContactThroughEmail(true); + $dataConsent->setContactThroughSocial(false); + $dataConsent->setContactThroughPhone(true); + $dataConsent->setContactThroughSurvey(true); + $dataConsent->setConsentDate(new \DateTime('2023-10-10')); + $dataConsent->setDataProcessingBasis("Obtained"); + $record1->addKeyValue("Data_Processing_Basis_Details", $dataConsent); + // for custom Fields + $record1->addKeyValue("External", "Value12445"); + $record1->addKeyValue("Custom_Field", "custom_value"); + $record1->addKeyValue("Date_Time_1", date_create("2020-06-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get()))); + $record1->addKeyValue("Date_1", '2023-12-12'); + $record1->addKeyValue("Subject", "AutomatedSDK"); + $record1->addKeyValue("Product_Name", "Automated"); + $fileDetails = array(); + $fileDetail1 = new FileDetails(); + $fileDetail1->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d280"); + array_push($fileDetails,$fileDetail1); + $fileDetail2 = new FileDetails(); + $fileDetail2->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d2de"); + array_push($fileDetails,$fileDetail2); + $record1->addKeyValue("File_Upload", $fileDetails); + // for Custom User LookUp + $user = new MinifiedUser(); + $user->setId("4222222222222323123"); + $record1->addKeyValue("User_1", $user); + // for Custom LookUp + $data = new Record(); + $data->setId("4232434444444342123"); + $record1->addKeyValue("Lookup_1", $data); + // for Custom PickList + $record1->addKeyValue("Pick", new Choice("true")); + // for Custom MultiSelect + $record1->addKeyValue("MultiSelect", array(new Choice("Option 1"), new Choice("Option 2"))); + // for Subform + $subformList = array(); + $subform = new Record(); + $subform->addKeyValue("CustomField", "customValue"); + $user1 = new MinifiedUser(); + $user1->setId("430300032334334343"); + $subform->addKeyValue("UserField", $user1); + array_push($subformList, $subform); + $record1->addKeyValue("Subform_1", $subformList); + // for MultiSelectLookUp/Custom MultiSelectLookup + $multiselectList = array(); + $record = new Record(); + $record->addKeyValue("id", "440248000884001"); + $linkingRecord = new Record(); + $linkingRecord->addKeyValue("Msl", $record); + array_push($multiselectList,$linkingRecord); + $record1->addKeyValue("Msl", $multiselectList); + // + $tagList = array(); + $tag = new Tag(); + $tag->setName("Testtask"); + array_push($tagList, $tag); + $record1->setTag($tagList); + //Add Record instance to the list + array_push($records, $record1); + $bodyWrapper->setData($records); + $trigger = array("approval", "workflow", "blueprint"); + $bodyWrapper->setTrigger($trigger); + $bodyWrapper->setLarId("34770610087515"); + + $headerInstance = new HeaderMap(); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Quotes.Quoted_Items.Product_Name.Products_External"); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Products.Products_External"); + //Call createRecords method that takes BodyWrapper instance as parameter. + $response = $recordOperations->createRecords($bodyWrapper, $headerInstance); + if ($response != null) { + //Get the status code from response + echo ("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + //Get object from response + $actionHandler = $response->getObject(); + if ($actionHandler instanceof ActionWrapper) { + $actionWrapper = $actionHandler; + $actionResponses = $actionWrapper->getData(); + foreach ($actionResponses as $actionResponse) { + if ($actionResponse instanceof SuccessResponse) { + $successResponse = $actionResponse; + echo ("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo ("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($successResponse->getDetails() as $key => $value) { + echo ($key . " : "); + print_r($value); + echo ("\n"); + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } + else if ($actionResponse instanceof APIException) { + $exception = $actionResponse; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } + else if ($actionHandler instanceof APIException) { + $exception = $actionHandler; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName = "Deals"; +CreateDeals::initialize(); +CreateDeals::createDeals($moduleAPIName); \ No newline at end of file diff --git a/versions/5.0.0/samples/record/createrecords/CreateEvents.php b/versions/5.0.0/samples/record/createrecords/CreateEvents.php new file mode 100644 index 0000000..a99163a --- /dev/null +++ b/versions/5.0.0/samples/record/createrecords/CreateEvents.php @@ -0,0 +1,203 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function createEvents($moduleAPIName) + { + $recordOperations = new RecordOperations($moduleAPIName); + $bodyWrapper = new BodyWrapper(); + $records = array(); + $recordClass = 'com\zoho\crm\api\record\Record'; + $record1 = new $recordClass(); + $record1->addFieldValue(Events::Description(), "description"); + $record1->addFieldValue(Events::StartDateTime(), date_create("2020-06-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get()))); + $participants = array(); + $participant1 = new Participants(); + $participant1->setEmail("abc@zoho.com"); + $participant1->setType("email"); + $participant1->setId("440248000254001"); + array_push($participants, $participant1); + $participant2 = new Participants(); + $participant2->addKeyValue("participant", "34003242454"); + $participant2->addKeyValue("type", "lead"); + array_push($participants, $participant2); + $record1->addFieldValue(Events::Participants(), $participants); + $record1->addFieldValue(Events::AllDay(), true); + $record1->addKeyValue('$send_notification', true); + $record1->addFieldValue(Events::EventTitle(), "New Automated Event"); + $record1->addFieldValue(Events::EndDateTime(), date_create("2020-06-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get()))); + $reminderList = array(); + $remindAt = new Reminder(); + $remindAt->setPeriod("minutes"); + $remindAt->setUnit(15); + array_push($reminderList, $remindAt); + $remindAt1 = new Reminder(); + $remindAt1->setPeriod("days"); + $remindAt1->setUnit(1); + $remindAt1->setTime("10:30"); + array_push($reminderList, $remindAt1); + $record1->addKeyValue('$se_module', "leads"); + $whatId = new Record(); + $whatId->setId("440248001182075"); + $record1->addFieldValue(Events::WhatId(), $whatId); + $record1->addKeyValue("Currency", new Choice("USD")); + // used when GDPR is enabled + $dataConsent = new Consent(); + $dataConsent->setConsentRemarks("Approved"); + $dataConsent->setConsentThrough("Email"); + $dataConsent->setContactThroughEmail(true); + $dataConsent->setContactThroughSocial(false); + $dataConsent->setContactThroughPhone(true); + $dataConsent->setContactThroughSurvey(true); + $dataConsent->setConsentDate(new \DateTime('2023-10-10')); + $dataConsent->setDataProcessingBasis("Obtained"); + $record1->addKeyValue("Data_Processing_Basis_Details", $dataConsent); + // for custom Fields + $record1->addKeyValue("External", "Value12445"); + $record1->addKeyValue("Custom_Field", "custom_value"); + $record1->addKeyValue("Date_Time_1", date_create("2020-06-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get()))); + $record1->addKeyValue("Date_1", '2023-12-12'); + $record1->addKeyValue("Subject", "AutomatedSDK"); + $record1->addKeyValue("Product_Name", "Automated"); + $fileDetails = array(); + $fileDetail1 = new FileDetails(); + $fileDetail1->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d280"); + array_push($fileDetails, $fileDetail1); + $fileDetail2 = new FileDetails(); + $fileDetail2->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d2de"); + array_push($fileDetails, $fileDetail2); + $record1->addKeyValue("File_Upload", $fileDetails); + // for Custom User LookUp + $user = new MinifiedUser(); + $user->setId("4222222222222323123"); + $record1->addKeyValue("User_1", $user); + // for Custom LookUp + $data = new Record(); + $data->setId("4232434444444342123"); + $record1->addKeyValue("Lookup_1", $data); + // for Custom PickList + $record1->addKeyValue("Pick", new Choice("true")); + // for Custom MultiSelect + $record1->addKeyValue("MultiSelect", array(new Choice("Option 1"), new Choice("Option 2"))); + // for Subform + $subformList = array(); + $subform = new Record(); + $subform->addKeyValue("CustomField", "customValue"); + $user1 = new MinifiedUser(); + $user1->setId("430300032334334343"); + $subform->addKeyValue("UserField", $user1); + array_push($subformList, $subform); + $record1->addKeyValue("Subform_1", $subformList); + // for MultiSelectLookUp/Custom MultiSelectLookup + $multiselectList = array(); + $record = new Record(); + $record->addKeyValue("id", "440248000884001"); + $linkingRecord = new Record(); + $linkingRecord->addKeyValue("Msl", $record); + array_push($multiselectList, $linkingRecord); + $record1->addKeyValue("Msl", $multiselectList); + // + $tagList = array(); + $tag = new Tag(); + $tag->setName("Testtask"); + array_push($tagList, $tag); + $record1->setTag($tagList); + //Add Record instance to the list + array_push($records, $record1); + $bodyWrapper->setData($records); + $trigger = array("approval", "workflow", "blueprint"); + $bodyWrapper->setTrigger($trigger); + $bodyWrapper->setLarId("34770610087515"); + + $headerInstance = new HeaderMap(); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Quotes.Quoted_Items.Product_Name.Products_External"); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Products.Products_External"); + //Call createRecords method that takes BodyWrapper instance as parameter. + $response = $recordOperations->createRecords($bodyWrapper, $headerInstance); + if ($response != null) { + //Get the status code from response + echo("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + //Get object from response + $actionHandler = $response->getObject(); + if ($actionHandler instanceof ActionWrapper) { + $actionWrapper = $actionHandler; + $actionResponses = $actionWrapper->getData(); + foreach ($actionResponses as $actionResponse) { + if ($actionResponse instanceof SuccessResponse) { + $successResponse = $actionResponse; + echo("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($successResponse->getDetails() as $key => $value) { + echo($key . " : "); + print_r($value); + echo("\n"); + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } else if ($actionResponse instanceof APIException) { + $exception = $actionResponse; + echo("Status: " . $exception->getStatus()->getValue() . "\n"); + echo("Code: " . $exception->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } else if ($actionHandler instanceof APIException) { + $exception = $actionHandler; + echo("Status: " . $exception->getStatus()->getValue() . "\n"); + echo("Code: " . $exception->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName = "Events"; +CreateEvents::initialize(); +CreateEvents::createEvents($moduleAPIName); \ No newline at end of file diff --git a/versions/5.0.0/samples/record/createrecords/CreateInvoices.php b/versions/5.0.0/samples/record/createrecords/CreateInvoices.php new file mode 100644 index 0000000..1714cbc --- /dev/null +++ b/versions/5.0.0/samples/record/createrecords/CreateInvoices.php @@ -0,0 +1,233 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function createInvoices($moduleAPIName) + { + $recordOperations = new RecordOperations($moduleAPIName); + $bodyWrapper = new BodyWrapper(); + $records = array(); + $recordClass = 'com\zoho\crm\api\record\Record'; + $record1 = new $recordClass(); + $pricingDetails = array(); + $accountName = new Record(); + $accountName->addFieldValue(Accounts::id(), "34000123423423"); + $record1->addFieldValue(Invoices::AccountName(), $accountName); + $record1->addFieldValue(Invoices::Subject(), "new Invoice"); + $record1->addFieldValue(Invoices::Adjustment(), 10.0); + $record1->addFieldValue(Invoices::InvoiceDate(), new \DateTime('2023-09-12')); + $record1->addFieldValue(Invoices::DueDate(), new \DateTime('2023-10-12')); + $record1->addFieldValue(Invoices::SalesCommission(), 20.0); + $record1->addFieldValue(Invoices::PurchaseOrder(), "Purchase Order"); + $record1->addFieldValue(Invoices::ExciseDuty(), 10.0); + $record1->addFieldValue(Invoices::Status(), new Choice("Created")); + $contactName = new Record(); + $contactName->setId("3242354655432344"); + $record1->addFieldValue(Invoices::ContactName(), $contactName); + $dealName = new Record(); + $dealName->setId("440248001177050"); + $record1->addKeyValue("Deal_Name__s", $dealName); + $sales_order = new Record(); + $sales_order->addFieldValue(Sales_Orders::id(), "300034352342"); + $record1->addFieldValue(Invoices::SalesOrder(), $sales_order); + $record1->addFieldValue(Invoices::TermsAndConditions(), "details of terms and conditions"); + $record1->addFieldValue(Invoices::Description(), "description"); + $inventoryLineItemList = array(); + $inventoryLineItem = new Record(); + $lineItemProduct = new LineItemProduct(); + $lineItemProduct->setId("440248000954344"); + $inventoryLineItem->addKeyValue("Description", "asd"); + $inventoryLineItem->addKeyValue("Discount", "5"); + $inventoryLineItem->addKeyValue("Quantity", 10.0); + $inventoryLineItem->addKeyValue("List_Price", 100.0); + $inventoryLineItem->addKeyValue("Product_Name", $lineItemProduct); + $inventoryLineItem->addKeyValue("Product_Category_1", "hardware"); + $productLineTaxes = array(); + $productLineTax = new LineTax(); + $productLineTax->setName("Vat"); + $productLineTax->setValue(10.0); + $productLineTax->setId("440248020810"); + $productLineTax->setPercentage(10.0); + array_push($productLineTaxes, $productLineTax); + $inventoryLineItem->addKeyValue("Line_Tax", $productLineTaxes); + array_push($inventoryLineItemList, $inventoryLineItem); + $record1->addFieldValue(Invoices::InvoicedItems(), $inventoryLineItemList); + $lineTaxes = array(); + $lineTax = new LineTax(); + $lineTax->setName("MyTax1123"); + $lineTax->setPercentage(20.0); + array_push($lineTaxes, $lineTax); + $record1->addKeyValue('$line_tax', $lineTaxes); + // Address info + $record1->addFieldValue(Invoices::BillingCity(), "city"); + $record1->addFieldValue(Invoices::BillingState(), "state"); + $record1->addFieldValue(Invoices::BillingCountry(), "country"); + $record1->addFieldValue(Invoices::BillingCode(), "code"); + $record1->addFieldValue(Invoices::BillingStreet(), "street"); + $record1->addFieldValue(Invoices::ShippingState(), "state"); + $record1->addFieldValue(Invoices::ShippingCity(), "city"); + $record1->addFieldValue(Invoices::ShippingCountry(), "country"); + $record1->addFieldValue(Invoices::ShippingStreet(), "street"); + $record1->addFieldValue(Invoices::ShippingCode(), "code"); + // used when GDPR is enabled + $dataConsent = new Consent(); + $dataConsent->setConsentRemarks("Approved"); + $dataConsent->setConsentThrough("Email"); + $dataConsent->setContactThroughEmail(true); + $dataConsent->setContactThroughSocial(false); + $dataConsent->setContactThroughPhone(true); + $dataConsent->setContactThroughSurvey(true); + $dataConsent->setConsentDate(new \DateTime('2023-10-10')); + $dataConsent->setDataProcessingBasis("Obtained"); + $record1->addKeyValue("Data_Processing_Basis_Details", $dataConsent); + // for custom Fields + $record1->addKeyValue("External", "Value12445"); + $record1->addKeyValue("Custom_Field", "custom_value"); + $record1->addKeyValue("Date_Time_1", date_create("2020-06-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get()))); + $record1->addKeyValue("Date_1", '2023-12-12'); + $record1->addKeyValue("Subject", "AutomatedSDK"); + $record1->addKeyValue("Product_Name", "Automated"); + $fileDetails = array(); + $fileDetail1 = new FileDetails(); + $fileDetail1->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d280"); + array_push($fileDetails, $fileDetail1); + $fileDetail2 = new FileDetails(); + $fileDetail2->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d2de"); + array_push($fileDetails, $fileDetail2); + $record1->addKeyValue("File_Upload", $fileDetails); + // for Custom User LookUp + $user = new MinifiedUser(); + $user->setId("4222222222222323123"); + $record1->addKeyValue("User_1", $user); + // for Custom LookUp + $data = new Record(); + $data->setId("4232434444444342123"); + $record1->addKeyValue("Lookup_1", $data); + // for Custom PickList + $record1->addKeyValue("Pick", new Choice("true")); + // for Custom MultiSelect + $record1->addKeyValue("MultiSelect", array(new Choice("Option 1"), new Choice("Option 2"))); + // for Subform + $subformList = array(); + $subform = new Record(); + $subform->addKeyValue("CustomField", "customValue"); + $user1 = new MinifiedUser(); + $user1->setId("430300032334334343"); + $subform->addKeyValue("UserField", $user1); + array_push($subformList, $subform); + $record1->addKeyValue("Subform_1", $subformList); + // for MultiSelectLookUp/Custom MultiSelectLookup + $multiselectList = array(); + $record = new Record(); + $record->addKeyValue("id", "440248000884001"); + $linkingRecord = new Record(); + $linkingRecord->addKeyValue("Msl", $record); + array_push($multiselectList, $linkingRecord); + $record1->addKeyValue("Msl", $multiselectList); + // + $tagList = array(); + $tag = new Tag(); + $tag->setName("Testtask"); + array_push($tagList, $tag); + $record1->setTag($tagList); + //Add Record instance to the list + array_push($records, $record1); + $bodyWrapper->setData($records); + $trigger = array("approval", "workflow", "blueprint"); + $bodyWrapper->setTrigger($trigger); + $bodyWrapper->setLarId("34770610087515"); + + $headerInstance = new HeaderMap(); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Quotes.Quoted_Items.Product_Name.Products_External"); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Products.Products_External"); + //Call createRecords method that takes BodyWrapper instance as parameter. + $response = $recordOperations->createRecords($bodyWrapper, $headerInstance); + if ($response != null) { + //Get the status code from response + echo("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + //Get object from response + $actionHandler = $response->getObject(); + if ($actionHandler instanceof ActionWrapper) { + $actionWrapper = $actionHandler; + $actionResponses = $actionWrapper->getData(); + foreach ($actionResponses as $actionResponse) { + if ($actionResponse instanceof SuccessResponse) { + $successResponse = $actionResponse; + echo("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($successResponse->getDetails() as $key => $value) { + echo($key . " : "); + print_r($value); + echo("\n"); + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } else if ($actionResponse instanceof APIException) { + $exception = $actionResponse; + echo("Status: " . $exception->getStatus()->getValue() . "\n"); + echo("Code: " . $exception->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } else if ($actionHandler instanceof APIException) { + $exception = $actionHandler; + echo("Status: " . $exception->getStatus()->getValue() . "\n"); + echo("Code: " . $exception->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName = "Invoices"; +CreateInvoices::initialize(); +CreateInvoices::createInvoices($moduleAPIName); \ No newline at end of file diff --git a/versions/5.0.0/samples/record/createrecords/CreateLeads.php b/versions/5.0.0/samples/record/createrecords/CreateLeads.php new file mode 100644 index 0000000..4eb49f4 --- /dev/null +++ b/versions/5.0.0/samples/record/createrecords/CreateLeads.php @@ -0,0 +1,208 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function createLeads(String $moduleAPIName) + { + $recordOperations = new RecordOperations($moduleAPIName); + $bodyWrapper = new BodyWrapper(); + $records = array(); + $recordClass = 'com\zoho\crm\api\record\Record'; + $record1 = new $recordClass(); + $record1->addFieldValue(Leads::City(), "City"); + $record1->addFieldValue(Leads::Company(), "company"); + $record1->addFieldValue(Leads::LastName(), "FROm now PHP"); + $record1->addFieldValue(Leads::FirstName(), "First Name"); + $record1->addFieldValue(Leads::AnnualRevenue(), 1002.2); + $record1->addFieldValue(Leads::Email(), "abc@zoho.com"); + $record1->addKeyValue("Title", "Title Name"); + $record1->addFieldValue(Leads::SecondaryEmail(), "abc1@zoho.com"); + $record1->addFieldValue(Leads::Phone(), "131131"); + $record1->addFieldValue(Leads::Fax(), "Fax"); + $record1->addFieldValue(Leads::Mobile(), "2010101"); + $record1->addFieldValue(Leads::Website(), "www.domain.com"); + $record1->addFieldValue(Leads::LeadSource(), new Choice("Advertisement")); + $record1->addFieldValue(Leads::NoOfEmployees(), 10); + $record1->addFieldValue(Leads::Industry(), new Choice("ERP")); + $record1->addFieldValue(Leads::EmailOptOut(),true); + $record1->addFieldValue(Leads::LeadStatus(), new Choice("Contacted")); + $record1->addFieldValue(Leads::Rating(), new Choice("Active")); + $record1->addFieldValue(Leads::SkypeID(), "Skype_id"); + $record1->addFieldValue(Leads::Twitter(), "twitter123"); + //Address info + $record1->addFieldValue(Leads::Street(), "Street"); + $record1->addFieldValue(Leads::State(), "State Name"); + $record1->addFieldValue(Leads::City(), "City name"); + $record1->addFieldValue(Leads::Country(), "Country Name"); + $record1->addFieldValue(Leads::ZipCode(), "Zipcode"); + // + $record1->addFieldValue(Leads::Description(), "description"); + //used when GDPR is enabled + $dataConsent = new Consent(); + $dataConsent->setConsentRemarks("Approved"); + $dataConsent->setConsentThrough("Email"); + $dataConsent->setContactThroughEmail(true); + $dataConsent->setContactThroughSocial(false); + $dataConsent->setContactThroughPhone(true); + $dataConsent->setContactThroughSurvey(true); + $dataConsent->setConsentDate(new \DateTime('2023-10-10')); + $dataConsent->setDataProcessingBasis("Obtained"); + $record1->addKeyValue("Data_Processing_Basis_Details", $dataConsent); + //for custom Fields + $record1->addKeyValue("External", "Value12445"); + $record1->addKeyValue("Longinteger", 123); + $record1->addKeyValue("CustomField", "custom_value"); + $record1->addKeyValue("Datetime", date_create("2020-06-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get()))); + $record1->addKeyValue("Date_1", new \DateTime('2021-12-10')); + $record1->addKeyValue("Subject", "AutomatedSDK"); + $record1->addKeyValue("Product_Name", "Automated"); + $fileDetails = array(); + $fileDetail1 = new FileDetails(); + $fileDetail1->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d280"); + array_push($fileDetails,$fileDetail1); + $fileDetail2 = new FileDetails(); + $fileDetail2->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d2de"); + array_push($fileDetails,$fileDetail2); + $record1->addKeyValue("File_Upload", $fileDetails); + //for Custom User LookUp + $user = new MinifiedUser(); + $user->setId("440248000254001"); + $record1->addKeyValue("User_1", $user); + //for Custom LookUp + $data = new Record(); + $data->setId("440248000774074"); + $record1->addKeyValue("Lookup_1", $data); + //for Custom PickList + $record1->addKeyValue("Pick", new Choice("true")); + //for Custom MultiSelect + $record1->addKeyValue("Multiselect", array(new Choice("Option 1"), new Choice("Option 2"))); + //for Subform + $subformList = array(); + $subform = new Record(); + $subform->addKeyValue("customfield", "customValue"); + $user1 = new MinifiedUser(); + $user1->setId("440248000254001"); + $subform->addKeyValue("Userfield", $user1); + array_push($subformList, $subform); + $record1->addKeyValue("Subform_2", $subformList); + //for MultiSelectLookUp/Custom MultiSelectLookup + $multiselectList = array(); + $record = new Record(); + $record->addKeyValue("id", "440248000884001"); + $linkingRecord = new Record(); + $linkingRecord->addKeyValue("MultiSelectLookup", $record); + $record2 = new Record(); + $record2->setId("440248001103145"); + $linkingRecord1 = new Record(); + $linkingRecord1->addKeyValue("MultiSelectLookup", $record2); + array_push($multiselectList,$linkingRecord); + array_push($multiselectList, $linkingRecord1); + $record1->addKeyValue("MultiSelectLookup", $multiselectList); + + $data = new Layouts(); + $data->setId("42322123"); + $record1->addKeyValue("Layout", $data); + + $tagList = array(); + $tag = new Tag(); + $tag->setName("Testtask"); + array_push($tagList, $tag); + $record1->setTag($tagList); + //Add Record instance to the list + array_push($records, $record1); + $bodyWrapper->setData($records); + $trigger = array("approval", "workflow", "blueprint"); + $bodyWrapper->setTrigger($trigger); + $bodyWrapper->setLarId("34770610087515"); + + $headerInstance = new HeaderMap(); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Quotes.Quoted_Items.Product_Name.Products_External"); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Products.Products_External"); + //Call createRecords method that takes BodyWrapper instance as parameter. + $response = $recordOperations->createRecords($bodyWrapper, $headerInstance); + if ($response != null) { + echo ("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + $actionHandler = $response->getObject(); + if ($actionHandler instanceof ActionWrapper) { + $actionWrapper = $actionHandler; + $actionResponses = $actionWrapper->getData(); + foreach ($actionResponses as $actionResponse) { + if ($actionResponse instanceof SuccessResponse) { + $successResponse = $actionResponse; + echo ("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo ("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($successResponse->getDetails() as $key => $value) { + echo ($key . " : "); + print_r($value); + echo ("\n"); + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } + else if ($actionResponse instanceof APIException) { + $exception = $actionResponse; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } + else if ($actionHandler instanceof APIException) { + $exception = $actionHandler; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName = "leads"; +CreateLeads::initialize(); +CreateLeads::createLeads($moduleAPIName); \ No newline at end of file diff --git a/versions/5.0.0/samples/record/createrecords/CreatePriceBooks.php b/versions/5.0.0/samples/record/createrecords/CreatePriceBooks.php new file mode 100644 index 0000000..6c31d12 --- /dev/null +++ b/versions/5.0.0/samples/record/createrecords/CreatePriceBooks.php @@ -0,0 +1,186 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function createPriceBooks($moduleAPIName) + { + $recordOperations = new RecordOperations($moduleAPIName); + $bodyWrapper = new BodyWrapper(); + $records = array(); + $recordClass = 'com\zoho\crm\api\record\Record'; + $record1 = new $recordClass(); + $pricingDetails = array(); + $pricingDetail1 = new PricingDetails(); + $pricingDetail1->setFromRange(1.0); + $pricingDetail1->setToRange(5.0); + $pricingDetail1->setDiscount(2.0); + array_push($pricingDetails, $pricingDetail1); + $pricingDetail2 = new PricingDetails(); + $pricingDetail2->addKeyValue("from_range", 6.0); + $pricingDetail2->addKeyValue("to_range", 11.0); + $pricingDetail2->addKeyValue("discount", 3.0); + array_push($pricingDetails, $pricingDetail2); + $record1->addFieldValue(Price_Books::PricingDetails(), $pricingDetails); + $record1->addKeyValue("Email", "abc@zoho.com"); + $record1->addFieldValue(Price_Books::Description(), "description"); + $record1->addFieldValue(Price_Books::PriceBookName(), "book_name"); + $record1->addFieldValue(Price_Books::PricingModel(), new Choice("Flat")); + // used when GDPR is enabled + $dataConsent = new Consent(); + $dataConsent->setConsentRemarks("Approved"); + $dataConsent->setConsentThrough("Email"); + $dataConsent->setContactThroughEmail(true); + $dataConsent->setContactThroughSocial(false); + $dataConsent->setContactThroughPhone(true); + $dataConsent->setContactThroughSurvey(true); + $dataConsent->setConsentDate(new \DateTime('2023-10-10')); + $dataConsent->setDataProcessingBasis("Obtained"); + $record1->addKeyValue("Data_Processing_Basis_Details", $dataConsent); + // for custom Fields + $record1->addKeyValue("External", "Value12445"); + $record1->addKeyValue("Custom_Field", "custom_value"); + $record1->addKeyValue("Date_Time_1", date_create("2020-06-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get()))); + $record1->addKeyValue("Date_1", '2023-12-12'); + $record1->addKeyValue("Subject", "AutomatedSDK"); + $record1->addKeyValue("Product_Name", "Automated"); + $fileDetails = array(); + $fileDetail1 = new FileDetails(); + $fileDetail1->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d280"); + array_push($fileDetails, $fileDetail1); + $fileDetail2 = new FileDetails(); + $fileDetail2->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d2de"); + array_push($fileDetails, $fileDetail2); + $record1->addKeyValue("File_Upload", $fileDetails); + // for Custom User LookUp + $user = new MinifiedUser(); + $user->setId("4222222222222323123"); + $record1->addKeyValue("User_1", $user); + // for Custom LookUp + $data = new Record(); + $data->setId("4232434444444342123"); + $record1->addKeyValue("Lookup_1", $data); + // for Custom PickList + $record1->addKeyValue("Pick", new Choice("true")); + // for Custom MultiSelect + $record1->addKeyValue("MultiSelect", array(new Choice("Option 1"), new Choice("Option 2"))); + // for Subform + $subformList = array(); + $subform = new Record(); + $subform->addKeyValue("CustomField", "customValue"); + $user1 = new MinifiedUser(); + $user1->setId("430300032334334343"); + $subform->addKeyValue("UserField", $user1); + array_push($subformList, $subform); + $record1->addKeyValue("Subform_1", $subformList); + // for MultiSelectLookUp/Custom MultiSelectLookup + $multiselectList = array(); + $record = new Record(); + $record->addKeyValue("id", "440248000884001"); + $linkingRecord = new Record(); + $linkingRecord->addKeyValue("Msl", $record); + array_push($multiselectList, $linkingRecord); + $record1->addKeyValue("Msl", $multiselectList); + // + $tagList = array(); + $tag = new Tag(); + $tag->setName("Testtask"); + array_push($tagList, $tag); + $record1->setTag($tagList); + //Add Record instance to the list + array_push($records, $record1); + $bodyWrapper->setData($records); + $trigger = array("approval", "workflow", "blueprint"); + $bodyWrapper->setTrigger($trigger); + $bodyWrapper->setLarId("34770610087515"); + + $headerInstance = new HeaderMap(); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Quotes.Quoted_Items.Product_Name.Products_External"); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Products.Products_External"); + //Call createRecords method that takes BodyWrapper instance as parameter. + $response = $recordOperations->createRecords($bodyWrapper, $headerInstance); + if ($response != null) { + //Get the status code from response + echo("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + //Get object from response + $actionHandler = $response->getObject(); + if ($actionHandler instanceof ActionWrapper) { + $actionWrapper = $actionHandler; + $actionResponses = $actionWrapper->getData(); + foreach ($actionResponses as $actionResponse) { + if ($actionResponse instanceof SuccessResponse) { + $successResponse = $actionResponse; + echo("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($successResponse->getDetails() as $key => $value) { + echo($key . " : "); + print_r($value); + echo("\n"); + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } else if ($actionResponse instanceof APIException) { + $exception = $actionResponse; + echo("Status: " . $exception->getStatus()->getValue() . "\n"); + echo("Code: " . $exception->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } else if ($actionHandler instanceof APIException) { + $exception = $actionHandler; + echo("Status: " . $exception->getStatus()->getValue() . "\n"); + echo("Code: " . $exception->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName = "Price_Books"; +CreatePriceBooks::initialize(); +CreatePriceBooks::createPriceBooks($moduleAPIName); \ No newline at end of file diff --git a/versions/5.0.0/samples/record/createrecords/CreateProducts.php b/versions/5.0.0/samples/record/createrecords/CreateProducts.php new file mode 100644 index 0000000..1d89219 --- /dev/null +++ b/versions/5.0.0/samples/record/createrecords/CreateProducts.php @@ -0,0 +1,208 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function createProducts(String $moduleAPIName) + { + $recordOperations = new RecordOperations($moduleAPIName); + $bodyWrapper = new BodyWrapper(); + $records = array(); + $recordClass = 'com\zoho\crm\api\record\Record'; + $record1 = new $recordClass(); + $record1->addFieldValue(Products::ProductName(), 'new Product'); + $record1->addFieldValue(Products::ProductCode(), 'Code123'); + $record1->addFieldValue(Products::ProductActive(), true); + $vendorName = new Record(); + $vendorName->setId("3000234402340342"); + $record1->addFieldValue(Products::VendorName(), $vendorName); + $record1->addFieldValue(Products::ProductCategory(), new Choice("Hardware")); + $record1->addFieldValue(Products::Manufacturer(), new Choice("LexPon Inc.")); + $record1->addFieldValue(Products::SalesStartDate(), new \DateTime("2023-08-10")); + $record1->addFieldValue(Products::SalesEndDate(), new \DateTime("2023-09-10")); + $record1->addFieldValue(Products::SupportStartDate(), new \DateTime("2023-08-10")); + $record1->addFieldValue(Products::SupportExpiryDate(), new \DateTime("2023-10-10")); + // Price Info + $record1->addFieldValue(Products::UnitPrice(), 100.1); + $record1->addFieldValue(Products::CommissionRate(), 12.0); + $taxes = array(); + $line_tax = new Tax(); + $line_tax->setId("440248020807"); + $line_tax->setValue(10.0); + array_push($taxes, $line_tax); + $record1->addFieldValue(Products::Tax(), $taxes); + $record1->addFieldValue(Products::Taxable(), true); + // Stock info + $record1->addFieldValue(Products::UsageUnit(), new Choice("Box")); + $record1->addFieldValue(Products::QtyOrdered(), 100.0); + $record1->addFieldValue(Products::QtyInDemand(), 120.0); + $record1->addFieldValue(Products::ReorderLevel(), ''); + $handler = new MinifiedUser(); + $handler->setId("440248000254001"); + $record1->addFieldValue(Products::Handler(), $handler); + $record1->addFieldValue(Products::QtyInStock(), 200.0); + // + $record1->addFieldValue(Products::Description(), 'description'); + // used when GDPR is enabled + $dataConsent = new Consent(); + $dataConsent->setConsentRemarks("Approved"); + $dataConsent->setConsentThrough("Email"); + $dataConsent->setContactThroughEmail(true); + $dataConsent->setContactThroughSocial(false); + $dataConsent->setContactThroughPhone(true); + $dataConsent->setContactThroughSurvey(true); + $dataConsent->setConsentDate(new \DateTime('2023-10-10')); + $dataConsent->setDataProcessingBasis("Obtained"); + $record1->addKeyValue("Data_Processing_Basis_Details", $dataConsent); + // for custom Fields + $record1->addKeyValue("External", "Value12445"); + $record1->addKeyValue("Custom_Field", "custom_value"); + $record1->addKeyValue("Date_Time_1", date_create("2020-06-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get()))); + $record1->addKeyValue("Date_1", '2023-12-12'); + $record1->addKeyValue("Subject", "AutomatedSDK"); + $record1->addKeyValue("Product_Name", "Automated"); + $fileDetails = array(); + $fileDetail1 = new FileDetails(); + $fileDetail1->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d280"); + array_push($fileDetails,$fileDetail1); + $fileDetail2 = new FileDetails(); + $fileDetail2->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d2de"); + array_push($fileDetails,$fileDetail2); + $record1->addKeyValue("File_Upload", $fileDetails); + // for Custom User LookUp + $user = new MinifiedUser(); + $user->setId("4222222222222323123"); + $record1->addKeyValue("User_1", $user); + // for Custom LookUp + $data = new Record(); + $data->setId("4232434444444342123"); + $record1->addKeyValue("Lookup_1", $data); + // for Custom PickList + $record1->addKeyValue("Pick", new Choice("true")); + // for Custom MultiSelect + $record1->addKeyValue("MultiSelect", array(new Choice("Option 1"), new Choice("Option 2"))); + // for Subform + $subformList = array(); + $subform = new Record(); + $subform->addKeyValue("CustomField", "customValue"); + $user1 = new MinifiedUser(); + $user1->setId("430300032334334343"); + $subform->addKeyValue("UserField", $user1); + array_push($subformList, $subform); + $record1->addKeyValue("Subform_1", $subformList); + // for MultiSelectLookUp/Custom MultiSelectLookup + $multiselectList = array(); + $record = new Record(); + $record->addKeyValue("id", "440248000884001"); + $linkingRecord = new Record(); + $linkingRecord->addKeyValue("Msl", $record); + array_push($multiselectList,$linkingRecord); + $record1->addKeyValue("Msl", $multiselectList); + + $tagList = array(); + $tag = new Tag(); + $tag->setName("Testtask"); + array_push($tagList, $tag); + $record1->setTag($tagList); + //Add Record instance to the list + array_push($records, $record1); + $bodyWrapper->setData($records); + $trigger = array("approval", "workflow", "blueprint"); + $bodyWrapper->setTrigger($trigger); + $bodyWrapper->setLarId("34770610087515"); + + $headerInstance = new HeaderMap(); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Quotes.Quoted_Items.Product_Name.Products_External"); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Products.Products_External"); + //Call createRecords method that takes BodyWrapper instance as parameter. + $response = $recordOperations->createRecords($bodyWrapper, $headerInstance); + if ($response != null) { + //Get the status code from response + echo ("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + //Get object from response + $actionHandler = $response->getObject(); + if ($actionHandler instanceof ActionWrapper) { + $actionWrapper = $actionHandler; + $actionResponses = $actionWrapper->getData(); + foreach ($actionResponses as $actionResponse) { + if ($actionResponse instanceof SuccessResponse) { + $successResponse = $actionResponse; + echo ("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo ("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($successResponse->getDetails() as $key => $value) { + echo ($key . " : "); + print_r($value); + echo ("\n"); + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } + else if ($actionResponse instanceof APIException) { + $exception = $actionResponse; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } + else if ($actionHandler instanceof APIException) { + $exception = $actionHandler; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName = "Products"; +CreateProducts::initialize(); +CreateProducts::createProducts($moduleAPIName); \ No newline at end of file diff --git a/versions/5.0.0/samples/record/createrecords/CreatePurchaseOrders.php b/versions/5.0.0/samples/record/createrecords/CreatePurchaseOrders.php new file mode 100644 index 0000000..f4a55ff --- /dev/null +++ b/versions/5.0.0/samples/record/createrecords/CreatePurchaseOrders.php @@ -0,0 +1,226 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function createPurchaseOrders($moduleAPIName) + { + $recordOperations = new RecordOperations($moduleAPIName); + $bodyWrapper = new BodyWrapper(); + $records = array(); + $recordClass = 'com\zoho\crm\api\record\Record'; + $record1 = new $recordClass(); + $vendor = new Record(); + $vendor->addFieldValue(Vendors::id(), "340002354235234"); + $record1->addFieldValue(Purchase_Orders::VendorName(), $vendor); + $record1->addFieldValue(Purchase_Orders::Subject(), "new Order"); + $record1->addFieldValue(Purchase_Orders::Adjustment(), 30.0); + $record1->addFieldValue(Purchase_Orders::Carrier(), new Choice("FedEX")); + $record1->addFieldValue(Purchase_Orders::PODate(), new \DateTime('2023-10-10')); + $record1->addFieldValue(Purchase_Orders::PONumber(), "1223221"); + $record1->addFieldValue(Purchase_Orders::ExciseDuty(), 25.0); + $record1->addFieldValue(Purchase_Orders::TrackingNumber(), "4231"); + $record1->addFieldValue(Purchase_Orders::SalesCommission(), 43.2); + $record1->addFieldValue(Purchase_Orders::RequisitionNo(), null); + $contactName = new Record(); + $contactName->setId("3400988300034421"); + $record1->addFieldValue(Purchase_Orders::ContactName(), $contactName); + $record1->addFieldValue(Purchase_Orders::Description(), "description"); + $record1->addFieldValue(Purchase_Orders::TermsAndConditions(), "details of terms and conditions"); + $inventoryLineItemList = array(); + $inventoryLineItem = new Record(); + $lineItemProduct = new LineItemProduct(); + $lineItemProduct->setId("440248000954344"); + $inventoryLineItem->addKeyValue("Description", "asd"); + $inventoryLineItem->addKeyValue("Discount", "5"); + $inventoryLineItem->addKeyValue("Quantity", 10.0); + $inventoryLineItem->addKeyValue("List_Price", 100.0); + $inventoryLineItem->addKeyValue("Product_Name", $lineItemProduct); +// $inventoryLineItem->addKeyValue("Product_Category_1", "hardware"); + $productLineTaxes = array(); + $productLineTax = new LineTax(); + $productLineTax->setName("Vat"); + $productLineTax->setValue(10.0); + $productLineTax->setId("440248020810"); + $productLineTax->setPercentage(10.0); + array_push($productLineTaxes, $productLineTax); + $inventoryLineItem->addKeyValue("Line_Tax", $productLineTaxes); + array_push($inventoryLineItemList, $inventoryLineItem); + $record1->addFieldValue(Purchase_Orders::PurchaseItems(), $inventoryLineItemList); + $lineTaxes = array(); + $lineTax = new LineTax(); + $lineTax->setName("MyTax1123"); + $lineTax->setPercentage(20.0); + array_push($lineTaxes, $lineTax); + $record1->addKeyValue('$line_tax', $lineTaxes); + // Address info + $record1->addFieldValue(Purchase_Orders::BillingCity(), "city"); + $record1->addFieldValue(Purchase_Orders::BillingState(), "state"); + $record1->addFieldValue(Purchase_Orders::BillingCountry(), "country"); + $record1->addFieldValue(Purchase_Orders::BillingCode(), "code"); + $record1->addFieldValue(Purchase_Orders::BillingStreet(), "street"); + $record1->addFieldValue(Purchase_Orders::ShippingState(), "state"); + $record1->addFieldValue(Purchase_Orders::ShippingCity(), "city"); + $record1->addFieldValue(Purchase_Orders::ShippingCountry(), "country"); + $record1->addFieldValue(Purchase_Orders::ShippingStreet(), "street"); + $record1->addFieldValue(Purchase_Orders::ShippingCode(), "code"); + // used when GDPR is enabled + $dataConsent = new Consent(); + $dataConsent->setConsentRemarks("Approved"); + $dataConsent->setConsentThrough("Email"); + $dataConsent->setContactThroughEmail(true); + $dataConsent->setContactThroughSocial(false); + $dataConsent->setContactThroughPhone(true); + $dataConsent->setContactThroughSurvey(true); + $dataConsent->setConsentDate(new \DateTime('2023-10-10')); + $dataConsent->setDataProcessingBasis("Obtained"); + $record1->addKeyValue("Data_Processing_Basis_Details", $dataConsent); + // for custom Fields + $record1->addKeyValue("External", "Value12445"); + $record1->addKeyValue("Custom_Field", "custom_value"); + $record1->addKeyValue("Date_Time_1", date_create("2020-06-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get()))); + $record1->addKeyValue("Date_1", '2023-12-12'); + $record1->addKeyValue("Subject", "AutomatedSDK"); + $record1->addKeyValue("Product_Name", "Automated"); + $fileDetails = array(); + $fileDetail1 = new FileDetails(); + $fileDetail1->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d280"); + array_push($fileDetails, $fileDetail1); + $fileDetail2 = new FileDetails(); + $fileDetail2->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d2de"); + array_push($fileDetails, $fileDetail2); + $record1->addKeyValue("File_Upload", $fileDetails); + // for Custom User LookUp + $user = new MinifiedUser(); + $user->setId("4222222222222323123"); + $record1->addKeyValue("User_1", $user); + // for Custom LookUp + $data = new Record(); + $data->setId("4232434444444342123"); + $record1->addKeyValue("Lookup_1", $data); + // for Custom PickList + $record1->addKeyValue("Pick", new Choice("true")); + // for Custom MultiSelect + $record1->addKeyValue("MultiSelect", array(new Choice("Option 1"), new Choice("Option 2"))); + // for Subform + $subformList = array(); + $subform = new Record(); + $subform->addKeyValue("CustomField", "customValue"); + $user1 = new MinifiedUser(); + $user1->setId("430300032334334343"); + $subform->addKeyValue("UserField", $user1); + array_push($subformList, $subform); + $record1->addKeyValue("Subform_1", $subformList); + // for MultiSelectLookUp/Custom MultiSelectLookup + $multiselectList = array(); + $record = new Record(); + $record->addKeyValue("id", "440248000884001"); + $linkingRecord = new Record(); + $linkingRecord->addKeyValue("Msl", $record); + array_push($multiselectList, $linkingRecord); + $record1->addKeyValue("Msl", $multiselectList); + // + $tagList = array(); + $tag = new Tag(); + $tag->setName("Testtask"); + array_push($tagList, $tag); + $record1->setTag($tagList); + //Add Record instance to the list + array_push($records, $record1); + $bodyWrapper->setData($records); + $trigger = array("approval", "workflow", "blueprint"); + $bodyWrapper->setTrigger($trigger); + $bodyWrapper->setLarId("34770610087515"); + + $headerInstance = new HeaderMap(); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Quotes.Quoted_Items.Product_Name.Products_External"); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Products.Products_External"); + //Call createRecords method that takes BodyWrapper instance as parameter. + $response = $recordOperations->createRecords($bodyWrapper, $headerInstance); + if ($response != null) { + //Get the status code from response + echo("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + //Get object from response + $actionHandler = $response->getObject(); + if ($actionHandler instanceof ActionWrapper) { + $actionWrapper = $actionHandler; + $actionResponses = $actionWrapper->getData(); + foreach ($actionResponses as $actionResponse) { + if ($actionResponse instanceof SuccessResponse) { + $successResponse = $actionResponse; + echo("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($successResponse->getDetails() as $key => $value) { + echo($key . " : "); + print_r($value); + echo("\n"); + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } else if ($actionResponse instanceof APIException) { + $exception = $actionResponse; + echo("Status: " . $exception->getStatus()->getValue() . "\n"); + echo("Code: " . $exception->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } else if ($actionHandler instanceof APIException) { + $exception = $actionHandler; + echo("Status: " . $exception->getStatus()->getValue() . "\n"); + echo("Code: " . $exception->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName = "Purchase_Orders"; +CreatePurchaseOrders::initialize(); +CreatePurchaseOrders::createPurchaseOrders($moduleAPIName); \ No newline at end of file diff --git a/versions/5.0.0/samples/record/createrecords/CreateQuotes.php b/versions/5.0.0/samples/record/createrecords/CreateQuotes.php new file mode 100644 index 0000000..0089f56 --- /dev/null +++ b/versions/5.0.0/samples/record/createrecords/CreateQuotes.php @@ -0,0 +1,228 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function createQuotes($moduleAPIName) + { + $recordOperations = new RecordOperations($moduleAPIName); + $bodyWrapper = new BodyWrapper(); + $records = array(); + $recordClass = 'com\zoho\crm\api\record\Record'; + $record1 = new $recordClass(); + $accountName = new Record(); + $accountName->addFieldValue(Accounts::id(), "440248001179025"); + $record1->addFieldValue(Quotes::AccountName(), $accountName); + $record1->addFieldValue(Quotes::Subject(), "new Quote"); + $record1->addFieldValue(Quotes::Adjustment(), 10.0); + $record1->addFieldValue(Quotes::ValidTill(), new \DateTime('2023-09-19')); + $record1->addFieldValue(Quotes::Team(), "teamName"); + $record1->addFieldValue(Quotes::TermsAndConditions(), "details of terms and Conditions"); + $record1->addFieldValue(Quotes::Description(), "description"); + $dealName = new Record(); + $dealName->setId("3400034234034"); + $record1->addFieldValue(Quotes::DealName(), $dealName); + $contactName = new Record(); + $contactName->setId("345003423434"); + $record1->addFieldValue(Quotes::ContactName(), $contactName); + $record1->addFieldValue(Quotes::QuoteStage(), new Choice("Draft")); + $record1->addFieldValue(Quotes::Carrier(), new Choice("FedEX")); + $inventoryLineItemList = array(); + $inventoryLineItem = new Record(); + $inventoryLineItem->addKeyValue("_delete", null); + $lineItemProduct = new LineItemProduct(); + $lineItemProduct->setId("440248000954344"); + $inventoryLineItem->addKeyValue("Description", "asd"); + $inventoryLineItem->addKeyValue("Discount", "5"); + $inventoryLineItem->addKeyValue("Quantity", 10.0); + $inventoryLineItem->addKeyValue("List_Price", 100.0); + $inventoryLineItem->addKeyValue("Product_Name", $lineItemProduct); +// $inventoryLineItem->addKeyValue("Product_Category_1", "hardware"); + $productLineTaxes = array(); + $productLineTax = new LineTax(); + $productLineTax->setName("Vat"); + $productLineTax->setValue(10.0); + $productLineTax->setId("440248020810"); + $productLineTax->setPercentage(10.0); + array_push($productLineTaxes, $productLineTax); + $inventoryLineItem->addKeyValue("Line_Tax", $productLineTaxes); + array_push($inventoryLineItemList, $inventoryLineItem); + $record1->addFieldValue(Quotes::QuotedItems(), $inventoryLineItemList); + $lineTaxes = array(); + $lineTax = new LineTax(); + $lineTax->setName("MyTax1123"); + $lineTax->setPercentage(20.0); + array_push($lineTaxes, $lineTax); + $record1->addKeyValue('$line_tax', $lineTaxes); + // Address info + $record1->addFieldValue(Quotes::BillingCity(), "city"); + $record1->addFieldValue(Quotes::BillingState(), "state"); + $record1->addFieldValue(Quotes::BillingCountry(), "country"); + $record1->addFieldValue(Quotes::BillingCode(), "code"); + $record1->addFieldValue(Quotes::BillingStreet(), "street"); + $record1->addFieldValue(Quotes::ShippingState(), "state"); + $record1->addFieldValue(Quotes::ShippingCity(), "city"); + $record1->addFieldValue(Quotes::ShippingCountry(), "country"); + $record1->addFieldValue(Quotes::ShippingStreet(), "street"); + $record1->addFieldValue(Quotes::ShippingCode(), "code"); + // used when GDPR is enabled + $dataConsent = new Consent(); + $dataConsent->setConsentRemarks("Approved"); + $dataConsent->setConsentThrough("Email"); + $dataConsent->setContactThroughEmail(true); + $dataConsent->setContactThroughSocial(false); + $dataConsent->setContactThroughPhone(true); + $dataConsent->setContactThroughSurvey(true); + $dataConsent->setConsentDate(new \DateTime('2023-10-10')); + $dataConsent->setDataProcessingBasis("Obtained"); + $record1->addKeyValue("Data_Processing_Basis_Details", $dataConsent); + // for custom Fields + $record1->addKeyValue("External", "Value12445"); + $record1->addKeyValue("Custom_Field", "custom_value"); + $record1->addKeyValue("Date_Time_1", date_create("2020-06-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get()))); + $record1->addKeyValue("Date_1", '2023-12-12'); + $record1->addKeyValue("Subject", "AutomatedSDK"); + $record1->addKeyValue("Product_Name", "Automated"); + $fileDetails = array(); + $fileDetail1 = new FileDetails(); + $fileDetail1->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d280"); + array_push($fileDetails, $fileDetail1); + $fileDetail2 = new FileDetails(); + $fileDetail2->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d2de"); + array_push($fileDetails, $fileDetail2); + $record1->addKeyValue("File_Upload", $fileDetails); + // for Custom User LookUp + $user = new MinifiedUser(); + $user->setId("4222222222222323123"); + $record1->addKeyValue("User_1", $user); + // for Custom LookUp + $data = new Record(); + $data->setId("4232434444444342123"); + $data->addKeyValue("_delete", null); + $record1->addKeyValue("Lookup_1", $data); + // for Custom PickList + $record1->addKeyValue("Pick", new Choice("true")); + // for Custom MultiSelect + $record1->addKeyValue("MultiSelect", array(new Choice("Option 1"), new Choice("Option 2"))); + // for Subform + $subformList = array(); + $subform = new Record(); + $subform->addKeyValue("CustomField", "customValue"); + $user1 = new MinifiedUser(); + $user1->setId("430300032334334343"); + $subform->addKeyValue("UserField", $user1); + array_push($subformList, $subform); + $record1->addKeyValue("Subform_1", $subformList); + // for MultiSelectLookUp/Custom MultiSelectLookup + $multiselectList = array(); + $record = new Record(); + $record->addKeyValue("id", "440248000884001"); + $linkingRecord = new Record(); + $linkingRecord->addKeyValue("Msl", $record); + array_push($multiselectList, $linkingRecord); + $record1->addKeyValue("Msl", $multiselectList); + // + $tagList = array(); + $tag = new Tag(); + $tag->setName("Testtask"); + array_push($tagList, $tag); + $record1->setTag($tagList); + //Add Record instance to the list + array_push($records, $record1); + $bodyWrapper->setData($records); + $trigger = array("approval", "workflow", "blueprint"); + $bodyWrapper->setTrigger($trigger); + $bodyWrapper->setLarId("34770610087515"); + + $headerInstance = new HeaderMap(); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Quotes.Quoted_Items.Product_Name.Products_External"); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Products.Products_External"); + //Call createRecords method that takes BodyWrapper instance as parameter. + $response = $recordOperations->createRecords($bodyWrapper, $headerInstance); + if ($response != null) { + //Get the status code from response + echo("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + //Get object from response + $actionHandler = $response->getObject(); + if ($actionHandler instanceof ActionWrapper) { + $actionWrapper = $actionHandler; + $actionResponses = $actionWrapper->getData(); + foreach ($actionResponses as $actionResponse) { + if ($actionResponse instanceof SuccessResponse) { + $successResponse = $actionResponse; + echo("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($successResponse->getDetails() as $key => $value) { + echo($key . " : "); + print_r($value); + echo("\n"); + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } else if ($actionResponse instanceof APIException) { + $exception = $actionResponse; + echo("Status: " . $exception->getStatus()->getValue() . "\n"); + echo("Code: " . $exception->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } else if ($actionHandler instanceof APIException) { + $exception = $actionHandler; + echo("Status: " . $exception->getStatus()->getValue() . "\n"); + echo("Code: " . $exception->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName = "Quotes"; +CreateQuotes::initialize(); +CreateQuotes::createQuotes($moduleAPIName); \ No newline at end of file diff --git a/versions/5.0.0/samples/record/createrecords/CreateSalesOrders.php b/versions/5.0.0/samples/record/createrecords/CreateSalesOrders.php new file mode 100644 index 0000000..0ee0741 --- /dev/null +++ b/versions/5.0.0/samples/record/createrecords/CreateSalesOrders.php @@ -0,0 +1,232 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function createSalesOrders($moduleAPIName) + { + $recordOperations = new RecordOperations($moduleAPIName); + $bodyWrapper = new BodyWrapper(); + $records = array(); + $recordClass = 'com\zoho\crm\api\record\Record'; + $record1 = new $recordClass(); + $account = new Record(); + $account->setId("440248001179025"); + $record1->addFieldValue(Sales_Orders::AccountName(), $account); + $record1->addFieldValue(Sales_Orders::Subject(), "new Order"); + $record1->addFieldValue(Sales_Orders::Adjustment(), 10.0); + $record1->addFieldValue(Sales_Orders::Description(), "description"); + $record1->addFieldValue(Sales_Orders::TermsAndConditions(), "details of terms and Conditiond"); + $record1->addFieldValue(Sales_Orders::CustomerNo(), "123123"); + $quoteName = new Record(); + $quoteName->setId("34004523423423"); + $record1->addFieldValue(Sales_Orders::QuoteName(), $quoteName); + $record1->addFieldValue(Sales_Orders::Pending(), null); + $record1->addFieldValue(Sales_Orders::Carrier(), new Choice("FedEX")); + $record1->addFieldValue(Sales_Orders::SalesCommission(), 40.0); + $record1->addFieldValue(Sales_Orders::PurchaseOrder(), null); + $record1->addFieldValue(Sales_Orders::ExciseDuty(), 30.0); + $record1->addFieldValue(Sales_Orders::Status(), new Choice("Created")); + $deal_name = new Record(); + $deal_name->setId("32000234"); + $record1->addFieldValue(Sales_Orders::DealName(), $deal_name); + $contact_name = new Record(); + $contact_name->setId("34500900324"); + $record1->addFieldValue(Sales_Orders::ContactName(), $contact_name); + $record1->addFieldValue(Sales_Orders::DueDate(), new \DateTime('2023-08-10')); + $inventoryLineItemList = array(); + $inventoryLineItem = new Record(); + $lineItemProduct = new LineItemProduct(); + $lineItemProduct->setId("440248001326058"); + $inventoryLineItem->addKeyValue("Description", "asd"); + $inventoryLineItem->addKeyValue("Discount", "5"); + $inventoryLineItem->addKeyValue("Quantity", 10.0); + $inventoryLineItem->addKeyValue("List_Price", 100.0); + $inventoryLineItem->addKeyValue("Product_Name", $lineItemProduct); +// $inventoryLineItem->addKeyValue("Product_Category_1", "hardware"); + $productLineTaxes = array(); + $productLineTax = new LineTax(); + $productLineTax->setName("Vat"); + $productLineTax->setValue(10.0); + $productLineTax->setId("440248020810"); + $productLineTax->setPercentage(10.0); + array_push($productLineTaxes, $productLineTax); + $inventoryLineItem->addKeyValue("Line_Tax", $productLineTaxes); + array_push($inventoryLineItemList, $inventoryLineItem); + $record1->addFieldValue(Sales_Orders::OrderedItems(), $inventoryLineItemList); + $lineTaxes = array(); + $lineTax = new LineTax(); + $lineTax->setName("MyTax1123"); + $lineTax->setPercentage(20.0); + array_push($lineTaxes, $lineTax); + $record1->addKeyValue('$line_tax', $lineTaxes); + // Address info + $record1->addFieldValue(Sales_Orders::BillingCity(), "city"); + $record1->addFieldValue(Sales_Orders::BillingState(), "state"); + $record1->addFieldValue(Sales_Orders::BillingCountry(), "country"); + $record1->addFieldValue(Sales_Orders::BillingCode(), "code"); + $record1->addFieldValue(Sales_Orders::BillingStreet(), "street"); + $record1->addFieldValue(Sales_Orders::ShippingState(), "state"); + $record1->addFieldValue(Sales_Orders::ShippingCity(), "city"); + $record1->addFieldValue(Sales_Orders::ShippingCountry(), "country"); + $record1->addFieldValue(Sales_Orders::ShippingStreet(), "street"); + $record1->addFieldValue(Sales_Orders::ShippingCode(), "code"); + // used when GDPR is enabled + $dataConsent = new Consent(); + $dataConsent->setConsentRemarks("Approved"); + $dataConsent->setConsentThrough("Email"); + $dataConsent->setContactThroughEmail(true); + $dataConsent->setContactThroughSocial(false); + $dataConsent->setContactThroughPhone(true); + $dataConsent->setContactThroughSurvey(true); + $dataConsent->setConsentDate(new \DateTime('2023-10-10')); + $dataConsent->setDataProcessingBasis("Obtained"); + $record1->addKeyValue("Data_Processing_Basis_Details", $dataConsent); + // for custom Fields + $record1->addKeyValue("External", "Value12445"); + $record1->addKeyValue("Custom_Field", "custom_value"); + $record1->addKeyValue("Date_Time_1", date_create("2020-06-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get()))); + $record1->addKeyValue("Date_1", '2023-12-12'); + $record1->addKeyValue("Subject", "AutomatedSDK"); + $record1->addKeyValue("Product_Name", "Automated"); + $fileDetails = array(); + $fileDetail1 = new FileDetails(); + $fileDetail1->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d280"); + array_push($fileDetails, $fileDetail1); + $fileDetail2 = new FileDetails(); + $fileDetail2->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d2de"); + array_push($fileDetails, $fileDetail2); + $record1->addKeyValue("File_Upload", $fileDetails); + // for Custom User LookUp + $user = new MinifiedUser(); + $user->setId("4222222222222323123"); + $record1->addKeyValue("User_1", $user); + // for Custom LookUp + $data = new Record(); + $data->setId("4232434444444342123"); + $record1->addKeyValue("Lookup_1", $data); + // for Custom PickList + $record1->addKeyValue("Pick", new Choice("true")); + // for Custom MultiSelect + $record1->addKeyValue("MultiSelect", array(new Choice("Option 1"), new Choice("Option 2"))); + // for Subform + $subformList = array(); + $subform = new Record(); + $subform->addKeyValue("CustomField", "customValue"); + $user1 = new MinifiedUser(); + $user1->setId("430300032334334343"); + $subform->addKeyValue("UserField", $user1); + array_push($subformList, $subform); + $record1->addKeyValue("Subform_1", $subformList); + // for MultiSelectLookUp/Custom MultiSelectLookup + $multiselectList = array(); + $record = new Record(); + $record->addKeyValue("id", "440248000884001"); + $linkingRecord = new Record(); + $linkingRecord->addKeyValue("Msl", $record); + array_push($multiselectList, $linkingRecord); + $record1->addKeyValue("Msl", $multiselectList); + // + $tagList = array(); + $tag = new Tag(); + $tag->setName("Testtask"); + array_push($tagList, $tag); + $record1->setTag($tagList); + //Add Record instance to the list + array_push($records, $record1); + $bodyWrapper->setData($records); + $trigger = array("approval", "workflow", "blueprint"); + $bodyWrapper->setTrigger($trigger); + $bodyWrapper->setLarId("34770610087515"); + + $headerInstance = new HeaderMap(); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Quotes.Quoted_Items.Product_Name.Products_External"); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Products.Products_External"); + //Call createRecords method that takes BodyWrapper instance as parameter. + $response = $recordOperations->createRecords($bodyWrapper, $headerInstance); + if ($response != null) { + //Get the status code from response + echo("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + //Get object from response + $actionHandler = $response->getObject(); + if ($actionHandler instanceof ActionWrapper) { + $actionWrapper = $actionHandler; + $actionResponses = $actionWrapper->getData(); + foreach ($actionResponses as $actionResponse) { + if ($actionResponse instanceof SuccessResponse) { + $successResponse = $actionResponse; + echo("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($successResponse->getDetails() as $key => $value) { + echo($key . " : "); + print_r($value); + echo("\n"); + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } else if ($actionResponse instanceof APIException) { + $exception = $actionResponse; + echo("Status: " . $exception->getStatus()->getValue() . "\n"); + echo("Code: " . $exception->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } else if ($actionHandler instanceof APIException) { + $exception = $actionHandler; + echo("Status: " . $exception->getStatus()->getValue() . "\n"); + echo("Code: " . $exception->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName = "Sales_Orders"; +CreateSalesOrders::initialize(); +CreateSalesOrders::createSalesOrders($moduleAPIName); \ No newline at end of file diff --git a/versions/5.0.0/samples/record/createrecords/CreateSolutions.php b/versions/5.0.0/samples/record/createrecords/CreateSolutions.php new file mode 100644 index 0000000..f9de453 --- /dev/null +++ b/versions/5.0.0/samples/record/createrecords/CreateSolutions.php @@ -0,0 +1,180 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function createSolutions(String $moduleAPIName) + { + $recordOperations = new RecordOperations($moduleAPIName); + $bodyWrapper = new BodyWrapper(); + $records = array(); + $recordClass = 'com\zoho\crm\api\record\Record'; + $record1 = new $recordClass(); + $record1->addFieldValue(Solutions::SolutionTitle(), 'new solution'); + $record1->addFieldValue(Solutions::Question(), 'question ?'); + $record1->addFieldValue(Solutions::Answer(), 'answer'); + $record1->addFieldValue(Solutions::Status(), new Choice('Draft')); + $productName = new Record(); + $productName->setId("30003424300332"); + $record1->addFieldValue(Solutions::ProductName(), $productName); + $solutionOwner = new MinifiedUser(); + $solutionOwner->setId("440248000254001"); + $record1->addFieldValue(Solutions::Owner(), $solutionOwner); + // used when GDPR is enabled + $dataConsent = new Consent(); + $dataConsent->setConsentRemarks("Approved"); + $dataConsent->setConsentThrough("Email"); + $dataConsent->setContactThroughEmail(true); + $dataConsent->setContactThroughSocial(false); + $dataConsent->setContactThroughPhone(true); + $dataConsent->setContactThroughSurvey(true); + $dataConsent->setConsentDate(new \DateTime('2023-10-10')); + $dataConsent->setDataProcessingBasis("Obtained"); + $record1->addKeyValue("Data_Processing_Basis_Details", $dataConsent); + // for custom fields + $record1->addKeyValue("External", "Value12445"); + $record1->addKeyValue("Custom_Field", "custom_value"); + $record1->addKeyValue("Date_Time_1", date_create("2020-06-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get()))); + $record1->addKeyValue("Date_1", '2023-12-12'); + $record1->addKeyValue("Subject", "AutomatedSDK"); + $fileDetails = array(); + $fileDetail1 = new FileDetails(); + $fileDetail1->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d280"); + array_push($fileDetails,$fileDetail1); + $fileDetail2 = new FileDetails(); + $fileDetail2->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d2de"); + array_push($fileDetails,$fileDetail2); + $record1->addKeyValue("File_Upload", $fileDetails); + // for Custom User LookUp + $user = new MinifiedUser(); + $user->setId("4222222222222323123"); + $record1->addKeyValue("User_1", $user); + // for Custom LookUp + $data = new Record(); + $data->setId("4232434444444342123"); + $record1->addKeyValue("Lookup_1", $data); + // for Custom PickList + $record1->addKeyValue("Pick", new Choice("true")); + // for Custom MultiSelect + $record1->addKeyValue("MultiSelect", array(new Choice("Option 1"), new Choice("Option 2"))); + // for Subform + $subformList = array(); + $subform = new Record(); + $subform->addKeyValue("CustomField", "customValue"); + $user1 = new MinifiedUser(); + $user1->setId("430300032334334343"); + $subform->addKeyValue("UserField", $user1); + array_push($subformList, $subform); + $record1->addKeyValue("Subform_1", $subformList); + // for MultiSelectLookUp/Custom MultiSelectLookup + $multiselectList = array(); + $record = new Record(); + $record->addKeyValue("id", "440248000884001"); + $linkingRecord = new Record(); + $linkingRecord->addKeyValue("Msl", $record); + array_push($multiselectList,$linkingRecord); + $record1->addKeyValue("Msl", $multiselectList); + // + $tagList = array(); + $tag = new Tag(); + $tag->setName("Testtask"); + array_push($tagList, $tag); + $record1->setTag($tagList); + //Add Record instance to the list + array_push($records, $record1); + $bodyWrapper->setData($records); + $trigger = array("approval", "workflow", "blueprint"); + $bodyWrapper->setTrigger($trigger); + $bodyWrapper->setLarId("34770610087515"); + + $headerInstance = new HeaderMap(); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Quotes.Quoted_Items.Product_Name.Products_External"); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Products.Products_External"); + //Call createRecords method that takes BodyWrapper instance as parameter. + $response = $recordOperations->createRecords($bodyWrapper, $headerInstance); + if ($response != null) { + //Get the status code from response + echo ("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + //Get object from response + $actionHandler = $response->getObject(); + if ($actionHandler instanceof ActionWrapper) { + $actionWrapper = $actionHandler; + $actionResponses = $actionWrapper->getData(); + foreach ($actionResponses as $actionResponse) { + if ($actionResponse instanceof SuccessResponse) { + $successResponse = $actionResponse; + echo ("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo ("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($successResponse->getDetails() as $key => $value) { + echo ($key . " : "); + print_r($value); + echo ("\n"); + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } + else if ($actionResponse instanceof APIException) { + $exception = $actionResponse; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } + else if ($actionHandler instanceof APIException) { + $exception = $actionHandler; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPINAme = "Solutions"; +CreateSolutions::initialize(); +CreateSolutions::createSolutions($moduleAPINAme); \ No newline at end of file diff --git a/versions/5.0.0/samples/record/createrecords/CreateTasks.php b/versions/5.0.0/samples/record/createrecords/CreateTasks.php new file mode 100644 index 0000000..0053b37 --- /dev/null +++ b/versions/5.0.0/samples/record/createrecords/CreateTasks.php @@ -0,0 +1,195 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function createTasks($moduleAPIName) + { + $recordOperations = new RecordOperations($moduleAPIName); + $bodyWrapper = new BodyWrapper(); + $records = array(); + $recordClass = 'com\zoho\crm\api\record\Record'; + $record1 = new $recordClass(); + $pricingDetails = array(); + $record1->addFieldValue(Tasks::Description(), "Description"); + $record1->addKeyValue("Rupee", new Choice("INR")); + $remindAt = new RemindAt(); + $remindAt->setAlarm("ACTION=EMAIL;TRIGGER=-P1D;TRIGGER_TIME=22:52"); + $record1->addFieldValue(Tasks::RemindAt(), $remindAt); + $whoId = new Record(); + $whoId->setId("3042340342304"); + $record1->addFieldValue(Tasks::WhoId(), $whoId); + $record1->addFieldValue(Tasks::Status(), new Choice("Not Started")); + $record1->addFieldValue(Tasks::Priority(), new Choice("Low")); + $record1->addFieldValue(Tasks::DueDate(), new \DateTime('2023-10-12')); + $record1->addFieldValue(Tasks::Subject(), "Email1"); + $record1->addFieldValue(Tasks::SendNotificationEmail(), false); + $record1->addKeyValue('$se_module', "Leads"); + $whatId = new Record(); + $whatId->setId("440248001182075"); + $record1->addFieldValue(Tasks::WhatId(), $whatId); + + // Recurring Activity can be provided in any activity module + $recurringActivity = new RecurringActivity(); + $recurringActivity->setRrule("FREQ=DAILY;INTERVAL=1;DTSTART=2022-04-06;UNTIL=2022-04-12"); + $record1->addFieldValue(Tasks::RecurringActivity(), $recurringActivity); + + // used when GDPR is enabled + $dataConsent = new Consent(); + $dataConsent->setConsentRemarks("Approved"); + $dataConsent->setConsentThrough("Email"); + $dataConsent->setContactThroughEmail(true); + $dataConsent->setContactThroughSocial(false); + $dataConsent->setContactThroughPhone(true); + $dataConsent->setContactThroughSurvey(true); + $dataConsent->setConsentDate(new \DateTime('2023-10-10')); + $dataConsent->setDataProcessingBasis("Obtained"); + $record1->addKeyValue("Data_Processing_Basis_Details", $dataConsent); + // for custom Fields + $record1->addKeyValue("External", "Value12445"); + $record1->addKeyValue("Custom_Field", "custom_value"); + $record1->addKeyValue("Date_Time_1", date_create("2020-06-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get()))); + $record1->addKeyValue("Date_1", '2023-12-12'); + $record1->addKeyValue("Subject", "AutomatedSDK"); + $record1->addKeyValue("Product_Name", "Automated"); + $fileDetails = array(); + $fileDetail1 = new FileDetails(); + $fileDetail1->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d280"); + array_push($fileDetails, $fileDetail1); + $fileDetail2 = new FileDetails(); + $fileDetail2->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d2de"); + array_push($fileDetails, $fileDetail2); + $record1->addKeyValue("File_Upload", $fileDetails); + // for Custom User LookUp + $user = new MinifiedUser(); + $user->setId("4222222222222323123"); + $record1->addKeyValue("User_1", $user); + // for Custom LookUp + $data = new Record(); + $data->setId("4232434444444342123"); + $record1->addKeyValue("Lookup_1", $data); + // for Custom PickList + $record1->addKeyValue("Pick", new Choice("true")); + // for Custom MultiSelect + $record1->addKeyValue("MultiSelect", array(new Choice("Option 1"), new Choice("Option 2"))); + // for Subform + $subformList = array(); + $subform = new Record(); + $subform->addKeyValue("CustomField", "customValue"); + $user1 = new MinifiedUser(); + $user1->setId("430300032334334343"); + $subform->addKeyValue("UserField", $user1); + array_push($subformList, $subform); + $record1->addKeyValue("Subform_1", $subformList); + // for MultiSelectLookUp/Custom MultiSelectLookup + $multiselectList = array(); + $record = new Record(); + $record->addKeyValue("id", "440248000884001"); + $linkingRecord = new Record(); + $linkingRecord->addKeyValue("Msl", $record); + array_push($multiselectList, $linkingRecord); + $record1->addKeyValue("Msl", $multiselectList); + // + $tagList = array(); + $tag = new Tag(); + $tag->setName("Testtask"); + array_push($tagList, $tag); + $record1->setTag($tagList); + //Add Record instance to the list + array_push($records, $record1); + $bodyWrapper->setData($records); + $trigger = array("approval", "workflow", "blueprint"); + $bodyWrapper->setTrigger($trigger); + $bodyWrapper->setLarId("34770610087515"); + + $headerInstance = new HeaderMap(); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Quotes.Quoted_Items.Product_Name.Products_External"); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Products.Products_External"); + //Call createRecords method that takes BodyWrapper instance as parameter. + $response = $recordOperations->createRecords($bodyWrapper, $headerInstance); + if ($response != null) { + //Get the status code from response + echo("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + //Get object from response + $actionHandler = $response->getObject(); + if ($actionHandler instanceof ActionWrapper) { + $actionWrapper = $actionHandler; + $actionResponses = $actionWrapper->getData(); + foreach ($actionResponses as $actionResponse) { + if ($actionResponse instanceof SuccessResponse) { + $successResponse = $actionResponse; + echo("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($successResponse->getDetails() as $key => $value) { + echo($key . " : "); + print_r($value); + echo("\n"); + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } else if ($actionResponse instanceof APIException) { + $exception = $actionResponse; + echo("Status: " . $exception->getStatus()->getValue() . "\n"); + echo("Code: " . $exception->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } else if ($actionHandler instanceof APIException) { + $exception = $actionHandler; + echo("Status: " . $exception->getStatus()->getValue() . "\n"); + echo("Code: " . $exception->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName = "Tasks"; +CreateTasks::initialize(); +CreateTasks::createTasks($moduleAPIName); \ No newline at end of file diff --git a/versions/5.0.0/samples/record/createrecords/CreateVendors.php b/versions/5.0.0/samples/record/createrecords/CreateVendors.php new file mode 100644 index 0000000..2831f4d --- /dev/null +++ b/versions/5.0.0/samples/record/createrecords/CreateVendors.php @@ -0,0 +1,183 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function createVendors($moduleAPIName) + { + $recordOperations = new RecordOperations($moduleAPIName); + $bodyWrapper = new BodyWrapper(); + $records = array(); + $recordClass = 'com\zoho\crm\api\record\Record'; + $record1 = new $recordClass(); + $record1->addFieldValue(Vendors::VendorName(), "new Vendor Name"); + $record1->addFieldValue(Vendors::Phone(), "12133121"); + $record1->addFieldValue(Vendors::Email(), "abc@zoho.com"); + $record1->addFieldValue(Vendors::Website(), null); + $record1->addFieldValue(Vendors::GLAccount(), new Choice("Sales-Software")); + $record1->addFieldValue(Vendors::Category(), ""); + $record1->addFieldValue(Vendors::City(), "city"); + $record1->addFieldValue(Vendors::Country(), "Country"); + $record1->addFieldValue(Vendors::State(), "state"); + $record1->addFieldValue(Vendors::Street(), "street"); + $record1->addFieldValue(Vendors::ZipCode(), "zip-code"); + $record1->addFieldValue(Vendors::Description(), "description"); + // used when GDPR is enabled + $dataConsent = new Consent(); + $dataConsent->setConsentRemarks("Approved"); + $dataConsent->setConsentThrough("Email"); + $dataConsent->setContactThroughEmail(true); + $dataConsent->setContactThroughSocial(false); + $dataConsent->setContactThroughPhone(true); + $dataConsent->setContactThroughSurvey(true); + $dataConsent->setConsentDate(new \DateTime('2023-10-10')); + $dataConsent->setDataProcessingBasis("Obtained"); + $record1->addKeyValue("Data_Processing_Basis_Details", $dataConsent); + // for custom Fields + $record1->addKeyValue("External", "Value12445"); + $record1->addKeyValue("Custom_Field", "custom_value"); + $record1->addKeyValue("Date_Time_1", date_create("2020-06-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get()))); + $record1->addKeyValue("Date_1", '2023-12-12'); + $record1->addKeyValue("Subject", "AutomatedSDK"); + $record1->addKeyValue("Product_Name", "Automated"); + $fileDetails = array(); + $fileDetail1 = new FileDetails(); + $fileDetail1->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d280"); + array_push($fileDetails,$fileDetail1); + $fileDetail2 = new FileDetails(); + $fileDetail2->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d2de"); + array_push($fileDetails,$fileDetail2); + $record1->addKeyValue("File_Upload", $fileDetails); + // for Custom User LookUp + $user = new MinifiedUser(); + $user->setId("4222222222222323123"); + $record1->addKeyValue("User_1", $user); + // for Custom LookUp + $data = new Record(); + $data->setId("4232434444444342123"); + $record1->addKeyValue("Lookup_1", $data); + // for Custom PickList + $record1->addKeyValue("Pick", new Choice("true")); + // for Custom MultiSelect + $record1->addKeyValue("MultiSelect", array(new Choice("Option 1"), new Choice("Option 2"))); + // for Subform + $subformList = array(); + $subform = new Record(); + $subform->addKeyValue("CustomField", "customValue"); + $user1 = new MinifiedUser(); + $user1->setId("430300032334334343"); + $subform->addKeyValue("UserField", $user1); + array_push($subformList, $subform); + $record1->addKeyValue("Subform_1", $subformList); + // for MultiSelectLookUp/Custom MultiSelectLookup + $multiselectList = array(); + $record = new Record(); + $record->addKeyValue("id", "440248000884001"); + $linkingRecord = new Record(); + $linkingRecord->addKeyValue("Msl", $record); + array_push($multiselectList,$linkingRecord); + $record1->addKeyValue("Msl", $multiselectList); + // + $tagList = array(); + $tag = new Tag(); + $tag->setName("Testtask"); + array_push($tagList, $tag); + $record1->setTag($tagList); + //Add Record instance to the list + array_push($records, $record1); + $bodyWrapper->setData($records); + $trigger = array("approval", "workflow", "blueprint"); + $bodyWrapper->setTrigger($trigger); + $bodyWrapper->setLarId("34770610087515"); + + $headerInstance = new HeaderMap(); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Quotes.Quoted_Items.Product_Name.Products_External"); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Products.Products_External"); + //Call createRecords method that takes BodyWrapper instance as parameter. + $response = $recordOperations->createRecords($bodyWrapper, $headerInstance); + if ($response != null) { + //Get the status code from response + echo ("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + //Get object from response + $actionHandler = $response->getObject(); + if ($actionHandler instanceof ActionWrapper) { + $actionWrapper = $actionHandler; + $actionResponses = $actionWrapper->getData(); + foreach ($actionResponses as $actionResponse) { + if ($actionResponse instanceof SuccessResponse) { + $successResponse = $actionResponse; + echo ("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo ("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($successResponse->getDetails() as $key => $value) { + echo ($key . " : "); + print_r($value); + echo ("\n"); + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } + else if ($actionResponse instanceof APIException) { + $exception = $actionResponse; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } + else if ($actionHandler instanceof APIException) { + $exception = $actionHandler; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$module = "Vendors"; +CreateVendors::initialize(); +CreateVendors::createVendors($module); \ No newline at end of file diff --git a/versions/5.0.0/samples/record/updaterecords/UpdateAccounts.php b/versions/5.0.0/samples/record/updaterecords/UpdateAccounts.php new file mode 100644 index 0000000..f1b3b79 --- /dev/null +++ b/versions/5.0.0/samples/record/updaterecords/UpdateAccounts.php @@ -0,0 +1,203 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function updateAccounts(String $moduleAPIName) + { + $recordOperations = new RecordOperations($moduleAPIName); + $bodyWrapper = new BodyWrapper(); + $records = array(); + $record1 = new Record(); + $record1->setId("3477061189101"); + $record1->addFieldValue(Accounts::AccountName(), 'New Account'); + $record1->addFieldValue(Accounts::Phone(), '1010101'); + $record1->addFieldValue(Accounts::Fax(), 'fax'); + $record1->addFieldValue(Accounts::AccountSite(), 'www.account.com'); + $record1->addFieldValue(Accounts::Website(), 'website.com'); + $record1->addFieldValue(Accounts::AccountNumber(), '10212212'); + $record1->addFieldValue(Accounts::Ownership(), new Choice('Private')); + $record1->addFieldValue(Accounts::AccountType(), new Choice('Customer')); + $record1->addFieldValue(Accounts::Employees(), ''); + $record1->addFieldValue(Accounts::Industry(), new Choice('Real Estate')); + $record1->addFieldValue(Accounts::SICCode(), 12231); + $record1->addFieldValue(Accounts::AnnualRevenue(), 1002.2); + $record1->addFieldValue(Accounts::AccountName(), 'New Account'); + $parent_account = new Record(); + // $parent_account->setId("3232302312313"); + // $record1->addFieldValue(Accounts::ParentAccount(), $parent_account); + // Address info + $record1->addFieldValue(Accounts::BillingCity(), 'billing city'); + $record1->addFieldValue(Accounts::BillingStreet(), 'billing Street'); + $record1->addFieldValue(Accounts::BillingCode(), 'billing code'); + $record1->addFieldValue(Accounts::BillingCountry(), 'billing Country'); + $record1->addFieldValue(Accounts::BillingState(), 'billing State'); + $record1->addFieldValue(Accounts::ShippingCity(), 'shipping city'); + $record1->addFieldValue(Accounts::ShippingCode(), 'shipping code'); + $record1->addFieldValue(Accounts::ShippingCountry(), 'shipping country'); + $record1->addFieldValue(Accounts::ShippingStreet(), 'shipping street'); + $record1->addFieldValue(Accounts::ShippingState(), 'shipping state'); + // + $record1->addFieldValue(Accounts::Description(), 'description'); + // used when GDPR is enabled + $dataConsent = new Consent(); + $dataConsent->setConsentRemarks("Approved"); + $dataConsent->setConsentThrough("Email"); + $dataConsent->setContactThroughEmail(true); + $dataConsent->setContactThroughSocial(false); + $dataConsent->setContactThroughPhone(true); + $dataConsent->setContactThroughSurvey(true); + $dataConsent->setConsentDate(new \DateTime('2023-10-10')); + $dataConsent->setDataProcessingBasis("Obtained"); + $record1->addKeyValue("Data_Processing_Basis_Details", $dataConsent); + // for custom Fields + $record1->addKeyValue("External", "Value12445"); + $record1->addKeyValue("Custom_Field", "custom_value"); + $record1->addKeyValue("Date_Time_1", date_create("2020-06-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get()))); + $record1->addKeyValue("Date_1",'2023:10:21'); + $record1->addKeyValue("Subject", "AutomatedSDK"); + $record1->addKeyValue("Product_Name", "Automated"); + $fileDetails = array(); + $fileDetail1 = new FileDetails(); + $fileDetail1->setFileIdS("ae9c7cefa418aec1d6d90b0bd44183d280"); + array_push($fileDetails, $fileDetail1); + $fileDetail2 = new FileDetails(); + $fileDetail2->setFileIdS("ae9c7cefa418aec1dd87c6d90b0bd44183d2de"); + array_push($fileDetails, $fileDetail2); + $record1->addKeyValue("File_Upload", $fileDetails); + // for Custom User LookUp + $user = new MinifiedUser(); + $user->setId("4222222222222323123"); + $record1->addKeyValue("User_1", $user); + // for Custom LookUp + $data = new Record(); + $data->setId("4232434444444342123"); + $record1->addKeyValue("Lookup_1", $data); + // for Custom PickList + $record1->addKeyValue("Pick", new Choice("true")); + // for Custom MultiSelect + $record1->addKeyValue("MultiSelect", array(new Choice("Option 1"), new Choice("Option 2"))); + // for Subform + $subformList = array(); + $subform = new Record(); + $subform->addKeyValue("CustomField", "customValue"); + $user1 = new MinifiedUser(); + $user1->setId("4303032334334343"); + $subform->addKeyValue("UserField", $user1); + array_push($subformList, $subform); + $record1->addKeyValue("Subform_1", $subformList); + // for MultiSelectLookUp/Custom MultiSelectLookup + $multiselectList = array(); + $record = new Record(); + $record->addKeyValue("id", "44024808841"); + $linkingRecord = new Record(); + $linkingRecord->addKeyValue("Msl", $record); + array_push($multiselectList, $linkingRecord); + $record1->addKeyValue("Msl", $multiselectList); + // + $tagList = array(); + $tag = new Tag(); + $tag->setName("Testtask"); + array_push($tagList, $tag); + $record1->setTag($tagList); + + // can add update another record with same above mention fields + $record2 = new Record(); + $record2->setId("3454324334"); + // + //Add Record instance to the list + array_push($records, $record1); + $bodyWrapper->setData($records); + $trigger = array("approval", "workflow", "blueprint"); + $bodyWrapper->setTrigger($trigger); + $bodyWrapper->setLarId("347706187515"); + + $headerInstance = new HeaderMap(); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Quotes.Quoted_Items.Product_Name.Products_External"); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Products.Products_External"); + //Call createRecords method that takes BodyWrapper instance as parameter. + $response = $recordOperations->updateRecords($bodyWrapper, $headerInstance); + if ($response != null) { + //Get the status code from response + echo("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + //Get object from response + $actionHandler = $response->getObject(); + if ($actionHandler instanceof ActionWrapper) { + $actionWrapper = $actionHandler; + $actionResponses = $actionWrapper->getData(); + foreach ($actionResponses as $actionResponse) { + if ($actionResponse instanceof SuccessResponse) { + $successResponse = $actionResponse; + echo("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($successResponse->getDetails() as $key => $value) { + echo($key . " : "); + print_r($value); + echo("\n"); + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } else if ($actionResponse instanceof APIException) { + $exception = $actionResponse; + echo("Status: " . $exception->getStatus()->getValue() . "\n"); + echo("Code: " . $exception->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } else if ($actionHandler instanceof APIException) { + $exception = $actionHandler; + echo("Status: " . $exception->getStatus()->getValue() . "\n"); + echo("Code: " . $exception->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName = "Accounts"; +UpdateAccounts::initialize(); +UpdateAccounts::updateAccounts($moduleAPIName); \ No newline at end of file diff --git a/versions/5.0.0/samples/record/updaterecords/UpdateCalls.php b/versions/5.0.0/samples/record/updaterecords/UpdateCalls.php new file mode 100644 index 0000000..3e60dee --- /dev/null +++ b/versions/5.0.0/samples/record/updaterecords/UpdateCalls.php @@ -0,0 +1,213 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function updatecalls($moduleAPIName) + { + $recordOperations = new RecordOperations($moduleAPIName); + $bodyWrapper = new BodyWrapper(); + $records = array(); + $record1 = new Record(); + $record1->setId("3477061112241"); + // Schedule a call + $whoId = new Record(); + $whoId->setId("3477061185851"); + $record1->addFieldValue(Calls::WhoId(), $whoId); + $whatId = new Record(); + $whatId->setId("3477061189101"); + $record1->addFieldValue(Calls::WhatId(), $whatId); + $record1->addFieldValue(Calls::CallType(), new Choice("Outbound")); + // $record1->addFieldValue(Calls::OutgoingCallStatus(), new Choice("Scheduled")); + $record1->addFieldValue(Calls::CallStartTime(), date_create("2023-07-30T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get()))); + $user = new Users(); + $user->setId("344042540332"); + $record1->addKeyValue("Call_Owner", $user); + $record1->addFieldValue(Calls::Subject(), "call Scheduled"); + $record1->addFieldValue(Calls::Reminder(), new Choice("5 minutes before")); + $record1->addFieldValue(Calls::CallPurpose(), new Choice("Demo")); + $record1->addFieldValue(Calls::CallAgenda(), "agenda to make call"); + $record1->addKeyValue('$se_module', "Accounts"); + + // log a call + // $whoId1 = new Record(); + // $whoId1->setId("3432434234434456"); + // $record1->addFieldValue(Calls::WhoId(), $whoId1); + // $whatId1 = new Record(); + // $whatId1->setId("3205456023230"); + // $record1->addFieldValue(Calls::WhatId(), $whatId1); + // $record1->addFieldValue(Calls::CallType(), new Choice("Outbound")); + // $record1->addFieldValue(Calls::Subject(), "call"); + // $record1->addFieldValue(Calls::CallDuration(), "10:00"); + // $record1->addFieldValue(Calls::OutgoingCallStatus(), new Choice("Completed")); + // $record1->addKeyValue("Voice_Recording__s", "recordingofcall.com"); + // $record1->addFieldValue(Calls::CallStartTime(), date_create("2023-06-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get()))); + // $record1->addFieldValue(Calls::CallPurpose(), new Choice("Demo")); + // $record1->addFieldValue(Calls::CallAgenda(), "agenda to make call"); + // $record1->addFieldValue(Calls::CallResult(), "Not Interested"); + // $record1->addFieldValue(Calls::Description(), "description"); + // $record1->addKeyValue('$se_module', "Accounts"); + + // used when GDPR is enabled + $dataConsent = new Consent(); + $dataConsent->setConsentRemarks("Approved"); + $dataConsent->setConsentThrough("Email"); + $dataConsent->setContactThroughEmail(true); + $dataConsent->setContactThroughSocial(false); + $dataConsent->setContactThroughPhone(true); + $dataConsent->setContactThroughSurvey(true); + $dataConsent->setConsentDate(new \DateTime('2023-10-10')); + $dataConsent->setDataProcessingBasis("Obtained"); + $record1->addKeyValue("Data_Processing_Basis_Details", $dataConsent); + // for custom Fields + $record1->addKeyValue("External", "Value12445"); + $record1->addKeyValue("Custom_Field", "custom_value"); + $record1->addKeyValue("Date_Time_1", date_create("2020-06-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get()))); + $record1->addKeyValue("Date_1", '2023:10:21'); + $record1->addKeyValue("Subject", "AutomatedSDK"); + $record1->addKeyValue("Product_Name", "Automated"); + $fileDetails = array(); + $fileDetail1 = new FileDetails(); + $fileDetail1->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d280"); + array_push($fileDetails, $fileDetail1); + $fileDetail2 = new FileDetails(); + $fileDetail2->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d2de"); + array_push($fileDetails, $fileDetail2); + $record1->addKeyValue("File_Upload", $fileDetails); + // for Custom User LookUp + $user = new MinifiedUser(); + $user->setId("4222222222222323123"); + $record1->addKeyValue("User_1", $user); + // for Custom LookUp + $data = new Record(); + $data->setId("4232434444444342123"); + $record1->addKeyValue("Lookup_1", $data); + // for Custom PickList + $record1->addKeyValue("Pick", new Choice("true")); + // for Custom MultiSelect + $record1->addKeyValue("MultiSelect", array(new Choice("Option 1"), new Choice("Option 2"))); + // for Subform + $subformList = array(); + $subform = new Record(); + $subform->addKeyValue("CustomField", "customValue"); + $user1 = new MinifiedUser(); + $user1->setId("4303032334334343"); + $subform->addKeyValue("UserField", $user1); + array_push($subformList, $subform); + $record1->addKeyValue("Subform_1", $subformList); + // for MultiSelectLookUp/Custom MultiSelectLookup + $multiselectList = array(); + $record = new Record(); + $record->addKeyValue("id", "44024808841"); + $linkingRecord = new Record(); + $linkingRecord->addKeyValue("Msl", $record); + array_push($multiselectList, $linkingRecord); + $record1->addKeyValue("Msl", $multiselectList); + // + $tagList = array(); + $tag = new Tag(); + $tag->setName("Testtask"); + array_push($tagList, $tag); + $record1->setTag($tagList); + + // can add update another record with same above mention fields + $record2 = new Record(); + $record2->setId("3454324334"); + // + //Add Record instance to the list + array_push($records, $record1); + $bodyWrapper->setData($records); + $trigger = array("approval", "workflow", "blueprint"); + $bodyWrapper->setTrigger($trigger); + $bodyWrapper->setLarId("347706187515"); + + $headerInstance = new HeaderMap(); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Quotes.Quoted_Items.Product_Name.Products_External"); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Products.Products_External"); + //Call createRecords method that takes BodyWrapper instance as parameter. + $response = $recordOperations->updateRecords($bodyWrapper, $headerInstance); + if ($response != null) { + //Get the status code from response + echo("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + //Get object from response + $actionHandler = $response->getObject(); + if ($actionHandler instanceof ActionWrapper) { + $actionWrapper = $actionHandler; + $actionResponses = $actionWrapper->getData(); + foreach ($actionResponses as $actionResponse) { + if ($actionResponse instanceof SuccessResponse) { + $successResponse = $actionResponse; + echo("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($successResponse->getDetails() as $key => $value) { + echo($key . " : "); + print_r($value); + echo("\n"); + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } else if ($actionResponse instanceof APIException) { + $exception = $actionResponse; + echo("Status: " . $exception->getStatus()->getValue() . "\n"); + echo("Code: " . $exception->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } else if ($actionHandler instanceof APIException) { + $exception = $actionHandler; + echo("Status: " . $exception->getStatus()->getValue() . "\n"); + echo("Code: " . $exception->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName ="Calls"; +UpdateCalls::initialize(); +UpdateCalls::updateCalls($moduleAPIName); \ No newline at end of file diff --git a/versions/5.0.0/samples/record/updaterecords/UpdateCampaigns.php b/versions/5.0.0/samples/record/updaterecords/UpdateCampaigns.php new file mode 100644 index 0000000..541ebd2 --- /dev/null +++ b/versions/5.0.0/samples/record/updaterecords/UpdateCampaigns.php @@ -0,0 +1,188 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function updateCampaigns($moduleAPIName) + { + $recordOperations = new RecordOperations($moduleAPIName); + $bodyWrapper = new BodyWrapper(); + $records = array(); + $record1 = new Record(); + $record1->setId("347706107229030"); + $record1->addFieldValue(Campaigns::CampaignName(), "New Campaign"); + $record1->addFieldValue(Campaigns::NumSent(), "10"); + $record1->addFieldValue(Campaigns::StartDate(), new \DateTime('2023-10-10')); + $record1->addFieldValue(Campaigns::EndDate(), new \DateTime('2023-10-20')); + $record1->addFieldValue(Campaigns::ActualCost(), 100.0); + $record1->addFieldValue(Campaigns::ExpectedRevenue(), 120.0); + $record1->addFieldValue(Campaigns::Type(), new Choice("Webinar")); + $record1->addFieldValue(Campaigns::BudgetedCost(), 110.0); + $record1->addFieldValue(Campaigns::ExpectedResponse(), "100"); + $record1->addFieldValue(Campaigns::Description(), "description"); + $record1->addFieldValue(Campaigns::Status(), new Choice("Active")); + // used when GDPR is enabled + $dataConsent = new Consent(); + $dataConsent->setConsentRemarks("Approved"); + $dataConsent->setConsentThrough("Email"); + $dataConsent->setContactThroughEmail(true); + $dataConsent->setContactThroughSocial(false); + $dataConsent->setContactThroughPhone(true); + $dataConsent->setContactThroughSurvey(true); + $dataConsent->setConsentDate(new \DateTime('2023-10-10')); + $dataConsent->setDataProcessingBasis("Obtained"); + $record1->addKeyValue("Data_Processing_Basis_Details", $dataConsent); + // for custom Fields + $record1->addKeyValue("External", "Value12445"); + $record1->addKeyValue("Custom_Field", "custom_value"); + $record1->addKeyValue("Date_Time_1", date_create("2020-06-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get()))); + $record1->addKeyValue("Date_1", '2023:10:21'); + $record1->addKeyValue("Subject", "AutomatedSDK"); + $record1->addKeyValue("Product_Name", "Automated"); + $fileDetails = array(); + $fileDetail1 = new FileDetails(); + $fileDetail1->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d280"); + array_push($fileDetails, $fileDetail1); + $fileDetail2 = new FileDetails(); + $fileDetail2->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d2de"); + array_push($fileDetails, $fileDetail2); + $record1->addKeyValue("File_Upload", $fileDetails); + // for Custom User LookUp + $user = new MinifiedUser(); + $user->setId("4222222222222323123"); + $record1->addKeyValue("User_1", $user); + // for Custom LookUp + $data = new Record(); + $data->setId("4232434444444342123"); + $record1->addKeyValue("Lookup_1", $data); + // for Custom PickList + $record1->addKeyValue("Pick", new Choice("true")); + // for Custom MultiSelect + $record1->addKeyValue("MultiSelect", array(new Choice("Option 1"), new Choice("Option 2"))); + // for Subform + $subformList = array(); + $subform = new Record(); + $subform->addKeyValue("CustomField", "customValue"); + $user1 = new MinifiedUser(); + $user1->setId("4303032334334343"); + $subform->addKeyValue("UserField", $user1); + array_push($subformList, $subform); + $record1->addKeyValue("Subform_1", $subformList); + // for MultiSelectLookUp/Custom MultiSelectLookup + $multiselectList = array(); + $record = new Record(); + $record->addKeyValue("id", "44024808841"); + $linkingRecord = new Record(); + $linkingRecord->addKeyValue("Msl", $record); + array_push($multiselectList, $linkingRecord); + $record1->addKeyValue("Msl", $multiselectList); + // + $tagList = array(); + $tag = new Tag(); + $tag->setName("Testtask"); + array_push($tagList, $tag); + $record1->setTag($tagList); + + // can add update another record with same above mention fields + $record2 = new Record(); + $record2->setId("3454324334"); + // + //Add Record instance to the list + array_push($records, $record1); + $bodyWrapper->setData($records); + $trigger = array("approval", "workflow", "blueprint"); + $bodyWrapper->setTrigger($trigger); + $bodyWrapper->setLarId("347706187515"); + + $headerInstance = new HeaderMap(); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Quotes.Quoted_Items.Product_Name.Products_External"); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Products.Products_External"); + //Call createRecords method that takes BodyWrapper instance as parameter. + $response = $recordOperations->updateRecords($bodyWrapper, $headerInstance); + if ($response != null) { + //Get the status code from response + echo("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + //Get object from response + $actionHandler = $response->getObject(); + if ($actionHandler instanceof ActionWrapper) { + $actionWrapper = $actionHandler; + $actionResponses = $actionWrapper->getData(); + foreach ($actionResponses as $actionResponse) { + if ($actionResponse instanceof SuccessResponse) { + $successResponse = $actionResponse; + echo("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($successResponse->getDetails() as $key => $value) { + echo($key . " : "); + print_r($value); + echo("\n"); + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } else if ($actionResponse instanceof APIException) { + $exception = $actionResponse; + echo("Status: " . $exception->getStatus()->getValue() . "\n"); + echo("Code: " . $exception->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } else if ($actionHandler instanceof APIException) { + $exception = $actionHandler; + echo("Status: " . $exception->getStatus()->getValue() . "\n"); + echo("Code: " . $exception->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName = "Campaigns"; +UpdateCampaigns::initialize(); +UpdateCampaigns::updateCampaigns($moduleAPIName); \ No newline at end of file diff --git a/versions/5.0.0/samples/record/updaterecords/UpdateCases.php b/versions/5.0.0/samples/record/updaterecords/UpdateCases.php new file mode 100644 index 0000000..0d350f2 --- /dev/null +++ b/versions/5.0.0/samples/record/updaterecords/UpdateCases.php @@ -0,0 +1,197 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function updateCases($moduleAPIName) + { + $recordOperations = new RecordOperations($moduleAPIName); + $bodyWrapper = new BodyWrapper(); + $records = array(); + $record1 = new Record(); + $record1->setId("3477061072611"); + $record1->addFieldValue(Cases::Subject(), "New Case"); + $record1->addFieldValue(Cases::Type(), new Choice("Question")); + $productName = new Record(); + $productName->setId("347706116719010"); + $record1->addFieldValue(Cases::ProductName(), $productName); + $record1->addFieldValue(Cases::CaseOrigin(), new Choice("Email")); + $record1->addFieldValue(Cases::Status(), new Choice("On Hold")); + $record1->addFieldValue(Cases::ReportedBy(), "none"); + $record1->addFieldValue(Cases::Phone(), "3021103"); + $contactName = new Record(); + $contactName->setId("3477061185851"); + $record1->addFieldValue(Cases::RelatedTo(), $contactName); + $accountName = new Record(); + $accountName->setId("3477061189101"); + $record1->addFieldValue(Cases::AccountName(), $accountName); + $record1->addFieldValue(Cases::Email(), "abc@zoho.com"); + $record1->addFieldValue(Cases::Priority(), new Choice("Low")); + $record1->addFieldValue(Cases::CaseReason(), new Choice("New problem")); + $dealName = new Record(); + $dealName->addKeyValue("id", "3477061182981"); + $record1->addFieldValue(Cases::DealName(), $dealName); + $record1->addFieldValue(Cases::Description(), "description"); + $record1->addFieldValue(Cases::InternalComments(), "comments"); + $record1->addFieldValue(Cases::Solution(), "Solution for Problem"); + // used when GDPR is enabled + $dataConsent = new Consent(); + $dataConsent->setConsentRemarks("Approved"); + $dataConsent->setConsentThrough("Email"); + $dataConsent->setContactThroughEmail(true); + $dataConsent->setContactThroughSocial(false); + $dataConsent->setContactThroughPhone(true); + $dataConsent->setContactThroughSurvey(true); + $dataConsent->setConsentDate(new \DateTime('2023-10-10')); + $dataConsent->setDataProcessingBasis("Obtained"); + $record1->addKeyValue("Data_Processing_Basis_Details", $dataConsent); + // for custom Fields + $record1->addKeyValue("External", "Value12445"); + $record1->addKeyValue("Custom_Field", "custom_value"); + $record1->addKeyValue("Date_Time_1", date_create("2020-06-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get()))); + $record1->addKeyValue("Date_1",'2023:10:21'); + $record1->addKeyValue("Subject", "AutomatedSDK"); + $fileDetails = array(); + $fileDetail1 = new FileDetails(); + $fileDetail1->setFileIdS("ae9c7cefa4123d729ad87c6d90b0bd44183d280"); + array_push($fileDetails, $fileDetail1); + $fileDetail2 = new FileDetails(); + $fileDetail2->setFileIdS("ae9c7cefa416d90b0bd44183d2de"); + array_push($fileDetails, $fileDetail2); + $record1->addKeyValue("File_Upload", $fileDetails); + // for Custom User LookUp + $user = new MinifiedUser(); + $user->setId("4222222222222323123"); + $record1->addKeyValue("User_1", $user); + // for Custom LookUp + $data = new Record(); + $data->setId("4232434444444342123"); + $record1->addKeyValue("Lookup_1", $data); + // for Custom PickList + $record1->addKeyValue("Pick", new Choice("true")); + // for Custom MultiSelect + $record1->addKeyValue("MultiSelect", array(new Choice("Option 1"), new Choice("Option 2"))); + // for Subform + $subformList = array(); + $subform = new Record(); + $subform->addKeyValue("CustomField", "customValue"); + $user1 = new MinifiedUser(); + $user1->setId("4303032334334343"); + $subform->addKeyValue("UserField", $user1); + array_push($subformList, $subform); + $record1->addKeyValue("Subform_1", $subformList); + // for MultiSelectLookUp/Custom MultiSelectLookup + $multiselectList = array(); + $record = new Record(); + $record->addKeyValue("id", "44024808841"); + $linkingRecord = new Record(); + $linkingRecord->addKeyValue("Msl", $record); + array_push($multiselectList, $linkingRecord); + $record1->addKeyValue("Msl", $multiselectList); + // + $tagList = array(); + $tag = new Tag(); + $tag->setName("Testtask"); + array_push($tagList, $tag); + $record1->setTag($tagList); + + // can add update another record with same above mention fields + $record2 = new Record(); + $record2->setId("3454312324334"); + // + //Add Record instance to the list + array_push($records, $record1); + $bodyWrapper->setData($records); + $trigger = array("approval", "workflow", "blueprint"); + $bodyWrapper->setTrigger($trigger); + $bodyWrapper->setLarId("347706187515"); + + $headerInstance = new HeaderMap(); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Quotes.Quoted_Items.Product_Name.Products_External"); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Products.Products_External"); + //Call createRecords method that takes BodyWrapper instance as parameter. + $response = $recordOperations->updateRecords($bodyWrapper, $headerInstance); + if ($response != null) { + //Get the status code from response + echo("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + //Get object from response + $actionHandler = $response->getObject(); + if ($actionHandler instanceof ActionWrapper) { + $actionWrapper = $actionHandler; + $actionResponses = $actionWrapper->getData(); + foreach ($actionResponses as $actionResponse) { + if ($actionResponse instanceof SuccessResponse) { + $successResponse = $actionResponse; + echo("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($successResponse->getDetails() as $key => $value) { + echo($key . " : "); + print_r($value); + echo("\n"); + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } else if ($actionResponse instanceof APIException) { + $exception = $actionResponse; + echo("Status: " . $exception->getStatus()->getValue() . "\n"); + echo("Code: " . $exception->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } else if ($actionHandler instanceof APIException) { + $exception = $actionHandler; + echo("Status: " . $exception->getStatus()->getValue() . "\n"); + echo("Code: " . $exception->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName = "Cases"; +UpdateCases::initialize(); +UpdateCases::updateCases($moduleAPIName); \ No newline at end of file diff --git a/versions/5.0.0/samples/record/updaterecords/UpdateContacts.php b/versions/5.0.0/samples/record/updaterecords/UpdateContacts.php new file mode 100644 index 0000000..6be83a0 --- /dev/null +++ b/versions/5.0.0/samples/record/updaterecords/UpdateContacts.php @@ -0,0 +1,216 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + + public static function updateContacts(String $moduleAPIName) + { + $recordOperations = new RecordOperations($moduleAPIName); + $bodyWrapper = new BodyWrapper(); + $records = array(); + $record1 = new Record(); + $record1->setId("3477061185851"); + $record1->addFieldValue(Contacts::LastName(), 'Last Name'); + $record1->addFieldValue(Contacts::FirstName(), 'First Name'); + $record1->addFieldValue(Contacts::Email(), 'abc@zoho.com'); + $record1->addFieldValue(Contacts::Title(), 'Title'); + $record1->addFieldValue(Contacts::Phone(), '1000101'); + $record1->addFieldValue(Contacts::Department(), 'Department name'); + $record1->addFieldValue(Contacts::OtherPhone(), '123123'); + $record1->addFieldValue(Contacts::HomePhone(), '100010001'); + $record1->addFieldValue(Contacts::Mobile(), '9820'); + $record1->addFieldValue(Contacts::Fax(), 'fax'); + $record1->addFieldValue(Contacts::Assistant(), 'Assistant'); + $record1->addFieldValue(Contacts::DateOfBirth(), new \DateTime('1990-12-01')); + $record1->addFieldValue(Contacts::AsstPhone(), '123321'); + $record1->addFieldValue(Contacts::EmailOptOut(), true); + $record1->addFieldValue(Contacts::SkypeID(), 'skype_123'); + $record1->addFieldValue(Contacts::SecondaryEmail(), 'abc1@zoho.com'); + $record1->addFieldValue(Contacts::Twitter(), 'twitter_55'); + $account_name = new Record(); + $account_name->setId("302432342"); + $record1->addFieldValue(Contacts::AccountName(), $account_name); + $vendor_name = new Record(); + $vendor_name->setId("347706116436010"); + $record1->addFieldValue(Contacts::VendorName(), $vendor_name); + $reporting_to = new Record(); + $reporting_to->setId("3477061185822"); + $record1->addFieldValue(Contacts::ReportingTo(), $reporting_to); + // Address info + $record1->addFieldValue(Contacts::MailingCity(), 'Mailing City'); + $record1->addFieldValue(Contacts::MailingCountry(), 'Mailing Country'); + $record1->addFieldValue(Contacts::MailingState(), 'Mailing State'); + $record1->addFieldValue(Contacts::MailingStreet(), 'Mailing Street'); + $record1->addFieldValue(Contacts::MailingZip(), 'Mailing Zip'); + $record1->addFieldValue(Contacts::OtherCity(), 'Other city'); + $record1->addFieldValue(Contacts::OtherCountry(), 'other country'); + $record1->addFieldValue(Contacts::OtherState(), 'other state'); + $record1->addFieldValue(Contacts::OtherStreet(), 'other street'); + $record1->addFieldValue(Contacts::OtherZip(), 'other zip'); + // + $record1->addFieldValue(Contacts::Description(), 'description'); + // used when GDPR is enabled + $dataConsent = new Consent(); + $dataConsent->setConsentRemarks("Approved"); + $dataConsent->setConsentThrough("Email"); + $dataConsent->setContactThroughEmail(true); + $dataConsent->setContactThroughSocial(false); + $dataConsent->setContactThroughPhone(true); + $dataConsent->setContactThroughSurvey(true); + $dataConsent->setConsentDate(new \DateTime('2023-10-10')); + $dataConsent->setDataProcessingBasis("Obtained"); + $record1->addKeyValue("Data_Processing_Basis_Details", $dataConsent); + // for custom Fields + $record1->addKeyValue("External", "Value12445"); + $record1->addKeyValue("Custom_Field", "custom_value"); + $record1->addKeyValue("Date_Time_1", date_create("2020-06-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get()))); + $record1->addKeyValue("Date_1", '2023:10:21'); + $record1->addKeyValue("Subject", "AutomatedSDK"); + $record1->addKeyValue("Product_Name", "Automated"); + $fileDetails = array(); + $fileDetail1 = new FileDetails(); + $fileDetail1->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d280"); + array_push($fileDetails,$fileDetail1); + $fileDetail2 = new FileDetails(); + $fileDetail2->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d2de"); + array_push($fileDetails,$fileDetail2); + $record1->addKeyValue("File_Upload", $fileDetails); + // for Custom User LookUp + $user = new MinifiedUser(); + $user->setId("4222222222222323123"); + $record1->addKeyValue("User_1", $user); + // for Custom LookUp + $data = new Record(); + $data->setId("4232434444444342123"); + $record1->addKeyValue("Lookup_1", $data); + // for Custom PickList + $record1->addKeyValue("Pick", new Choice("true")); + // for Custom MultiSelect + $record1->addKeyValue("MultiSelect", array(new Choice("Option 1"), new Choice("Option 2"))); + // for Subform + $subformList = array(); + $subform = new Record(); + $subform->addKeyValue("CustomField", "customValue"); + $user1 = new MinifiedUser(); + $user1->setId("4303032334334343"); + $subform->addKeyValue("UserField", $user1); + array_push($subformList, $subform); + $record1->addKeyValue("Subform_1", $subformList); + // for MultiSelectLookUp/Custom MultiSelectLookup + $multiselectList = array(); + $record = new Record(); + $record->addKeyValue("id", "44024808841"); + $linkingRecord = new Record(); + $linkingRecord->addKeyValue("Msl", $record); + array_push($multiselectList,$linkingRecord); + $record1->addKeyValue("Msl", $multiselectList); + // + $tagList = array(); + $tag = new Tag(); + $tag->setName("Testtask"); + array_push($tagList, $tag); + $record1->setTag($tagList); + + // can add update another record with same above mention fields + $record2 = new Record(); + $record2->setId("3454312324334"); + // + //Add Record instance to the list + array_push($records, $record1); + $bodyWrapper->setData($records); + $trigger = array("approval", "workflow", "blueprint"); + $bodyWrapper->setTrigger($trigger); + $bodyWrapper->setLarId("347706187515"); + + $headerInstance = new HeaderMap(); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Quotes.Quoted_Items.Product_Name.Products_External"); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Products.Products_External"); + //Call createRecords method that takes BodyWrapper instance as parameter. + $response = $recordOperations->updateRecords($bodyWrapper, $headerInstance); + if ($response != null) { + //Get the status code from response + echo ("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + //Get object from response + $actionHandler = $response->getObject(); + if ($actionHandler instanceof ActionWrapper) { + $actionWrapper = $actionHandler; + $actionResponses = $actionWrapper->getData(); + foreach ($actionResponses as $actionResponse) { + if ($actionResponse instanceof SuccessResponse) { + $successResponse = $actionResponse; + echo ("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo ("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($successResponse->getDetails() as $key => $value) { + echo ($key . " : "); + print_r($value); + echo ("\n"); + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } + else if ($actionResponse instanceof APIException) { + $exception = $actionResponse; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } + else if ($actionHandler instanceof APIException) { + $exception = $actionHandler; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName = "Contacts"; +UpdateContacts::initialize(); +UpdateContacts::updateContacts($moduleAPIName); \ No newline at end of file diff --git a/versions/5.0.0/samples/record/updaterecords/UpdateDeals.php b/versions/5.0.0/samples/record/updaterecords/UpdateDeals.php new file mode 100644 index 0000000..c70f10c --- /dev/null +++ b/versions/5.0.0/samples/record/updaterecords/UpdateDeals.php @@ -0,0 +1,200 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + + public static function updateDeals(String $moduleAPIName) + { + $recordOperations = new RecordOperations($moduleAPIName); + $bodyWrapper = new BodyWrapper(); + $records = array(); + $record1 = new Record(); + $record1->setId("3234234"); + $record1->addFieldValue(Deals::DealName(), 'New Deal'); + $record1->addFieldValue(Deals::Amount(), 100.0); + $record1->addFieldValue(Deals::ClosingDate(), new \DateTime("2023-12-10")); + $record1->addFieldValue(Deals::Stage(), new Choice("Qualification")); + $record1->addFieldValue(Deals::Type(), new Choice("New Business")); + $record1->addFieldValue(Deals::Probability(), 10); + $record1->addFieldValue(Deals::NextStep(), 'Next Step'); + $record1->addFieldValue(Deals::ExpectedRevenue(), 120.0); + $record1->addFieldValue(Deals::LeadSource(), new Choice("Cold Call")); + $record1->addFieldValue(Deals::Description(), 'description'); + $account_name = new Record(); + $account_name->setId("30323213"); + $record1->addFieldValue(Deals::AccountName(), $account_name); + $contact_name = new Record(); + $contact_name->setId("30323130213"); + $record1->addFieldValue(Deals::AccountName(), $contact_name); + $campaign_source = new Record(); + $campaign_source->setId("30323230213"); + $record1->addFieldValue(Deals::AccountName(), $campaign_source); + // used when GDPR is enabled + $dataConsent = new Consent(); + $dataConsent->setConsentRemarks("Approved"); + $dataConsent->setConsentThrough("Email"); + $dataConsent->setContactThroughEmail(true); + $dataConsent->setContactThroughSocial(false); + $dataConsent->setContactThroughPhone(true); + $dataConsent->setContactThroughSurvey(true); + $dataConsent->setConsentDate(new \DateTime('2023-10-10')); + $dataConsent->setDataProcessingBasis("Obtained"); + $record1->addKeyValue("Data_Processing_Basis_Details", $dataConsent); + // for custom Fields + $record1->addKeyValue("External", "Value12445"); + $record1->addKeyValue("Custom_Field", "custom_value"); + $record1->addKeyValue("Date_Time_1", date_create("2020-06-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get()))); + $record1->addKeyValue("Date_1", '2023:10:21'); + $record1->addKeyValue("Subject", "AutomatedSDK"); + $record1->addKeyValue("Product_Name", "Automated"); + $fileDetails = array(); + $fileDetail1 = new FileDetails(); + $fileDetail1->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d280"); + array_push($fileDetails,$fileDetail1); + $fileDetail2 = new FileDetails(); + $fileDetail2->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d2de"); + array_push($fileDetails,$fileDetail2); + $record1->addKeyValue("File_Upload", $fileDetails); + // for Custom User LookUp + $user = new MinifiedUser(); + $user->setId("4222222222222323123"); + $record1->addKeyValue("User_1", $user); + // for Custom LookUp + $data = new Record(); + $data->setId("4232434444444342123"); + $record1->addKeyValue("Lookup_1", $data); + // for Custom PickList + $record1->addKeyValue("Pick", new Choice("true")); + // for Custom MultiSelect + $record1->addKeyValue("MultiSelect", array(new Choice("Option 1"), new Choice("Option 2"))); + // for Subform + $subformList = array(); + $subform = new Record(); + $subform->addKeyValue("CustomField", "customValue"); + $user1 = new MinifiedUser(); + $user1->setId("4303032334334343"); + $subform->addKeyValue("UserField", $user1); + array_push($subformList, $subform); + $record1->addKeyValue("Subform_1", $subformList); + // for MultiSelectLookUp/Custom MultiSelectLookup + $multiselectList = array(); + $record = new Record(); + $record->addKeyValue("id", "44024808841"); + $linkingRecord = new Record(); + $linkingRecord->addKeyValue("Msl", $record); + array_push($multiselectList,$linkingRecord); + $record1->addKeyValue("Msl", $multiselectList); + + $linkingRecord = new Record(); + $linkingRecord->setId("4402488"); + $record1->addKeyValue("Lookup_4", $linkingRecord); + + $tagList = array(); + $tag = new Tag(); + $tag->setName("Testtask"); + array_push($tagList, $tag); + $record1->setTag($tagList); + + // can add update another record with same above mention fields + $record2 = new Record(); + $record2->setId("3454312324334"); + // + //Add Record instance to the list + array_push($records, $record1); + $bodyWrapper->setData($records); + $trigger = array("approval", "workflow", "blueprint"); + $bodyWrapper->setTrigger($trigger); + $bodyWrapper->setLarId("347706187515"); + + $headerInstance = new HeaderMap(); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Quotes.Quoted_Items.Product_Name.Products_External"); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Products.Products_External"); + //Call createRecords method that takes BodyWrapper instance as parameter. + $response = $recordOperations->updateRecords($bodyWrapper, $headerInstance); + if ($response != null) { + //Get the status code from response + echo ("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + //Get object from response + $actionHandler = $response->getObject(); + if ($actionHandler instanceof ActionWrapper) { + $actionWrapper = $actionHandler; + $actionResponses = $actionWrapper->getData(); + foreach ($actionResponses as $actionResponse) { + if ($actionResponse instanceof SuccessResponse) { + $successResponse = $actionResponse; + echo ("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo ("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($successResponse->getDetails() as $key => $value) { + echo ($key . " : "); + print_r($value); + echo ("\n"); + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } + else if ($actionResponse instanceof APIException) { + $exception = $actionResponse; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } + else if ($actionHandler instanceof APIException) { + $exception = $actionHandler; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName = "Deals"; +UpdateDeals::initialize(); +UpdateDeals::updateDeals($moduleAPIName); \ No newline at end of file diff --git a/versions/5.0.0/samples/record/updaterecords/UpdateEvents.php b/versions/5.0.0/samples/record/updaterecords/UpdateEvents.php new file mode 100644 index 0000000..b6ea14c --- /dev/null +++ b/versions/5.0.0/samples/record/updaterecords/UpdateEvents.php @@ -0,0 +1,208 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + + public static function updateEvents($moduleAPIName) + { + $recordOperations = new RecordOperations($moduleAPIName); + $bodyWrapper = new BodyWrapper(); + $records = array(); + $record1 = new Record(); + $record1->setId("345340234332"); + $record1->addFieldValue(Events::Description(), "description"); + $record1->addFieldValue(Events::StartDateTime(), date_create("2020-06-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get()))); + $participants = array(); + $participant1 = new Participants(); + $participant1->setEmail("abc@zoho.com"); + $participant1->setType("email"); + $participant1->setId("34569023245"); + array_push($participants, $participant1); + $participant2 = new Participants(); + $participant2->addKeyValue("participant", "343242454"); + $participant2->addKeyValue("type", "lead"); + array_push($participants, $participant2); + $record1->addFieldValue(Events::Participants(), $participants); + $record1->addKeyValue('$send_notification', true); + $record1->addFieldValue(Events::EventTitle(), "New Automated Event"); + $record1->addFieldValue(Events::EndDateTime(), date_create("2020-06-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get()))); + $reminderList = array(); + $remindAt = new Reminder(); + $remindAt->setPeriod("minutes"); + $remindAt->setUnit(15); + array_push($reminderList, $remindAt); + $remindAt1 = new Reminder(); + $remindAt1->setPeriod("days"); + $remindAt1->setUnit(1); + $remindAt1->setTime("10:30"); + array_push($reminderList, $remindAt1); + $record1->addKeyValue('$se_module', "leads"); + $whatId = new Record(); + $whatId->setId("3231243"); + $record1->addFieldValue(Events::WhatId(), $whatId); + $record1->addKeyValue("Currency", new Choice("USD")); + // used when GDPR is enabled + $dataConsent = new Consent(); + $dataConsent->setConsentRemarks("Approved"); + $dataConsent->setConsentThrough("Email"); + $dataConsent->setContactThroughEmail(true); + $dataConsent->setContactThroughSocial(false); + $dataConsent->setContactThroughPhone(true); + $dataConsent->setContactThroughSurvey(true); + $dataConsent->setConsentDate(new \DateTime('2023-10-10')); + $dataConsent->setDataProcessingBasis("Obtained"); + $record1->addKeyValue("Data_Processing_Basis_Details", $dataConsent); + // for custom Fields + $record1->addKeyValue("External", "Value12445"); + $record1->addKeyValue("Custom_Field", "custom_value"); + $record1->addKeyValue("Date_Time_1", date_create("2020-06-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get()))); + $record1->addKeyValue("Date_1",'2023:10:21'); + $record1->addKeyValue("Subject", "AutomatedSDK"); + $record1->addKeyValue("Product_Name", "Automated"); + $fileDetails = array(); + $fileDetail1 = new FileDetails(); + $fileDetail1->setFileIdS("ae9c7cefa418aec90b0bd44183d280"); + array_push($fileDetails, $fileDetail1); + $fileDetail2 = new FileDetails(); + $fileDetail2->setFileIdS("ae9c7cefa4180b0bd44183d2de"); + array_push($fileDetails, $fileDetail2); + $record1->addKeyValue("File_Upload", $fileDetails); + // for Custom User LookUp + $user = new MinifiedUser(); + $user->setId("4222222222222323123"); + $record1->addKeyValue("User_1", $user); + // for Custom LookUp + $data = new Record(); + $data->setId("4232434444444342123"); + $record1->addKeyValue("Lookup_1", $data); + // for Custom PickList + $record1->addKeyValue("Pick", new Choice("true")); + // for Custom MultiSelect + $record1->addKeyValue("MultiSelect", array(new Choice("Option 1"), new Choice("Option 2"))); + // for Subform + $subformList = array(); + $subform = new Record(); + $subform->addKeyValue("CustomField", "customValue"); + $user1 = new MinifiedUser(); + $user1->setId("4303032334334343"); + $subform->addKeyValue("UserField", $user1); + array_push($subformList, $subform); + $record1->addKeyValue("Subform_1", $subformList); + // for MultiSelectLookUp/Custom MultiSelectLookup + $multiselectList = array(); + $record = new Record(); + $record->addKeyValue("id", "44024808841"); + $linkingRecord = new Record(); + $linkingRecord->addKeyValue("Msl", $record); + array_push($multiselectList, $linkingRecord); + $record1->addKeyValue("Msl", $multiselectList); + // + $tagList = array(); + $tag = new Tag(); + $tag->setName("Testtask"); + array_push($tagList, $tag); + $record1->setTag($tagList); + + // can add update another record with same above mention fields + $record2 = new Record(); + $record2->setId("3454312324334"); + // + //Add Record instance to the list + array_push($records, $record1); + $bodyWrapper->setData($records); + $trigger = array("approval", "workflow", "blueprint"); + $bodyWrapper->setTrigger($trigger); + $bodyWrapper->setLarId("347706187515"); + + $headerInstance = new HeaderMap(); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Quotes.Quoted_Items.Product_Name.Products_External"); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Products.Products_External"); + //Call createRecords method that takes BodyWrapper instance as parameter. + $response = $recordOperations->updateRecords($bodyWrapper, $headerInstance); + if ($response != null) { + //Get the status code from response + echo("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + //Get object from response + $actionHandler = $response->getObject(); + if ($actionHandler instanceof ActionWrapper) { + $actionWrapper = $actionHandler; + $actionResponses = $actionWrapper->getData(); + foreach ($actionResponses as $actionResponse) { + if ($actionResponse instanceof SuccessResponse) { + $successResponse = $actionResponse; + echo("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($successResponse->getDetails() as $key => $value) { + echo($key . " : "); + print_r($value); + echo("\n"); + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } else if ($actionResponse instanceof APIException) { + $exception = $actionResponse; + echo("Status: " . $exception->getStatus()->getValue() . "\n"); + echo("Code: " . $exception->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } else if ($actionHandler instanceof APIException) { + $exception = $actionHandler; + echo("Status: " . $exception->getStatus()->getValue() . "\n"); + echo("Code: " . $exception->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName = "Events"; +UpdateEvents::initialize(); +UpdateEvents::updateEvents($moduleAPIName); \ No newline at end of file diff --git a/versions/5.0.0/samples/record/updaterecords/UpdateInvoices.php b/versions/5.0.0/samples/record/updaterecords/UpdateInvoices.php new file mode 100644 index 0000000..12cdbb6 --- /dev/null +++ b/versions/5.0.0/samples/record/updaterecords/UpdateInvoices.php @@ -0,0 +1,229 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function updateInvoices($moduleAPIName) + { + $recordOperations = new RecordOperations($moduleAPIName); + $bodyWrapper = new BodyWrapper(); + $records = array(); + $record1 = new Record(); + $record1->setId("34234344"); + $accountName = new Record(); + $accountName->addFieldValue(Accounts::id(), "340123423423"); + $record1->addFieldValue(Invoices::AccountName(), $accountName); + $record1->addFieldValue(Invoices::Subject(), "new Invoice"); + $record1->addFieldValue(Invoices::Adjustment(), 10.0); + $record1->addFieldValue(Invoices::InvoiceDate(), new \DateTime('2023-09-12')); + $record1->addFieldValue(Invoices::DueDate(), new \DateTime('2023-10-12')); + $record1->addFieldValue(Invoices::SalesCommission(), 20.0); + $record1->addFieldValue(Invoices::PurchaseOrder(), "Purchase Order"); + $record1->addFieldValue(Invoices::ExciseDuty(), 10.0); + $record1->addFieldValue(Invoices::Status(), new Choice("Created")); + $contactName = new Record(); + $contactName->setId("3242354655432344"); + $record1->addFieldValue(Invoices::ContactName(), $contactName); + $sales_order = new Record(); + $sales_order->addFieldValue(Sales_Orders::id(), "3034352342"); + $record1->addFieldValue(Invoices::SalesOrder(), $sales_order); + $record1->addFieldValue(Invoices::TermsAndConditions(), "details of terms and conditions"); + $record1->addFieldValue(Invoices::Description(), "description"); + $inventoryLineItemList = array(); + $inventoryLineItem = new Record(); + $lineItemProduct = new LineItemProduct(); + $lineItemProduct->setId("343536456465352"); + $inventoryLineItem->addKeyValue("Description", "asd"); + $inventoryLineItem->addKeyValue("Discount", "5"); + $inventoryLineItem->addKeyValue("Quantity", 10.0); + $inventoryLineItem->addKeyValue("List_Price", 100.0); + $inventoryLineItem->addKeyValue("Product_Name", $lineItemProduct); +// $inventoryLineItem->addKeyValue("Product_Category_1", "hardware"); + array_push($inventoryLineItemList, $inventoryLineItem); + $productLineTaxes = array(); + $productLineTax = new LineTax(); + $productLineTax->setName("MyTax1134"); + $productLineTax->setValue(0.0); + $productLineTax->setId("340234234234"); + $productLineTax->setPercentage(15.0); + array_push($productLineTaxes, $productLineTax); + $inventoryLineItem->addKeyValue("Line_Tax", $productLineTaxes); + array_push($inventoryLineItemList, $inventoryLineItem); + $record1->addFieldValue(Invoices::InvoicedItems(), $inventoryLineItemList); + // Address info + $record1->addFieldValue(Invoices::BillingCity(), "city"); + $record1->addFieldValue(Invoices::BillingState(), "state"); + $record1->addFieldValue(Invoices::BillingCountry(), "country"); + $record1->addFieldValue(Invoices::BillingCode(), "code"); + $record1->addFieldValue(Invoices::BillingStreet(), "street"); + $record1->addFieldValue(Invoices::ShippingState(), "state"); + $record1->addFieldValue(Invoices::ShippingCity(), "city"); + $record1->addFieldValue(Invoices::ShippingCountry(), "country"); + $record1->addFieldValue(Invoices::ShippingStreet(), "street"); + $record1->addFieldValue(Invoices::ShippingCode(), "code"); + // used when GDPR is enabled + $dataConsent = new Consent(); + $dataConsent->setConsentRemarks("Approved"); + $dataConsent->setConsentThrough("Email"); + $dataConsent->setContactThroughEmail(true); + $dataConsent->setContactThroughSocial(false); + $dataConsent->setContactThroughPhone(true); + $dataConsent->setContactThroughSurvey(true); + $dataConsent->setConsentDate(new \DateTime('2023-10-10')); + $dataConsent->setDataProcessingBasis("Obtained"); + $record1->addKeyValue("Data_Processing_Basis_Details", $dataConsent); + // for custom Fields + $record1->addKeyValue("External", "Value12445"); + $record1->addKeyValue("Custom_Field", "custom_value"); + $record1->addKeyValue("Date_Time_1", date_create("2020-06-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get()))); + $record1->addKeyValue("Date_1", '2023:10:21'); + $record1->addKeyValue("Subject", "AutomatedSDK"); + $record1->addKeyValue("Product_Name", "Automated"); + $fileDetails = array(); + $fileDetail1 = new FileDetails(); + $fileDetail1->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d280"); + array_push($fileDetails, $fileDetail1); + $fileDetail2 = new FileDetails(); + $fileDetail2->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d2de"); + array_push($fileDetails, $fileDetail2); + $record1->addKeyValue("File_Upload", $fileDetails); + // for Custom User LookUp + $user = new MinifiedUser(); + $user->setId("4222222222222323123"); + $record1->addKeyValue("User_1", $user); + // for Custom LookUp + $data = new Record(); + $data->setId("4232434444444342123"); + $record1->addKeyValue("Lookup_1", $data); + // for Custom PickList + $record1->addKeyValue("Pick", new Choice("true")); + // for Custom MultiSelect + $record1->addKeyValue("MultiSelect", array(new Choice("Option 1"), new Choice("Option 2"))); + // for Subform + $subformList = array(); + $subform = new Record(); + $subform->addKeyValue("CustomField", "customValue"); + $user1 = new MinifiedUser(); + $user1->setId("4303032334334343"); + $subform->addKeyValue("UserField", $user1); + array_push($subformList, $subform); + $record1->addKeyValue("Subform_1", $subformList); + // for MultiSelectLookUp/Custom MultiSelectLookup + $multiselectList = array(); + $record = new Record(); + $record->addKeyValue("id", "44024808841"); + $linkingRecord = new Record(); + $linkingRecord->addKeyValue("Msl", $record); + array_push($multiselectList, $linkingRecord); + $record1->addKeyValue("Msl", $multiselectList); + // + $tagList = array(); + $tag = new Tag(); + $tag->setName("Testtask"); + array_push($tagList, $tag); + $record1->setTag($tagList); + + // can add update another record with same above mention fields + $record2 = new Record(); + $record2->setId("3454312324334"); + // + //Add Record instance to the list + array_push($records, $record1); + $bodyWrapper->setData($records); + $trigger = array("approval", "workflow", "blueprint"); + $bodyWrapper->setTrigger($trigger); + $bodyWrapper->setLarId("347706187515"); + + $headerInstance = new HeaderMap(); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Quotes.Quoted_Items.Product_Name.Products_External"); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Products.Products_External"); + //Call createRecords method that takes BodyWrapper instance as parameter. + $response = $recordOperations->updateRecords($bodyWrapper, $headerInstance); + if ($response != null) { + //Get the status code from response + echo("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + //Get object from response + $actionHandler = $response->getObject(); + if ($actionHandler instanceof ActionWrapper) { + $actionWrapper = $actionHandler; + $actionResponses = $actionWrapper->getData(); + foreach ($actionResponses as $actionResponse) { + if ($actionResponse instanceof SuccessResponse) { + $successResponse = $actionResponse; + echo("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($successResponse->getDetails() as $key => $value) { + echo($key . " : "); + print_r($value); + echo("\n"); + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } else if ($actionResponse instanceof APIException) { + $exception = $actionResponse; + echo("Status: " . $exception->getStatus()->getValue() . "\n"); + echo("Code: " . $exception->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } else if ($actionHandler instanceof APIException) { + $exception = $actionHandler; + echo("Status: " . $exception->getStatus()->getValue() . "\n"); + echo("Code: " . $exception->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName = "Invoices"; +UpdateInvoices::initialize(); +UpdateInvoices::updateInvoices($moduleAPIName); \ No newline at end of file diff --git a/versions/5.0.0/samples/record/updaterecords/UpdateLeads.php b/versions/5.0.0/samples/record/updaterecords/UpdateLeads.php new file mode 100644 index 0000000..b79f557 --- /dev/null +++ b/versions/5.0.0/samples/record/updaterecords/UpdateLeads.php @@ -0,0 +1,205 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function updateLeads(String $moduleAPIName) + { + $recordOperations = new RecordOperations($moduleAPIName); + $bodyWrapper = new BodyWrapper(); + $records = array(); + $record1 = new Record(); + $record1->setId('3232343434341321'); + $record1->addFieldValue(Leads::City(), "City"); + $record1->addFieldValue(Leads::Company(), "company"); + $record1->addFieldValue(Leads::LastName(), "FROm PHP"); + $record1->addFieldValue(Leads::FirstName(), "First Name"); + $record1->addFieldValue(Leads::FirstName(), "First Name"); + $record1->addFieldValue(Leads::AnnualRevenue(), 1002.2); + $record1->addFieldValue(Leads::Email(), "abc@zoho.com"); + $record1->addKeyValue("Title", "title"); + $record1->addFieldValue(Leads::SecondaryEmail(), "abc1@zoho.com"); + $record1->addFieldValue(Leads::Phone(), "131131"); + $record1->addFieldValue(Leads::Fax(), "Fax"); + $record1->addFieldValue(Leads::Mobile(), "2010101"); + $record1->addFieldValue(Leads::Website(), "www.domain.com"); + $record1->addFieldValue(Leads::LeadSource(), new Choice("Advertisement")); + $record1->addFieldValue(Leads::NoOfEmployees(), 10); + $record1->addFieldValue(Leads::Industry(), new Choice("ERP")); + $record1->addFieldValue(Leads::EmailOptOut(), true); + $record1->addFieldValue(Leads::LeadStatus(), new Choice("Contacted")); + $record1->addFieldValue(Leads::Rating(), new Choice("Active")); + $record1->addFieldValue(Leads::SkypeID(), "Skype_id"); + $record1->addFieldValue(Leads::Twitter(), "@twitter"); + // Address info + $record1->addFieldValue(Leads::Street(), "Street"); + $record1->addFieldValue(Leads::State(), "State Name"); + $record1->addFieldValue(Leads::City(), "City name"); + $record1->addFieldValue(Leads::Country(), "Country Name"); + $record1->addFieldValue(Leads::ZipCode(), "Zipcode"); + // + $record1->addFieldValue(Leads::Description(), "description"); + // used when GDPR is enabled + $dataConsent = new Consent(); + $dataConsent->setConsentRemarks("Approved"); + $dataConsent->setConsentThrough("Email"); + $dataConsent->setContactThroughEmail(true); + $dataConsent->setContactThroughSocial(false); + $dataConsent->setContactThroughPhone(true); + $dataConsent->setContactThroughSurvey(true); + $dataConsent->setConsentDate(new \DateTime('2023-10-10')); + $dataConsent->setDataProcessingBasis("Obtained"); + $record1->addKeyValue("Data_Processing_Basis_Details", $dataConsent); + // for custom Fields + $record1->addKeyValue("External", "Value12445"); + $record1->addKeyValue("Custom_Field", "custom_value"); + $record1->addKeyValue("Date_Time_1", date_create("2020-06-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get()))); + $record1->addKeyValue("Date_1", new \DateTime('2023-10-21')); + $record1->addKeyValue("Subject", "AutomatedSDK"); + $record1->addKeyValue("Product_Name", "Automated"); + $fileDetails = array(); + $fileDetail1 = new FileDetails(); + $fileDetail1->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d280"); + array_push($fileDetails,$fileDetail1); + $fileDetail2 = new FileDetails(); + $fileDetail2->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d2de"); + array_push($fileDetails,$fileDetail2); + $record1->addKeyValue("File_Upload", $fileDetails); + // for Custom User LookUp + $user = new MinifiedUser(); + $user->setId("4222222222222323123"); + $record1->addKeyValue("User_1", $user); + // for Custom LookUp + $data = new Record(); + $data->setId("4232434444444342123"); + $record1->addKeyValue("Lookup_1", $data); + // for Custom PickList + $record1->addKeyValue("Pick", new Choice("true")); + // for Custom MultiSelect + $record1->addKeyValue("MultiSelect", array(new Choice("Option 1"), new Choice("Option 2"))); + // for Subform + $subformList = array(); + $subform = new Record(); + $subform->addKeyValue("CustomField", "customValue"); + $user1 = new MinifiedUser(); + $user1->setId("430332334334343"); + $subform->addKeyValue("UserField", $user1); + array_push($subformList, $subform); + $record1->addKeyValue("Subform_1", $subformList); + // for MultiSelectLookUp/Custom MultiSelectLookup + $multiselectList = array(); + $record = new Record(); + $record->addKeyValue("id", "4402488841"); + $linkingRecord = new Record(); + $linkingRecord->addKeyValue("Msl", $record); + array_push($multiselectList,$linkingRecord); + $record1->addKeyValue("Msl", $multiselectList); + // + $tagList = array(); + $tag = new Tag(); + $tag->setName("Testtask"); + array_push($tagList, $tag); + $record1->setTag($tagList); + + // can add update another record with same above mention fields + $record2 = new Record(); + $record2->setId(3454312324334); + // + //Add Record instance to the list + array_push($records, $record1); + $bodyWrapper->setData($records); + $trigger = array("approval", "workflow", "blueprint"); + $bodyWrapper->setTrigger($trigger); + $bodyWrapper->setLarId("347706187515"); + + $headerInstance = new HeaderMap(); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Quotes.Quoted_Items.Product_Name.Products_External"); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Products.Products_External"); + //Call createRecords method that takes BodyWrapper instance as parameter. + $response = $recordOperations->updateRecords($bodyWrapper, $headerInstance); + if ($response != null) { + //Get the status code from response + echo ("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + //Get object from response + $actionHandler = $response->getObject(); + if ($actionHandler instanceof ActionWrapper) { + $actionWrapper = $actionHandler; + $actionResponses = $actionWrapper->getData(); + foreach ($actionResponses as $actionResponse) { + if ($actionResponse instanceof SuccessResponse) { + $successResponse = $actionResponse; + echo ("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo ("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($successResponse->getDetails() as $key => $value) { + echo ($key . " : "); + print_r($value); + echo ("\n"); + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } + else if ($actionResponse instanceof APIException) { + $exception = $actionResponse; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } + else if ($actionHandler instanceof APIException) { + $exception = $actionHandler; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName = "leads"; +UpdateLeads::initialize(); +UpdateLeads::updateLeads($moduleAPIName); \ No newline at end of file diff --git a/versions/5.0.0/samples/record/updaterecords/UpdatePriceBooks.php b/versions/5.0.0/samples/record/updaterecords/UpdatePriceBooks.php new file mode 100644 index 0000000..7cd117a --- /dev/null +++ b/versions/5.0.0/samples/record/updaterecords/UpdatePriceBooks.php @@ -0,0 +1,191 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function updatePriceBooks($moduleAPIName) + { + $recordOperations = new RecordOperations($moduleAPIName); + $bodyWrapper = new BodyWrapper(); + $records = array(); + $record1 = new Record(); + $record1->setId("3453242342303"); + $pricingDetails = array(); + $pricingDetail1 = new PricingDetails(); + $pricingDetail1->setFromRange(1.0); + $pricingDetail1->setToRange(5.0); + $pricingDetail1->setDiscount(2.0); + array_push($pricingDetails, $pricingDetail1); + $pricingDetail2 = new PricingDetails(); + $pricingDetail2->addKeyValue("from_range", 6.0); + $pricingDetail2->addKeyValue("to_range", 11.0); + $pricingDetail2->addKeyValue("discount", 3.0); + array_push($pricingDetails, $pricingDetail2); + $record1->addFieldValue(Price_Books::PricingDetails(), $pricingDetails); + $record1->addKeyValue("Email", "abc@zoho.com"); + $record1->addFieldValue(Price_Books::Description(), "description"); + $record1->addFieldValue(Price_Books::PriceBookName(), "book_name"); + $record1->addFieldValue(Price_Books::PricingModel(), new Choice("Flat")); + // used when GDPR is enabled + $dataConsent = new Consent(); + $dataConsent->setConsentRemarks("Approved"); + $dataConsent->setConsentThrough("Email"); + $dataConsent->setContactThroughEmail(true); + $dataConsent->setContactThroughSocial(false); + $dataConsent->setContactThroughPhone(true); + $dataConsent->setContactThroughSurvey(true); + $dataConsent->setConsentDate(new \DateTime('2023-10-10')); + $dataConsent->setDataProcessingBasis("Obtained"); + $record1->addKeyValue("Data_Processing_Basis_Details", $dataConsent); + // for custom Fields + $record1->addKeyValue("External", "Value12445"); + $record1->addKeyValue("Custom_Field", "custom_value"); + $record1->addKeyValue("Date_Time_1", date_create("2020-06-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get()))); + $record1->addKeyValue("Date_1", '2023:10:21'); + $record1->addKeyValue("Subject", "AutomatedSDK"); + $record1->addKeyValue("Product_Name", "Automated"); + $fileDetails = array(); + $fileDetail1 = new FileDetails(); + $fileDetail1->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d280"); + array_push($fileDetails, $fileDetail1); + $fileDetail2 = new FileDetails(); + $fileDetail2->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d2de"); + array_push($fileDetails, $fileDetail2); + $record1->addKeyValue("File_Upload", $fileDetails); + // for Custom User LookUp + $user = new MinifiedUser(); + $user->setId("4222222222222323123"); + $record1->addKeyValue("User_1", $user); + // for Custom LookUp + $data = new Record(); + $data->setId("4232434444444342123"); + $record1->addKeyValue("Lookup_1", $data); + // for Custom PickList + $record1->addKeyValue("Pick", new Choice("true")); + // for Custom MultiSelect + $record1->addKeyValue("MultiSelect", array(new Choice("Option 1"), new Choice("Option 2"))); + // for Subform + $subformList = array(); + $subform = new Record(); + $subform->addKeyValue("CustomField", "customValue"); + $user1 = new MinifiedUser(); + $user1->setId("4303032334334343"); + $subform->addKeyValue("UserField", $user1); + array_push($subformList, $subform); + $record1->addKeyValue("Subform_1", $subformList); + // for MultiSelectLookUp/Custom MultiSelectLookup + $multiselectList = array(); + $record = new Record(); + $record->addKeyValue("id", "44024808841"); + $linkingRecord = new Record(); + $linkingRecord->addKeyValue("Msl", $record); + array_push($multiselectList, $linkingRecord); + $record1->addKeyValue("Msl", $multiselectList); + // + $tagList = array(); + $tag = new Tag(); + $tag->setName("Testtask"); + array_push($tagList, $tag); + $record1->setTag($tagList); + + // can add update another record with same above mention fields + $record2 = new Record(); + $record2->setId("3454312324334"); + // + //Add Record instance to the list + array_push($records, $record1); + $bodyWrapper->setData($records); + $trigger = array("approval", "workflow", "blueprint"); + $bodyWrapper->setTrigger($trigger); + $bodyWrapper->setLarId("347706187515"); + + $headerInstance = new HeaderMap(); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Quotes.Quoted_Items.Product_Name.Products_External"); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Products.Products_External"); + //Call createRecords method that takes BodyWrapper instance as parameter. + $response = $recordOperations->updateRecords($bodyWrapper, $headerInstance); + if ($response != null) { + //Get the status code from response + echo("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + //Get object from response + $actionHandler = $response->getObject(); + if ($actionHandler instanceof ActionWrapper) { + $actionWrapper = $actionHandler; + $actionResponses = $actionWrapper->getData(); + foreach ($actionResponses as $actionResponse) { + if ($actionResponse instanceof SuccessResponse) { + $successResponse = $actionResponse; + echo("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($successResponse->getDetails() as $key => $value) { + echo($key . " : "); + print_r($value); + echo("\n"); + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } else if ($actionResponse instanceof APIException) { + $exception = $actionResponse; + echo("Status: " . $exception->getStatus()->getValue() . "\n"); + echo("Code: " . $exception->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } else if ($actionHandler instanceof APIException) { + $exception = $actionHandler; + echo("Status: " . $exception->getStatus()->getValue() . "\n"); + echo("Code: " . $exception->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName = "Price_Books"; +UpdatePriceBooks::initialize(); +UpdatePriceBooks::updatePriceBooks($moduleAPIName); \ No newline at end of file diff --git a/versions/5.0.0/samples/record/updaterecords/UpdateProducts.php b/versions/5.0.0/samples/record/updaterecords/UpdateProducts.php new file mode 100644 index 0000000..b4cbe0d --- /dev/null +++ b/versions/5.0.0/samples/record/updaterecords/UpdateProducts.php @@ -0,0 +1,210 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function updateProducts(String $moduleAPIName) + { + $recordOperations = new RecordOperations($moduleAPIName); + $bodyWrapper = new BodyWrapper(); + $records = array(); + $recordClass = 'com\zoho\crm\api\record\Record'; + $record1 = new $recordClass(); + $record1->setId("324000323213"); + $record1->addFieldValue(Products::ProductName(), 'new Product'); + $record1->addFieldValue(Products::ProductCode(), 'Code123'); + $record1->addFieldValue(Products::ProductActive(), true); + $vendorName = new Record(); + $vendorName->setId("3000234402340342"); + $record1->addFieldValue(Products::VendorName(), $vendorName); + $record1->addFieldValue(Products::ProductCategory(), new Choice("Hardware")); + $record1->addFieldValue(Products::Manufacturer(), new Choice("LexPon Inc.")); + $record1->addFieldValue(Products::SalesStartDate(), new \DateTime("2023-08-10")); + $record1->addFieldValue(Products::SalesEndDate(), new \DateTime("2023-08-10")); + $record1->addFieldValue(Products::SupportStartDate(), new \DateTime("2023-08-10")); + $record1->addFieldValue(Products::SupportExpiryDate(), new \DateTime("2023-08-10")); +// Price Info + $record1->addFieldValue(Products::UnitPrice(), 100.1); + $record1->addFieldValue(Products::CommissionRate(), 12.0); + $taxes = array(); + $line_tax = new \com\zoho\crm\api\record\Tax(); + $line_tax->setId("440248020807"); + $line_tax->setValue(10.0); + array_push($taxes, $line_tax); + $record1->addFieldValue(Products::Tax(), $taxes); + $record1->addFieldValue(Products::Taxable(), true); + // Stock info + $record1->addFieldValue(Products::UsageUnit(), new Choice("Box")); + $record1->addFieldValue(Products::QtyOrdered(), 100.10); + $record1->addFieldValue(Products::QtyInDemand(), 120.00); + $record1->addFieldValue(Products::ReorderLevel(), ''); + $handler = new MinifiedUser(); + $handler->setId("34000434034434"); + $record1->addFieldValue(Products::Handler(), $handler); + $record1->addFieldValue(Products::QtyInStock(), 200.00); + // + $record1->addFieldValue(Products::Description(), 'description'); + // used when GDPR is enabled + $dataConsent = new Consent(); + $dataConsent->setConsentRemarks("Approved"); + $dataConsent->setConsentThrough("Email"); + $dataConsent->setContactThroughEmail(true); + $dataConsent->setContactThroughSocial(false); + $dataConsent->setContactThroughPhone(true); + $dataConsent->setContactThroughSurvey(true); + $dataConsent->setConsentDate(new \DateTime('2023-10-10')); + $dataConsent->setDataProcessingBasis("Obtained"); + $record1->addKeyValue("Data_Processing_Basis_Details", $dataConsent); + // for custom Fields + $record1->addKeyValue("External", "Value12445"); + $record1->addKeyValue("Custom_Field", "custom_value"); + $record1->addKeyValue("Date_Time_1", date_create("2020-06-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get()))); + $record1->addKeyValue("Date_1",'2023:10:21'); + $record1->addKeyValue("Subject", "AutomatedSDK"); + $record1->addKeyValue("Product_Name", "Automated"); + $fileDetails = array(); + $fileDetail1 = new FileDetails(); + $fileDetail1->setFileIds("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d280"); + array_push($fileDetails,$fileDetail1); + $fileDetail2 = new FileDetails(); + $fileDetail2->setFileIds("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d2de"); + array_push($fileDetails,$fileDetail2); + $record1->addKeyValue("File_Upload", $fileDetails); + // for Custom User LookUp + $user = new MinifiedUser(); + $user->setId("4222222222222323123"); + $record1->addKeyValue("User_1", $user); + // for Custom LookUp + $data = new Record(); + $data->setId("4232434444444342123"); + $record1->addKeyValue("Lookup_1", $data); + // for Custom PickList + $record1->addKeyValue("Pick", new Choice("true")); + // for Custom MultiSelect + $record1->addKeyValue("MultiSelect", array(new Choice("Option 1"), new Choice("Option 2"))); + // for Subform + $subformList = array(); + $subform = new Record(); + $subform->addKeyValue("CustomField", "customValue"); + $user1 = new MinifiedUser(); + $user1->setId("430300032334334343"); + $subform->addKeyValue("UserField", $user1); + array_push($subformList, $subform); + $record1->addKeyValue("Subform_1", $subformList); + // for MultiSelectLookUp/Custom MultiSelectLookup + $multiselectList = array(); + $record = new Record(); + $record->addKeyValue("id", "440248000884001"); + $linkingRecord = new Record(); + $linkingRecord->addKeyValue("Msl", $record); + array_push($multiselectList,$linkingRecord); + $record1->addKeyValue("Msl", $multiselectList); + + $tagList = array(); + $tag = new Tag(); + $tag->setName("Testtask"); + array_push($tagList, $tag); + $record1->setTag($tagList); + + // can add update another record with same above mention fields + $record2 = new Record(); + $record2->setId("345004312324334"); + // + //Add Record instance to the list + array_push($records, $record1); + $bodyWrapper->setData($records); + $trigger = array("approval", "workflow", "blueprint"); + $bodyWrapper->setTrigger($trigger); + $bodyWrapper->setLarId("34770610087515"); + + $headerInstance = new HeaderMap(); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Quotes.Quoted_Items.Product_Name.Products_External"); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Products.Products_External"); + //Call createRecords method that takes BodyWrapper instance as parameter. + $response = $recordOperations->updateRecords($bodyWrapper, $headerInstance); + if ($response != null) { + //Get the status code from response + echo ("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + //Get object from response + $actionHandler = $response->getObject(); + if ($actionHandler instanceof ActionWrapper) { + $actionWrapper = $actionHandler; + $actionResponses = $actionWrapper->getData(); + foreach ($actionResponses as $actionResponse) { + if ($actionResponse instanceof SuccessResponse) { + $successResponse = $actionResponse; + echo ("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo ("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($successResponse->getDetails() as $key => $value) { + echo ($key . " : "); + print_r($value); + echo ("\n"); + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } + else if ($actionResponse instanceof APIException) { + $exception = $actionResponse; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } + else if ($actionHandler instanceof APIException) { + $exception = $actionHandler; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName = "Products"; +UpdateProducts::initialize(); +UpdateProducts::updateProducts($moduleAPIName); \ No newline at end of file diff --git a/versions/5.0.0/samples/record/updaterecords/UpdatePurchaseOrders.php b/versions/5.0.0/samples/record/updaterecords/UpdatePurchaseOrders.php new file mode 100644 index 0000000..b6b7a6f --- /dev/null +++ b/versions/5.0.0/samples/record/updaterecords/UpdatePurchaseOrders.php @@ -0,0 +1,229 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function updatePurchaseOrders($moduleAPIName) + { + $recordOperations = new RecordOperations($moduleAPIName); + $bodyWrapper = new BodyWrapper(); + $records = array(); + $record1 = new Record(); + $record1->setId("340234324"); + $vendor = new Record(); + $vendor->addFieldValue(Vendors::id(), "3402354235234"); + $record1->addFieldValue(Purchase_Orders::VendorName(), $vendor); + $record1->addFieldValue(Purchase_Orders::Subject(), "new Order"); + $record1->addFieldValue(Purchase_Orders::Adjustment(), 30.0); + $record1->addFieldValue(Purchase_Orders::Carrier(), new Choice("FedEX")); + $record1->addFieldValue(Purchase_Orders::PODate(),new \DateTime('2023-10-10')); + $record1->addFieldValue(Purchase_Orders::PONumber(), "1223221"); + $record1->addFieldValue(Purchase_Orders::ExciseDuty(), 25.0); + $vendor_name = new Record(); + $vendor_name->setId("3324324"); + $record1->addFieldValue(Purchase_Orders::VendorName(), $vendor_name); + $record1->addFieldValue(Purchase_Orders::TrackingNumber(), "4231"); + $record1->addFieldValue(Purchase_Orders::SalesCommission(), 43.2); + $record1->addFieldValue(Purchase_Orders::RequisitionNo(), null); + $contactName = new Record(); + $contactName->setId("349883034421"); + $record1->addFieldValue(Purchase_Orders::ContactName(), $contactName); + $record1->addFieldValue(Purchase_Orders::Description(), "description"); + $record1->addFieldValue(Purchase_Orders::TermsAndConditions(), "details of terms and conditions"); + $inventoryLineItemList = array(); + $inventoryLineItem = new Record(); + $lineItemProduct = new LineItemProduct(); + $lineItemProduct->setId("343536456465352"); + $inventoryLineItem->addKeyValue("Description", "asd"); + $inventoryLineItem->addKeyValue("Discount", "5"); + $inventoryLineItem->addKeyValue("Quantity", 10.0); + $inventoryLineItem->addKeyValue("List_Price", 100.0); + $inventoryLineItem->addKeyValue("Product_Name", $lineItemProduct); +// $inventoryLineItem->addKeyValue("Product_Category_1", "hardware"); + array_push($inventoryLineItemList, $inventoryLineItem); + $productLineTaxes = array(); + $productLineTax = new LineTax(); + $productLineTax->setName("MyTax1134"); + $productLineTax->setValue(0.0); + $productLineTax->setId("340234234234"); + $productLineTax->setPercentage(15.0); + array_push($productLineTaxes, $productLineTax); + $inventoryLineItem->addKeyValue("Line_Tax", $productLineTaxes); + array_push($inventoryLineItemList, $inventoryLineItem); + $record1->addFieldValue(Purchase_Orders::PurchaseItems(), $inventoryLineItemList); + // Address info + $record1->addFieldValue(Purchase_Orders::BillingCity(), "city"); + $record1->addFieldValue(Purchase_Orders::BillingState(), "state"); + $record1->addFieldValue(Purchase_Orders::BillingCountry(), "country"); + $record1->addFieldValue(Purchase_Orders::BillingCode(), "code"); + $record1->addFieldValue(Purchase_Orders::BillingStreet(), "street"); + $record1->addFieldValue(Purchase_Orders::ShippingState(), "state"); + $record1->addFieldValue(Purchase_Orders::ShippingCity(), "city"); + $record1->addFieldValue(Purchase_Orders::ShippingCountry(), "country"); + $record1->addFieldValue(Purchase_Orders::ShippingStreet(), "street"); + $record1->addFieldValue(Purchase_Orders::ShippingCode(), "code"); + // used when GDPR is enabled + $dataConsent = new Consent(); + $dataConsent->setConsentRemarks("Approved"); + $dataConsent->setConsentThrough("Email"); + $dataConsent->setContactThroughEmail(true); + $dataConsent->setContactThroughSocial(false); + $dataConsent->setContactThroughPhone(true); + $dataConsent->setContactThroughSurvey(true); + $dataConsent->setConsentDate(new \DateTime('2023-10-10')); + $dataConsent->setDataProcessingBasis("Obtained"); + $record1->addKeyValue("Data_Processing_Basis_Details", $dataConsent); + // for custom Fields + $record1->addKeyValue("External", "Value12445"); + $record1->addKeyValue("Custom_Field", "custom_value"); + $record1->addKeyValue("Date_Time_1", date_create("2020-06-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get()))); + $record1->addKeyValue("Date_1", '2023:10:21'); + $record1->addKeyValue("Subject", "AutomatedSDK"); + $record1->addKeyValue("Product_Name", "Automated"); + $fileDetails = array(); + $fileDetail1 = new FileDetails(); + $fileDetail1->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d280"); + array_push($fileDetails, $fileDetail1); + $fileDetail2 = new FileDetails(); + $fileDetail2->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d2de"); + array_push($fileDetails, $fileDetail2); + $record1->addKeyValue("File_Upload", $fileDetails); + // for Custom User LookUp + $user = new MinifiedUser(); + $user->setId("4222222222222323123"); + $record1->addKeyValue("User_1", $user); + // for Custom LookUp + $data = new Record(); + $data->setId("4232434444444342123"); + $record1->addKeyValue("Lookup_1", $data); + // for Custom PickList + $record1->addKeyValue("Pick", new Choice("true")); + // for Custom MultiSelect + $record1->addKeyValue("MultiSelect", array(new Choice("Option 1"), new Choice("Option 2"))); + // for Subform + $subformList = array(); + $subform = new Record(); + $subform->addKeyValue("CustomField", "customValue"); + $user1 = new MinifiedUser(); + $user1->setId("4303032334334343"); + $subform->addKeyValue("UserField", $user1); + array_push($subformList, $subform); + $record1->addKeyValue("Subform_1", $subformList); + // for MultiSelectLookUp/Custom MultiSelectLookup + $multiselectList = array(); + $record = new Record(); + $record->addKeyValue("id", "44024808841"); + $linkingRecord = new Record(); + $linkingRecord->addKeyValue("Msl", $record); + array_push($multiselectList, $linkingRecord); + $record1->addKeyValue("Msl", $multiselectList); + // + $tagList = array(); + $tag = new Tag(); + $tag->setName("Testtask"); + array_push($tagList, $tag); + $record1->setTag($tagList); + + // can add update another record with same above mention fields + $record2 = new Record(); + $record2->setId("3454312324334"); + // + //Add Record instance to the list + array_push($records, $record1); + $bodyWrapper->setData($records); + $trigger = array("approval", "workflow", "blueprint"); + $bodyWrapper->setTrigger($trigger); + $bodyWrapper->setLarId("347706187515"); + + $headerInstance = new HeaderMap(); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Quotes.Quoted_Items.Product_Name.Products_External"); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Products.Products_External"); + //Call createRecords method that takes BodyWrapper instance as parameter. + $response = $recordOperations->updateRecords($bodyWrapper, $headerInstance); + if ($response != null) { + //Get the status code from response + echo("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + //Get object from response + $actionHandler = $response->getObject(); + if ($actionHandler instanceof ActionWrapper) { + $actionWrapper = $actionHandler; + $actionResponses = $actionWrapper->getData(); + foreach ($actionResponses as $actionResponse) { + if ($actionResponse instanceof SuccessResponse) { + $successResponse = $actionResponse; + echo("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($successResponse->getDetails() as $key => $value) { + echo($key . " : "); + print_r($value); + echo("\n"); + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } else if ($actionResponse instanceof APIException) { + $exception = $actionResponse; + echo("Status: " . $exception->getStatus()->getValue() . "\n"); + echo("Code: " . $exception->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } else if ($actionHandler instanceof APIException) { + $exception = $actionHandler; + echo("Status: " . $exception->getStatus()->getValue() . "\n"); + echo("Code: " . $exception->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName = "Purchase_Orders"; +UpdatePurchaseOrders::initialize(); +UpdatePurchaseOrders::updatePurchaseOrders($moduleAPIName); \ No newline at end of file diff --git a/versions/5.0.0/samples/record/updaterecords/UpdateQuotes.php b/versions/5.0.0/samples/record/updaterecords/UpdateQuotes.php new file mode 100644 index 0000000..8f04578 --- /dev/null +++ b/versions/5.0.0/samples/record/updaterecords/UpdateQuotes.php @@ -0,0 +1,226 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function updateQuotes($moduleAPIName) + { + $recordOperations = new RecordOperations($moduleAPIName); + $bodyWrapper = new BodyWrapper(); + $records = array(); + $record1 = new Record(); + $record1->setId("345689033423423"); + $accountName = new Record(); + $accountName->addFieldValue(Accounts::id(), "304904089932"); + $record1->addFieldValue(Quotes::AccountName(), $accountName); + $record1->addFieldValue(Quotes::Subject(), "new Quote"); + $record1->addFieldValue(Quotes::Adjustment(), 10.0); + $record1->addFieldValue(Quotes::ValidTill(), new \DateTime('2023-09-19')); + $record1->addFieldValue(Quotes::Team(), "teamName"); + $record1->addFieldValue(Quotes::TermsAndConditions(), "details of terms and Conditions"); + $record1->addFieldValue(Quotes::Description(), "description"); + $dealName = new Record(); + $dealName->setId("3400034234034"); + $record1->addFieldValue(Quotes::DealName(), $dealName); + $contactName = new Record(); + $contactName->setId("345003423434"); + $record1->addFieldValue(Quotes::ContactName(), $contactName); + $record1->addFieldValue(Quotes::QuoteStage(), new Choice("Draft")); + $record1->addFieldValue(Quotes::Carrier(), new Choice("FedEX")); + $inventoryLineItemList = array(); + $inventoryLineItem = new Record(); + $lineItemProduct = new LineItemProduct(); + $lineItemProduct->setId("343536456465352"); + $inventoryLineItem->addKeyValue("Description", "asd"); + $inventoryLineItem->addKeyValue("Discount", "5"); + $inventoryLineItem->addKeyValue("Quantity", 10.0); + $inventoryLineItem->addKeyValue("List_Price", 100.0); + $inventoryLineItem->addKeyValue("Product_Name", $lineItemProduct); +// $inventoryLineItem->addKeyValue("Product_Category_1", "hardware"); + array_push($inventoryLineItemList, $inventoryLineItem); + $productLineTaxes = array(); + $productLineTax = new LineTax(); + $productLineTax->setName("MyTax1134"); + $productLineTax->setValue(0.0); + $productLineTax->setId("340234234234"); + $productLineTax->setPercentage(15.0); + array_push($productLineTaxes, $productLineTax); + $inventoryLineItem->addKeyValue("Line_Tax", $productLineTaxes); + array_push($inventoryLineItemList, $inventoryLineItem); + $record1->addFieldValue(Quotes::QuotedItems(), $inventoryLineItemList); + // Address info + $record1->addFieldValue(Quotes::BillingCity(), "city"); + $record1->addFieldValue(Quotes::BillingState(), "state"); + $record1->addFieldValue(Quotes::BillingCountry(), "country"); + $record1->addFieldValue(Quotes::BillingCode(), "code"); + $record1->addFieldValue(Quotes::BillingStreet(), "street"); + $record1->addFieldValue(Quotes::ShippingState(), "state"); + $record1->addFieldValue(Quotes::ShippingCity(), "city"); + $record1->addFieldValue(Quotes::ShippingCountry(), "country"); + $record1->addFieldValue(Quotes::ShippingStreet(), "street"); + $record1->addFieldValue(Quotes::ShippingCode(), "code"); + // used when GDPR is enabled + $dataConsent = new Consent(); + $dataConsent->setConsentRemarks("Approved"); + $dataConsent->setConsentThrough("Email"); + $dataConsent->setContactThroughEmail(true); + $dataConsent->setContactThroughSocial(false); + $dataConsent->setContactThroughPhone(true); + $dataConsent->setContactThroughSurvey(true); + $dataConsent->setConsentDate(new \DateTime('2023-10-10')); + $dataConsent->setDataProcessingBasis("Obtained"); + $record1->addKeyValue("Data_Processing_Basis_Details", $dataConsent); + // for custom Fields + $record1->addKeyValue("External", "Value12445"); + $record1->addKeyValue("Custom_Field", "custom_value"); + $record1->addKeyValue("Date_Time_1", date_create("2020-06-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get()))); + $record1->addKeyValue("Date_1", '2023:10:21'); + $record1->addKeyValue("Subject", "AutomatedSDK"); + $record1->addKeyValue("Product_Name", "Automated"); + $fileDetails = array(); + $fileDetail1 = new FileDetails(); + $fileDetail1->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d280"); + array_push($fileDetails, $fileDetail1); + $fileDetail2 = new FileDetails(); + $fileDetail2->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d2de"); + array_push($fileDetails, $fileDetail2); + $record1->addKeyValue("File_Upload", $fileDetails); + // for Custom User LookUp + $user = new MinifiedUser(); + $user->setId("4222222222222323123"); + $record1->addKeyValue("User_1", $user); + // for Custom LookUp + $data = new Record(); + $data->setId("4232434444444342123"); + $record1->addKeyValue("Lookup_1", $data); + // for Custom PickList + $record1->addKeyValue("Pick", new Choice("true")); + // for Custom MultiSelect + $record1->addKeyValue("MultiSelect", array(new Choice("Option 1"), new Choice("Option 2"))); + // for Subform + $subformList = array(); + $subform = new Record(); + $subform->addKeyValue("CustomField", "customValue"); + $user1 = new MinifiedUser(); + $user1->setId("430300032334334343"); + $subform->addKeyValue("UserField", $user1); + array_push($subformList, $subform); + $record1->addKeyValue("Subform_1", $subformList); + // for MultiSelectLookUp/Custom MultiSelectLookup + $multiselectList = array(); + $record = new Record(); + $record->addKeyValue("id", "440248000884001"); + $linkingRecord = new Record(); + $linkingRecord->addKeyValue("Msl", $record); + array_push($multiselectList, $linkingRecord); + $record1->addKeyValue("Msl", $multiselectList); + // + $tagList = array(); + $tag = new Tag(); + $tag->setName("Testtask"); + array_push($tagList, $tag); + $record1->setTag($tagList); + + // can add update another record with same above mention fields + $record2 = new Record(); + $record2->setId("345004312324334"); + // + //Add Record instance to the list + array_push($records, $record1); + $bodyWrapper->setData($records); + $trigger = array("approval", "workflow", "blueprint"); + $bodyWrapper->setTrigger($trigger); + $bodyWrapper->setLarId("34770610087515"); + + $headerInstance = new HeaderMap(); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Quotes.Quoted_Items.Product_Name.Products_External"); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Products.Products_External"); + //Call createRecords method that takes BodyWrapper instance as parameter. + $response = $recordOperations->updateRecords($bodyWrapper, $headerInstance); + if ($response != null) { + //Get the status code from response + echo("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + //Get object from response + $actionHandler = $response->getObject(); + if ($actionHandler instanceof ActionWrapper) { + $actionWrapper = $actionHandler; + $actionResponses = $actionWrapper->getData(); + foreach ($actionResponses as $actionResponse) { + if ($actionResponse instanceof SuccessResponse) { + $successResponse = $actionResponse; + echo("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($successResponse->getDetails() as $key => $value) { + echo($key . " : "); + print_r($value); + echo("\n"); + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } else if ($actionResponse instanceof APIException) { + $exception = $actionResponse; + echo("Status: " . $exception->getStatus()->getValue() . "\n"); + echo("Code: " . $exception->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } else if ($actionHandler instanceof APIException) { + $exception = $actionHandler; + echo("Status: " . $exception->getStatus()->getValue() . "\n"); + echo("Code: " . $exception->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName = "Quotes"; +UpdateQuotes::initialize(); +UpdateQuotes::updateQuotes($moduleAPIName); \ No newline at end of file diff --git a/versions/5.0.0/samples/record/updaterecords/UpdateSalesOrders.php b/versions/5.0.0/samples/record/updaterecords/UpdateSalesOrders.php new file mode 100644 index 0000000..f39de2b --- /dev/null +++ b/versions/5.0.0/samples/record/updaterecords/UpdateSalesOrders.php @@ -0,0 +1,233 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function updateSalesOrders($moduleAPIName) + { + $recordOperations = new RecordOperations($moduleAPIName); + $bodyWrapper = new BodyWrapper(); + $records = array(); + $recordClass = 'com\zoho\crm\api\record\Record'; + $record1 = new $recordClass(); + $record1->setId("3223099999909323"); + $account = new Record(); + $account->setId("345003230032"); + $record1->addFieldValue(Sales_Orders::AccountName(), $account); + $record1->addFieldValue(Sales_Orders::Subject(), "new Order"); + $record1->addFieldValue(Sales_Orders::Adjustment(), 10.0); + $record1->addFieldValue(Sales_Orders::Description(), "description"); + $record1->addFieldValue(Sales_Orders::TermsAndConditions(), "details of terms and Conditiond"); + $record1->addFieldValue(Sales_Orders::CustomerNo(), "123123"); + $quoteName = new Record(); + $quoteName->setId("34004523423423"); + $record1->addFieldValue(Sales_Orders::QuoteName(), $quoteName); + $record1->addFieldValue(Sales_Orders::Pending(), null); + $record1->addFieldValue(Sales_Orders::Carrier(), new Choice("FedEX")); + $record1->addFieldValue(Sales_Orders::SalesCommission(), 40.0); + $record1->addFieldValue(Sales_Orders::PurchaseOrder(), null); + $record1->addFieldValue(Sales_Orders::ExciseDuty(), 30.0); + $record1->addFieldValue(Sales_Orders::Status(), new Choice("Created")); + $deal_name = new Record(); + $deal_name->setId("32000234"); + $record1->addFieldValue(Sales_Orders::DealName(), $deal_name); + $contact_name = new Record(); + $contact_name->setId("34500900324"); + $record1->addFieldValue(Sales_Orders::ContactName(), $contact_name); + $record1->addFieldValue(Sales_Orders::DueDate(), new \DateTime('2023-08-10'), 'y-m-d'); + $inventoryLineItemList = array(); + $inventoryLineItem = new Record(); + $lineItemProduct = new LineItemProduct(); + $lineItemProduct->setId("343536456465352"); + $inventoryLineItem->addKeyValue("Description", "asd"); + $inventoryLineItem->addKeyValue("Discount", "5"); + $inventoryLineItem->addKeyValue("Quantity", 10.0); + $inventoryLineItem->addKeyValue("List_Price", 100.0); + $inventoryLineItem->addKeyValue("Product_Name", $lineItemProduct); +// $inventoryLineItem->addKeyValue("Product_Category_1", "hardware"); + array_push($inventoryLineItemList, $inventoryLineItem); + $productLineTaxes = array(); + $productLineTax = new LineTax(); + $productLineTax->setName("MyTax1134"); + $productLineTax->setValue(0.0); + $productLineTax->setId("340234234234"); + $productLineTax->setPercentage(15.0); + array_push($productLineTaxes, $productLineTax); + $inventoryLineItem->addKeyValue("Line_Tax", $productLineTaxes); + array_push($inventoryLineItemList, $inventoryLineItem); + $record1->addFieldValue(Sales_Orders::OrderedItems(), $inventoryLineItemList); + // Address info + $record1->addFieldValue(Sales_Orders::BillingCity(), "city"); + $record1->addFieldValue(Sales_Orders::BillingState(), "state"); + $record1->addFieldValue(Sales_Orders::BillingCountry(), "country"); + $record1->addFieldValue(Sales_Orders::BillingCode(), "code"); + $record1->addFieldValue(Sales_Orders::BillingStreet(), "street"); + $record1->addFieldValue(Sales_Orders::ShippingState(), "state"); + $record1->addFieldValue(Sales_Orders::ShippingCity(), "city"); + $record1->addFieldValue(Sales_Orders::ShippingCountry(), "country"); + $record1->addFieldValue(Sales_Orders::ShippingStreet(), "street"); + $record1->addFieldValue(Sales_Orders::ShippingCode(), "code"); + // used when GDPR is enabled + $dataConsent = new Consent(); + $dataConsent->setConsentRemarks("Approved"); + $dataConsent->setConsentThrough("Email"); + $dataConsent->setContactThroughEmail(true); + $dataConsent->setContactThroughSocial(false); + $dataConsent->setContactThroughPhone(true); + $dataConsent->setContactThroughSurvey(true); + $dataConsent->setConsentDate(new \DateTime('2023-10-10')); + $dataConsent->setDataProcessingBasis("Obtained"); + $record1->addKeyValue("Data_Processing_Basis_Details", $dataConsent); + // for custom Fields + $record1->addKeyValue("External", "Value12445"); + $record1->addKeyValue("Custom_Field", "custom_value"); + $record1->addKeyValue("Date_Time_1", date_create("2020-06-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get()))); + $record1->addKeyValue("Date_1", '2023:10:21'); + $record1->addKeyValue("Subject", "AutomatedSDK"); + $record1->addKeyValue("Product_Name", "Automated"); + $fileDetails = array(); + $fileDetail1 = new FileDetails(); + $fileDetail1->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d280"); + array_push($fileDetails, $fileDetail1); + $fileDetail2 = new FileDetails(); + $fileDetail2->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d2de"); + array_push($fileDetails, $fileDetail2); + $record1->addKeyValue("File_Upload", $fileDetails); + // for Custom User LookUp + $user = new MinifiedUser(); + $user->setId("4222222222222323123"); + $record1->addKeyValue("User_1", $user); + // for Custom LookUp + $data = new Record(); + $data->setId("4232434444444342123"); + $record1->addKeyValue("Lookup_1", $data); + // for Custom PickList + $record1->addKeyValue("Pick", new Choice("true")); + // for Custom MultiSelect + $record1->addKeyValue("MultiSelect", array(new Choice("Option 1"), new Choice("Option 2"))); + // for Subform + $subformList = array(); + $subform = new Record(); + $subform->addKeyValue("CustomField", "customValue"); + $user1 = new MinifiedUser(); + $user1->setId("430300032334334343"); + $subform->addKeyValue("UserField", $user1); + array_push($subformList, $subform); + $record1->addKeyValue("Subform_1", $subformList); + // for MultiSelectLookUp/Custom MultiSelectLookup + $multiselectList = array(); + $record = new Record(); + $record->addKeyValue("id", "440248000884001"); + $linkingRecord = new Record(); + $linkingRecord->addKeyValue("Msl", $record); + array_push($multiselectList, $linkingRecord); + $record1->addKeyValue("Msl", $multiselectList); + // + $tagList = array(); + $tag = new Tag(); + $tag->setName("Testtask"); + array_push($tagList, $tag); + $record1->setTag($tagList); + + // can add update another record with same above mention fields + $record2 = new Record(); + $record2->setId("345004312324334"); + // + //Add Record instance to the list + array_push($records, $record1); + $bodyWrapper->setData($records); + $trigger = array("approval", "workflow", "blueprint"); + $bodyWrapper->setTrigger($trigger); + $bodyWrapper->setLarId("34770610087515"); + + $headerInstance = new HeaderMap(); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Quotes.Quoted_Items.Product_Name.Products_External"); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Products.Products_External"); + //Call createRecords method that takes BodyWrapper instance as parameter. + $response = $recordOperations->updateRecords($bodyWrapper, $headerInstance); + if ($response != null) { + //Get the status code from response + echo("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + //Get object from response + $actionHandler = $response->getObject(); + if ($actionHandler instanceof ActionWrapper) { + $actionWrapper = $actionHandler; + $actionResponses = $actionWrapper->getData(); + foreach ($actionResponses as $actionResponse) { + if ($actionResponse instanceof SuccessResponse) { + $successResponse = $actionResponse; + echo("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($successResponse->getDetails() as $key => $value) { + echo($key . " : "); + print_r($value); + echo("\n"); + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } else if ($actionResponse instanceof APIException) { + $exception = $actionResponse; + echo("Status: " . $exception->getStatus()->getValue() . "\n"); + echo("Code: " . $exception->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } else if ($actionHandler instanceof APIException) { + $exception = $actionHandler; + echo("Status: " . $exception->getStatus()->getValue() . "\n"); + echo("Code: " . $exception->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName = "Sales_Orders"; +UpdateSalesOrders::initialize(); +UpdateSalesOrders::updateSalesOrders($moduleAPIName); \ No newline at end of file diff --git a/versions/5.0.0/samples/record/updaterecords/UpdateSolutions.php b/versions/5.0.0/samples/record/updaterecords/UpdateSolutions.php new file mode 100644 index 0000000..0038617 --- /dev/null +++ b/versions/5.0.0/samples/record/updaterecords/UpdateSolutions.php @@ -0,0 +1,183 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function updateSolutions(String $moduleAPIName) + { + $recordOperations = new RecordOperations($moduleAPIName); + $bodyWrapper = new BodyWrapper(); + $records = array(); + $record1 = new Record(); + $record1->setId("3403243043423"); + $record1->addFieldValue(Solutions::SolutionTitle(), 'new solution'); + $record1->addFieldValue(Solutions::Question(), 'question ?'); + $record1->addFieldValue(Solutions::Answer(), 'answer'); + $record1->addFieldValue(Solutions::Status(), new Choice('Draft')); + $productName = new Record(); + $productName->setId("3034243332"); + $record1->addFieldValue(Solutions::ProductName(), $productName); + $record1->addFieldValue(Solutions::SolutionNumber(), "32033233203233"); + // used when GDPR is enabled + $dataConsent = new Consent(); + $dataConsent->setConsentRemarks("Approved"); + $dataConsent->setConsentThrough("Email"); + $dataConsent->setContactThroughEmail(true); + $dataConsent->setContactThroughSocial(false); + $dataConsent->setContactThroughPhone(true); + $dataConsent->setContactThroughSurvey(true); + $dataConsent->setConsentDate(new \DateTime('2023-10-10')); + $dataConsent->setDataProcessingBasis("Obtained"); + $record1->addKeyValue("Data_Processing_Basis_Details", $dataConsent); + // for custom fields + $record1->addKeyValue("External", "Value12445"); + $record1->addKeyValue("Custom_Field", "custom_value"); + $record1->addKeyValue("Date_Time_1", date_create("2020-06-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get()))); + $record1->addKeyValue("Date_1", '2023:10:21'); + $record1->addKeyValue("Subject", "AutomatedSDK"); + $fileDetails = array(); + $fileDetail1 = new FileDetails(); + $fileDetail1->setFileIds("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d280"); + array_push($fileDetails,$fileDetail1); + $fileDetail2 = new FileDetails(); + $fileDetail2->setFileIds("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d2de"); + array_push($fileDetails,$fileDetail2); + $record1->addKeyValue("File_Upload", $fileDetails); + // for Custom User LookUp + $user = new MinifiedUser(); + $user->setId("4222222222222323123"); + $record1->addKeyValue("User_1", $user); + // for Custom LookUp + $data = new Record(); + $data->setId("4232434444444342123"); + $record1->addKeyValue("Lookup_1", $data); + // for Custom PickList + $record1->addKeyValue("Pick", new Choice("true")); + // for Custom MultiSelect + $record1->addKeyValue("MultiSelect", array(new Choice("Option 1"), new Choice("Option 2"))); + // for Subform + $subformList = array(); + $subform = new Record(); + $subform->addKeyValue("CustomField", "customValue"); + $user1 = new MinifiedUser(); + $user1->setId("4303032334334343"); + $subform->addKeyValue("UserField", $user1); + array_push($subformList, $subform); + $record1->addKeyValue("Subform_1", $subformList); + // for MultiSelectLookUp/Custom MultiSelectLookup + $multiselectList = array(); + $record = new Record(); + $record->addKeyValue("id", "44024808841"); + $linkingRecord = new Record(); + $linkingRecord->addKeyValue("Msl", $record); + array_push($multiselectList,$linkingRecord); + $record1->addKeyValue("Msl", $multiselectList); + // + $tagList = array(); + $tag = new Tag(); + $tag->setName("Testtask"); + array_push($tagList, $tag); + $record1->setTag($tagList); + + // can add update another record with same above mention fields + $record2 = new Record(); + $record2->setId("3454312324334"); + // + //Add Record instance to the list + array_push($records, $record1); + $bodyWrapper->setData($records); + $trigger = array("approval", "workflow", "blueprint"); + $bodyWrapper->setTrigger($trigger); + $bodyWrapper->setLarId("347706187515"); + + $headerInstance = new HeaderMap(); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Quotes.Quoted_Items.Product_Name.Products_External"); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Products.Products_External"); + //Call createRecords method that takes BodyWrapper instance as parameter. + $response = $recordOperations->updateRecords($bodyWrapper, $headerInstance); + if ($response != null) { + //Get the status code from response + echo ("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + //Get object from response + $actionHandler = $response->getObject(); + if ($actionHandler instanceof ActionWrapper) { + $actionWrapper = $actionHandler; + $actionResponses = $actionWrapper->getData(); + foreach ($actionResponses as $actionResponse) { + if ($actionResponse instanceof SuccessResponse) { + $successResponse = $actionResponse; + echo ("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo ("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($successResponse->getDetails() as $key => $value) { + echo ($key . " : "); + print_r($value); + echo ("\n"); + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } + else if ($actionResponse instanceof APIException) { + $exception = $actionResponse; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } + else if ($actionHandler instanceof APIException) { + $exception = $actionHandler; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPINAme = "Solutions"; +UpdateSolutions::initialize(); +UpdateSolutions::updateSolutions($moduleAPINAme); \ No newline at end of file diff --git a/versions/5.0.0/samples/record/updaterecords/UpdateTasks.php b/versions/5.0.0/samples/record/updaterecords/UpdateTasks.php new file mode 100644 index 0000000..b1538e8 --- /dev/null +++ b/versions/5.0.0/samples/record/updaterecords/UpdateTasks.php @@ -0,0 +1,199 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function updateTasks($moduleAPIName) + { + $recordOperations = new RecordOperations($moduleAPIName); + $bodyWrapper = new BodyWrapper(); + $records = array(); + $record1 = new Record(); + $record1->setId("34032423423"); + $record1->addFieldValue(Tasks::Description(), "Description"); + $record1->addKeyValue("Rupee", new Choice("INR")); + $remindAt = new RemindAt(); + $remindAt->setAlarm("ACTION=EMAILANDPOPUP;TRIGGER=DATE-TIME:2023-07-03T12:30:00+05:30"); + $record1->addFieldValue(Tasks::RemindAt(), $remindAt); +// $whoId = new Record(); +// $whoId->setId(3042340342304); +// $record1->addFieldValue(Tasks::WhoId(), $whoId); + $record1->addFieldValue(Tasks::Status(), new Choice("Not Started")); + $record1->addFieldValue(Tasks::Priority(), new Choice("Low")); + $record1->addFieldValue(Tasks::DueDate(), new \DateTime('2023-10-12')); + $record1->addFieldValue(Tasks::Subject(), "Email1"); + $record1->addFieldValue(Tasks::SendNotificationEmail(), false); + $record1->addKeyValue('$se_module', "Leads"); + $whatId = new Record(); + $whatId->setId("34354125654232423"); + $record1->addFieldValue(Tasks::WhatId(), $whatId); + + // Recurring Activity can be provided in any activity module + $recurringActivity = new RecurringActivity(); + $recurringActivity->setRrule("FREQ=DAILY;INTERVAL=10;UNTIL=2023-08-14;DTSTART=2023-07-03"); + $record1->addFieldValue(Tasks::RecurringActivity(), $recurringActivity); + + // used when GDPR is enabled + $dataConsent = new Consent(); + $dataConsent->setConsentRemarks("Approved"); + $dataConsent->setConsentThrough("Email"); + $dataConsent->setContactThroughEmail(true); + $dataConsent->setContactThroughSocial(false); + $dataConsent->setContactThroughPhone(true); + $dataConsent->setContactThroughSurvey(true); + $dataConsent->setConsentDate(new \DateTime('2023-10-10')); + $dataConsent->setDataProcessingBasis("Obtained"); + $record1->addKeyValue("Data_Processing_Basis_Details", $dataConsent); + // for custom Fields + $record1->addKeyValue("External", "Value12445"); + $record1->addKeyValue("Custom_Field", "custom_value"); + $record1->addKeyValue("Date_Time_1", date_create("2020-06-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get()))); + $record1->addKeyValue("Date_1", '2023:10:21'); + $record1->addKeyValue("Subject", "AutomatedSDK"); + $record1->addKeyValue("Product_Name", "Automated"); + $fileDetails = array(); + $fileDetail1 = new FileDetails(); + $fileDetail1->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d280"); + array_push($fileDetails, $fileDetail1); + $fileDetail2 = new FileDetails(); + $fileDetail2->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d2de"); + array_push($fileDetails, $fileDetail2); + $record1->addKeyValue("File_Upload", $fileDetails); + // for Custom User LookUp + $user = new MinifiedUser(); + $user->setId("4222222222222323123"); + $record1->addKeyValue("User_1", $user); + // for Custom LookUp + $data = new Record(); + $data->setId("4232434444444342123"); + $record1->addKeyValue("Lookup_1", $data); + // for Custom PickList + $record1->addKeyValue("Pick", new Choice("true")); + // for Custom MultiSelect + $record1->addKeyValue("MultiSelect", array(new Choice("Option 1"), new Choice("Option 2"))); + // for Subform + $subformList = array(); + $subform = new Record(); + $subform->addKeyValue("CustomField", "customValue"); + $user1 = new MinifiedUser(); + $user1->setId("4303032334334343"); + $subform->addKeyValue("UserField", $user1); + array_push($subformList, $subform); + $record1->addKeyValue("Subform_1", $subformList); + // for MultiSelectLookUp/Custom MultiSelectLookup + $multiselectList = array(); + $record = new Record(); + $record->addKeyValue("id", "44024808841"); + $linkingRecord = new Record(); + $linkingRecord->addKeyValue("Msl", $record); + array_push($multiselectList, $linkingRecord); + $record1->addKeyValue("Msl", $multiselectList); + // + $tagList = array(); + $tag = new Tag(); + $tag->setName("Testtask"); + array_push($tagList, $tag); + $record1->setTag($tagList); + + // can add update another record with same above mention fields + $record2 = new Record(); + $record2->setId("3454312324334"); + // + //Add Record instance to the list + array_push($records, $record1); + $bodyWrapper->setData($records); + $trigger = array("approval", "workflow", "blueprint"); + $bodyWrapper->setTrigger($trigger); + $bodyWrapper->setLarId("347706187515"); + + $headerInstance = new HeaderMap(); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Quotes.Quoted_Items.Product_Name.Products_External"); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Products.Products_External"); + //Call createRecords method that takes BodyWrapper instance as parameter. + $response = $recordOperations->updateRecords($bodyWrapper, $headerInstance); + if ($response != null) { + //Get the status code from response + echo("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + //Get object from response + $actionHandler = $response->getObject(); + if ($actionHandler instanceof ActionWrapper) { + $actionWrapper = $actionHandler; + $actionResponses = $actionWrapper->getData(); + foreach ($actionResponses as $actionResponse) { + if ($actionResponse instanceof SuccessResponse) { + $successResponse = $actionResponse; + echo("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($successResponse->getDetails() as $key => $value) { + echo($key . " : "); + print_r($value); + echo("\n"); + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } else if ($actionResponse instanceof APIException) { + $exception = $actionResponse; + echo("Status: " . $exception->getStatus()->getValue() . "\n"); + echo("Code: " . $exception->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } else if ($actionHandler instanceof APIException) { + $exception = $actionHandler; + echo("Status: " . $exception->getStatus()->getValue() . "\n"); + echo("Code: " . $exception->getCode()->getValue() . "\n"); + echo("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$moduleAPIName = "Tasks"; +UpdateTasks::initialize(); +UpdateTasks::updateTasks($moduleAPIName); \ No newline at end of file diff --git a/versions/5.0.0/samples/record/updaterecords/UpdateVendors.php b/versions/5.0.0/samples/record/updaterecords/UpdateVendors.php new file mode 100644 index 0000000..b502368 --- /dev/null +++ b/versions/5.0.0/samples/record/updaterecords/UpdateVendors.php @@ -0,0 +1,188 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + public static function updateVendors($moduleAPIName) + { + $recordOperations = new RecordOperations($moduleAPIName); + $bodyWrapper = new BodyWrapper(); + $records = array(); + $record1 = new Record(); + $record1->setId("32231233"); + $record1->addFieldValue(Vendors::VendorName(), "new Vendor Name"); + $record1->addFieldValue(Vendors::Phone(), "12133121"); + $record1->addFieldValue(Vendors::Email(), "abc@zoho.com"); + $record1->addFieldValue(Vendors::Website(), null); + $record1->addFieldValue(Vendors::GLAccount(), new Choice("Sales-Software")); + $record1->addFieldValue(Vendors::Category(), ""); + $record1->addFieldValue(Vendors::City(), "city"); + $record1->addFieldValue(Vendors::Country(), "Country"); + $record1->addFieldValue(Vendors::State(), "state"); + $record1->addFieldValue(Vendors::Street(), "street"); + $record1->addFieldValue(Vendors::ZipCode(), "zip-code"); + $record1->addFieldValue(Vendors::Description(), "description"); + // used when GDPR is enabled + $dataConsent = new Consent(); + $dataConsent->setConsentRemarks("Approved"); + $dataConsent->setConsentThrough("Email"); + $dataConsent->setContactThroughEmail(true); + $dataConsent->setContactThroughSocial(false); + $dataConsent->setContactThroughPhone(true); + $dataConsent->setContactThroughSurvey(true); + $dataConsent->setConsentDate(new \DateTime('2023-10-10')); + $dataConsent->setDataProcessingBasis("Obtained"); + $record1->addKeyValue("Data_Processing_Basis_Details", $dataConsent); + // for custom Fields + $record1->addKeyValue("External", "Value12445"); + $record1->addKeyValue("Custom_Field", "custom_value"); + $record1->addKeyValue("Date_Time_1", date_create("2020-06-02T11:03:06+05:30")->setTimezone(new \DateTimeZone(date_default_timezone_get()))); + $record1->addKeyValue("Date_1",'2023:10:21'); + $record1->addKeyValue("Subject", "AutomatedSDK"); + $record1->addKeyValue("Product_Name", "Automated"); + $fileDetails = array(); + $fileDetail1 = new FileDetails(); + $fileDetail1->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d280"); + array_push($fileDetails,$fileDetail1); + $fileDetail2 = new FileDetails(); + $fileDetail2->setFileIdS("ae9c7cefa418aec1d6a5cc2d9ab35c32a6ae23d729ad87c6d90b0bd44183d2de"); + array_push($fileDetails,$fileDetail2); + $record1->addKeyValue("File_Upload", $fileDetails); + // for Custom User LookUp + $user = new MinifiedUser(); + $user->setId("4222222222222323123"); + $record1->addKeyValue("User_1", $user); + // for Custom LookUp + $data = new Record(); + $data->setId("4232434444444342123"); + $record1->addKeyValue("Lookup_1", $data); + // for Custom PickList + $record1->addKeyValue("Pick", new Choice("true")); + // for Custom MultiSelect + $record1->addKeyValue("MultiSelect", array(new Choice("Option 1"), new Choice("Option 2"))); + // for Subform + $subformList = array(); + $subform = new Record(); + $subform->addKeyValue("CustomField", "customValue"); + $user1 = new MinifiedUser(); + $user1->setId("4303032334334343"); + $subform->addKeyValue("UserField", $user1); + array_push($subformList, $subform); + $record1->addKeyValue("Subform_1", $subformList); + // for MultiSelectLookUp/Custom MultiSelectLookup + $multiselectList = array(); + $record = new Record(); + $record->addKeyValue("id", "44024808841"); + $linkingRecord = new Record(); + $linkingRecord->addKeyValue("Msl", $record); + array_push($multiselectList,$linkingRecord); + $record1->addKeyValue("Msl", $multiselectList); + // + $tagList = array(); + $tag = new Tag(); + $tag->setName("Testtask"); + array_push($tagList, $tag); + $record1->setTag($tagList); + + // can add update another record with same above mention fields + $record2 = new Record(); + $record2->setId("3454312324334"); + // + //Add Record instance to the list + array_push($records, $record1); + $bodyWrapper->setData($records); + $trigger = array("approval", "workflow", "blueprint"); + $bodyWrapper->setTrigger($trigger); + $bodyWrapper->setLarId("347706187515"); + + $headerInstance = new HeaderMap(); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Quotes.Quoted_Items.Product_Name.Products_External"); + // $headerInstance->add(CreateRecordsHeader::XEXTERNAL(), "Products.Products_External"); + //Call createRecords method that takes BodyWrapper instance as parameter. + $response = $recordOperations->updateRecords($bodyWrapper, $headerInstance); + if ($response != null) { + //Get the status code from response + echo ("Status Code: " . $response->getStatusCode() . "\n"); + if ($response->isExpected()) { + //Get object from response + $actionHandler = $response->getObject(); + if ($actionHandler instanceof ActionWrapper) { + $actionWrapper = $actionHandler; + $actionResponses = $actionWrapper->getData(); + foreach ($actionResponses as $actionResponse) { + if ($actionResponse instanceof SuccessResponse) { + $successResponse = $actionResponse; + echo ("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo ("Code: " . $successResponse->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($successResponse->getDetails() as $key => $value) { + echo ($key . " : "); + print_r($value); + echo ("\n"); + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } + else if ($actionResponse instanceof APIException) { + $exception = $actionResponse; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + } + else if ($actionHandler instanceof APIException) { + $exception = $actionHandler; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } else { + print_r($response); + } + } + } +} +$module = "Vendors"; +UpdateVendors::initialize(); +UpdateVendors::updateVendors($module); \ No newline at end of file diff --git a/versions/5.0.0/samples/taxes/GetTax.php b/versions/5.0.0/samples/taxes/GetTax.php new file mode 100644 index 0000000..de01187 --- /dev/null +++ b/versions/5.0.0/samples/taxes/GetTax.php @@ -0,0 +1,85 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + /** + *

Get Tax

+ * This method is used to get the Organization Tax and print the response. + * @param taxId - The ID of the tax to be obtainted + * @throws Exception + */ + public static function getTax(string $taxId) + { + $taxesOperations = new TaxesOperations(); + //Call getTax method that takes taxId as parameter + $response = $taxesOperations->getTax($taxId); + if ($response != null) { + echo ("Status code " . $response->getStatusCode() . "\n"); + if (in_array($response->getStatusCode(), array(204, 304))) { + echo ($response->getStatusCode() == 204 ? "No Content\n" : "Not Modified\n"); + return; + } + $responseHandler = $response->getObject(); + if ($responseHandler instanceof ResponseWrapper) { + $responseWrapper = $responseHandler; + $orgTax = $responseWrapper->getOrgTaxes(); + $taxes = $orgTax->getTaxes(); + if ($taxes != null) { + foreach ($taxes as $tax) { + echo ("Tax DisplayLabel: " . $tax->getDisplayLabel() . "\n"); + echo ("Tax Name: " . $tax->getName() . "\n"); + echo ("Tax Id: " . $tax->getId() . "\n"); + echo ("Tax Value: " . $tax->getValue() . "\n"); + } + } + $preference = $orgTax->getPreference(); + if ($preference != null) { + echo ("Preference AutoPopulateTax: "); + print_r($preference->getAutoPopulateTax()); + echo ("\n"); + echo ("Preference ModifyTaxRates: "); + print_r($preference->getModifyTaxRates()); + echo ("\n"); + } + } + else if ($responseHandler instanceof APIException) { + $exception = $responseHandler; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage())); + } + } + } +} +$taxId = "34773778001"; +GetTax::initialize(); +GetTax::getTax($taxId); diff --git a/versions/5.0.0/samples/taxes/GetTaxes.php b/versions/5.0.0/samples/taxes/GetTaxes.php new file mode 100644 index 0000000..1e4d95e --- /dev/null +++ b/versions/5.0.0/samples/taxes/GetTaxes.php @@ -0,0 +1,83 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + + /** + *

Get Taxes

+ * This method is used to get all the Organization Taxes and print the response. + * @throws Exception + */ + public static function getTaxes() + { + $taxesOperations = new TaxesOperations(); + //Call getTaxes method + $response = $taxesOperations->getTaxes(); + if ($response != null) { + echo ("Status code " . $response->getStatusCode() . "\n"); + if (in_array($response->getStatusCode(), array(204, 304))) { + echo ($response->getStatusCode() == 204 ? "No Content\n" : "Not Modified\n"); + return; + } + $responseHandler = $response->getObject(); + if ($responseHandler instanceof ResponseWrapper) { + $responseWrapper = $responseHandler; + $orgTax = $responseWrapper->getOrgTaxes(); + $taxes = $orgTax->getTaxes(); + if ($taxes != null) { + foreach ($taxes as $tax) { + echo ("Tax DisplayLabel: " . $tax->getDisplayLabel() . "\n"); + echo ("Tax Name: " . $tax->getName() . "\n"); + echo ("Tax Id: " . $tax->getId() . "\n"); + echo ("Tax Value: " . $tax->getValue() . "\n"); + } + } + $preference = $orgTax->getPreference(); + if ($preference != null) { + echo ("Preference AutoPopulateTax: "); + print_r($preference->getAutoPopulateTax()); + echo ("\n"); + echo ("Preference ModifyTaxRates: "); + print_r($preference->getModifyTaxRates()); + echo ("\n"); + } + } + else if ($responseHandler instanceof APIException) { + $exception = $responseHandler; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage())); + } + } + } +} +GetTaxes::initialize(); +GetTaxes::getTaxes(); diff --git a/versions/5.0.0/samples/taxes/UpdateTaxes.php b/versions/5.0.0/samples/taxes/UpdateTaxes.php new file mode 100644 index 0000000..300f141 --- /dev/null +++ b/versions/5.0.0/samples/taxes/UpdateTaxes.php @@ -0,0 +1,121 @@ +clientId("client_id") + ->clientSecret("client_secret") + ->refreshToken("refresh_token") + ->build(); + (new InitializeBuilder()) + ->environment($environment) + ->token($token) + ->initialize(); + } + /** + *

Update Taxes

+ * This method is used to update Organization Taxes and print the response. + * @throws Exception + */ + public static function updateTaxes() + { + $taxesOperations = new TaxesOperations(); + $request = new BodyWrapper(); + $orgTax = new OrgTax(); + //List of Tax instances + $taxList = array(); + + /** update tax */ + $tax1 = new Tax(); + $tax1->setId("3477779001"); + $tax1->setName("MyTax435"); + $tax1->setSequenceNumber(1); + $tax1->setValue(15.0); + array_push($taxList, $tax1); + + /** create tax */ + $tax2 = new Tax(); + $tax2->setName("New Tax"); + $tax2->setSequenceNumber(1); + $tax2->setValue(15.0); + array_push($taxList, $tax2); + + /** delete tax */ + $tax3 = new Tax(); + $tax3->setId("34770619001"); + $tax3->setDelete(null); + array_push($taxList, $tax3); + + $orgTax->setTaxes($taxList); + $preference = new Preference(); + $preference->setAutoPopulateTax(false); + $preference->setModifyTaxRates(false); + $orgTax->setPreference($preference); + $request->setOrgTaxes($orgTax); + //Call updateTaxes method that takes BodyWrapper instance as parameter + $response = $taxesOperations->updateTaxes($request); + if ($response != null) { + echo ("Status Code: " . $response->getStatusCode() . "\n"); + $actionHandler = $response->getObject(); + if ($actionHandler instanceof ActionWrapper) { + $actionWrapper = $actionHandler; + $actionResponse = $actionWrapper->getOrgTaxes(); + if ($actionResponse instanceof SuccessResponse) { + $successResponse = $actionResponse; + echo ("Status: " . $successResponse->getStatus()->getValue() . "\n"); + echo ("Code: " . $successResponse->getCode()->getValue() . "\n"); + if ($successResponse->getDetails() != null) { + echo ("Details: "); + foreach ($successResponse->getDetails() as $key => $value) { + echo ($key . " : "); + print_r($value); + echo ("\n"); + } + } + echo ("Message: " . ($successResponse->getMessage() instanceof Choice ? $successResponse->getMessage()->getValue() : $successResponse->getMessage()) . "\n"); + } + else if ($actionResponse instanceof APIException) { + $exception = $actionResponse; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : "); print_r($value); echo("\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage()) . "\n"); + } + } + else if ($actionHandler instanceof APIException) { + $exception = $actionHandler; + echo ("Status: " . $exception->getStatus()->getValue() . "\n"); + echo ("Code: " . $exception->getCode()->getValue() . "\n"); + echo ("Details: "); + foreach ($exception->getDetails() as $key => $value) { + echo ($key . " : " . $value . "\n"); + } + echo ("Message : " . ($exception->getMessage() instanceof Choice ? $exception->getMessage()->getValue() : $exception->getMessage())); + } + } + } +} +UpdateTaxes::initialize(); +UpdateTaxes::updateTaxes(); diff --git a/versions/5.0.0/src/com/zoho/api/authenticator/OAuthBuilder.php b/versions/5.0.0/src/com/zoho/api/authenticator/OAuthBuilder.php new file mode 100755 index 0000000..608be4c --- /dev/null +++ b/versions/5.0.0/src/com/zoho/api/authenticator/OAuthBuilder.php @@ -0,0 +1,106 @@ +id = $id; + return $this; + } + + public function clientId(string $clientID) + { + Utility::assertNotNull($clientID, Constants::TOKEN_ERROR, Constants::CLIENT_ID_NULL_ERROR_MESSAGE); + $this->clientID = $clientID; + return $this; + } + + public function clientSecret(string $clientSecret) + { + Utility::assertNotNull($clientSecret, Constants::TOKEN_ERROR, Constants::CLIENT_SECRET_NULL_ERROR_MESSAGE); + $this->clientSecret = $clientSecret; + return $this; + } + + public function redirectURL(string $redirectURL) + { + $this->redirectURL = $redirectURL; + return $this; + } + + public function refreshToken(string $refreshToken) + { + $this->refreshToken = $refreshToken; + return $this; + } + + public function grantToken(string $grantToken) + { + $this->grantToken = $grantToken; + return $this; + } + + public function accessToken(string $accessToken) + { + $this->accessToken = $accessToken; + return $this; + } + + public function findUser(bool $findUser) + { + $this->findUser = $findUser; + return $this; + } + + /** + * @param UserSignature $userSignature + * @return $this + */ + public function userSignature(UserSignature $userSignature) + { + $this->userSignature = $userSignature; + return $this; + } + + public function build() + { + if($this->grantToken == null && $this->refreshToken == null && $this->id == null && $this->accessToken == null && $this->userSignature == null) + { + throw new SDKException(Constants::MANDATORY_VALUE_ERROR, Constants::MANDATORY_KEY_ERROR . "-" . join(", ", Constants::OAUTH_MANDATORY_KEYS)); + } + if ($this->grantToken != null || $this->refreshToken != null) + { + if ($this->clientID == null && $this->clientSecret == null) + { + throw new SDKException(Constants::MANDATORY_VALUE_ERROR, Constants::MANDATORY_KEY_ERROR . "-" . join(", ", Constants::OAUTH_MANDATORY_KEYS1)); + } + else + { + Utility::assertNotNull($this->clientID, Constants::MANDATORY_VALUE_ERROR, Constants::MANDATORY_KEY_ERROR . " - " . Constants::CLIENT_ID); + Utility::assertNotNull($this->clientSecret, Constants::MANDATORY_VALUE_ERROR, Constants::MANDATORY_KEY_ERROR . " - " . Constants::CLIENT_SECRET); + } + } + $class = new \ReflectionClass(OAuthToken::class); + $constructor = $class->getConstructor(); + $constructor->setAccessible(true); + $object = $class->newInstanceWithoutConstructor(); + $constructor->invoke($object, $this->clientID, $this->clientSecret, $this->grantToken, $this->refreshToken, $this->redirectURL, $this->id, $this->accessToken, $this->userSignature,$this->findUser); + return $object; + } +} \ No newline at end of file diff --git a/versions/5.0.0/src/com/zoho/api/authenticator/OAuthToken.php b/versions/5.0.0/src/com/zoho/api/authenticator/OAuthToken.php new file mode 100755 index 0000000..a468ad5 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/api/authenticator/OAuthToken.php @@ -0,0 +1,583 @@ +clientID; + } + + /** + * This is a getter method to get OAuth client secret. + * @return string A string representing the OAuth client secret. + */ + public function getClientSecret() + { + return $this->clientSecret; + } + + /** + * This is a getter method to get OAuth redirect URL. + * @return string A string representing the OAuth redirect URL. + */ + public function getRedirectURL() + { + return $this->redirectURL; + } + + /** + * This is a getter method to get grant token. + * @return NULL|string A string representing the grant token. + */ + public function getGrantToken() + { + return $this->grantToken; + } + + /** + * This is a getter method to get refresh token. + * @return NULL|string|mixed A string representing the refresh token. + */ + public function getRefreshToken() + { + return $this->refreshToken; + } + + /** + * This is a setter method to set refresh token. + * @param string $refreshToken A string containing the refresh token. + */ + public function setRefreshToken($refreshToken) + { + $this->refreshToken = $refreshToken; + } + + /** + * This is a getter method to set OAuth redirect URL. + * @param string A string representing the OAuth redirect URL. + */ + public function setRedirectURL($redirectURL) + { + $this->redirectURL = $redirectURL; + } + + /** + * This is a setter method to set OAuth client id. + * @param string A string representing the OAuth client id. + */ + public function setClientId($clientID) + { + $this->clientID = $clientID; + } + + /** + * This is a getter method to set OAuth client secret. + * @param string A string representing the OAuth client secret. + */ + public function setClientSecret($clientSecret) + { + $this->clientSecret = $clientSecret; + } + + /** + * This is a setter method to set grant token. + * @param string A string representing the grant token. + */ + public function setGrantToken($grantToken) + { + $this->grantToken = $grantToken; + } + + /** + * This is a getter method to get access token. + * @return string A string representing the access token. + */ + public function getAccessToken() + { + return $this->accessToken; + } + + /** + * This is a setter method to set access token. + * @param string $accessToken A string containing the access token. + */ + public function setAccessToken($accessToken) + { + $this->accessToken = $accessToken; + } + + /** + * This is a getter method to get token expire time. + * @return string A string representing the token expire time. + */ + public function getExpiresIn() + { + return $this->expiresIn; + } + + /** + * This is a setter method to set token expire time. + * @param string $expiresIn A string containing the token expire time. + */ + public function setExpiresIn($expiresIn) + { + $this->expiresIn = $expiresIn; + } + + /** + * This is a getter method to get user Name. + * @return UserSignature|null A object containing username. + */ + public function getUserSignature() + { + return $this->userSignature; + } + + /** + * This is a setter method to set user Name. + * @param UserSignature $userSignature A string containing the user Name. + */ + public function setUserSignature(UserSignature $userSignature) + { + $this->userSignature = $userSignature; + } + + /** + * This is a getter method to get ID. + * @return NULL|string|mixed A string representing the tokenId. + */ + public function getId() + { + return $this->id; + } + + /** + * This is a setter method to set ID. + * @param string $id A string containing the ID. + */ + public function setId($id) + { + $this->id = $id; + } + + public function getAPIDomain() + { + return $this->apiDomain; + } + + public function setAPIDomain($apiDomain) + { + $this->apiDomain = $apiDomain; + } + + public function generateToken() + { + $this->getToken(); + } + + /** + * @throws SDKException + * @throws \ReflectionException + */ + public function getToken() + { + $initializer = Initializer::getInitializer(); + $store = $initializer->getStore(); + $oauthToken = null; + if ($this->getId() != null) + { + $oauthToken = $store->findTokenById($this->getId()); + $this->mergeObjects($this, $oauthToken); + $oauthToken->findUser = $this->findUser; + } + else + { + $oauthToken = $store->findToken($this); + } + if($oauthToken == null) + { + if ($this->getUserSignature() != null) + { + $this->checkTokenDetails(); + } + $oauthToken = $this; + } + if($oauthToken->getAPIDomain() == null || strlen($oauthToken->getAPIDomain()) <= 0) + { + if($initializer->getEnvironment() == null) + { + throw new SDKException(Constants::ENVIRONMENT_ERROR_1, Constants::ENVIRONMENT_ERROR_MESSAGE . " : "); + } + $oauthToken->setAPIDomain($initializer->getEnvironment()->getUrl()); + } + $environment = DataCenter::get($oauthToken->getAPIDomain()); + if($environment != null) + { + try + { + $cl = get_class($initializer); + $reflector = new \ReflectionClass($cl); + $member = $reflector->getProperty(Constants::ENVIRONMENT_1); + $member->setAccessible(true); + $member->setValue($initializer, $environment); + } + catch (\Exception $e) + { + throw new SDKException(Constants::ENVIRONMENT_ERROR_RESPONSE . " : ", $e); + } + } + else + { + if($initializer->getEnvironment() == null) + { + throw new SDKException(Constants::ENVIRONMENT_ERROR_1, Constants::ENVIRONMENT_ERROR_MESSAGE . " : "); + } + } + $url = $initializer->getEnvironment()->getAccountsUrl(); + $save = false; + if ($oauthToken->getAccessToken() == null && strlen($oauthToken->getAccessToken()) == 0) + { + if ($oauthToken->getRefreshToken() != null && strlen($oauthToken->getRefreshToken()) > 0) + { + SDKLogger::info(Constants::ACCESS_TOKEN_USING_REFRESH_TOKEN_MESSAGE); + $oauthToken->refreshAccessToken($oauthToken, $url); + } + else + { + SDKLogger::info(Constants::ACCESS_TOKEN_USING_GRANT_TOKEN_MESSAGE); + $oauthToken->generateAccessToken($oauthToken, $url); + } + $save = true; + } + elseif ($oauthToken->getExpiresIn() != null && strlen($oauthToken->getExpiresIn())>0 && $this->isAccessTokenExpired($oauthToken->getExpiresIn())) + { + SDKLogger::info(Constants::REFRESH_TOKEN_MESSAGE); + $oauthToken->refreshAccessToken($oauthToken, $url); + $save = true; + } + elseif ($oauthToken->getExpiresIn() == null && $oauthToken->getAccessToken() != null && $oauthToken->getId() == null) + { + $save = true; + } + if($save) + { + try + { + if($oauthToken->getUserSignature() == null && $oauthToken->findUser) + { + try + { + $utility = new Utility(); + $userName = $utility->getUserName($oauthToken->accessToken); + if($userName != null) + { + $oauthToken->setUserSignature(new UserSignature($userName)); + } + } + catch (SDKException $e) + { + SDKLogger::severeError(Constants::API_EXCEPTION, $e); + } + } + $store->saveToken($oauthToken); + } + catch (Exception $ex) + { + throw new SDKException(Constants::SAVE_TOKEN_ERROR, $ex); + } + } + return $oauthToken->getAccessToken(); + } + public function checkTokenDetails() + { + if ($this->getGrantToken() == null && $this->getRefreshToken() == null) + { + throw new SDKException(Constants::MANDATORY_VALUE_ERROR, Constants::GET_TOKEN_BY_USER_NAME_ERROR . " - " . (join(", ", Constants::OAUTH_MANDATORY_KEYS2))); + } + return true; + } + public function mergeObjects($first, $second) + { + $reflection_class = new ReflectionClass(get_class($first)); + foreach ($reflection_class->getProperties() as $field) + { + if (in_array($field->getName(), Constants::OAUTH_TOKEN_FIELDS)) + { + $field->setAccessible(true); + $value1= $field->getValue($first); + $value2 = $field->getValue($second); + $value = ($value1 != null ) ? $value1 : $value2; + $field->setValue($first, $value); + } + } + } + public function authenticate(APIHTTPConnector $urlConnection) + { + if(!array_key_exists(Constants::AUTHORIZATION, $urlConnection->getHeaders())) + { + $urlConnection->addHeader(Constants::AUTHORIZATION, Constants::OAUTH_HEADER_PREFIX . $this->getToken()); + } + } + + public function getResponseFromServer($request_params, $url) + { + $curl_pointer = curl_init(); + curl_setopt($curl_pointer, CURLOPT_URL, $url); + curl_setopt($curl_pointer, CURLOPT_HEADER, 1); + curl_setopt($curl_pointer, CURLOPT_POSTFIELDS, $this->getUrlParamsAsString($request_params)); + curl_setopt($curl_pointer, CURLOPT_RETURNTRANSFER, true); + curl_setopt($curl_pointer, CURLOPT_USERAGENT, Constants::USER_AGENT); + curl_setopt($curl_pointer, CURLOPT_POST, count($request_params)); + curl_setopt($curl_pointer, CURLOPT_CUSTOMREQUEST, Constants::REQUEST_METHOD_POST); + if(!Initializer::getInitializer()->getSDKConfig()->isSSLVerificationEnabled()) + { + curl_setopt($curl_pointer, CURLOPT_SSL_VERIFYPEER, false); + } + $result = curl_exec($curl_pointer); + curl_close($curl_pointer); + return $result; + } + + public function refreshAccessToken($oauthToken, $url) + { + $requestParams = array(); + $requestParams[Constants::CLIENT_ID] = $oauthToken->getClientId(); + $requestParams[Constants::CLIENT_SECRET] = $oauthToken->getClientSecret(); + $requestParams[Constants::GRANT_TYPE] = Constants::REFRESH_TOKEN; + $requestParams[Constants::REFRESH_TOKEN] = $oauthToken->getRefreshToken(); + $response = $this->getResponseFromServer($requestParams, $url); + try + { + $this->processResponse($oauthToken, $response); + } + catch(SDKException $ex) + { + throw $ex; + } + catch (\Exception $ex) + { + throw new SDKException(null, Constants::REFRESH_TOKEN_ERROR, null, $ex); + } + return $oauthToken; + } + + public function generateAccessToken($oauthToken, $url) + { + $requestParams = array(); + $requestParams[Constants::CLIENT_ID] = $oauthToken->getClientId(); + $requestParams[Constants::CLIENT_SECRET] = $oauthToken->getClientSecret(); + if($oauthToken->getRedirectURL() != null) + { + $requestParams[Constants::REDIRECT_URI] = $oauthToken->getRedirectURL(); + } + $requestParams[Constants::GRANT_TYPE] = Constants::GRANT_TYPE_AUTH_CODE; + $requestParams[Constants::CODE] = $oauthToken->getGrantToken(); + $response = $this->getResponseFromServer($requestParams, $url); + try + { + $this->processResponse($oauthToken, $response); + } + catch(SDKException $ex) + { + throw $ex; + } + catch (\Exception $ex) + { + throw new SDKException(null, Constants::ACCESS_TOKEN_ERROR, null, $ex); + } + return $oauthToken; + } + + public function processResponse($oauthToken, $response) + { + $headerRows = explode("\n",$response); + $responseBody = end($headerRows); + $jsonResponse = json_decode($responseBody, true); + if (!array_key_exists(Constants::ACCESS_TOKEN, $jsonResponse)) + { + throw new SDKException(Constants::INVALID_TOKEN_ERROR, array_key_exists(Constants::ERROR, $jsonResponse) ? $jsonResponse[Constants::ERROR] : Constants::NO_ACCESS_TOKEN_ERROR); + } + $oauthToken->setAccessToken($jsonResponse[Constants::ACCESS_TOKEN]); + $oauthToken->setExpiresIn($this->getTokenExpiresIn($jsonResponse)); + if (array_key_exists(Constants::REFRESH_TOKEN, $jsonResponse)) + { + $oauthToken->setRefreshToken($jsonResponse[Constants::REFRESH_TOKEN]); + } + if(array_key_exists(Constants::API_DOMAIN, $jsonResponse)) + { + $oauthToken->setAPIDomain($jsonResponse[Constants::API_DOMAIN]); + } + return $oauthToken; + } + + private function getTokenExpiresIn($response) + { + $expireIn = $response[Constants::EXPIRES_IN]; + if(!array_key_exists(Constants::EXPIRES_IN_SEC, $response)) + { + $expireIn= $expireIn * 1000; + } + return $this->getCurrentTimeInMillis() + $expireIn; + } + + public function getCurrentTimeInMillis() + { + return round(microtime(true) * 1000); + } + + public function isAccessTokenExpired($expiry_time) + { + return ((((double)$expiry_time) - $this->getCurrentTimeInMillis()) < 5000); + } + + public function getUrlParamsAsString($urlParams) + { + $paramsAsString = ""; + foreach ($urlParams as $key => $value) + { + $paramsAsString = $paramsAsString . $key . "=" . $value . "&"; + } + $paramsAsString = rtrim($paramsAsString, "&"); + return str_replace(PHP_EOL, '', $paramsAsString); + } + + public function remove() + { + try + { + Initializer::getInitializer()->getStore()->deleteToken($this->id); + + return true; + } + catch(SDKException $ex) + { + throw $ex; + } + catch (\Exception $ex) + { + throw new SDKException(null, null, null, $ex); + } + } + + /** + * Creates an OAuthToken class instance with the specified parameters. + * @param string $clientID A string containing the OAuth client id. + * @param string $clientSecret A string containing the OAuth client secret. + * @param string $grantToken A string containing the GRANT token. + * @param string $refreshToken A string containing the Refresh token. + * @param string $redirectURL A string containing the OAuth redirect URL. + * @param string $id A string + */ + public function __construct($clientID, $clientSecret, $grantToken, $refreshToken, $redirectURL=null, $id=null, $accessToken=null, $userSignature=null, $findUser=true) + { + $this->clientID = $clientID; + $this->clientSecret = $clientSecret; + $this->grantToken = $grantToken; + $this->refreshToken = $refreshToken; + $this->redirectURL = $redirectURL; + $this->accessToken = $accessToken; + $this->id = $id; + $this->userSignature = $userSignature; + $this->findUser = $findUser; + } + + public function revokeRefreshToken(String $refreshToken, String $url) + { + $requestParams = array(Constants::TOKEN => $refreshToken); + $response = ""; + try + { + $response = $this->getResponseFromServer($requestParams, $url); + $headerRows = explode("\n",$response); + $responseBody = end($headerRows); + $responseJSON = json_decode($responseBody, true); + if ($responseJSON != null && array_key_exists(Constants::STATUS, $responseJSON) && $responseJSON[Constants::STATUS] == Constants::STATUS_SUCCESS) + { + return true; + } + return false; + } + catch (\JsonException $e) + { + throw new SDKException(Constants::PARSE_RESPONSE . " : " . $response, $e); + } + catch (SDKException $ex) + { + throw $ex; + } + catch (Exception $ex) + { + throw new SDKException(Constants::REVOKE_TOKEN_ERROR, $ex); + } + } + + public function revoke($id) + { + try + { + if (Initializer::getInitializer() == null) + { + throw new SDKException(Constants::SDK_UNINITIALIZATION_ERROR, Constants::SDK_UNINITIALIZATION_MESSAGE); + } + $initializer = Initializer::getInitializer(); + $store = $initializer->getStore(); + $url = $initializer->getEnvironment()->getAccountsUrl(); + $isRevoke = false; + $class = new \ReflectionClass(OAuthToken::class); + $oauthToken = $class->newInstanceWithoutConstructor(); + $oauthToken->setId($id); + $store->findToken($oauthToken); + if ($oauthToken != null && $oauthToken->getRefreshToken() != null) + { + $isRevoke = $this->revokeRefreshToken($oauthToken->getRefreshToken(), $url . Constants::REVOKE_URL); + SDKLogger::info(Constants::ID . ":" . $id . Constants::REFRESH_TOKEN_REMOVED); + } + else{ + SDKLogger::warn(Constants::ID . ":" . $id . Constants::TOKEN_NOT_FOUND); + } + return $isRevoke; + } + catch (SDKException $ex) + { + throw $ex; + } + catch (Exception $e) + { + throw $e; + } + } +} +?> \ No newline at end of file diff --git a/versions/5.0.0/src/com/zoho/api/authenticator/Token.php b/versions/5.0.0/src/com/zoho/api/authenticator/Token.php new file mode 100755 index 0000000..5b6dad6 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/api/authenticator/Token.php @@ -0,0 +1,20 @@ +userName = $userName; + } + return $this; + } + + public function portNumber(string $portNumber) + { + if($portNumber != null) + { + $this->portNumber = $portNumber; + } + return $this; + } + + public function password(string $password) + { + if($password != null) + { + $this->password = $password; + } + return $this; + } + + public function host(string $host) + { + if($host != null) + { + $this->host = $host; + } + return $this; + } + + public function databaseName(string $databaseName) + { + if($databaseName != null) + { + $this->databaseName = $databaseName; + } + return $this; + } + + public function tableName(string $tableName) + { + if($tableName != null) + { + $this->tableName = $tableName; + } + return $this; + } + + public function key(string $key) + { + if($key != null) + { + $this->key = $key; + } + return $this; + } + + public function certificate(string $certificate) + { + if($certificate != null) + { + $this->certificate = $certificate; + } + return $this; + } + + public function caCertificate(string $caCertificate) + { + if($caCertificate != null) + { + $this->caCertificate = $caCertificate; + } + return $this; + } + + public function caPath(string $caPath) + { + if($caPath != null) + { + $this->caPath = $caPath; + } + return $this; + } + + public function cipherAlgos(string $cipherAlgos) + { + if($cipherAlgos != null) + { + $this->cipherAlgos = $cipherAlgos; + } + return $this; + } + + public function build() + { + $class = new \ReflectionClass(DBStore::class); + $constructor = $class->getConstructor(); + $constructor->setAccessible(true); + $object = $class->newInstanceWithoutConstructor(); + $constructor->invoke($object, $this->host, $this->databaseName, $this->tableName, $this->userName, $this->password, $this->portNumber, $this->key, $this->certificate, $this->caCertificate, $this->caPath, $this->cipherAlgos); + return $object; + } +} +?> \ No newline at end of file diff --git a/versions/5.0.0/src/com/zoho/api/authenticator/store/DBStore.php b/versions/5.0.0/src/com/zoho/api/authenticator/store/DBStore.php new file mode 100755 index 0000000..daa6ffd --- /dev/null +++ b/versions/5.0.0/src/com/zoho/api/authenticator/store/DBStore.php @@ -0,0 +1,517 @@ +host = $host; + $this->databaseName = $databaseName; + $this->tableName = $tableName; + $this->userName = $userName; + $this->password = $password; + $this->portNumber = $portNumber; + $this->key = $key; + $this->certificate = $certificate; + $this->caCertificate = $caCertificate; + $this->caPath = $caPath; + $this->cipherAlgos = $cipherAlgos; + } + + public function findToken(Token $token) + { + if (!($token instanceof OAuthToken)) + { + return $token; + } + try + { + $oauthToken = $token; + $query = "select * from " . $this->tableName; + if ($oauthToken->getUserSignature() != null) + { + $name = $oauthToken->getUserSignature()->getName(); + if ($name != null && strlen($name) > 0) + { + $query .= " where user_name='" . $name . "'"; + } + } + elseif ($oauthToken->getAccessToken() != null && $oauthToken->getClientId() == null && $oauthToken->getClientSecret() == null) + { + $query .= " where access_token='" . $oauthToken->getAccessToken() . "'"; + } + elseif (($oauthToken->getRefreshToken() != null || $oauthToken->getGrantToken() != null) && $oauthToken->getClientId() != null && $oauthToken->getClientSecret() != null) + { + if ($oauthToken->getGrantToken() != null && strlen($oauthToken->getGrantToken()) > 0) + { + $query .= " where grant_token='" . $oauthToken->getGrantToken() . "'"; + } + elseif ($oauthToken->getRefreshToken() != null && strlen($oauthToken->getRefreshToken()) > 0) + { + $query .= " where refresh_token='" . $oauthToken->getRefreshToken() . "'"; + } + } + $query .= "limit 1;"; + $connection = null; + try + { + $connection = $this->getMysqlConnection(); + $result = mysqli_query($connection, $query); + if (!$result) + { + return $token; + } + do + { + $this->setMergeData($oauthToken, $result); + break; + } + while (next($result)); + } + catch (Exception $e) + { + throw new SDKException(Constants::TOKEN_STORE, Constants::GET_TOKEN_DB_ERROR1, null, $e); + } + finally + { + if ($connection != null) + { + $connection->close(); + } + } + } + catch (Exception $ex) + { + throw new SDKException(Constants::TOKEN_STORE, Constants::GET_TOKEN_DB_ERROR1, null, $ex); + } + return $token; + } + + public function saveToken(Token $token) + { + if (!($token instanceof OAuthToken)) + { + return; + } + $oauthToken = $token; + $query = "update " . $this->tableName . " set "; + if ($oauthToken->getUserSignature() != null) + { + $name = $oauthToken->getUserSignature()->getName(); + if ($name != null && strlen($name) > 0) + { + $query .= $this->setToken($oauthToken) . " where user_name='" . $name . "'"; + } + } + elseif ($oauthToken->getAccessToken() != null && strlen($oauthToken->getAccessToken()) > 0 && $oauthToken->getClientId() == null && $oauthToken->getClientSecret() == null) + { + $query .= $this->setToken($oauthToken) . " where access_token='" . $oauthToken->getAccessToken() . "'"; + } + elseif ((($oauthToken->getRefreshToken() != null && strlen($oauthToken->getRefreshToken()) > 0) || ($oauthToken->getGrantToken() != null && strlen($oauthToken->getGrantToken()) > 0)) && $oauthToken->getClientId() != null && $oauthToken->getClientSecret() != null) + { + if ($oauthToken->getGrantToken() != null && strlen($oauthToken->getGrantToken()) > 0) + { + $query .= $this->setToken($oauthToken) . " where grant_token='" . $oauthToken->getGrantToken() . "'"; + } + else if ($oauthToken->getRefreshToken() != null && strlen($oauthToken->getRefreshToken())> 0) + { + $query .= $this->setToken($oauthToken) . " where refresh_token='" . $oauthToken->getRefreshToken() . "'"; + } + } + $query .= " limit 1"; + $connection = null; + try + { + $rowaffected = false; + $connection = $this->getMysqlConnection(); + $connection->query($query); + if ($connection->affected_rows > 0) + { + $rowaffected = true; + } + if (!$rowaffected) + { + if ($oauthToken->getId() != null || $oauthToken->getUserSignature() != null) + { + if ($oauthToken->getRefreshToken() == null && $oauthToken->getGrantToken() == null && $oauthToken->getAccessToken() == null) + { + throw new SDKException(Constants::TOKEN_STORE, Constants::GET_TOKEN_DB_ERROR1); + } + } + if ($oauthToken->getId() == null) + { + $newId = strval($this->generateId()); + $oauthToken->setId($newId); + } + try + { + $stmt = mysqli_prepare($connection, "insert into " . $this->tableName . "(id,user_name,client_id,client_secret,refresh_token,access_token,grant_token,expiry_time,redirect_url,api_domain) values(?,?,?,?,?,?,?,?,?,?) on duplicate key update user_name=values(user_name),client_id=values(client_id),client_secret=values(client_secret),refresh_token=values(refresh_token),access_token=values(access_token),grant_token=values(grant_token),expiry_time=values(expiry_time),redirect_url=values(redirect_url),api_domain=values(api_domain);"); + $id = $oauthToken->getId(); + $user_name = $oauthToken->getUserSignature() != null ? $oauthToken->getUserSignature()->getName() : null; + $clientId = $oauthToken->getClientId(); + $clientSecret = $oauthToken->getClientSecret(); + $refreshToken = $oauthToken->getRefreshToken(); + $accessToken = $oauthToken->getAccessToken(); + $grantToken = $oauthToken->getGrantToken(); + $expiresIn = $oauthToken->getExpiresIn(); + $redirectURL = $oauthToken->getRedirectURL(); + $apiDomain = $oauthToken->getAPIDomain(); + $stmt->bind_param('ssssssssss', $id, $user_name, $clientId, $clientSecret, $refreshToken, $accessToken, $grantToken, $expiresIn, $redirectURL, $apiDomain); + $stmt->execute(); + } + catch (Exception $ex) + { + throw $ex; + } + } + } + catch (Exception $e) + { + throw new SDKException(Constants::TOKEN_STORE, Constants::SAVE_TOKEN_DB_ERROR, null, $e); + } + finally + { + if ($connection != null) + { + $connection->close(); + } + } + } + + public function deleteToken($id) + { + $connection = null; + try + { + $connection = $this->getMysqlConnection(); + $query = "delete from " . $this->tableName . " where id='" . $id . "';"; + $result = mysqli_query($connection, $query); + if (!$result) + { + throw new \Exception($connection->error); + } + } + catch (\Exception $ex) + { + throw new SDKException(Constants::TOKEN_STORE, Constants::DELETE_TOKEN_DB_ERROR, null, $ex); + } + finally + { + if ($connection != null) + { + $connection->close(); + } + } + } + + private function getMysqlConnection() + { + $mysqli_con = new \mysqli($this->host . ":" . $this->portNumber, $this->userName, $this->password, $this->databaseName); + if ($mysqli_con->connect_errno) + { + throw new \Exception($mysqli_con->connect_error); + } + if ($this->key) + { + $mysqli_con->options(MYSQLI_OPT_SSL_VERIFY_SERVER_CERT, true); + $mysqli_con->ssl_set($this->key, $this->certificate, $this->caCertificate, $this->caPath, $this->cipherAlgos); + } + return $mysqli_con; + } + + public function getTokens() + { + $connection = null; + $tokens = array(); + try + { + $connection = $this->getMysqlConnection(); + $query = "select * from " . $this->tableName . ";"; + $result = mysqli_query($connection, $query); + if ($result) + { + while ($row = mysqli_fetch_assoc($result)) + { + $class = new \ReflectionClass(OAuthToken::class); + $token = $class->newInstanceWithoutConstructor(); + $this->mergeToken($token, $row); + array_push($tokens, $token); + } + } + } + catch (\Exception $ex) + { + throw new SDKException(Constants::TOKEN_STORE, Constants::GET_TOKENS_DB_ERROR, null, $ex); + } + finally + { + if ($connection != null) + { + $connection->close(); + } + } + return $tokens; + } + + public function deleteTokens() + { + $connection = null; + try + { + $connection = $this->getMysqlConnection(); + $query = "delete from " . $this->tableName . ";"; + mysqli_query($connection, $query); + } + catch (\Exception $ex) + { + throw new SDKException(Constants::TOKEN_STORE, Constants::DELETE_TOKENS_DB_ERROR, null, $ex); + } + finally + { + if ($connection != null) + { + $connection->close(); + } + } + } + + public function findTokenById($id) + { + $connection = null; + try + { + $connection = $this->getMysqlConnection(); + $class = new \ReflectionClass(OAuthToken::class); + $oauthToken = $class->newInstanceWithoutConstructor(); + $query = "select * from " . $this->tableName . " where id='" . $id . "';"; + $result = mysqli_query($connection, $query); + if (!$result) + { + throw new SDKException(Constants::TOKEN_STORE, Constants::GET_TOKEN_BY_ID_DB_ERROR); + } + do + { + $this->setMergeData($oauthToken, $result); + return $oauthToken; + } + while (next($result)); + } + catch (SDKException $ex) + { + throw $ex; + } + catch (Exception $ex) + { + throw new SDKException(Constants::TOKEN_STORE, Constants::GET_TOKEN_BY_ID_DB_ERROR, null, $ex); + } + finally + { + if ($connection != null) + { + $connection->close(); + } + } + return null; + } + + private function mergeToken(OAuthToken $oauthToken, array $row) + { + if ($oauthToken->getId() == null) + { + $oauthToken->setId($row[Constants::ID]); + } + if ($oauthToken->getUserSignature() == null) + { + $name = $row[Constants::USER_NAME]; + if ($name != null) + { + $oauthToken->setUserSignature(new UserSignature($name)); + } + } + if ($oauthToken->getClientId() == null) + { + $oauthToken->setClientId($row[Constants::CLIENT_ID]); + } + if ($oauthToken->getClientSecret() == null) + { + $oauthToken->setClientSecret($row[Constants::CLIENT_SECRET]); + } + if ($oauthToken->getRefreshToken() == null) + { + $oauthToken->setRefreshToken($row[Constants::REFRESH_TOKEN]); + } + if ($oauthToken->getAccessToken() == null) + { + $oauthToken->setAccessToken($row[Constants::ACCESS_TOKEN]); + } + if ($oauthToken->getGrantToken() == null) + { + $oauthToken->setGrantToken($row[Constants::GRANT_TOKEN]); + } + if ($oauthToken->getExpiresIn() == null) + { + $expiresIn = $row[Constants::EXPIRY_TIME]; + if ($expiresIn != null) + { + $oauthToken->setExpiresIn(strval($expiresIn)); + } + } + if ($oauthToken->getRedirectURL() == null) + { + $oauthToken->setRedirectURL($row[Constants::REDIRECT_URL]); + } + if ($oauthToken->getAPIDomain() == null) + { + $oauthToken->setAPIDomain($row[Constants::API_DOMAIN]); + } + } + private function setMergeData(OAuthToken $oauthToken, \mysqli_result $result) + { + if ($result) + { + while ($row = mysqli_fetch_assoc($result)) + { + $this->mergeToken($oauthToken, $row); + } + } + } + + private function setToken(OAuthToken $oauthToken) + { + $query = array(); + if ($oauthToken->getUserSignature() != null) + { + $name = $oauthToken->getUserSignature()->getName(); + if ($name != null && strlen($name) > 0) + { + array_push($query, $this->setTokenInfo(Constants::USER_NAME, $name)); + } + } + if ($oauthToken->getClientId() != null) + { + array_push($query, $this->setTokenInfo(Constants::CLIENT_ID, $oauthToken->getClientId())); + } + if ($oauthToken->getClientSecret() != null) + { + array_push($query, $this->setTokenInfo(Constants::CLIENT_SECRET, $oauthToken->getClientSecret())); + } + if ($oauthToken->getRefreshToken() != null) + { + array_push($query, $this->setTokenInfo(Constants::REFRESH_TOKEN, $oauthToken->getRefreshToken())); + } + if ($oauthToken->getAccessToken() != null) + { + array_push($query, $this->setTokenInfo(Constants::ACCESS_TOKEN, $oauthToken->getAccessToken())); + } + if ($oauthToken->getGrantToken() != null) + { + array_push($query, $this->setTokenInfo(Constants::GRANT_TOKEN, $oauthToken->getGrantToken())); + } + if ($oauthToken->getExpiresIn() != null) + { + array_push($query, $this->setTokenInfo(Constants::EXPIRY_TIME, $oauthToken->getExpiresIn())); + } + if ($oauthToken->getRedirectURL() != null) + { + array_push($query, $this->setTokenInfo(Constants::REDIRECT_URL, $oauthToken->getRedirectURL())); + } + if ($oauthToken->getAPIDomain() != null) + { + array_push($query, $this->setTokenInfo(Constants::API_DOMAIN, $oauthToken->getAPIDomain())); + } + return join(",", $query); + } + + public function setTokenInfo($key, $value) + { + return $key . "='" . $value . "'"; + } + + private function generateId() + { + $id = 0; + $connection = null; + try + { + $connection = $this->getMysqlConnection(); + $query = "select coalesce(max(id), 0) as id from " . $this->tableName . ";"; + $result = mysqli_query($connection, $query); + if (!$result) + { + return $id; + } + do + { + $max = $this->getMax($result); + if ($max != null) + { + return $max + 1; + } + } + while (next($result)); + } + catch (Exception $ex) + { + throw new SDKException(Constants::TOKEN_STORE, Constants::GENERATE_TOKEN_ID_ERROR, null, $ex); + } + finally + { + if ($connection != null) + { + $connection->close(); + } + } + } + public function getMax(\mysqli_result $result) + { + $max = 0; + if($result) + { + while($row = mysqli_fetch_assoc($result)) + { + $max = $row[Constants::ID]; + } + } + return $max; + } +} +?> \ No newline at end of file diff --git a/versions/5.0.0/src/com/zoho/api/authenticator/store/FileStore.php b/versions/5.0.0/src/com/zoho/api/authenticator/store/FileStore.php new file mode 100755 index 0000000..2d7e37b --- /dev/null +++ b/versions/5.0.0/src/com/zoho/api/authenticator/store/FileStore.php @@ -0,0 +1,409 @@ +filePath = trim($filePath); + $csvWriter = fopen($this->filePath, 'a');//opens file in append mode + $isCreate = false; + if (trim(file_get_contents($this->filePath)) == false) + { + $isCreate = true; + fwrite($csvWriter, implode(",", $this->headers)); + } + fclose($csvWriter); + if(!$isCreate) + { + $allContents = []; + $csvReader = file($this->filePath, FILE_IGNORE_NEW_LINES); + $headers = str_getcsv($csvReader[0]); + if(sizeof($headers) == 9) + { + $allContents[0] = implode(",", $this->headers) . "\n"; + for($index = 1; $index < sizeof($csvReader); $index++) + { + $nextRecord = str_getcsv($csvReader[$index]); + array_push($nextRecord, null); + $allContents[$index] = implode(",", $nextRecord) . "\n"; + } + $last = $allContents[sizeof($allContents) - 1]; + $lastNewlinePosition = strrpos($last, "\n"); + if ($lastNewlinePosition !== false) + { + $last = substr_replace($last, '', $lastNewlinePosition, 1); + } + $allContents[sizeof($allContents) - 1] = $last; + file_put_contents($this->filePath, $allContents); + } + } + } + + public function findToken(Token $token) + { + if (!($token instanceof OAuthToken)) + { + return $token; + } + try + { + $csvReader = file($this->filePath, FILE_IGNORE_NEW_LINES); + $oauthToken = $token; + $isRowPresent = false; + for($index = 1; $index < sizeof($csvReader); $index++) + { + $allContents = $csvReader[$index]; + $nextRecord = str_getcsv($allContents); + if (sizeof($nextRecord) > 1) + { + $isRowPresent = $this->checkCondition($oauthToken, $nextRecord); + if ($isRowPresent) + { + $this->setMergeData($oauthToken, $nextRecord); + return $oauthToken; + } + } + } + if(!$isRowPresent) + { + return $token; + } + } + catch (\Exception $ex) + { + throw new SDKException(Constants::TOKEN_STORE, Constants::GET_TOKEN_FILE_ERROR, null, $ex); + } + return $token; + } + + public function saveToken(Token $token) + { + if (!($token instanceof OAuthToken)) + { + return; + } + try + { + $oauthToken = $token; + $csvReader = file($this->filePath); + $isRowPresent = false; + for ($index = 1; $index < sizeof($csvReader); $index++) + { + $allContents = $csvReader[$index]; + $nextRecord = str_getcsv($allContents); + if (sizeof($nextRecord) > 1) + { + if ($oauthToken->getId() != null) + { + $id = $this->getData($nextRecord[0]); + if ($id != null && $oauthToken->getId() != null && $id == $oauthToken->getId()) + { + $isRowPresent = true; + } + } + else + { + $isRowPresent = $this->checkCondition($oauthToken, $nextRecord); + } + if ($isRowPresent) + { + $this->setMergeData($oauthToken, $nextRecord); + array_splice($csvReader, $index, 1, implode(",", $this->setToken($oauthToken)) . "\n"); + break; + } + } + else + { + unset($csvReader[$index]); + } + } + if (!$isRowPresent) + { + if ($oauthToken->getId() != null || $oauthToken->getUserSignature() != null) + { + if ($oauthToken->getRefreshToken() == null && $oauthToken->getGrantToken() == null && $oauthToken->getAccessToken() == null) + { + throw new SDKException(Constants::TOKEN_STORE, Constants::GET_TOKEN_FILE_ERROR1); + } + } + if ($oauthToken->getId() == null) + { + $newID = $this->generateId($csvReader); + $oauthToken->setId($newID); + } + array_push($csvReader, "\n"); + array_push($csvReader, implode(",", $this->setToken($oauthToken))); + } + file_put_contents($this->filePath, $csvReader); + } + catch (SDKException $ex) + { + throw $ex; + } + catch (\Exception $ex) + { + throw new SDKException(Constants::TOKEN_STORE, Constants::SAVE_TOKEN_FILE_ERROR, null, $ex); + } + return $token; + } + + public function deleteToken($id) + { + try + { + $csvReader = file($this->filePath, FILE_IGNORE_NEW_LINES); + $isRowPresent = false; + for ($index = 1; $index < sizeof($csvReader); $index++) + { + $nextRecord = $csvReader[$index]; + if (sizeof($nextRecord) > 1) + { + $recordId = $this->getData($nextRecord[0]); + if ($recordId != null && $recordId == $id) + { + $isRowPresent = true; + unset($csvReader[$index]); + } + } + } + if ($isRowPresent) + { + file_put_contents($this->filePath, implode("\n", $csvReader)); + } + else + { + throw new SDKException(Constants::TOKEN_STORE, Constants::GET_TOKEN_BY_ID_FILE_ERROR); + } + } + catch (SDKException $e) + { + throw $e; + } + catch (Exception $ex) + { + throw new SDKException(Constants::TOKEN_STORE, Constants::DELETE_TOKEN_FILE_ERROR, $ex); + } + } + + public function getTokens() + { + $csvReader = null; + $tokens = array(); + try + { + $csvReader = file($this->filePath, FILE_IGNORE_NEW_LINES); + for ($index = 1; $index < sizeof($csvReader); $index++) + { + $allContents = $csvReader[$index]; + $nextRecord = str_getcsv($allContents); + $class = new \ReflectionClass(OAuthToken::class); + $token = $class->newInstanceWithoutConstructor(); + $this->setMergeData($token, $nextRecord); + array_push($tokens, $token); + } + } + catch (\Exception $ex) + { + throw new SDKException(Constants::TOKEN_STORE, Constants::GET_TOKENS_FILE_ERROR, null, $ex); + } + return $tokens; + } + + public function deleteTokens() + { + try + { + file_put_contents($this->filePath, implode(",", $this->headers)); + } + catch(\Exception $ex) + { + throw new SDKException(Constants::TOKEN_STORE, Constants::DELETE_TOKENS_FILE_ERROR, null, $ex); + } + } + + public function findTokenById($id) + { + try + { + $csvReader = file($this->filePath, FILE_IGNORE_NEW_LINES); + $class = new \ReflectionClass(OAuthToken::class); + $oauthToken = $class->newInstanceWithoutConstructor(); + $isRowPresent = false; + for ($index = 1; $index < sizeof($csvReader); $index++) + { + $nextRecord = str_getcsv($csvReader[$index]); + if ($nextRecord[0] == $id) + { + $isRowPresent = true; + $this->setMergeData($oauthToken, $nextRecord); + return $oauthToken; + } + } + if (!$isRowPresent) + { + throw new SDKException(Constants::TOKEN_STORE, Constants::GET_TOKEN_BY_ID_FILE_ERROR); + } + } + catch (SDKException $ex) + { + throw $ex; + } + catch (Exception $e) + { + throw new SDKException(Constants::TOKEN_STORE, Constants::GET_TOKEN_BY_ID_FILE_ERROR, $e); + } + } + + private function checkCondition(OAuthToken $oauthToken, array $nextRecord) + { + $isRowPresent = false; + if ($oauthToken->getUserSignature() != null) + { + $name = $oauthToken->getUserSignature()->getName(); + $userName = $this->getData($nextRecord[1]); + if ($name != null && strlen($name) > 0 && $userName != null && strlen($userName) > 0 && $name == $userName) + { + $isRowPresent = true; + } + } + elseif ($oauthToken->getAccessToken() != null && $oauthToken->getClientId() == null && $oauthToken->getClientSecret() == null) + { + $accessToken = $this->getData($nextRecord[5]); + if($accessToken != null && strlen($accessToken) > 0 && strlen($oauthToken->getAccessToken()) > 0 && $oauthToken->getAccessToken() == $accessToken) + { + $isRowPresent = true; + } + } + elseif (($oauthToken->getRefreshToken() != null || $oauthToken->getGrantToken() != null) && $oauthToken->getClientId() != null && $oauthToken->getClientSecret() != null) + { + $grantToken = $this->getData($nextRecord[6]); + $refreshToken = $this->getData($nextRecord[4]); + if ($grantToken != null && strlen($grantToken) > 0 && $oauthToken->getGrantToken() != null && $oauthToken->getGrantToken() == $grantToken) + { + $isRowPresent = true; + } + elseif ($refreshToken != null && strlen($refreshToken) > 0 && $oauthToken->getRefreshToken() != null && $oauthToken->getRefreshToken() == $refreshToken) + { + $isRowPresent = true; + } + } + return $isRowPresent; + } + + private function getData(String $value) + { + return ($value != null && !empty($value) && strlen($value) > 0) ? $value : null; + } + + /** + * @throws SDKException + */ + private function setMergeData(OAuthToken $oauthToken, array $nextRecord) + { + if ($oauthToken->getId() == null) + { + $oauthToken->setId( $this->getData($nextRecord[0])); + } + if ($oauthToken->getUserSignature() == null) + { + $name = $this->getData($nextRecord[1]); + if ($name != null) + { + $oauthToken->setUserSignature(new UserSignature($name)); + } + } + if ($oauthToken->getClientId() == null) + { + $oauthToken->setClientId($this->getData($nextRecord[2])); + } + if ($oauthToken->getClientSecret() == null) + { + $oauthToken->setClientSecret($this->getData($nextRecord[3])); + } + if ($oauthToken->getRefreshToken() == null) + { + $oauthToken->setRefreshToken($this->getData($nextRecord[4])); + } + if ($oauthToken->getAccessToken() == null) + { + $oauthToken->setAccessToken($this->getData($nextRecord[5])); + } + if ($oauthToken->getGrantToken() == null) + { + $oauthToken->setGrantToken($this->getData($nextRecord[6])); + } + if ($oauthToken->getExpiresIn() == null) + { + $expiresIn = $this->getData($nextRecord[7]); + if ($expiresIn != null) + { + $oauthToken->setExpiresIn(StrVal($expiresIn)); + } + } + if ($oauthToken->getRedirectURL() == null) + { + $oauthToken->setRedirectURL($this->getData($nextRecord[8])); + } + if ($oauthToken->getAPIDomain() == null) + { + $oauthToken->setAPIDomain($this->getData($nextRecord[9])); + } + } + + private function setToken(OAuthToken $oauthToken) + { + $data = array(); + $data[0] = $oauthToken->getId(); + $data[1] = $oauthToken->getUserSignature() != null ? $oauthToken->getUserSignature()->getName() : null; + $data[2] = $oauthToken->getClientId(); + $data[3] = $oauthToken->getClientSecret(); + $data[4] = $oauthToken->getRefreshToken(); + $data[5] = $oauthToken->getAccessToken(); + $data[6] = $oauthToken->getGrantToken(); + $data[7] = $oauthToken->getExpiresIn(); + $data[8] = $oauthToken->getRedirectURL(); + $data[9] = $oauthToken->getAPIDomain(); + return $data; + + } + + private function generateId($allContents) + { + $maxValue = 0; + if (sizeof($allContents) > 1) + { + for ($index =1; $index < sizeof($allContents); $index++) + { + $nextRecord = $allContents[$index]; + if(strlen($nextRecord) > 1 && $nextRecord[0] != null && strlen($nextRecord[0])) + { + if ($maxValue < intval($nextRecord[0])) + { + $maxValue = intval($nextRecord[0]); + } + } + } + } + return strval($maxValue + 1); + } +} \ No newline at end of file diff --git a/versions/5.0.0/src/com/zoho/api/authenticator/store/TokenStore.php b/versions/5.0.0/src/com/zoho/api/authenticator/store/TokenStore.php new file mode 100755 index 0000000..289f67a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/api/authenticator/store/TokenStore.php @@ -0,0 +1,41 @@ + \ No newline at end of file diff --git a/versions/5.0.0/src/com/zoho/api/logger/LogBuilder.php b/versions/5.0.0/src/com/zoho/api/logger/LogBuilder.php new file mode 100755 index 0000000..c6f2994 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/api/logger/LogBuilder.php @@ -0,0 +1,26 @@ +level = $level; + return $this; + } + + public function filePath($filePath) + { + $this->filePath = $filePath; + return $this; + } + + public function build() + { + return Logger::getInstance($this->level, $this->filePath); + } +} +?> \ No newline at end of file diff --git a/versions/5.0.0/src/com/zoho/api/logger/Logger.php b/versions/5.0.0/src/com/zoho/api/logger/Logger.php new file mode 100755 index 0000000..d8ed6e4 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/api/logger/Logger.php @@ -0,0 +1,47 @@ +level = $level; + $this->filePath = $filePath; + } + + /** + * Creates an Logger class instance with the specified log level and file path. + * @param Levels $level A string containing the log level. + * @param string $filePath A string containing the log file path. + * @return \com\zoho\api\logger\Logger A Logger class instance. + */ + public static function getInstance($level, $filePath) + { + return new Logger($level, $filePath); + } + + /** + * This is a getter method to get logger level. + * @return string A string representing the logger level. + */ + public function getLevel() + { + return $this->level; + } + + /** + * This is a getter method to get log file path. + * @return string A string representing the log file path. + */ + public function getFilePath() + { + return $this->filePath; + } +} +?> \ No newline at end of file diff --git a/versions/5.0.0/src/com/zoho/api/logger/SDKLogger.php b/versions/5.0.0/src/com/zoho/api/logger/SDKLogger.php new file mode 100755 index 0000000..084ad91 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/api/logger/SDKLogger.php @@ -0,0 +1,101 @@ +getFilePath(); + self::$level =$log->getLevel(); + } + + private static function checkLevel($messageLevel, $loggerLevel) + { + $message_index = array_search($messageLevel , self::$logPrecedence); + $logger_index = array_search($loggerLevel, self::$logPrecedence); + return ($message_index <= $logger_index) ? TRUE : FALSE; + } + + public static function writeToFile($messageLevel, $msg) + { + if(self::$level == "OFF") + { + return; + } + $filePointer = fopen(self::$filePath, "a"); + if (!$filePointer) + { + return; + } + if(self::$level == "ALL" || self::checkLevel($messageLevel, self::$level) == TRUE) + { + fwrite($filePointer, sprintf("%s %s %s %s\n", date("Y-m-d H:i:s"), "com\zoho\api\logger\SDKLogger", $messageLevel, $msg)); + fclose($filePointer); + } + } + + public static function warn($msg) + { + self::writeToFile("WARNING", $msg); + } + + public static function info($msg) + { + self::writeToFile("INFO", $msg); + } + + public static function severe(Exception $e) + { + $message = self::parseException($e); + self::writeToFile("SEVERE", $message); + } + + public static function severeError($message, Exception $e=null) + { + $parsedMessage = $message; + if($e != null) + { + $parsedMessage = $parsedMessage . " " . self::parseException($e); + } + self::writeToFile("SEVERE", $parsedMessage); + } + + private static function parseException(Exception $e) + { + $message = ""; + if($e instanceof SDKException) + { + $message = $message . $e->__toString() . "\n"; + } + $message = $message . $e->getFile() . "- " . $e->getLine() . "- " . $e->getMessage() . "\n"; + return $message . $e->getTraceAsString(); + } + + public static function err(Exception $e) + { + $message = self::parseException($e); + self::writeToFile("ERROR", $message); + } + + public static function error($message) + { + self::writeToFile("ERROR", $message); + } + + public static function debug($msg) + { + self::writeToFile("DEBUG", $msg); + } +} +?> \ No newline at end of file diff --git a/versions/5.0.0/src/com/zoho/crm/api/Header.php b/versions/5.0.0/src/com/zoho/crm/api/Header.php new file mode 100755 index 0000000..34a3987 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/Header.php @@ -0,0 +1,40 @@ +name = $name; + $this->className = $className; + } + + /** + * This is a getter method to get header name. + * @return string A string representing the header name. + */ + public function getName() + { + return $this->name; + } + + /** + * This is a getter method to get header class name. + * @return string A string representing the header class name. + */ + public function getClassName() + { + return $this->className; + } +} \ No newline at end of file diff --git a/versions/5.0.0/src/com/zoho/crm/api/HeaderMap.php b/versions/5.0.0/src/com/zoho/crm/api/HeaderMap.php new file mode 100755 index 0000000..f7cf902 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/HeaderMap.php @@ -0,0 +1,102 @@ +headerMap; + } + + /** + * This is a setter method to set header map. + * @param array An array representing the API request headers. + */ + public function setHeaderMap(array $headerMap) + { + $this->headerMap = $headerMap; + } + + /** + * This method is to add header name and value. + * @param Header $header A Header class instance. + * @param object $value A object containing the header value. + */ + public function add(Header $header, $value) + { + if($header === null) + { + throw new SDKException(Constants::HEADER_NULL_ERROR, Constants::HEADER_INSTANCE_NULL_ERROR); + } + $headerName = $header->getName(); + if($headerName === null) + { + throw new SDKException(Constants::HEADER_NAME_NULL_ERROR, Constants::HEADER_NAME_NULL_ERROR_MESSAGE); + } + if($value === null) + { + throw new SDKException(Constants::HEADER_NULL_ERROR, $headerName.Constants::NULL_VALUE_ERROR_MESSAGE); + } + try + { + $headerClassName = $header->getClassName(); + $parsedHeaderValue = null; + if($headerClassName != null) + { + $headerParamValidator = new HeaderParamValidator(); + $parsedHeaderValue = $headerParamValidator->validate($headerName, $headerClassName, $value); + } + else + { + try + { + $parsedHeaderValue = DataTypeConverter::postConvert($value, get_class($value)); + } + catch(\Exception $ex) + { + $parsedHeaderValue = $value; + } + } + if($parsedHeaderValue === true || $parsedHeaderValue === false) + { + $parsedHeaderValue = json_encode($parsedHeaderValue, JSON_UNESCAPED_UNICODE); + } + if (array_key_exists($headerName, $this->headerMap) && isset($this->headerMap[$headerName])) + { + $headerValue = $this->headerMap[$headerName]; + $headerValue = $headerValue . "," . $parsedHeaderValue; + $this->headerMap[$headerName] = $headerValue; + } + else + { + $this->headerMap[$headerName] = $parsedHeaderValue; + } + } + catch(SDKException $e) + { + SDKLogger::severeError(Constants::HEADER_EXCEPTION, $e); + throw $e; + } + catch (\Exception $e) + { + $exception = new SDKException(null, null, null, $e); + SDKLogger::severeError(Constants::HEADER_EXCEPTION, $exception); + throw $exception; + } + } +} \ No newline at end of file diff --git a/versions/5.0.0/src/com/zoho/crm/api/InitializeBuilder.php b/versions/5.0.0/src/com/zoho/crm/api/InitializeBuilder.php new file mode 100755 index 0000000..500f30e --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/InitializeBuilder.php @@ -0,0 +1,121 @@ +initializer = Initializer::getInitializer(); + $this->errorMessage = (Initializer::getInitializer() != null) ? Constants::SWITCH_USER_ERROR : Constants::INITIALIZATION_ERROR; + if(Initializer::getInitializer() != null) + { + $this->environment = Initializer::getInitializer()->getEnvironment(); + $this->token = Initializer::getInitializer()->getToken(); + $this->sdkConfig = Initializer::getInitializer()->getSDKConfig(); + } + } + + public function initialize() + { + Utility::assertNotNull($this->token, $this->errorMessage, Constants::TOKEN_ERROR_MESSAGE); + if(is_null($this->store)) + { + $this->store = new FileStore(getcwd() . DIRECTORY_SEPARATOR . Constants::TOKEN_FILE); + } + if(is_null($this->sdkConfig)) + { + $this->sdkConfig = (new SDKConfigBuilder())->build(); + } + if(is_null($this->resourcePath)) + { + $this->resourcePath = getcwd(); + } + if(is_null($this->logger)) + { + $this->logger = (new LogBuilder())->level(Levels::OFF)->filePath(null)->build(); + } + Initializer::initialize($this->environment, $this->token, $this->store, $this->sdkConfig, $this->resourcePath, $this->logger, $this->requestProxy); + } + + public function switchUser() + { + Utility::assertNotNull(Initializer::getInitializer(), Constants::SDK_UNINITIALIZATION_ERROR, Constants::SDK_UNINITIALIZATION_MESSAGE); + if(is_null($this->sdkConfig)) + { + $this->sdkConfig = (new SDKConfigBuilder())->build(); + } + Initializer::switchUser($this->environment, $this->token, $this->sdkConfig, $this->requestProxy); + } + + public function logger(Logger $logger) + { + $this->logger = $logger; + return $this; + } + + public function token(Token $token) + { + Utility::assertNotNull($token, $this->errorMessage, Constants::TOKEN_ERROR_MESSAGE); + $this->token = $token; + return $this; + } + + public function SDKConfig(SDKConfig $sdkConfig) + { + $this->sdkConfig = $sdkConfig; + return $this; + } + + public function requestProxy(RequestProxy $requestProxy) + { + $this->requestProxy = $requestProxy; + return $this; + } + + public function resourcePath(string $resourcePath) + { + if($resourcePath != null && !is_dir($resourcePath)) + { + throw new SDKException($this->errorMessage, Constants::RESOURCE_PATH_INVALID_ERROR_MESSAGE); + } + $this->resourcePath = $resourcePath; + return $this; + } + + public function store(TokenStore $store) + { + $this->store = $store; + return $this; + } + + public function environment(Environment $environment) + { + Utility::assertNotNull($environment, $this->errorMessage, Constants::ENVIRONMENT_ERROR_MESSAGE); + $this->environment = $environment; + return $this; + } +} +?> \ No newline at end of file diff --git a/versions/5.0.0/src/com/zoho/crm/api/Initializer.php b/versions/5.0.0/src/com/zoho/crm/api/Initializer.php new file mode 100755 index 0000000..584dac5 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/Initializer.php @@ -0,0 +1,270 @@ +environment = $environment; + $initializer->store = $store; + $initializer->sdkConfig = $sdkConfig; + $initializer->resourcePath = $resourcePath; + $initializer->requestProxy = $proxy; + $initializer->token = $token; + self::$initializer = $initializer; + if ($token != null) + { + $token->generateToken(); + } + $initializer->token = $token; + self::$initializer = $initializer; + self::$LOCAL[$initializer->getEncodedKey()] = $initializer; + SDKLogger::info(Constants::INITIALIZATION_SUCCESSFUL . $initializer->toString()); + } + catch(SDKException $e) + { + throw $e; + } + catch (\Exception $e) + { + throw new SDKException(Constants::INITIALIZATION_EXCEPTION, null, null, $e); + } + } + + public static function getJSON($filePath) + { + return json_decode(file_get_contents($filePath), TRUE); + } + + /** + * This method to get Initializer class instance. + * + * @return Initializer A Initializer class instance representing the SDK configuration details. + */ + public static function getInitializer() + { + if (!empty(self::$LOCAL) && count(self::$LOCAL) != 0) + { + $initializer = new Initializer(); + $key = $initializer->getEncodedKey(); + if(array_key_exists($key, self::$LOCAL)) + { + return self::$LOCAL[$key]; + } + } + return self::$initializer; + } + + /** + * This method to switch the different user in SDK environment. + * @param Environment $environment A Environment class instance containing the CRM API base URL and Accounts URL. + * @param Token $token A Token class instance containing the OAuth client application information. + * @param SDKConfig $sdkConfig A SDKConfig class instance containing the SDK configuration. + */ + public static function switchUser($environment, $token, $sdkConfig, $proxy=null) + { + $initializer = new Initializer(); + $initializer->environment = $environment; + $initializer->store = self::$initializer->store; + $initializer->sdkConfig = $sdkConfig; + $initializer->resourcePath = self::$initializer->resourcePath; + $initializer->requestProxy = $proxy; + $initializer->token = $token; + if ($token != null) + { + $token->generateToken(); + } + $initializer->token = $token; + self::$LOCAL[$initializer->getEncodedKey()] = $initializer; + self::$initializer = $initializer; + SDKLogger::info(Constants::INITIALIZATION_SWITCHED . $initializer->toString()); + } + + /** + * This is a getter method to get API environment. + * + * @return Environment A Environment representing the API environment. + */ + public function getEnvironment() + { + return $this->environment; + } + + /** + * This is a getter method to get API environment. + * + * @return TokenStore A TokenStore class instance containing the token store information. + */ + public function getStore() + { + return $this->store; + } + + /** + * This is a getter method to get RequestProxy. + * + * @return RequestProxy A RequestProxy class instance representing the proxy. + */ + public function getRequestProxy() + { + return $this->requestProxy; + } + + + /** + * This is a getter method to get OAuth client application information. + * + * @return Token A Token class instance representing the OAuth client application information. + */ + public function getToken() + { + return $this->token; + } + + public function getResourcePath() + { + return $this->resourcePath; + } + + /** + * This is a getter method to get SDK configuration. + * @return SDKConfig A SDKConfig instance representing the configuration + */ + public function getSDKConfig() + { + return $this->sdkConfig; + } + + public static function removeUserConfiguration($token) + { + $initializer = new Initializer(); + if ($token instanceof OAuthToken) + { + if ($token->getId() == self::$initializer->getToken()->getId()) + { + $key = $initializer->getEncodedKey(); + if(array_key_exists($key, self::$LOCAL)) + { + unset(self::$LOCAL[$initializer->getEncodedKey()]); + } + else + { + $exception = new SDKException(null, Constants::USER_NOT_FOUND_ERROR_MESSAGE); + SDKLogger::info(Constants::USER_NOT_FOUND_ERROR . $exception); + throw $exception; + } + } + } + } + public static function getEncodedKey() + { + $initializer = new Initializer(); + $token = $initializer->getToken(); + $key = null; + if ($token instanceof OAuthToken) + { + $oauthToken = $token; + if($oauthToken->getUserSignature() != null) + { + $key = $oauthToken->getUserSignature()->getName(); + } + else + { + $refreshToken = $oauthToken->getRefreshToken(); + if ($refreshToken != null && strlen($refreshToken) > 0) + { + $key = substr($refreshToken, 0, strlen($refreshToken) - 32); + } + else + { + $accessToken = $oauthToken->getAccessToken(); + if ($accessToken != null && strlen($accessToken) > 0) + { + $key = substr($accessToken, 0, strlen($accessToken) - 32); + } + } + } + } + $tokenKey = self::$initializer->getEnvironment()->getUrl(); + if ($key != null && strlen($key) > 0) + { + $tokenKey = $tokenKey . $key; + } + $input = unpack('C*', mb_convert_encoding($tokenKey, "UTF-8")); + return base64_encode(implode(array_map("chr", $input))); + } + + public function toString() + { + return Constants::IN_ENVIRONMENT . self::$initializer->getEnvironment()->getUrl() . "."; + } +} +?> \ No newline at end of file diff --git a/versions/5.0.0/src/com/zoho/crm/api/Param.php b/versions/5.0.0/src/com/zoho/crm/api/Param.php new file mode 100755 index 0000000..17c5f25 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/Param.php @@ -0,0 +1,40 @@ +name = $name; + $this->className = $className; + } + + /** + * This is a getter method to get parameter name. + * @return string A string representing the parameter name. + */ + public function getName() + { + return $this->name; + } + + /** + * This is a getter method to get parameter class name. + * @return string A string representing the parameter class name. + */ + public function getClassName() + { + return $this->className; + } +} \ No newline at end of file diff --git a/versions/5.0.0/src/com/zoho/crm/api/ParameterMap.php b/versions/5.0.0/src/com/zoho/crm/api/ParameterMap.php new file mode 100755 index 0000000..fac2625 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/ParameterMap.php @@ -0,0 +1,102 @@ +parameterMap; + } + + /** + * This is a setter method to set parameter map. + * @param array An array representing the API request parameters. + */ + public function setParameterMap(array $parameterMap) + { + $this->parameterMap = $parameterMap; + } + + /** + * This method to add parameter name and value. + * @param Param $param A Param class instance. + * @param object $value A object containing the parameter value. + */ + public function add(Param $param, $value) + { + if($param === null) + { + throw new SDKException(Constants::PARAMETER_NULL_ERROR, Constants::PARAM_INSTANCE_NULL_ERROR); + } + $paramName = $param->getName(); + if($paramName === null) + { + throw new SDKException(Constants::PARAM_NAME_NULL_ERROR, Constants::PARAM_NAME_NULL_ERROR_MESSAGE); + } + if($value === null) + { + throw new SDKException(Constants::PARAMETER_NULL_ERROR, $paramName.Constants::NULL_VALUE_ERROR_MESSAGE); + } + try + { + $paramClassName = $param->getClassName(); + $parsedParamValue = null; + if($paramClassName != null) + { + $headerParamValidator = new HeaderParamValidator(); + $parsedParamValue = $headerParamValidator->validate($paramName, $paramClassName, $value); + } + else + { + try + { + $parsedParamValue = DataTypeConverter::postConvert($value, get_class($value)); + } + catch(\Exception $ex) + { + $parsedParamValue = $value; + } + } + if($parsedParamValue === true || $parsedParamValue === false) + { + $parsedParamValue = json_encode($parsedParamValue, JSON_UNESCAPED_UNICODE); + } + if (array_key_exists($paramName, $this->parameterMap) && isset($this->parameterMap[$paramName])) + { + $paramValue = $this->parameterMap[$paramName]; + $paramValue = $paramValue . "," . $parsedParamValue; + $this->parameterMap[$paramName] = $paramValue; + } + else + { + $this->parameterMap[$paramName] = $parsedParamValue; + } + } + catch(SDKException $e) + { + SDKLogger::severeError(Constants::PARAM_EXCEPTION, $e); + throw $e; + } + catch (\Exception $e) + { + $exception = new SDKException(null, null, null, $e); + SDKLogger::severeError(Constants::PARAM_EXCEPTION, $exception); + throw $exception; + } + } +} \ No newline at end of file diff --git a/versions/5.0.0/src/com/zoho/crm/api/ProxyBuilder.php b/versions/5.0.0/src/com/zoho/crm/api/ProxyBuilder.php new file mode 100755 index 0000000..054d633 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/ProxyBuilder.php @@ -0,0 +1,53 @@ +host = $host; + return $this; + } + + public function port(int $port) + { + Utility::assertNotNull($port, Constants::REQUEST_PROXY_ERROR, Constants::PORT_ERROR_MESSAGE); + $this->port = $port; + return $this; + } + + public function user(string $user) + { + $this->user = $user; + return $this; + } + + public function password(string $password) + { + $this->password = $password; + return $this; + } + + public function build() + { + Utility::assertNotNull($this->host, Constants::REQUEST_PROXY_ERROR, Constants::HOST_ERROR_MESSAGE); + Utility::assertNotNull($this->port, Constants::REQUEST_PROXY_ERROR, Constants::PORT_ERROR_MESSAGE); + $class = new \ReflectionClass(RequestProxy::class); + $constructor = $class->getConstructor(); + $constructor->setAccessible(true); + $object = $class->newInstanceWithoutConstructor(); + $constructor->invoke($object, $this->host, $this->port, $this->user, $this->password); + return $object; + } +} +?> \ No newline at end of file diff --git a/versions/5.0.0/src/com/zoho/crm/api/RequestProxy.php b/versions/5.0.0/src/com/zoho/crm/api/RequestProxy.php new file mode 100755 index 0000000..cb8549e --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/RequestProxy.php @@ -0,0 +1,55 @@ +host = $host; + $this->port = $port; + $this->user = $user; + $this->password = $password; + } + + /** + * This is a getter method to get Proxy host. + * @return string host + */ + public function getHost() + { + return $this->host; + } + + /** + * This is a getter method to get Proxy port. + * @return string port + */ + public function getPort() + { + return $this->port; + } + + /** + * This is a getter method to get Proxy user name. + * @return string user + */ + public function getUser() + { + return $this->user; + } + + /** + * This is a getter method to get Proxy password. + * @return string password + */ + public function getPassword() + { + return $this->password; + } +} +?> \ No newline at end of file diff --git a/versions/5.0.0/src/com/zoho/crm/api/SDKConfigBuilder.php b/versions/5.0.0/src/com/zoho/crm/api/SDKConfigBuilder.php new file mode 100755 index 0000000..030822b --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/SDKConfigBuilder.php @@ -0,0 +1,161 @@ +autoRefreshFields = false; + $this->pickListValidation = true; + $this->enableSSLVerification = true; + $this->connectionTimeout = 0; + $this->timeout = 0; + } + + /** + * This is a setter method to set autoRefreshFields. + * @param bool $autoRefreshFields + */ + public function autoRefreshFields(bool $autoRefreshFields) + { + $this->autoRefreshFields = $autoRefreshFields; + return $this; + } + + /** + * This is a setter method to set pickListValidation. + * @param bool $pickListValidation + */ + public function pickListValidation(bool $pickListValidation) + { + $this->pickListValidation = $pickListValidation; + return $this; + } + + /** + * This is a setter method to set enableSSLVerification. + * @param bool $enableSSLVerification + */ + public function sslVerification(bool $enableSSLVerification) + { + $this->enableSSLVerification = $enableSSLVerification; + return $this; + } + + /** + * This is a setter method to set connectionTimeout. + * @param int $connectionTimeout A int number of seconds to wait while trying to connect. + */ + public function connectionTimeout(int $connectionTimeout) + { + $this->connectionTimeout = $connectionTimeout > 0 ? $connectionTimeout : 0; + return $this; + } + + /** + * This is a setter method to set timeout. + * @param int $timeout A int maximum number of seconds to allow cURL functions to execute. + */ + public function timeout(int $timeout) + { + $this->timeout = $timeout > 0 ? $timeout : 0; + return $this; + } + + // CURLOPT_CONNECTTIMEOUT is a segment of the time represented by CURLOPT_TIMEOUT, so the value of the CURLOPT_TIMEOUT should be greater than the value of the CURLOPT_CONNECTTIMEOUT. + + /** + * The method to build the SDKConfig instance + * @returns An instance of SDKConfig + */ + public function build() + { + return new \com\zoho\crm\api\sdkconfigbuilder\SDKConfig($this->autoRefreshFields, $this->pickListValidation, $this->enableSSLVerification, $this->connectionTimeout, $this->timeout); + } +} + +namespace com\zoho\crm\api\sdkconfigbuilder; + +/** + * The class to configure the SDK. + */ +class SDKConfig +{ + private $autoRefreshFields; + private $pickListValidation; + private $enableSSLVerification; + private $connectionTimeout; + private $timeout; + + /** + * Creates an instance of SDKConfig with the given parameters + * @param bool $autoRefreshFields - A boolean representing autoRefreshFields + * @param bool $pickListValidation - A boolean representing pickListValidation + * @param bool $enableSSLVerification - A boolean representing enableSSLVerification + * @param int $connectionTimeout - + * @param int $timeout - A boolean representing enableSSLVerification + */ + public function __Construct(bool $autoRefreshFields, bool $pickListValidation, bool $enableSSLVerification, int $connectionTimeout, int $timeout) + { + $this->autoRefreshFields = $autoRefreshFields; + $this->pickListValidation = $pickListValidation; + $this->enableSSLVerification = $enableSSLVerification; + $this->connectionTimeout = $connectionTimeout; + $this->timeout = $timeout; + } + + /** + * This is a getter method to get autoRefreshFields. + * @return bool A boolean representing autoRefreshFields + */ + public function getAutoRefreshFields() + { + return $this->autoRefreshFields; + } + + /** + * This is a getter method to get pickListValidation. + * @return bool A boolean representing pickListValidation + */ + public function getPickListValidation() + { + return $this->pickListValidation; + } + + /** + * This is a getter method to get enableSSLVerification. + * @return bool A boolean representing enableSSLVerification + */ + public function isSSLVerificationEnabled() + { + return $this->enableSSLVerification; + } + + /** + * This is a getter method to get connectionTimeout. + * @return int A int representing connectionTimeout + */ + public function connectionTimeout() + { + return $this->connectionTimeout; + } + + /** + * This is a getter method to get cURL Timeout. + * @return int A int representing cURL Timeout + */ + public function timeout() + { + return $this->timeout; + } +} +?> \ No newline at end of file diff --git a/versions/5.0.0/src/com/zoho/crm/api/UserSignature.php b/versions/5.0.0/src/com/zoho/crm/api/UserSignature.php new file mode 100755 index 0000000..decb285 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/UserSignature.php @@ -0,0 +1,26 @@ +name = $name; + } + public function getName(): string + { + return $this->name; + } +} \ No newline at end of file diff --git a/versions/5.0.0/src/com/zoho/crm/api/appointmentpreference/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/appointmentpreference/APIException.php new file mode 100644 index 0000000..403a066 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/appointmentpreference/APIException.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/appointmentpreference/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/appointmentpreference/ActionHandler.php new file mode 100644 index 0000000..776a6a6 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/appointmentpreference/ActionHandler.php @@ -0,0 +1,7 @@ +appointmentPreferences; + + } + + /** + * The method to set the value to appointmentPreferences + * @param ActionResponse $appointmentPreferences An instance of ActionResponse + */ + public function setAppointmentPreferences(ActionResponse $appointmentPreferences) + { + $this->appointmentPreferences=$appointmentPreferences; + $this->keyModified['appointment_preferences'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/appointmentpreference/AppointmentPreference.php b/versions/5.0.0/src/com/zoho/crm/api/appointmentpreference/AppointmentPreference.php new file mode 100644 index 0000000..d17dbab --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/appointmentpreference/AppointmentPreference.php @@ -0,0 +1,170 @@ +showJobSheet; + + } + + /** + * The method to set the value to showJobSheet + * @param bool $showJobSheet A bool + */ + public function setShowJobSheet(bool $showJobSheet) + { + $this->showJobSheet=$showJobSheet; + $this->keyModified['show_job_sheet'] = 1; + + } + + /** + * The method to get the whenDurationExceeds + * @return string A string representing the whenDurationExceeds + */ + public function getWhenDurationExceeds() + { + return $this->whenDurationExceeds; + + } + + /** + * The method to set the value to whenDurationExceeds + * @param string $whenDurationExceeds A string + */ + public function setWhenDurationExceeds(string $whenDurationExceeds) + { + $this->whenDurationExceeds=$whenDurationExceeds; + $this->keyModified['when_duration_exceeds'] = 1; + + } + + /** + * The method to get the whenAppointmentCompleted + * @return Choice An instance of Choice + */ + public function getWhenAppointmentCompleted() + { + return $this->whenAppointmentCompleted; + + } + + /** + * The method to set the value to whenAppointmentCompleted + * @param Choice $whenAppointmentCompleted An instance of Choice + */ + public function setWhenAppointmentCompleted(Choice $whenAppointmentCompleted) + { + $this->whenAppointmentCompleted=$whenAppointmentCompleted; + $this->keyModified['when_appointment_completed'] = 1; + + } + + /** + * The method to get the allowBookingOutsideServiceAvailability + * @return bool A bool representing the allowBookingOutsideServiceAvailability + */ + public function getAllowBookingOutsideServiceAvailability() + { + return $this->allowBookingOutsideServiceAvailability; + + } + + /** + * The method to set the value to allowBookingOutsideServiceAvailability + * @param bool $allowBookingOutsideServiceAvailability A bool + */ + public function setAllowBookingOutsideServiceAvailability(bool $allowBookingOutsideServiceAvailability) + { + $this->allowBookingOutsideServiceAvailability=$allowBookingOutsideServiceAvailability; + $this->keyModified['allow_booking_outside_service_availability'] = 1; + + } + + /** + * The method to get the allowBookingOutsideBusinesshours + * @return bool A bool representing the allowBookingOutsideBusinesshours + */ + public function getAllowBookingOutsideBusinesshours() + { + return $this->allowBookingOutsideBusinesshours; + + } + + /** + * The method to set the value to allowBookingOutsideBusinesshours + * @param bool $allowBookingOutsideBusinesshours A bool + */ + public function setAllowBookingOutsideBusinesshours(bool $allowBookingOutsideBusinesshours) + { + $this->allowBookingOutsideBusinesshours=$allowBookingOutsideBusinesshours; + $this->keyModified['allow_booking_outside_businesshours'] = 1; + + } + + /** + * The method to get the dealRecordConfiguration + * @return DealRecordConfiguration An instance of DealRecordConfiguration + */ + public function getDealRecordConfiguration() + { + return $this->dealRecordConfiguration; + + } + + /** + * The method to set the value to dealRecordConfiguration + * @param DealRecordConfiguration $dealRecordConfiguration An instance of DealRecordConfiguration + */ + public function setDealRecordConfiguration(DealRecordConfiguration $dealRecordConfiguration) + { + $this->dealRecordConfiguration=$dealRecordConfiguration; + $this->keyModified['deal_record_configuration'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/appointmentpreference/AppointmentPreferenceOperations.php b/versions/5.0.0/src/com/zoho/crm/api/appointmentpreference/AppointmentPreferenceOperations.php new file mode 100644 index 0000000..54ee0b2 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/appointmentpreference/AppointmentPreferenceOperations.php @@ -0,0 +1,51 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to update appointment preference + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updateAppointmentPreference(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/appointment_preferences'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/appointmentpreference/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/appointmentpreference/BodyWrapper.php new file mode 100644 index 0000000..c9f610b --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/appointmentpreference/BodyWrapper.php @@ -0,0 +1,59 @@ +appointmentPreferences; + + } + + /** + * The method to set the value to appointmentPreferences + * @param AppointmentPreference $appointmentPreferences An instance of AppointmentPreference + */ + public function setAppointmentPreferences(AppointmentPreference $appointmentPreferences) + { + $this->appointmentPreferences=$appointmentPreferences; + $this->keyModified['appointment_preferences'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/appointmentpreference/DealRecordConfiguration.php b/versions/5.0.0/src/com/zoho/crm/api/appointmentpreference/DealRecordConfiguration.php new file mode 100644 index 0000000..c93ceb5 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/appointmentpreference/DealRecordConfiguration.php @@ -0,0 +1,103 @@ +layout; + + } + + /** + * The method to set the value to layout + * @param Layout $layout An instance of Layout + */ + public function setLayout(Layout $layout) + { + $this->layout=$layout; + $this->keyModified['layout'] = 1; + + } + + /** + * The method to get the fieldMappings + * @return array A array representing the fieldMappings + */ + public function getFieldMappings() + { + return $this->fieldMappings; + + } + + /** + * The method to set the value to fieldMappings + * @param array $fieldMappings A array + */ + public function setFieldMappings(array $fieldMappings) + { + $this->fieldMappings=$fieldMappings; + $this->keyModified['field_mappings'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/appointmentpreference/Field.php b/versions/5.0.0/src/com/zoho/crm/api/appointmentpreference/Field.php new file mode 100644 index 0000000..85b93eb --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/appointmentpreference/Field.php @@ -0,0 +1,81 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/appointmentpreference/FieldMappings.php b/versions/5.0.0/src/com/zoho/crm/api/appointmentpreference/FieldMappings.php new file mode 100644 index 0000000..086765c --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/appointmentpreference/FieldMappings.php @@ -0,0 +1,104 @@ +type; + + } + + /** + * The method to set the value to type + * @param Choice $type An instance of Choice + */ + public function setType(Choice $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to get the value + * @return string A string representing the value + */ + public function getValue() + { + return $this->value; + + } + + /** + * The method to set the value to value + * @param string $value A string + */ + public function setValue(string $value) + { + $this->value=$value; + $this->keyModified['value'] = 1; + + } + + /** + * The method to get the field + * @return Field An instance of Field + */ + public function getField() + { + return $this->field; + + } + + /** + * The method to set the value to field + * @param Field $field An instance of Field + */ + public function setField(Field $field) + { + $this->field=$field; + $this->keyModified['field'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/appointmentpreference/GetAppointmentPreferenceParam.php b/versions/5.0.0/src/com/zoho/crm/api/appointmentpreference/GetAppointmentPreferenceParam.php new file mode 100644 index 0000000..2bb1df9 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/appointmentpreference/GetAppointmentPreferenceParam.php @@ -0,0 +1,14 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/appointmentpreference/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/appointmentpreference/ResponseHandler.php new file mode 100644 index 0000000..48d505a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/appointmentpreference/ResponseHandler.php @@ -0,0 +1,7 @@ +appointmentPreferences; + + } + + /** + * The method to set the value to appointmentPreferences + * @param AppointmentPreference $appointmentPreferences An instance of AppointmentPreference + */ + public function setAppointmentPreferences(AppointmentPreference $appointmentPreferences) + { + $this->appointmentPreferences=$appointmentPreferences; + $this->keyModified['appointment_preferences'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/appointmentpreference/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/appointmentpreference/SuccessResponse.php new file mode 100644 index 0000000..1519280 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/appointmentpreference/SuccessResponse.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/assignmentrules/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/assignmentrules/APIException.php new file mode 100644 index 0000000..6a85d4a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/assignmentrules/APIException.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/assignmentrules/ActionResponse.php b/versions/5.0.0/src/com/zoho/crm/api/assignmentrules/ActionResponse.php new file mode 100644 index 0000000..634e96c --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/assignmentrules/ActionResponse.php @@ -0,0 +1,7 @@ +assignmentRules; + + } + + /** + * The method to set the value to assignmentRules + * @param array $assignmentRules A array + */ + public function setAssignmentRules(array $assignmentRules) + { + $this->assignmentRules=$assignmentRules; + $this->keyModified['assignment_rules'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/assignmentrules/AssignmentRules.php b/versions/5.0.0/src/com/zoho/crm/api/assignmentrules/AssignmentRules.php new file mode 100644 index 0000000..9dd0ce2 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/assignmentrules/AssignmentRules.php @@ -0,0 +1,258 @@ +createdTime; + + } + + /** + * The method to set the value to createdTime + * @param \DateTime $createdTime An instance of \DateTime + */ + public function setCreatedTime(\DateTime $createdTime) + { + $this->createdTime=$createdTime; + $this->keyModified['created_time'] = 1; + + } + + /** + * The method to get the modifiedTime + * @return \DateTime An instance of \DateTime + */ + public function getModifiedTime() + { + return $this->modifiedTime; + + } + + /** + * The method to set the value to modifiedTime + * @param \DateTime $modifiedTime An instance of \DateTime + */ + public function setModifiedTime(\DateTime $modifiedTime) + { + $this->modifiedTime=$modifiedTime; + $this->keyModified['modified_time'] = 1; + + } + + /** + * The method to get the defaultAssignee + * @return DefaultAssignee An instance of DefaultAssignee + */ + public function getDefaultAssignee() + { + return $this->defaultAssignee; + + } + + /** + * The method to set the value to defaultAssignee + * @param DefaultAssignee $defaultAssignee An instance of DefaultAssignee + */ + public function setDefaultAssignee(DefaultAssignee $defaultAssignee) + { + $this->defaultAssignee=$defaultAssignee; + $this->keyModified['default_assignee'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the modifiedBy + * @return User An instance of User + */ + public function getModifiedBy() + { + return $this->modifiedBy; + + } + + /** + * The method to set the value to modifiedBy + * @param User $modifiedBy An instance of User + */ + public function setModifiedBy(User $modifiedBy) + { + $this->modifiedBy=$modifiedBy; + $this->keyModified['modified_by'] = 1; + + } + + /** + * The method to get the createdBy + * @return User An instance of User + */ + public function getCreatedBy() + { + return $this->createdBy; + + } + + /** + * The method to set the value to createdBy + * @param User $createdBy An instance of User + */ + public function setCreatedBy(User $createdBy) + { + $this->createdBy=$createdBy; + $this->keyModified['created_by'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the module + * @return MinifiedModule An instance of MinifiedModule + */ + public function getModule() + { + return $this->module; + + } + + /** + * The method to set the value to module + * @param MinifiedModule $module An instance of MinifiedModule + */ + public function setModule(MinifiedModule $module) + { + $this->module=$module; + $this->keyModified['module'] = 1; + + } + + /** + * The method to get the description + * @return string A string representing the description + */ + public function getDescription() + { + return $this->description; + + } + + /** + * The method to set the value to description + * @param string $description A string + */ + public function setDescription(string $description) + { + $this->description=$description; + $this->keyModified['description'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/assignmentrules/AssignmentRulesOperations.php b/versions/5.0.0/src/com/zoho/crm/api/assignmentrules/AssignmentRulesOperations.php new file mode 100644 index 0000000..36047c4 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/assignmentrules/AssignmentRulesOperations.php @@ -0,0 +1,51 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to get assignment rule + * @param string $id A string + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function getAssignmentRule(string $id, ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/automation/assignment_rules/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/assignmentrules/DefaultAssignee.php b/versions/5.0.0/src/com/zoho/crm/api/assignmentrules/DefaultAssignee.php new file mode 100644 index 0000000..6d7a542 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/assignmentrules/DefaultAssignee.php @@ -0,0 +1,81 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/assignmentrules/GetAssignmentRuleParam.php b/versions/5.0.0/src/com/zoho/crm/api/assignmentrules/GetAssignmentRuleParam.php new file mode 100644 index 0000000..1ad8c18 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/assignmentrules/GetAssignmentRuleParam.php @@ -0,0 +1,14 @@ +assignmentRules; + + } + + /** + * The method to set the value to assignmentRules + * @param array $assignmentRules A array + */ + public function setAssignmentRules(array $assignmentRules) + { + $this->assignmentRules=$assignmentRules; + $this->keyModified['assignment_rules'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/assignmentrules/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/assignmentrules/SuccessResponse.php new file mode 100644 index 0000000..5915480 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/assignmentrules/SuccessResponse.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/assignmentrules/User.php b/versions/5.0.0/src/com/zoho/crm/api/assignmentrules/User.php new file mode 100644 index 0000000..be9a278 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/assignmentrules/User.php @@ -0,0 +1,126 @@ +zuid; + + } + + /** + * The method to set the value to zuid + * @param int $zuid A int + */ + public function setZuid(int $zuid) + { + $this->zuid=$zuid; + $this->keyModified['zuid'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the email + * @return string A string representing the email + */ + public function getEmail() + { + return $this->email; + + } + + /** + * The method to set the value to email + * @param string $email A string + */ + public function setEmail(string $email) + { + $this->email=$email; + $this->keyModified['email'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/associateemail/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/associateemail/APIException.php new file mode 100644 index 0000000..36cee90 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/associateemail/APIException.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/associateemail/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/associateemail/ActionHandler.php new file mode 100644 index 0000000..3119431 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/associateemail/ActionHandler.php @@ -0,0 +1,7 @@ +emails; + + } + + /** + * The method to set the value to emails + * @param array $emails A array + */ + public function setEmails(array $emails) + { + $this->emails=$emails; + $this->keyModified['Emails'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/associateemail/AssociateEmail.php b/versions/5.0.0/src/com/zoho/crm/api/associateemail/AssociateEmail.php new file mode 100644 index 0000000..0cd7355 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/associateemail/AssociateEmail.php @@ -0,0 +1,302 @@ +from; + + } + + /** + * The method to set the value to from + * @param From $from An instance of From + */ + public function setFrom(From $from) + { + $this->from=$from; + $this->keyModified['from'] = 1; + + } + + /** + * The method to get the to + * @return array A array representing the to + */ + public function getTo() + { + return $this->to; + + } + + /** + * The method to set the value to to + * @param array $to A array + */ + public function setTo(array $to) + { + $this->to=$to; + $this->keyModified['to'] = 1; + + } + + /** + * The method to get the cc + * @return array A array representing the cc + */ + public function getCc() + { + return $this->cc; + + } + + /** + * The method to set the value to cc + * @param array $cc A array + */ + public function setCc(array $cc) + { + $this->cc=$cc; + $this->keyModified['cc'] = 1; + + } + + /** + * The method to get the bcc + * @return array A array representing the bcc + */ + public function getBcc() + { + return $this->bcc; + + } + + /** + * The method to set the value to bcc + * @param array $bcc A array + */ + public function setBcc(array $bcc) + { + $this->bcc=$bcc; + $this->keyModified['bcc'] = 1; + + } + + /** + * The method to get the attachments + * @return array A array representing the attachments + */ + public function getAttachments() + { + return $this->attachments; + + } + + /** + * The method to set the value to attachments + * @param array $attachments A array + */ + public function setAttachments(array $attachments) + { + $this->attachments=$attachments; + $this->keyModified['attachments'] = 1; + + } + + /** + * The method to get the content + * @return string A string representing the content + */ + public function getContent() + { + return $this->content; + + } + + /** + * The method to set the value to content + * @param string $content A string + */ + public function setContent(string $content) + { + $this->content=$content; + $this->keyModified['content'] = 1; + + } + + /** + * The method to get the mailFormat + * @return Choice An instance of Choice + */ + public function getMailFormat() + { + return $this->mailFormat; + + } + + /** + * The method to set the value to mailFormat + * @param Choice $mailFormat An instance of Choice + */ + public function setMailFormat(Choice $mailFormat) + { + $this->mailFormat=$mailFormat; + $this->keyModified['mail_format'] = 1; + + } + + /** + * The method to get the subject + * @return string A string representing the subject + */ + public function getSubject() + { + return $this->subject; + + } + + /** + * The method to set the value to subject + * @param string $subject A string + */ + public function setSubject(string $subject) + { + $this->subject=$subject; + $this->keyModified['subject'] = 1; + + } + + /** + * The method to get the originalMessageId + * @return string A string representing the originalMessageId + */ + public function getOriginalMessageId() + { + return $this->originalMessageId; + + } + + /** + * The method to set the value to originalMessageId + * @param string $originalMessageId A string + */ + public function setOriginalMessageId(string $originalMessageId) + { + $this->originalMessageId=$originalMessageId; + $this->keyModified['original_message_id'] = 1; + + } + + /** + * The method to get the sent + * @return bool A bool representing the sent + */ + public function getSent() + { + return $this->sent; + + } + + /** + * The method to set the value to sent + * @param bool $sent A bool + */ + public function setSent(bool $sent) + { + $this->sent=$sent; + $this->keyModified['sent'] = 1; + + } + + /** + * The method to get the dateTime + * @return \DateTime An instance of \DateTime + */ + public function getDateTime() + { + return $this->dateTime; + + } + + /** + * The method to set the value to dateTime + * @param \DateTime $dateTime An instance of \DateTime + */ + public function setDateTime(\DateTime $dateTime) + { + $this->dateTime=$dateTime; + $this->keyModified['date_time'] = 1; + + } + + /** + * The method to get the linkedRecord + * @return LinkedRecord An instance of LinkedRecord + */ + public function getLinkedRecord() + { + return $this->linkedRecord; + + } + + /** + * The method to set the value to linkedRecord + * @param LinkedRecord $linkedRecord An instance of LinkedRecord + */ + public function setLinkedRecord(LinkedRecord $linkedRecord) + { + $this->linkedRecord=$linkedRecord; + $this->keyModified['linked_record'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/associateemail/AssociateEmailOperations.php b/versions/5.0.0/src/com/zoho/crm/api/associateemail/AssociateEmailOperations.php new file mode 100644 index 0000000..0716ab2 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/associateemail/AssociateEmailOperations.php @@ -0,0 +1,37 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/associateemail/Attachments.php b/versions/5.0.0/src/com/zoho/crm/api/associateemail/Attachments.php new file mode 100644 index 0000000..575deee --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/associateemail/Attachments.php @@ -0,0 +1,59 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/associateemail/Available.php b/versions/5.0.0/src/com/zoho/crm/api/associateemail/Available.php new file mode 100644 index 0000000..b2f7ce6 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/associateemail/Available.php @@ -0,0 +1,103 @@ +available; + + } + + /** + * The method to set the value to available + * @param bool $available A bool + */ + public function setAvailable(bool $available) + { + $this->available=$available; + $this->keyModified['available'] = 1; + + } + + /** + * The method to get the record + * @return Record An instance of Record + */ + public function getRecord() + { + return $this->record; + + } + + /** + * The method to set the value to record + * @param Record $record An instance of Record + */ + public function setRecord(Record $record) + { + $this->record=$record; + $this->keyModified['record'] = 1; + + } + + /** + * The method to get the linkedRecord + * @return LinkedRecord An instance of LinkedRecord + */ + public function getLinkedRecord() + { + return $this->linkedRecord; + + } + + /** + * The method to set the value to linkedRecord + * @param LinkedRecord $linkedRecord An instance of LinkedRecord + */ + public function setLinkedRecord(LinkedRecord $linkedRecord) + { + $this->linkedRecord=$linkedRecord; + $this->keyModified['linked_record'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/associateemail/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/associateemail/BodyWrapper.php new file mode 100644 index 0000000..9a717e9 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/associateemail/BodyWrapper.php @@ -0,0 +1,59 @@ +emails; + + } + + /** + * The method to set the value to emails + * @param array $emails A array + */ + public function setEmails(array $emails) + { + $this->emails=$emails; + $this->keyModified['Emails'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/associateemail/From.php b/versions/5.0.0/src/com/zoho/crm/api/associateemail/From.php new file mode 100644 index 0000000..d8be30b --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/associateemail/From.php @@ -0,0 +1,81 @@ +userName; + + } + + /** + * The method to set the value to userName + * @param string $userName A string + */ + public function setUserName(string $userName) + { + $this->userName=$userName; + $this->keyModified['user_name'] = 1; + + } + + /** + * The method to get the email + * @return string A string representing the email + */ + public function getEmail() + { + return $this->email; + + } + + /** + * The method to set the value to email + * @param string $email A string + */ + public function setEmail(string $email) + { + $this->email=$email; + $this->keyModified['email'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/associateemail/LinkedRecord.php b/versions/5.0.0/src/com/zoho/crm/api/associateemail/LinkedRecord.php new file mode 100644 index 0000000..0f128b0 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/associateemail/LinkedRecord.php @@ -0,0 +1,81 @@ +module; + + } + + /** + * The method to set the value to module + * @param ModuleMap $module An instance of ModuleMap + */ + public function setModule(ModuleMap $module) + { + $this->module=$module; + $this->keyModified['module'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/associateemail/ModuleMap.php b/versions/5.0.0/src/com/zoho/crm/api/associateemail/ModuleMap.php new file mode 100644 index 0000000..acc819c --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/associateemail/ModuleMap.php @@ -0,0 +1,81 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/associateemail/Record.php b/versions/5.0.0/src/com/zoho/crm/api/associateemail/Record.php new file mode 100644 index 0000000..6e4f283 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/associateemail/Record.php @@ -0,0 +1,103 @@ +module; + + } + + /** + * The method to set the value to module + * @param ModuleMap $module An instance of ModuleMap + */ + public function setModule(ModuleMap $module) + { + $this->module=$module; + $this->keyModified['module'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the linkedRecord + * @return LinkedRecord An instance of LinkedRecord + */ + public function getLinkedRecord() + { + return $this->linkedRecord; + + } + + /** + * The method to set the value to linkedRecord + * @param LinkedRecord $linkedRecord An instance of LinkedRecord + */ + public function setLinkedRecord(LinkedRecord $linkedRecord) + { + $this->linkedRecord=$linkedRecord; + $this->keyModified['linked_record'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/associateemail/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/associateemail/SuccessResponse.php new file mode 100644 index 0000000..6ce243d --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/associateemail/SuccessResponse.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/associateemail/To.php b/versions/5.0.0/src/com/zoho/crm/api/associateemail/To.php new file mode 100644 index 0000000..7ea9e17 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/associateemail/To.php @@ -0,0 +1,81 @@ +userName; + + } + + /** + * The method to set the value to userName + * @param string $userName A string + */ + public function setUserName(string $userName) + { + $this->userName=$userName; + $this->keyModified['user_name'] = 1; + + } + + /** + * The method to get the email + * @return string A string representing the email + */ + public function getEmail() + { + return $this->email; + + } + + /** + * The method to set the value to email + * @param string $email A string + */ + public function setEmail(string $email) + { + $this->email=$email; + $this->keyModified['email'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/attachments/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/attachments/APIException.php new file mode 100644 index 0000000..950ec31 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/attachments/APIException.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/attachments/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/attachments/ActionHandler.php new file mode 100644 index 0000000..48b98e5 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/attachments/ActionHandler.php @@ -0,0 +1,7 @@ +data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/attachments/Attachment.php b/versions/5.0.0/src/com/zoho/crm/api/attachments/Attachment.php new file mode 100644 index 0000000..541e386 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/attachments/Attachment.php @@ -0,0 +1,412 @@ +owner; + + } + + /** + * The method to set the value to owner + * @param MinifiedUser $owner An instance of MinifiedUser + */ + public function setOwner(MinifiedUser $owner) + { + $this->owner=$owner; + $this->keyModified['Owner'] = 1; + + } + + /** + * The method to get the modifiedBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getModifiedBy() + { + return $this->modifiedBy; + + } + + /** + * The method to set the value to modifiedBy + * @param MinifiedUser $modifiedBy An instance of MinifiedUser + */ + public function setModifiedBy(MinifiedUser $modifiedBy) + { + $this->modifiedBy=$modifiedBy; + $this->keyModified['Modified_By'] = 1; + + } + + /** + * The method to get the createdBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getCreatedBy() + { + return $this->createdBy; + + } + + /** + * The method to set the value to createdBy + * @param MinifiedUser $createdBy An instance of MinifiedUser + */ + public function setCreatedBy(MinifiedUser $createdBy) + { + $this->createdBy=$createdBy; + $this->keyModified['Created_By'] = 1; + + } + + /** + * The method to get the parentId + * @return ParentId An instance of ParentId + */ + public function getParentId() + { + return $this->parentId; + + } + + /** + * The method to set the value to parentId + * @param ParentId $parentId An instance of ParentId + */ + public function setParentId(ParentId $parentId) + { + $this->parentId=$parentId; + $this->keyModified['Parent_Id'] = 1; + + } + + /** + * The method to get the sharingPermission + * @return string A string representing the sharingPermission + */ + public function getSharingPermission() + { + return $this->sharingPermission; + + } + + /** + * The method to set the value to sharingPermission + * @param string $sharingPermission A string + */ + public function setSharingPermission(string $sharingPermission) + { + $this->sharingPermission=$sharingPermission; + $this->keyModified['$sharing_permission'] = 1; + + } + + /** + * The method to get the attachmentType + * @return int A int representing the attachmentType + */ + public function getAttachmentType() + { + return $this->attachmentType; + + } + + /** + * The method to set the value to attachmentType + * @param int $attachmentType A int + */ + public function setAttachmentType(int $attachmentType) + { + $this->attachmentType=$attachmentType; + $this->keyModified['$attachment_type'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the modifiedTime + * @return \DateTime An instance of \DateTime + */ + public function getModifiedTime() + { + return $this->modifiedTime; + + } + + /** + * The method to set the value to modifiedTime + * @param \DateTime $modifiedTime An instance of \DateTime + */ + public function setModifiedTime(\DateTime $modifiedTime) + { + $this->modifiedTime=$modifiedTime; + $this->keyModified['Modified_Time'] = 1; + + } + + /** + * The method to get the createdTime + * @return \DateTime An instance of \DateTime + */ + public function getCreatedTime() + { + return $this->createdTime; + + } + + /** + * The method to set the value to createdTime + * @param \DateTime $createdTime An instance of \DateTime + */ + public function setCreatedTime(\DateTime $createdTime) + { + $this->createdTime=$createdTime; + $this->keyModified['Created_Time'] = 1; + + } + + /** + * The method to get the fileName + * @return string A string representing the fileName + */ + public function getFileName() + { + return $this->fileName; + + } + + /** + * The method to set the value to fileName + * @param string $fileName A string + */ + public function setFileName(string $fileName) + { + $this->fileName=$fileName; + $this->keyModified['File_Name'] = 1; + + } + + /** + * The method to get the size + * @return string A string representing the size + */ + public function getSize() + { + return $this->size; + + } + + /** + * The method to set the value to size + * @param string $size A string + */ + public function setSize(string $size) + { + $this->size=$size; + $this->keyModified['Size'] = 1; + + } + + /** + * The method to get the editable + * @return bool A bool representing the editable + */ + public function getEditable() + { + return $this->editable; + + } + + /** + * The method to set the value to editable + * @param bool $editable A bool + */ + public function setEditable(bool $editable) + { + $this->editable=$editable; + $this->keyModified['$editable'] = 1; + + } + + /** + * The method to get the fileId + * @return string A string representing the fileId + */ + public function getFileId() + { + return $this->fileId; + + } + + /** + * The method to set the value to fileId + * @param string $fileId A string + */ + public function setFileId(string $fileId) + { + $this->fileId=$fileId; + $this->keyModified['$file_id'] = 1; + + } + + /** + * The method to get the type + * @return string A string representing the type + */ + public function getType() + { + return $this->type; + + } + + /** + * The method to set the value to type + * @param string $type A string + */ + public function setType(string $type) + { + $this->type=$type; + $this->keyModified['$type'] = 1; + + } + + /** + * The method to get the seModule + * @return string A string representing the seModule + */ + public function getSeModule() + { + return $this->seModule; + + } + + /** + * The method to set the value to seModule + * @param string $seModule A string + */ + public function setSeModule(string $seModule) + { + $this->seModule=$seModule; + $this->keyModified['$se_module'] = 1; + + } + + /** + * The method to get the state + * @return string A string representing the state + */ + public function getState() + { + return $this->state; + + } + + /** + * The method to set the value to state + * @param string $state A string + */ + public function setState(string $state) + { + $this->state=$state; + $this->keyModified['$state'] = 1; + + } + + /** + * The method to get the linkUrl + * @return string A string representing the linkUrl + */ + public function getLinkUrl() + { + return $this->linkUrl; + + } + + /** + * The method to set the value to linkUrl + * @param string $linkUrl A string + */ + public function setLinkUrl(string $linkUrl) + { + $this->linkUrl=$linkUrl; + $this->keyModified['$link_url'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/attachments/AttachmentsOperations.php b/versions/5.0.0/src/com/zoho/crm/api/attachments/AttachmentsOperations.php new file mode 100644 index 0000000..eaa2a75 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/attachments/AttachmentsOperations.php @@ -0,0 +1,159 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('multipart/form-data'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get attachments + * @param string $recordId A string + * @param string $module A string + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function getAttachments(string $recordId, string $module, ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($module)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($recordId)); + $apiPath=$apiPath.('/Attachments'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to upload url attachments + * @param string $recordId A string + * @param string $module A string + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function uploadUrlAttachments(string $recordId, string $module, ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($module)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($recordId)); + $apiPath=$apiPath.('/Attachments'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_ACTION); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to delete attachments + * @param string $recordId A string + * @param string $module A string + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function deleteAttachments(string $recordId, string $module, ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($module)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($recordId)); + $apiPath=$apiPath.('/Attachments'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setCategoryMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get attachment + * @param string $id A string + * @param string $recordId A string + * @param string $module A string + * @return APIResponse An instance of APIResponse + */ + public function getAttachment(string $id, string $recordId, string $module) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($module)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($recordId)); + $apiPath=$apiPath.('/Attachments/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + return $handlerInstance->apiCall(ResponseHandler::class, 'image/png'); + + } + + /** + * The method to delete attachment + * @param string $id A string + * @param string $recordId A string + * @param string $module A string + * @return APIResponse An instance of APIResponse + */ + public function deleteAttachment(string $id, string $recordId, string $module) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($module)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($recordId)); + $apiPath=$apiPath.('/Attachments/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setCategoryMethod(Constants::REQUEST_METHOD_DELETE); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/attachments/DeleteAttachmentsParam.php b/versions/5.0.0/src/com/zoho/crm/api/attachments/DeleteAttachmentsParam.php new file mode 100644 index 0000000..f8e1c0e --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/attachments/DeleteAttachmentsParam.php @@ -0,0 +1,14 @@ +file; + + } + + /** + * The method to set the value to file + * @param StreamWrapper $file An instance of StreamWrapper + */ + public function setFile(StreamWrapper $file) + { + $this->file=$file; + $this->keyModified['file'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/attachments/GetAttachmentsParam.php b/versions/5.0.0/src/com/zoho/crm/api/attachments/GetAttachmentsParam.php new file mode 100644 index 0000000..6d47ee5 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/attachments/GetAttachmentsParam.php @@ -0,0 +1,29 @@ +perPage; + + } + + /** + * The method to set the value to perPage + * @param int $perPage A int + */ + public function setPerPage(int $perPage) + { + $this->perPage=$perPage; + $this->keyModified['per_page'] = 1; + + } + + /** + * The method to get the page + * @return int A int representing the page + */ + public function getPage() + { + return $this->page; + + } + + /** + * The method to set the value to page + * @param int $page A int + */ + public function setPage(int $page) + { + $this->page=$page; + $this->keyModified['page'] = 1; + + } + + /** + * The method to get the count + * @return int A int representing the count + */ + public function getCount() + { + return $this->count; + + } + + /** + * The method to set the value to count + * @param int $count A int + */ + public function setCount(int $count) + { + $this->count=$count; + $this->keyModified['count'] = 1; + + } + + /** + * The method to get the moreRecords + * @return bool A bool representing the moreRecords + */ + public function getMoreRecords() + { + return $this->moreRecords; + + } + + /** + * The method to set the value to moreRecords + * @param bool $moreRecords A bool + */ + public function setMoreRecords(bool $moreRecords) + { + $this->moreRecords=$moreRecords; + $this->keyModified['more_records'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/attachments/Owner.php b/versions/5.0.0/src/com/zoho/crm/api/attachments/Owner.php new file mode 100644 index 0000000..5b33b69 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/attachments/Owner.php @@ -0,0 +1,103 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the email + * @return string A string representing the email + */ + public function getEmail() + { + return $this->email; + + } + + /** + * The method to set the value to email + * @param string $email A string + */ + public function setEmail(string $email) + { + $this->email=$email; + $this->keyModified['email'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/attachments/ParentId.php b/versions/5.0.0/src/com/zoho/crm/api/attachments/ParentId.php new file mode 100644 index 0000000..7ad26dd --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/attachments/ParentId.php @@ -0,0 +1,81 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/attachments/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/attachments/ResponseHandler.php new file mode 100644 index 0000000..15a8dd6 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/attachments/ResponseHandler.php @@ -0,0 +1,7 @@ +data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to get the info + * @return Info An instance of Info + */ + public function getInfo() + { + return $this->info; + + } + + /** + * The method to set the value to info + * @param Info $info An instance of Info + */ + public function setInfo(Info $info) + { + $this->info=$info; + $this->keyModified['info'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/attachments/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/attachments/SuccessResponse.php new file mode 100644 index 0000000..5c39262 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/attachments/SuccessResponse.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/attachments/UploadUrlAttachmentsParam.php b/versions/5.0.0/src/com/zoho/crm/api/attachments/UploadUrlAttachmentsParam.php new file mode 100644 index 0000000..fd8418e --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/attachments/UploadUrlAttachmentsParam.php @@ -0,0 +1,19 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/availablecurrencies/AvailableCurrenciesOperations.php b/versions/5.0.0/src/com/zoho/crm/api/availablecurrencies/AvailableCurrenciesOperations.php new file mode 100644 index 0000000..3e7c4e1 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/availablecurrencies/AvailableCurrenciesOperations.php @@ -0,0 +1,27 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/availablecurrencies/Currency.php b/versions/5.0.0/src/com/zoho/crm/api/availablecurrencies/Currency.php new file mode 100644 index 0000000..d39f420 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/availablecurrencies/Currency.php @@ -0,0 +1,191 @@ +displayValue; + + } + + /** + * The method to set the value to displayValue + * @param string $displayValue A string + */ + public function setDisplayValue(string $displayValue) + { + $this->displayValue=$displayValue; + $this->keyModified['display_value'] = 1; + + } + + /** + * The method to get the decimalSeparator + * @return string A string representing the decimalSeparator + */ + public function getDecimalSeparator() + { + return $this->decimalSeparator; + + } + + /** + * The method to set the value to decimalSeparator + * @param string $decimalSeparator A string + */ + public function setDecimalSeparator(string $decimalSeparator) + { + $this->decimalSeparator=$decimalSeparator; + $this->keyModified['decimal_separator'] = 1; + + } + + /** + * The method to get the symbol + * @return string A string representing the symbol + */ + public function getSymbol() + { + return $this->symbol; + + } + + /** + * The method to set the value to symbol + * @param string $symbol A string + */ + public function setSymbol(string $symbol) + { + $this->symbol=$symbol; + $this->keyModified['symbol'] = 1; + + } + + /** + * The method to get the thousandSeparator + * @return string A string representing the thousandSeparator + */ + public function getThousandSeparator() + { + return $this->thousandSeparator; + + } + + /** + * The method to set the value to thousandSeparator + * @param string $thousandSeparator A string + */ + public function setThousandSeparator(string $thousandSeparator) + { + $this->thousandSeparator=$thousandSeparator; + $this->keyModified['thousand_separator'] = 1; + + } + + /** + * The method to get the displayName + * @return string A string representing the displayName + */ + public function getDisplayName() + { + return $this->displayName; + + } + + /** + * The method to set the value to displayName + * @param string $displayName A string + */ + public function setDisplayName(string $displayName) + { + $this->displayName=$displayName; + $this->keyModified['display_name'] = 1; + + } + + /** + * The method to get the isoCode + * @return string A string representing the isoCode + */ + public function getIsoCode() + { + return $this->isoCode; + + } + + /** + * The method to set the value to isoCode + * @param string $isoCode A string + */ + public function setIsoCode(string $isoCode) + { + $this->isoCode=$isoCode; + $this->keyModified['iso_code'] = 1; + + } + + /** + * The method to get the decimalPlaces + * @return string A string representing the decimalPlaces + */ + public function getDecimalPlaces() + { + return $this->decimalPlaces; + + } + + /** + * The method to set the value to decimalPlaces + * @param string $decimalPlaces A string + */ + public function setDecimalPlaces(string $decimalPlaces) + { + $this->decimalPlaces=$decimalPlaces; + $this->keyModified['decimal_places'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/availablecurrencies/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/availablecurrencies/ResponseHandler.php new file mode 100644 index 0000000..51ea462 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/availablecurrencies/ResponseHandler.php @@ -0,0 +1,7 @@ +availableCurrencies; + + } + + /** + * The method to set the value to availableCurrencies + * @param array $availableCurrencies A array + */ + public function setAvailableCurrencies(array $availableCurrencies) + { + $this->availableCurrencies=$availableCurrencies; + $this->keyModified['available_currencies'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/backup/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/backup/APIException.php new file mode 100644 index 0000000..573ad3d --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/backup/APIException.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/backup/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/backup/ActionHandler.php new file mode 100644 index 0000000..a64e4ca --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/backup/ActionHandler.php @@ -0,0 +1,7 @@ +backup; + + } + + /** + * The method to set the value to backup + * @param ActionResponse $backup An instance of ActionResponse + */ + public function setBackup(ActionResponse $backup) + { + $this->backup=$backup; + $this->keyModified['backup'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/backup/Backup.php b/versions/5.0.0/src/com/zoho/crm/api/backup/Backup.php new file mode 100644 index 0000000..64a5180 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/backup/Backup.php @@ -0,0 +1,169 @@ +rrule; + + } + + /** + * The method to set the value to rrule + * @param string $rrule A string + */ + public function setRrule(string $rrule) + { + $this->rrule=$rrule; + $this->keyModified['rrule'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the startDate + * @return \DateTime An instance of \DateTime + */ + public function getStartDate() + { + return $this->startDate; + + } + + /** + * The method to set the value to startDate + * @param \DateTime $startDate An instance of \DateTime + */ + public function setStartDate(\DateTime $startDate) + { + $this->startDate=$startDate; + $this->keyModified['start_date'] = 1; + + } + + /** + * The method to get the scheduledDate + * @return \DateTime An instance of \DateTime + */ + public function getScheduledDate() + { + return $this->scheduledDate; + + } + + /** + * The method to set the value to scheduledDate + * @param \DateTime $scheduledDate An instance of \DateTime + */ + public function setScheduledDate(\DateTime $scheduledDate) + { + $this->scheduledDate=$scheduledDate; + $this->keyModified['scheduled_date'] = 1; + + } + + /** + * The method to get the status + * @return string A string representing the status + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param string $status A string + */ + public function setStatus(string $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the requester + * @return Requester An instance of Requester + */ + public function getRequester() + { + return $this->requester; + + } + + /** + * The method to set the value to requester + * @param Requester $requester An instance of Requester + */ + public function setRequester(Requester $requester) + { + $this->requester=$requester; + $this->keyModified['requester'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/backup/BackupOperations.php b/versions/5.0.0/src/com/zoho/crm/api/backup/BackupOperations.php new file mode 100644 index 0000000..e1bf3dc --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/backup/BackupOperations.php @@ -0,0 +1,120 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get details + * @return APIResponse An instance of APIResponse + */ + public function getDetails() + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/bulk/v6/backup'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to get urls + * @return APIResponse An instance of APIResponse + */ + public function getUrls() + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/bulk/v6/backup/urls'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_ACTION); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to history + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function history(ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/bulk/v6/backup/history'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_ACTION); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to cancel + * @param string $id A string + * @return APIResponse An instance of APIResponse + */ + public function cancel(string $id) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/bulk/v6/backup/'); + $apiPath=$apiPath.(strval($id)); + $apiPath=$apiPath.('/actions/cancel'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_ACTION); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to download backed up data + * @param string $downloadUrl A string + * @return APIResponse An instance of APIResponse + */ + public function downloadBackedUpData(string $downloadUrl) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($downloadUrl)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/octet-stream'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/backup/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/backup/BodyWrapper.php new file mode 100644 index 0000000..5bed6fb --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/backup/BodyWrapper.php @@ -0,0 +1,59 @@ +backup; + + } + + /** + * The method to set the value to backup + * @param Backup $backup An instance of Backup + */ + public function setBackup(Backup $backup) + { + $this->backup=$backup; + $this->keyModified['backup'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/backup/FileBodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/backup/FileBodyWrapper.php new file mode 100644 index 0000000..43c5504 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/backup/FileBodyWrapper.php @@ -0,0 +1,60 @@ +file; + + } + + /** + * The method to set the value to file + * @param StreamWrapper $file An instance of StreamWrapper + */ + public function setFile(StreamWrapper $file) + { + $this->file=$file; + $this->keyModified['file'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/backup/HISTORYParam.php b/versions/5.0.0/src/com/zoho/crm/api/backup/HISTORYParam.php new file mode 100644 index 0000000..067cb3b --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/backup/HISTORYParam.php @@ -0,0 +1,19 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the logTime + * @return \DateTime An instance of \DateTime + */ + public function getLogTime() + { + return $this->logTime; + + } + + /** + * The method to set the value to logTime + * @param \DateTime $logTime An instance of \DateTime + */ + public function setLogTime(\DateTime $logTime) + { + $this->logTime=$logTime; + $this->keyModified['log_time'] = 1; + + } + + /** + * The method to get the action + * @return string A string representing the action + */ + public function getAction() + { + return $this->action; + + } + + /** + * The method to set the value to action + * @param string $action A string + */ + public function setAction(string $action) + { + $this->action=$action; + $this->keyModified['action'] = 1; + + } + + /** + * The method to get the repeatType + * @return string A string representing the repeatType + */ + public function getRepeatType() + { + return $this->repeatType; + + } + + /** + * The method to set the value to repeatType + * @param string $repeatType A string + */ + public function setRepeatType(string $repeatType) + { + $this->repeatType=$repeatType; + $this->keyModified['repeat_type'] = 1; + + } + + /** + * The method to get the count + * @return int A int representing the count + */ + public function getCount() + { + return $this->count; + + } + + /** + * The method to set the value to count + * @param int $count A int + */ + public function setCount(int $count) + { + $this->count=$count; + $this->keyModified['count'] = 1; + + } + + /** + * The method to get the fileName + * @return string A string representing the fileName + */ + public function getFileName() + { + return $this->fileName; + + } + + /** + * The method to set the value to fileName + * @param string $fileName A string + */ + public function setFileName(string $fileName) + { + $this->fileName=$fileName; + $this->keyModified['file_name'] = 1; + + } + + /** + * The method to get the state + * @return string A string representing the state + */ + public function getState() + { + return $this->state; + + } + + /** + * The method to set the value to state + * @param string $state A string + */ + public function setState(string $state) + { + $this->state=$state; + $this->keyModified['state'] = 1; + + } + + /** + * The method to get the doneBy + * @return Requester An instance of Requester + */ + public function getDoneBy() + { + return $this->doneBy; + + } + + /** + * The method to set the value to doneBy + * @param Requester $doneBy An instance of Requester + */ + public function setDoneBy(Requester $doneBy) + { + $this->doneBy=$doneBy; + $this->keyModified['done_by'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/backup/HistoryWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/backup/HistoryWrapper.php new file mode 100644 index 0000000..f9b0dd1 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/backup/HistoryWrapper.php @@ -0,0 +1,81 @@ +history; + + } + + /** + * The method to set the value to history + * @param array $history A array + */ + public function setHistory(array $history) + { + $this->history=$history; + $this->keyModified['history'] = 1; + + } + + /** + * The method to get the info + * @return Info An instance of Info + */ + public function getInfo() + { + return $this->info; + + } + + /** + * The method to set the value to info + * @param Info $info An instance of Info + */ + public function setInfo(Info $info) + { + $this->info=$info; + $this->keyModified['info'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/backup/Info.php b/versions/5.0.0/src/com/zoho/crm/api/backup/Info.php new file mode 100644 index 0000000..df833de --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/backup/Info.php @@ -0,0 +1,125 @@ +perPage; + + } + + /** + * The method to set the value to perPage + * @param int $perPage A int + */ + public function setPerPage(int $perPage) + { + $this->perPage=$perPage; + $this->keyModified['per_page'] = 1; + + } + + /** + * The method to get the count + * @return int A int representing the count + */ + public function getCount() + { + return $this->count; + + } + + /** + * The method to set the value to count + * @param int $count A int + */ + public function setCount(int $count) + { + $this->count=$count; + $this->keyModified['count'] = 1; + + } + + /** + * The method to get the page + * @return int A int representing the page + */ + public function getPage() + { + return $this->page; + + } + + /** + * The method to set the value to page + * @param int $page A int + */ + public function setPage(int $page) + { + $this->page=$page; + $this->keyModified['page'] = 1; + + } + + /** + * The method to get the moreRecords + * @return bool A bool representing the moreRecords + */ + public function getMoreRecords() + { + return $this->moreRecords; + + } + + /** + * The method to set the value to moreRecords + * @param bool $moreRecords A bool + */ + public function setMoreRecords(bool $moreRecords) + { + $this->moreRecords=$moreRecords; + $this->keyModified['more_records'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/backup/Requester.php b/versions/5.0.0/src/com/zoho/crm/api/backup/Requester.php new file mode 100644 index 0000000..ce679c3 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/backup/Requester.php @@ -0,0 +1,103 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the zuid + * @return string A string representing the zuid + */ + public function getZuid() + { + return $this->zuid; + + } + + /** + * The method to set the value to zuid + * @param string $zuid A string + */ + public function setZuid(string $zuid) + { + $this->zuid=$zuid; + $this->keyModified['zuid'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/backup/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/backup/ResponseHandler.php new file mode 100644 index 0000000..5c873d1 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/backup/ResponseHandler.php @@ -0,0 +1,7 @@ +backup; + + } + + /** + * The method to set the value to backup + * @param Backup $backup An instance of Backup + */ + public function setBackup(Backup $backup) + { + $this->backup=$backup; + $this->keyModified['backup'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/backup/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/backup/SuccessResponse.php new file mode 100644 index 0000000..ac7c18a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/backup/SuccessResponse.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/backup/Urls.php b/versions/5.0.0/src/com/zoho/crm/api/backup/Urls.php new file mode 100644 index 0000000..7f0aa52 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/backup/Urls.php @@ -0,0 +1,103 @@ +dataLinks; + + } + + /** + * The method to set the value to dataLinks + * @param array $dataLinks A array + */ + public function setDataLinks(array $dataLinks) + { + $this->dataLinks=$dataLinks; + $this->keyModified['data_links'] = 1; + + } + + /** + * The method to get the attachmentLinks + * @return array A array representing the attachmentLinks + */ + public function getAttachmentLinks() + { + return $this->attachmentLinks; + + } + + /** + * The method to set the value to attachmentLinks + * @param array $attachmentLinks A array + */ + public function setAttachmentLinks(array $attachmentLinks) + { + $this->attachmentLinks=$attachmentLinks; + $this->keyModified['attachment_links'] = 1; + + } + + /** + * The method to get the expiryDate + * @return \DateTime An instance of \DateTime + */ + public function getExpiryDate() + { + return $this->expiryDate; + + } + + /** + * The method to set the value to expiryDate + * @param \DateTime $expiryDate An instance of \DateTime + */ + public function setExpiryDate(\DateTime $expiryDate) + { + $this->expiryDate=$expiryDate; + $this->keyModified['expiry_date'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/backup/UrlsWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/backup/UrlsWrapper.php new file mode 100644 index 0000000..2ddc9ec --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/backup/UrlsWrapper.php @@ -0,0 +1,59 @@ +urls; + + } + + /** + * The method to set the value to urls + * @param Urls $urls An instance of Urls + */ + public function setUrls(Urls $urls) + { + $this->urls=$urls; + $this->keyModified['urls'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/blueprint/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/blueprint/APIException.php new file mode 100644 index 0000000..883d322 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/blueprint/APIException.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/blueprint/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/blueprint/ActionHandler.php new file mode 100644 index 0000000..8029cf2 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/blueprint/ActionHandler.php @@ -0,0 +1,7 @@ +lookupField; + + } + + /** + * The method to set the value to lookupField + * @param LookupField $lookupField An instance of LookupField + */ + public function setLookupField(LookupField $lookupField) + { + $this->lookupField=$lookupField; + $this->keyModified['lookup_field'] = 1; + + } + + /** + * The method to get the relatedField + * @return LookupField An instance of LookupField + */ + public function getRelatedField() + { + return $this->relatedField; + + } + + /** + * The method to set the value to relatedField + * @param LookupField $relatedField An instance of LookupField + */ + public function setRelatedField(LookupField $relatedField) + { + $this->relatedField=$relatedField; + $this->keyModified['related_field'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/blueprint/AutoNumber.php b/versions/5.0.0/src/com/zoho/crm/api/blueprint/AutoNumber.php new file mode 100644 index 0000000..88ce80c --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/blueprint/AutoNumber.php @@ -0,0 +1,103 @@ +prefix; + + } + + /** + * The method to set the value to prefix + * @param string $prefix A string + */ + public function setPrefix(string $prefix) + { + $this->prefix=$prefix; + $this->keyModified['prefix'] = 1; + + } + + /** + * The method to get the suffix + * @return string A string representing the suffix + */ + public function getSuffix() + { + return $this->suffix; + + } + + /** + * The method to set the value to suffix + * @param string $suffix A string + */ + public function setSuffix(string $suffix) + { + $this->suffix=$suffix; + $this->keyModified['suffix'] = 1; + + } + + /** + * The method to get the startNumber + * @return int A int representing the startNumber + */ + public function getStartNumber() + { + return $this->startNumber; + + } + + /** + * The method to set the value to startNumber + * @param int $startNumber A int + */ + public function setStartNumber(int $startNumber) + { + $this->startNumber=$startNumber; + $this->keyModified['start_number'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/blueprint/BluePrint.php b/versions/5.0.0/src/com/zoho/crm/api/blueprint/BluePrint.php new file mode 100644 index 0000000..f5a1d8a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/blueprint/BluePrint.php @@ -0,0 +1,126 @@ +transitionId; + + } + + /** + * The method to set the value to transitionId + * @param string $transitionId A string + */ + public function setTransitionId(string $transitionId) + { + $this->transitionId=$transitionId; + $this->keyModified['transition_id'] = 1; + + } + + /** + * The method to get the data + * @return Record An instance of Record + */ + public function getData() + { + return $this->data; + + } + + /** + * The method to set the value to data + * @param Record $data An instance of Record + */ + public function setData(Record $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to get the processInfo + * @return ProcessInfo An instance of ProcessInfo + */ + public function getProcessInfo() + { + return $this->processInfo; + + } + + /** + * The method to set the value to processInfo + * @param ProcessInfo $processInfo An instance of ProcessInfo + */ + public function setProcessInfo(ProcessInfo $processInfo) + { + $this->processInfo=$processInfo; + $this->keyModified['process_info'] = 1; + + } + + /** + * The method to get the transitions + * @return array A array representing the transitions + */ + public function getTransitions() + { + return $this->transitions; + + } + + /** + * The method to set the value to transitions + * @param array $transitions A array + */ + public function setTransitions(array $transitions) + { + $this->transitions=$transitions; + $this->keyModified['transitions'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/blueprint/BlueprintOperations.php b/versions/5.0.0/src/com/zoho/crm/api/blueprint/BlueprintOperations.php new file mode 100644 index 0000000..32d604e --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/blueprint/BlueprintOperations.php @@ -0,0 +1,70 @@ +recordId=$recordId; + $this->moduleAPIName=$moduleAPIName; + + } + + /** + * The method to get blueprint + * @return APIResponse An instance of APIResponse + */ + public function getBlueprint() + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleAPIName)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($this->recordId)); + $apiPath=$apiPath.('/actions/blueprint'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to update blueprint + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updateBlueprint(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleAPIName)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($this->recordId)); + $apiPath=$apiPath.('/actions/blueprint'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/blueprint/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/blueprint/BodyWrapper.php new file mode 100644 index 0000000..d8a77e5 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/blueprint/BodyWrapper.php @@ -0,0 +1,59 @@ +blueprint; + + } + + /** + * The method to set the value to blueprint + * @param array $blueprint A array + */ + public function setBlueprint(array $blueprint) + { + $this->blueprint=$blueprint; + $this->keyModified['blueprint'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/blueprint/Crypt.php b/versions/5.0.0/src/com/zoho/crm/api/blueprint/Crypt.php new file mode 100644 index 0000000..e7a999e --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/blueprint/Crypt.php @@ -0,0 +1,125 @@ +mode; + + } + + /** + * The method to set the value to mode + * @param string $mode A string + */ + public function setMode(string $mode) + { + $this->mode=$mode; + $this->keyModified['mode'] = 1; + + } + + /** + * The method to get the column + * @return string A string representing the column + */ + public function getColumn() + { + return $this->column; + + } + + /** + * The method to set the value to column + * @param string $column A string + */ + public function setColumn(string $column) + { + $this->column=$column; + $this->keyModified['column'] = 1; + + } + + /** + * The method to get the table + * @return string A string representing the table + */ + public function getTable() + { + return $this->table; + + } + + /** + * The method to set the value to table + * @param string $table A string + */ + public function setTable(string $table) + { + $this->table=$table; + $this->keyModified['table'] = 1; + + } + + /** + * The method to get the status + * @return int A int representing the status + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param int $status A int + */ + public function setStatus(int $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/blueprint/Currency.php b/versions/5.0.0/src/com/zoho/crm/api/blueprint/Currency.php new file mode 100644 index 0000000..2153df9 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/blueprint/Currency.php @@ -0,0 +1,81 @@ +roundingOption; + + } + + /** + * The method to set the value to roundingOption + * @param string $roundingOption A string + */ + public function setRoundingOption(string $roundingOption) + { + $this->roundingOption=$roundingOption; + $this->keyModified['rounding_option'] = 1; + + } + + /** + * The method to get the precision + * @return int A int representing the precision + */ + public function getPrecision() + { + return $this->precision; + + } + + /** + * The method to set the value to precision + * @param int $precision A int + */ + public function setPrecision(int $precision) + { + $this->precision=$precision; + $this->keyModified['precision'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/blueprint/Escalation.php b/versions/5.0.0/src/com/zoho/crm/api/blueprint/Escalation.php new file mode 100644 index 0000000..6ee6c7c --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/blueprint/Escalation.php @@ -0,0 +1,81 @@ +days; + + } + + /** + * The method to set the value to days + * @param int $days A int + */ + public function setDays(int $days) + { + $this->days=$days; + $this->keyModified['days'] = 1; + + } + + /** + * The method to get the status + * @return string A string representing the status + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param string $status A string + */ + public function setStatus(string $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/blueprint/Field.php b/versions/5.0.0/src/com/zoho/crm/api/blueprint/Field.php new file mode 100644 index 0000000..2036c74 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/blueprint/Field.php @@ -0,0 +1,1055 @@ +external; + + } + + /** + * The method to set the value to external + * @param External $external An instance of External + */ + public function setExternal(External $external) + { + $this->external=$external; + $this->keyModified['external'] = 1; + + } + + /** + * The method to get the displayType + * @return Choice An instance of Choice + */ + public function getDisplayType() + { + return $this->displayType; + + } + + /** + * The method to set the value to displayType + * @param Choice $displayType An instance of Choice + */ + public function setDisplayType(Choice $displayType) + { + $this->displayType=$displayType; + $this->keyModified['display_type'] = 1; + + } + + /** + * The method to get the filterable + * @return bool A bool representing the filterable + */ + public function getFilterable() + { + return $this->filterable; + + } + + /** + * The method to set the value to filterable + * @param bool $filterable A bool + */ + public function setFilterable(bool $filterable) + { + $this->filterable=$filterable; + $this->keyModified['filterable'] = 1; + + } + + /** + * The method to get the pickListValuesSortedLexically + * @return bool A bool representing the pickListValuesSortedLexically + */ + public function getPickListValuesSortedLexically() + { + return $this->pickListValuesSortedLexically; + + } + + /** + * The method to set the value to pickListValuesSortedLexically + * @param bool $pickListValuesSortedLexically A bool + */ + public function setPickListValuesSortedLexically(bool $pickListValuesSortedLexically) + { + $this->pickListValuesSortedLexically=$pickListValuesSortedLexically; + $this->keyModified['pick_list_values_sorted_lexically'] = 1; + + } + + /** + * The method to get the sortable + * @return bool A bool representing the sortable + */ + public function getSortable() + { + return $this->sortable; + + } + + /** + * The method to set the value to sortable + * @param bool $sortable A bool + */ + public function setSortable(bool $sortable) + { + $this->sortable=$sortable; + $this->keyModified['sortable'] = 1; + + } + + /** + * The method to get the uiType + * @return int A int representing the uiType + */ + public function getUiType() + { + return $this->uiType; + + } + + /** + * The method to set the value to uiType + * @param int $uiType A int + */ + public function setUiType(int $uiType) + { + $this->uiType=$uiType; + $this->keyModified['ui_type'] = 1; + + } + + /** + * The method to get the private + * @return Private1 An instance of Private1 + */ + public function getPrivate() + { + return $this->private; + + } + + /** + * The method to set the value to private + * @param Private1 $private An instance of Private1 + */ + public function setPrivate(Private1 $private) + { + $this->private=$private; + $this->keyModified['private'] = 1; + + } + + /** + * The method to get the systemMandatory + * @return bool A bool representing the systemMandatory + */ + public function getSystemMandatory() + { + return $this->systemMandatory; + + } + + /** + * The method to set the value to systemMandatory + * @param bool $systemMandatory A bool + */ + public function setSystemMandatory(bool $systemMandatory) + { + $this->systemMandatory=$systemMandatory; + $this->keyModified['system_mandatory'] = 1; + + } + + /** + * The method to get the webhook + * @return bool A bool representing the webhook + */ + public function getWebhook() + { + return $this->webhook; + + } + + /** + * The method to set the value to webhook + * @param bool $webhook A bool + */ + public function setWebhook(bool $webhook) + { + $this->webhook=$webhook; + $this->keyModified['webhook'] = 1; + + } + + /** + * The method to get the jsonType + * @return string A string representing the jsonType + */ + public function getJsonType() + { + return $this->jsonType; + + } + + /** + * The method to set the value to jsonType + * @param string $jsonType A string + */ + public function setJsonType(string $jsonType) + { + $this->jsonType=$jsonType; + $this->keyModified['json_type'] = 1; + + } + + /** + * The method to get the crypt + * @return Crypt An instance of Crypt + */ + public function getCrypt() + { + return $this->crypt; + + } + + /** + * The method to set the value to crypt + * @param Crypt $crypt An instance of Crypt + */ + public function setCrypt(Crypt $crypt) + { + $this->crypt=$crypt; + $this->keyModified['crypt'] = 1; + + } + + /** + * The method to get the fieldLabel + * @return string A string representing the fieldLabel + */ + public function getFieldLabel() + { + return $this->fieldLabel; + + } + + /** + * The method to set the value to fieldLabel + * @param string $fieldLabel A string + */ + public function setFieldLabel(string $fieldLabel) + { + $this->fieldLabel=$fieldLabel; + $this->keyModified['field_label'] = 1; + + } + + /** + * The method to get the tooltip + * @return ToolTip An instance of ToolTip + */ + public function getTooltip() + { + return $this->tooltip; + + } + + /** + * The method to set the value to tooltip + * @param ToolTip $tooltip An instance of ToolTip + */ + public function setTooltip(ToolTip $tooltip) + { + $this->tooltip=$tooltip; + $this->keyModified['tooltip'] = 1; + + } + + /** + * The method to get the createdSource + * @return string A string representing the createdSource + */ + public function getCreatedSource() + { + return $this->createdSource; + + } + + /** + * The method to set the value to createdSource + * @param string $createdSource A string + */ + public function setCreatedSource(string $createdSource) + { + $this->createdSource=$createdSource; + $this->keyModified['created_source'] = 1; + + } + + /** + * The method to get the layouts + * @return Layout An instance of Layout + */ + public function getLayouts() + { + return $this->layouts; + + } + + /** + * The method to set the value to layouts + * @param Layout $layouts An instance of Layout + */ + public function setLayouts(Layout $layouts) + { + $this->layouts=$layouts; + $this->keyModified['layouts'] = 1; + + } + + /** + * The method to get the fieldReadOnly + * @return bool A bool representing the fieldReadOnly + */ + public function getFieldReadOnly() + { + return $this->fieldReadOnly; + + } + + /** + * The method to set the value to fieldReadOnly + * @param bool $fieldReadOnly A bool + */ + public function setFieldReadOnly(bool $fieldReadOnly) + { + $this->fieldReadOnly=$fieldReadOnly; + $this->keyModified['field_read_only'] = 1; + + } + + /** + * The method to get the content + * @return string A string representing the content + */ + public function getContent() + { + return $this->content; + + } + + /** + * The method to set the value to content + * @param string $content A string + */ + public function setContent(string $content) + { + $this->content=$content; + $this->keyModified['content'] = 1; + + } + + /** + * The method to get the displayLabel + * @return string A string representing the displayLabel + */ + public function getDisplayLabel() + { + return $this->displayLabel; + + } + + /** + * The method to set the value to displayLabel + * @param string $displayLabel A string + */ + public function setDisplayLabel(string $displayLabel) + { + $this->displayLabel=$displayLabel; + $this->keyModified['display_label'] = 1; + + } + + /** + * The method to get the validationRule + * @return string A string representing the validationRule + */ + public function getValidationRule() + { + return $this->validationRule; + + } + + /** + * The method to set the value to validationRule + * @param string $validationRule A string + */ + public function setValidationRule(string $validationRule) + { + $this->validationRule=$validationRule; + $this->keyModified['validation_rule'] = 1; + + } + + /** + * The method to get the readOnly + * @return bool A bool representing the readOnly + */ + public function getReadOnly() + { + return $this->readOnly; + + } + + /** + * The method to set the value to readOnly + * @param bool $readOnly A bool + */ + public function setReadOnly(bool $readOnly) + { + $this->readOnly=$readOnly; + $this->keyModified['read_only'] = 1; + + } + + /** + * The method to get the associationDetails + * @return AssociationDetails An instance of AssociationDetails + */ + public function getAssociationDetails() + { + return $this->associationDetails; + + } + + /** + * The method to set the value to associationDetails + * @param AssociationDetails $associationDetails An instance of AssociationDetails + */ + public function setAssociationDetails(AssociationDetails $associationDetails) + { + $this->associationDetails=$associationDetails; + $this->keyModified['association_details'] = 1; + + } + + /** + * The method to get the multiModuleLookup + * @return MultiModuleLookup An instance of MultiModuleLookup + */ + public function getMultiModuleLookup() + { + return $this->multiModuleLookup; + + } + + /** + * The method to set the value to multiModuleLookup + * @param MultiModuleLookup $multiModuleLookup An instance of MultiModuleLookup + */ + public function setMultiModuleLookup(MultiModuleLookup $multiModuleLookup) + { + $this->multiModuleLookup=$multiModuleLookup; + $this->keyModified['multi_module_lookup'] = 1; + + } + + /** + * The method to get the currency + * @return Currency An instance of Currency + */ + public function getCurrency() + { + return $this->currency; + + } + + /** + * The method to set the value to currency + * @param Currency $currency An instance of Currency + */ + public function setCurrency(Currency $currency) + { + $this->currency=$currency; + $this->keyModified['currency'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the customField + * @return bool A bool representing the customField + */ + public function getCustomField() + { + return $this->customField; + + } + + /** + * The method to set the value to customField + * @param bool $customField A bool + */ + public function setCustomField(bool $customField) + { + $this->customField=$customField; + $this->keyModified['custom_field'] = 1; + + } + + /** + * The method to get the lookup + * @return Module An instance of Module + */ + public function getLookup() + { + return $this->lookup; + + } + + /** + * The method to set the value to lookup + * @param Module $lookup An instance of Module + */ + public function setLookup(Module $lookup) + { + $this->lookup=$lookup; + $this->keyModified['lookup'] = 1; + + } + + /** + * The method to get the convertMapping + * @return array A array representing the convertMapping + */ + public function getConvertMapping() + { + return $this->convertMapping; + + } + + /** + * The method to set the value to convertMapping + * @param array $convertMapping A array + */ + public function setConvertMapping(array $convertMapping) + { + $this->convertMapping=$convertMapping; + $this->keyModified['convert_mapping'] = 1; + + } + + /** + * The method to get the visible + * @return bool A bool representing the visible + */ + public function getVisible() + { + return $this->visible; + + } + + /** + * The method to set the value to visible + * @param bool $visible A bool + */ + public function setVisible(bool $visible) + { + $this->visible=$visible; + $this->keyModified['visible'] = 1; + + } + + /** + * The method to get the length + * @return int A int representing the length + */ + public function getLength() + { + return $this->length; + + } + + /** + * The method to set the value to length + * @param int $length A int + */ + public function setLength(int $length) + { + $this->length=$length; + $this->keyModified['length'] = 1; + + } + + /** + * The method to get the columnName + * @return string A string representing the columnName + */ + public function getColumnName() + { + return $this->columnName; + + } + + /** + * The method to set the value to columnName + * @param string $columnName A string + */ + public function setColumnName(string $columnName) + { + $this->columnName=$columnName; + $this->keyModified['column_name'] = 1; + + } + + /** + * The method to get the type + * @return string A string representing the type + */ + public function getType() + { + return $this->type; + + } + + /** + * The method to set the value to type + * @param string $type A string + */ + public function setType(string $type) + { + $this->type=$type; + $this->keyModified['_type'] = 1; + + } + + /** + * The method to get the viewType + * @return ViewType An instance of ViewType + */ + public function getViewType() + { + return $this->viewType; + + } + + /** + * The method to set the value to viewType + * @param ViewType $viewType An instance of ViewType + */ + public function setViewType(ViewType $viewType) + { + $this->viewType=$viewType; + $this->keyModified['view_type'] = 1; + + } + + /** + * The method to get the transitionSequence + * @return int A int representing the transitionSequence + */ + public function getTransitionSequence() + { + return $this->transitionSequence; + + } + + /** + * The method to set the value to transitionSequence + * @param int $transitionSequence A int + */ + public function setTransitionSequence(int $transitionSequence) + { + $this->transitionSequence=$transitionSequence; + $this->keyModified['transition_sequence'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the unique + * @return Unique An instance of Unique + */ + public function getUnique() + { + return $this->unique; + + } + + /** + * The method to set the value to unique + * @param Unique $unique An instance of Unique + */ + public function setUnique(Unique $unique) + { + $this->unique=$unique; + $this->keyModified['unique'] = 1; + + } + + /** + * The method to get the historyTracking + * @return bool A bool representing the historyTracking + */ + public function getHistoryTracking() + { + return $this->historyTracking; + + } + + /** + * The method to set the value to historyTracking + * @param bool $historyTracking A bool + */ + public function setHistoryTracking(bool $historyTracking) + { + $this->historyTracking=$historyTracking; + $this->keyModified['history_tracking'] = 1; + + } + + /** + * The method to get the dataType + * @return string A string representing the dataType + */ + public function getDataType() + { + return $this->dataType; + + } + + /** + * The method to set the value to dataType + * @param string $dataType A string + */ + public function setDataType(string $dataType) + { + $this->dataType=$dataType; + $this->keyModified['data_type'] = 1; + + } + + /** + * The method to get the formula + * @return Formula An instance of Formula + */ + public function getFormula() + { + return $this->formula; + + } + + /** + * The method to set the value to formula + * @param Formula $formula An instance of Formula + */ + public function setFormula(Formula $formula) + { + $this->formula=$formula; + $this->keyModified['formula'] = 1; + + } + + /** + * The method to get the decimalPlace + * @return string A string representing the decimalPlace + */ + public function getDecimalPlace() + { + return $this->decimalPlace; + + } + + /** + * The method to set the value to decimalPlace + * @param string $decimalPlace A string + */ + public function setDecimalPlace(string $decimalPlace) + { + $this->decimalPlace=$decimalPlace; + $this->keyModified['decimal_place'] = 1; + + } + + /** + * The method to get the multiselectlookup + * @return MultiSelectLookup An instance of MultiSelectLookup + */ + public function getMultiselectlookup() + { + return $this->multiselectlookup; + + } + + /** + * The method to set the value to multiselectlookup + * @param MultiSelectLookup $multiselectlookup An instance of MultiSelectLookup + */ + public function setMultiselectlookup(MultiSelectLookup $multiselectlookup) + { + $this->multiselectlookup=$multiselectlookup; + $this->keyModified['multiselectlookup'] = 1; + + } + + /** + * The method to get the pickListValues + * @return array A array representing the pickListValues + */ + public function getPickListValues() + { + return $this->pickListValues; + + } + + /** + * The method to set the value to pickListValues + * @param array $pickListValues A array + */ + public function setPickListValues(array $pickListValues) + { + $this->pickListValues=$pickListValues; + $this->keyModified['pick_list_values'] = 1; + + } + + /** + * The method to get the autoNumber + * @return AutoNumber An instance of AutoNumber + */ + public function getAutoNumber() + { + return $this->autoNumber; + + } + + /** + * The method to set the value to autoNumber + * @param AutoNumber $autoNumber An instance of AutoNumber + */ + public function setAutoNumber(AutoNumber $autoNumber) + { + $this->autoNumber=$autoNumber; + $this->keyModified['auto_number'] = 1; + + } + + /** + * The method to get the personalityName + * @return string A string representing the personalityName + */ + public function getPersonalityName() + { + return $this->personalityName; + + } + + /** + * The method to set the value to personalityName + * @param string $personalityName A string + */ + public function setPersonalityName(string $personalityName) + { + $this->personalityName=$personalityName; + $this->keyModified['personality_name'] = 1; + + } + + /** + * The method to get the mandatory + * @return bool A bool representing the mandatory + */ + public function getMandatory() + { + return $this->mandatory; + + } + + /** + * The method to set the value to mandatory + * @param bool $mandatory A bool + */ + public function setMandatory(bool $mandatory) + { + $this->mandatory=$mandatory; + $this->keyModified['mandatory'] = 1; + + } + + /** + * The method to get the quickSequenceNumber + * @return string A string representing the quickSequenceNumber + */ + public function getQuickSequenceNumber() + { + return $this->quickSequenceNumber; + + } + + /** + * The method to set the value to quickSequenceNumber + * @param string $quickSequenceNumber A string + */ + public function setQuickSequenceNumber(string $quickSequenceNumber) + { + $this->quickSequenceNumber=$quickSequenceNumber; + $this->keyModified['quick_sequence_number'] = 1; + + } + + /** + * The method to get the profiles + * @return array A array representing the profiles + */ + public function getProfiles() + { + return $this->profiles; + + } + + /** + * The method to set the value to profiles + * @param array $profiles A array + */ + public function setProfiles(array $profiles) + { + $this->profiles=$profiles; + $this->keyModified['profiles'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/blueprint/Formula.php b/versions/5.0.0/src/com/zoho/crm/api/blueprint/Formula.php new file mode 100644 index 0000000..be8f810 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/blueprint/Formula.php @@ -0,0 +1,81 @@ +returnType; + + } + + /** + * The method to set the value to returnType + * @param string $returnType A string + */ + public function setReturnType(string $returnType) + { + $this->returnType=$returnType; + $this->keyModified['return_type'] = 1; + + } + + /** + * The method to get the expression + * @return int A int representing the expression + */ + public function getExpression() + { + return $this->expression; + + } + + /** + * The method to set the value to expression + * @param int $expression A int + */ + public function setExpression(int $expression) + { + $this->expression=$expression; + $this->keyModified['expression'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/blueprint/Layout.php b/versions/5.0.0/src/com/zoho/crm/api/blueprint/Layout.php new file mode 100644 index 0000000..3c435b2 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/blueprint/Layout.php @@ -0,0 +1,81 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/blueprint/LookupField.php b/versions/5.0.0/src/com/zoho/crm/api/blueprint/LookupField.php new file mode 100644 index 0000000..9923ae8 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/blueprint/LookupField.php @@ -0,0 +1,81 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/blueprint/Module.php b/versions/5.0.0/src/com/zoho/crm/api/blueprint/Module.php new file mode 100644 index 0000000..535f10b --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/blueprint/Module.php @@ -0,0 +1,125 @@ +displayLabel; + + } + + /** + * The method to set the value to displayLabel + * @param string $displayLabel A string + */ + public function setDisplayLabel(string $displayLabel) + { + $this->displayLabel=$displayLabel; + $this->keyModified['display_label'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the module + * @return string A string representing the module + */ + public function getModule() + { + return $this->module; + + } + + /** + * The method to set the value to module + * @param string $module A string + */ + public function setModule(string $module) + { + $this->module=$module; + $this->keyModified['module'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/blueprint/MultiSelectLookup.php b/versions/5.0.0/src/com/zoho/crm/api/blueprint/MultiSelectLookup.php new file mode 100644 index 0000000..1464737 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/blueprint/MultiSelectLookup.php @@ -0,0 +1,169 @@ +displayLabel; + + } + + /** + * The method to set the value to displayLabel + * @param string $displayLabel A string + */ + public function setDisplayLabel(string $displayLabel) + { + $this->displayLabel=$displayLabel; + $this->keyModified['display_label'] = 1; + + } + + /** + * The method to get the linkingModule + * @return string A string representing the linkingModule + */ + public function getLinkingModule() + { + return $this->linkingModule; + + } + + /** + * The method to set the value to linkingModule + * @param string $linkingModule A string + */ + public function setLinkingModule(string $linkingModule) + { + $this->linkingModule=$linkingModule; + $this->keyModified['linking_module'] = 1; + + } + + /** + * The method to get the lookupApiname + * @return string A string representing the lookupApiname + */ + public function getLookupApiname() + { + return $this->lookupApiname; + + } + + /** + * The method to set the value to lookupApiname + * @param string $lookupApiname A string + */ + public function setLookupApiname(string $lookupApiname) + { + $this->lookupApiname=$lookupApiname; + $this->keyModified['lookup_apiname'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the connectedlookupApiname + * @return string A string representing the connectedlookupApiname + */ + public function getConnectedlookupApiname() + { + return $this->connectedlookupApiname; + + } + + /** + * The method to set the value to connectedlookupApiname + * @param string $connectedlookupApiname A string + */ + public function setConnectedlookupApiname(string $connectedlookupApiname) + { + $this->connectedlookupApiname=$connectedlookupApiname; + $this->keyModified['connectedlookup_apiname'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/blueprint/NextTransition.php b/versions/5.0.0/src/com/zoho/crm/api/blueprint/NextTransition.php new file mode 100644 index 0000000..fbed9fa --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/blueprint/NextTransition.php @@ -0,0 +1,125 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the criteriaMatched + * @return bool A bool representing the criteriaMatched + */ + public function getCriteriaMatched() + { + return $this->criteriaMatched; + + } + + /** + * The method to set the value to criteriaMatched + * @param bool $criteriaMatched A bool + */ + public function setCriteriaMatched(bool $criteriaMatched) + { + $this->criteriaMatched=$criteriaMatched; + $this->keyModified['criteria_matched'] = 1; + + } + + /** + * The method to get the type + * @return string A string representing the type + */ + public function getType() + { + return $this->type; + + } + + /** + * The method to set the value to type + * @param string $type A string + */ + public function setType(string $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/blueprint/ProcessInfo.php b/versions/5.0.0/src/com/zoho/crm/api/blueprint/ProcessInfo.php new file mode 100644 index 0000000..ef2791f --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/blueprint/ProcessInfo.php @@ -0,0 +1,279 @@ +fieldId; + + } + + /** + * The method to set the value to fieldId + * @param string $fieldId A string + */ + public function setFieldId(string $fieldId) + { + $this->fieldId=$fieldId; + $this->keyModified['field_id'] = 1; + + } + + /** + * The method to get the isContinuous + * @return bool A bool representing the isContinuous + */ + public function getIsContinuous() + { + return $this->isContinuous; + + } + + /** + * The method to set the value to isContinuous + * @param bool $isContinuous A bool + */ + public function setIsContinuous(bool $isContinuous) + { + $this->isContinuous=$isContinuous; + $this->keyModified['is_continuous'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the continuous + * @return bool A bool representing the continuous + */ + public function getContinuous() + { + return $this->continuous; + + } + + /** + * The method to set the value to continuous + * @param bool $continuous A bool + */ + public function setContinuous(bool $continuous) + { + $this->continuous=$continuous; + $this->keyModified['continuous'] = 1; + + } + + /** + * The method to get the fieldLabel + * @return string A string representing the fieldLabel + */ + public function getFieldLabel() + { + return $this->fieldLabel; + + } + + /** + * The method to set the value to fieldLabel + * @param string $fieldLabel A string + */ + public function setFieldLabel(string $fieldLabel) + { + $this->fieldLabel=$fieldLabel; + $this->keyModified['field_label'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the columnName + * @return string A string representing the columnName + */ + public function getColumnName() + { + return $this->columnName; + + } + + /** + * The method to set the value to columnName + * @param string $columnName A string + */ + public function setColumnName(string $columnName) + { + $this->columnName=$columnName; + $this->keyModified['column_name'] = 1; + + } + + /** + * The method to get the fieldValue + * @return string A string representing the fieldValue + */ + public function getFieldValue() + { + return $this->fieldValue; + + } + + /** + * The method to set the value to fieldValue + * @param string $fieldValue A string + */ + public function setFieldValue(string $fieldValue) + { + $this->fieldValue=$fieldValue; + $this->keyModified['field_value'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the fieldName + * @return string A string representing the fieldName + */ + public function getFieldName() + { + return $this->fieldName; + + } + + /** + * The method to set the value to fieldName + * @param string $fieldName A string + */ + public function setFieldName(string $fieldName) + { + $this->fieldName=$fieldName; + $this->keyModified['field_name'] = 1; + + } + + /** + * The method to get the escalation + * @return Escalation An instance of Escalation + */ + public function getEscalation() + { + return $this->escalation; + + } + + /** + * The method to set the value to escalation + * @param Escalation $escalation An instance of Escalation + */ + public function setEscalation(Escalation $escalation) + { + $this->escalation=$escalation; + $this->keyModified['escalation'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/blueprint/Profile.php b/versions/5.0.0/src/com/zoho/crm/api/blueprint/Profile.php new file mode 100644 index 0000000..f3fd83a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/blueprint/Profile.php @@ -0,0 +1,103 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the permissionType + * @return string A string representing the permissionType + */ + public function getPermissionType() + { + return $this->permissionType; + + } + + /** + * The method to set the value to permissionType + * @param string $permissionType A string + */ + public function setPermissionType(string $permissionType) + { + $this->permissionType=$permissionType; + $this->keyModified['permission_type'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/blueprint/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/blueprint/ResponseHandler.php new file mode 100644 index 0000000..6c802d1 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/blueprint/ResponseHandler.php @@ -0,0 +1,7 @@ +blueprint; + + } + + /** + * The method to set the value to blueprint + * @param BluePrint $blueprint An instance of BluePrint + */ + public function setBlueprint(BluePrint $blueprint) + { + $this->blueprint=$blueprint; + $this->keyModified['blueprint'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/blueprint/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/blueprint/SuccessResponse.php new file mode 100644 index 0000000..4d6c612 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/blueprint/SuccessResponse.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/blueprint/ToolTip.php b/versions/5.0.0/src/com/zoho/crm/api/blueprint/ToolTip.php new file mode 100644 index 0000000..ae6f76d --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/blueprint/ToolTip.php @@ -0,0 +1,81 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the value + * @return string A string representing the value + */ + public function getValue() + { + return $this->value; + + } + + /** + * The method to set the value to value + * @param string $value A string + */ + public function setValue(string $value) + { + $this->value=$value; + $this->keyModified['value'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/blueprint/Transition.php b/versions/5.0.0/src/com/zoho/crm/api/blueprint/Transition.php new file mode 100644 index 0000000..fff7358 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/blueprint/Transition.php @@ -0,0 +1,368 @@ +type; + + } + + /** + * The method to set the value to type + * @param string $type A string + */ + public function setType(string $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to get the executionTime + * @return \DateTime An instance of \DateTime + */ + public function getExecutionTime() + { + return $this->executionTime; + + } + + /** + * The method to set the value to executionTime + * @param \DateTime $executionTime An instance of \DateTime + */ + public function setExecutionTime(\DateTime $executionTime) + { + $this->executionTime=$executionTime; + $this->keyModified['execution_time'] = 1; + + } + + /** + * The method to get the sequence + * @return int A int representing the sequence + */ + public function getSequence() + { + return $this->sequence; + + } + + /** + * The method to set the value to sequence + * @param int $sequence A int + */ + public function setSequence(int $sequence) + { + $this->sequence=$sequence; + $this->keyModified['sequence'] = 1; + + } + + /** + * The method to get the nextTransitions + * @return array A array representing the nextTransitions + */ + public function getNextTransitions() + { + return $this->nextTransitions; + + } + + /** + * The method to set the value to nextTransitions + * @param array $nextTransitions A array + */ + public function setNextTransitions(array $nextTransitions) + { + $this->nextTransitions=$nextTransitions; + $this->keyModified['next_transitions'] = 1; + + } + + /** + * The method to get the parentTransition + * @return Transition An instance of Transition + */ + public function getParentTransition() + { + return $this->parentTransition; + + } + + /** + * The method to set the value to parentTransition + * @param Transition $parentTransition An instance of Transition + */ + public function setParentTransition(Transition $parentTransition) + { + $this->parentTransition=$parentTransition; + $this->keyModified['parent_transition'] = 1; + + } + + /** + * The method to get the percentPartialSave + * @return float A float representing the percentPartialSave + */ + public function getPercentPartialSave() + { + return $this->percentPartialSave; + + } + + /** + * The method to set the value to percentPartialSave + * @param float $percentPartialSave A float + */ + public function setPercentPartialSave(float $percentPartialSave) + { + $this->percentPartialSave=$percentPartialSave; + $this->keyModified['percent_partial_save'] = 1; + + } + + /** + * The method to get the data + * @return Record An instance of Record + */ + public function getData() + { + return $this->data; + + } + + /** + * The method to set the value to data + * @param Record $data An instance of Record + */ + public function setData(Record $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to get the nextFieldValue + * @return string A string representing the nextFieldValue + */ + public function getNextFieldValue() + { + return $this->nextFieldValue; + + } + + /** + * The method to set the value to nextFieldValue + * @param string $nextFieldValue A string + */ + public function setNextFieldValue(string $nextFieldValue) + { + $this->nextFieldValue=$nextFieldValue; + $this->keyModified['next_field_value'] = 1; + + } + + /** + * The method to get the textColorCode + * @return string A string representing the textColorCode + */ + public function getTextColorCode() + { + return $this->textColorCode; + + } + + /** + * The method to set the value to textColorCode + * @param string $textColorCode A string + */ + public function setTextColorCode(string $textColorCode) + { + $this->textColorCode=$textColorCode; + $this->keyModified['text_color_code'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the criteriaMatched + * @return bool A bool representing the criteriaMatched + */ + public function getCriteriaMatched() + { + return $this->criteriaMatched; + + } + + /** + * The method to set the value to criteriaMatched + * @param bool $criteriaMatched A bool + */ + public function setCriteriaMatched(bool $criteriaMatched) + { + $this->criteriaMatched=$criteriaMatched; + $this->keyModified['criteria_matched'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the fields + * @return array A array representing the fields + */ + public function getFields() + { + return $this->fields; + + } + + /** + * The method to set the value to fields + * @param array $fields A array + */ + public function setFields(array $fields) + { + $this->fields=$fields; + $this->keyModified['fields'] = 1; + + } + + /** + * The method to get the colorCode + * @return string A string representing the colorCode + */ + public function getColorCode() + { + return $this->colorCode; + + } + + /** + * The method to set the value to colorCode + * @param string $colorCode A string + */ + public function setColorCode(string $colorCode) + { + $this->colorCode=$colorCode; + $this->keyModified['color_code'] = 1; + + } + + /** + * The method to get the criteriaMessage + * @return string A string representing the criteriaMessage + */ + public function getCriteriaMessage() + { + return $this->criteriaMessage; + + } + + /** + * The method to set the value to criteriaMessage + * @param string $criteriaMessage A string + */ + public function setCriteriaMessage(string $criteriaMessage) + { + $this->criteriaMessage=$criteriaMessage; + $this->keyModified['criteria_message'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/blueprint/ViewType.php b/versions/5.0.0/src/com/zoho/crm/api/blueprint/ViewType.php new file mode 100644 index 0000000..7b470a8 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/blueprint/ViewType.php @@ -0,0 +1,125 @@ +view; + + } + + /** + * The method to set the value to view + * @param bool $view A bool + */ + public function setView(bool $view) + { + $this->view=$view; + $this->keyModified['view'] = 1; + + } + + /** + * The method to get the edit + * @return bool A bool representing the edit + */ + public function getEdit() + { + return $this->edit; + + } + + /** + * The method to set the value to edit + * @param bool $edit A bool + */ + public function setEdit(bool $edit) + { + $this->edit=$edit; + $this->keyModified['edit'] = 1; + + } + + /** + * The method to get the create + * @return bool A bool representing the create + */ + public function getCreate() + { + return $this->create; + + } + + /** + * The method to set the value to create + * @param bool $create A bool + */ + public function setCreate(bool $create) + { + $this->create=$create; + $this->keyModified['create'] = 1; + + } + + /** + * The method to get the quickCreate + * @return bool A bool representing the quickCreate + */ + public function getQuickCreate() + { + return $this->quickCreate; + + } + + /** + * The method to set the value to quickCreate + * @param bool $quickCreate A bool + */ + public function setQuickCreate(bool $quickCreate) + { + $this->quickCreate=$quickCreate; + $this->keyModified['quick_create'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/bulkread/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/bulkread/APIException.php new file mode 100644 index 0000000..f17fc03 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/bulkread/APIException.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/bulkread/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/bulkread/ActionHandler.php new file mode 100644 index 0000000..0c2adeb --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/bulkread/ActionHandler.php @@ -0,0 +1,7 @@ +data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to get the info + * @return array A array representing the info + */ + public function getInfo() + { + return $this->info; + + } + + /** + * The method to set the value to info + * @param array $info A array + */ + public function setInfo(array $info) + { + $this->info=$info; + $this->keyModified['info'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/bulkread/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/bulkread/BodyWrapper.php new file mode 100644 index 0000000..0e58c0f --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/bulkread/BodyWrapper.php @@ -0,0 +1,104 @@ +callback; + + } + + /** + * The method to set the value to callback + * @param CallBack $callback An instance of CallBack + */ + public function setCallback(CallBack $callback) + { + $this->callback=$callback; + $this->keyModified['callback'] = 1; + + } + + /** + * The method to get the query + * @return Query An instance of Query + */ + public function getQuery() + { + return $this->query; + + } + + /** + * The method to set the value to query + * @param Query $query An instance of Query + */ + public function setQuery(Query $query) + { + $this->query=$query; + $this->keyModified['query'] = 1; + + } + + /** + * The method to get the fileType + * @return Choice An instance of Choice + */ + public function getFileType() + { + return $this->fileType; + + } + + /** + * The method to set the value to fileType + * @param Choice $fileType An instance of Choice + */ + public function setFileType(Choice $fileType) + { + $this->fileType=$fileType; + $this->keyModified['file_type'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/bulkread/BulkReadOperations.php b/versions/5.0.0/src/com/zoho/crm/api/bulkread/BulkReadOperations.php new file mode 100644 index 0000000..241697d --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/bulkread/BulkReadOperations.php @@ -0,0 +1,68 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get bulk read job details + * @param string $jobId A string + * @return APIResponse An instance of APIResponse + */ + public function getBulkReadJobDetails(string $jobId) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/bulk/v6/read/'); + $apiPath=$apiPath.(strval($jobId)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to download result + * @param string $jobId A string + * @return APIResponse An instance of APIResponse + */ + public function downloadResult(string $jobId) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/bulk/v6/read/'); + $apiPath=$apiPath.(strval($jobId)); + $apiPath=$apiPath.('/result'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/x-download'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/bulkread/CallBack.php b/versions/5.0.0/src/com/zoho/crm/api/bulkread/CallBack.php new file mode 100644 index 0000000..ef5423a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/bulkread/CallBack.php @@ -0,0 +1,82 @@ +url; + + } + + /** + * The method to set the value to url + * @param string $url A string + */ + public function setUrl(string $url) + { + $this->url=$url; + $this->keyModified['url'] = 1; + + } + + /** + * The method to get the method + * @return Choice An instance of Choice + */ + public function getMethod() + { + return $this->method; + + } + + /** + * The method to set the value to method + * @param Choice $method An instance of Choice + */ + public function setMethod(Choice $method) + { + $this->method=$method; + $this->keyModified['method'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/bulkread/Criteria.php b/versions/5.0.0/src/com/zoho/crm/api/bulkread/Criteria.php new file mode 100644 index 0000000..d9e77aa --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/bulkread/Criteria.php @@ -0,0 +1,192 @@ +type; + + } + + /** + * The method to set the value to type + * @param string $type A string + */ + public function setType(string $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the value + */ + public function getValue() + { + return $this->value; + + } + + /** + * The method to set the value to value + * @param + */ + public function setValue( $value) + { + $this->value=$value; + $this->keyModified['value'] = 1; + + } + + /** + * The method to get the groupOperator + * @return Choice An instance of Choice + */ + public function getGroupOperator() + { + return $this->groupOperator; + + } + + /** + * The method to set the value to groupOperator + * @param Choice $groupOperator An instance of Choice + */ + public function setGroupOperator(Choice $groupOperator) + { + $this->groupOperator=$groupOperator; + $this->keyModified['group_operator'] = 1; + + } + + /** + * The method to get the group + * @return array A array representing the group + */ + public function getGroup() + { + return $this->group; + + } + + /** + * The method to set the value to group + * @param array $group A array + */ + public function setGroup(array $group) + { + $this->group=$group; + $this->keyModified['group'] = 1; + + } + + /** + * The method to get the field + * @return MinifiedField An instance of MinifiedField + */ + public function getField() + { + return $this->field; + + } + + /** + * The method to set the value to field + * @param MinifiedField $field An instance of MinifiedField + */ + public function setField(MinifiedField $field) + { + $this->field=$field; + $this->keyModified['field'] = 1; + + } + + /** + * The method to get the comparator + * @return Choice An instance of Choice + */ + public function getComparator() + { + return $this->comparator; + + } + + /** + * The method to set the value to comparator + * @param Choice $comparator An instance of Choice + */ + public function setComparator(Choice $comparator) + { + $this->comparator=$comparator; + $this->keyModified['comparator'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/bulkread/FileBodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/bulkread/FileBodyWrapper.php new file mode 100644 index 0000000..a531c08 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/bulkread/FileBodyWrapper.php @@ -0,0 +1,60 @@ +file; + + } + + /** + * The method to set the value to file + * @param StreamWrapper $file An instance of StreamWrapper + */ + public function setFile(StreamWrapper $file) + { + $this->file=$file; + $this->keyModified['file'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/bulkread/JobDetail.php b/versions/5.0.0/src/com/zoho/crm/api/bulkread/JobDetail.php new file mode 100644 index 0000000..9557ab8 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/bulkread/JobDetail.php @@ -0,0 +1,215 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the operation + * @return string A string representing the operation + */ + public function getOperation() + { + return $this->operation; + + } + + /** + * The method to set the value to operation + * @param string $operation A string + */ + public function setOperation(string $operation) + { + $this->operation=$operation; + $this->keyModified['operation'] = 1; + + } + + /** + * The method to get the state + * @return Choice An instance of Choice + */ + public function getState() + { + return $this->state; + + } + + /** + * The method to set the value to state + * @param Choice $state An instance of Choice + */ + public function setState(Choice $state) + { + $this->state=$state; + $this->keyModified['state'] = 1; + + } + + /** + * The method to get the query + * @return Query An instance of Query + */ + public function getQuery() + { + return $this->query; + + } + + /** + * The method to set the value to query + * @param Query $query An instance of Query + */ + public function setQuery(Query $query) + { + $this->query=$query; + $this->keyModified['query'] = 1; + + } + + /** + * The method to get the createdBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getCreatedBy() + { + return $this->createdBy; + + } + + /** + * The method to set the value to createdBy + * @param MinifiedUser $createdBy An instance of MinifiedUser + */ + public function setCreatedBy(MinifiedUser $createdBy) + { + $this->createdBy=$createdBy; + $this->keyModified['created_by'] = 1; + + } + + /** + * The method to get the createdTime + * @return \DateTime An instance of \DateTime + */ + public function getCreatedTime() + { + return $this->createdTime; + + } + + /** + * The method to set the value to createdTime + * @param \DateTime $createdTime An instance of \DateTime + */ + public function setCreatedTime(\DateTime $createdTime) + { + $this->createdTime=$createdTime; + $this->keyModified['created_time'] = 1; + + } + + /** + * The method to get the result + * @return Result An instance of Result + */ + public function getResult() + { + return $this->result; + + } + + /** + * The method to set the value to result + * @param Result $result An instance of Result + */ + public function setResult(Result $result) + { + $this->result=$result; + $this->keyModified['result'] = 1; + + } + + /** + * The method to get the fileType + * @return Choice An instance of Choice + */ + public function getFileType() + { + return $this->fileType; + + } + + /** + * The method to set the value to fileType + * @param Choice $fileType An instance of Choice + */ + public function setFileType(Choice $fileType) + { + $this->fileType=$fileType; + $this->keyModified['file_type'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/bulkread/ModuleDetails.php b/versions/5.0.0/src/com/zoho/crm/api/bulkread/ModuleDetails.php new file mode 100644 index 0000000..528124f --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/bulkread/ModuleDetails.php @@ -0,0 +1,81 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the module + * @return string A string representing the module + */ + public function getModule() + { + return $this->module; + + } + + /** + * The method to set the value to module + * @param string $module A string + */ + public function setModule(string $module) + { + $this->module=$module; + $this->keyModified['module'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/bulkread/Query.php b/versions/5.0.0/src/com/zoho/crm/api/bulkread/Query.php new file mode 100644 index 0000000..628d868 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/bulkread/Query.php @@ -0,0 +1,171 @@ +module; + + } + + /** + * The method to set the value to module + * @param MinifiedModule $module An instance of MinifiedModule + */ + public function setModule(MinifiedModule $module) + { + $this->module=$module; + $this->keyModified['module'] = 1; + + } + + /** + * The method to get the cvid + * @return string A string representing the cvid + */ + public function getCvid() + { + return $this->cvid; + + } + + /** + * The method to set the value to cvid + * @param string $cvid A string + */ + public function setCvid(string $cvid) + { + $this->cvid=$cvid; + $this->keyModified['cvid'] = 1; + + } + + /** + * The method to get the fields + * @return array A array representing the fields + */ + public function getFields() + { + return $this->fields; + + } + + /** + * The method to set the value to fields + * @param array $fields A array + */ + public function setFields(array $fields) + { + $this->fields=$fields; + $this->keyModified['fields'] = 1; + + } + + /** + * The method to get the page + * @return int A int representing the page + */ + public function getPage() + { + return $this->page; + + } + + /** + * The method to set the value to page + * @param int $page A int + */ + public function setPage(int $page) + { + $this->page=$page; + $this->keyModified['page'] = 1; + + } + + /** + * The method to get the criteria + * @return Criteria An instance of Criteria + */ + public function getCriteria() + { + return $this->criteria; + + } + + /** + * The method to set the value to criteria + * @param Criteria $criteria An instance of Criteria + */ + public function setCriteria(Criteria $criteria) + { + $this->criteria=$criteria; + $this->keyModified['criteria'] = 1; + + } + + /** + * The method to get the fileType + * @return Choice An instance of Choice + */ + public function getFileType() + { + return $this->fileType; + + } + + /** + * The method to set the value to fileType + * @param Choice $fileType An instance of Choice + */ + public function setFileType(Choice $fileType) + { + $this->fileType=$fileType; + $this->keyModified['file_type'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/bulkread/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/bulkread/ResponseHandler.php new file mode 100644 index 0000000..4b25e13 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/bulkread/ResponseHandler.php @@ -0,0 +1,7 @@ +data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/bulkread/Result.php b/versions/5.0.0/src/com/zoho/crm/api/bulkread/Result.php new file mode 100644 index 0000000..5f5fc4f --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/bulkread/Result.php @@ -0,0 +1,147 @@ +page; + + } + + /** + * The method to set the value to page + * @param int $page A int + */ + public function setPage(int $page) + { + $this->page=$page; + $this->keyModified['page'] = 1; + + } + + /** + * The method to get the count + * @return int A int representing the count + */ + public function getCount() + { + return $this->count; + + } + + /** + * The method to set the value to count + * @param int $count A int + */ + public function setCount(int $count) + { + $this->count=$count; + $this->keyModified['count'] = 1; + + } + + /** + * The method to get the downloadUrl + * @return string A string representing the downloadUrl + */ + public function getDownloadUrl() + { + return $this->downloadUrl; + + } + + /** + * The method to set the value to downloadUrl + * @param string $downloadUrl A string + */ + public function setDownloadUrl(string $downloadUrl) + { + $this->downloadUrl=$downloadUrl; + $this->keyModified['download_url'] = 1; + + } + + /** + * The method to get the perPage + * @return int A int representing the perPage + */ + public function getPerPage() + { + return $this->perPage; + + } + + /** + * The method to set the value to perPage + * @param int $perPage A int + */ + public function setPerPage(int $perPage) + { + $this->perPage=$perPage; + $this->keyModified['per_page'] = 1; + + } + + /** + * The method to get the moreRecords + * @return bool A bool representing the moreRecords + */ + public function getMoreRecords() + { + return $this->moreRecords; + + } + + /** + * The method to set the value to moreRecords + * @param bool $moreRecords A bool + */ + public function setMoreRecords(bool $moreRecords) + { + $this->moreRecords=$moreRecords; + $this->keyModified['more_records'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/bulkread/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/bulkread/SuccessResponse.php new file mode 100644 index 0000000..1d6eb4c --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/bulkread/SuccessResponse.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/bulkwrite/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/bulkwrite/APIException.php new file mode 100644 index 0000000..19bf458 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/bulkwrite/APIException.php @@ -0,0 +1,258 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } + + /** + * The method to get the errorMessage + * @return Choice An instance of Choice + */ + public function getErrorMessage() + { + return $this->errorMessage; + + } + + /** + * The method to set the value to errorMessage + * @param Choice $errorMessage An instance of Choice + */ + public function setErrorMessage(Choice $errorMessage) + { + $this->errorMessage=$errorMessage; + $this->keyModified['ERROR_MESSAGE'] = 1; + + } + + /** + * The method to get the errorCode + * @return int A int representing the errorCode + */ + public function getErrorCode() + { + return $this->errorCode; + + } + + /** + * The method to set the value to errorCode + * @param int $errorCode A int + */ + public function setErrorCode(int $errorCode) + { + $this->errorCode=$errorCode; + $this->keyModified['ERROR_CODE'] = 1; + + } + + /** + * The method to get the xError + * @return Choice An instance of Choice + */ + public function getXError() + { + return $this->xError; + + } + + /** + * The method to set the value to xError + * @param Choice $xError An instance of Choice + */ + public function setXError(Choice $xError) + { + $this->xError=$xError; + $this->keyModified['x-error'] = 1; + + } + + /** + * The method to get the info + * @return Choice An instance of Choice + */ + public function getInfo() + { + return $this->info; + + } + + /** + * The method to set the value to info + * @param Choice $info An instance of Choice + */ + public function setInfo(Choice $info) + { + $this->info=$info; + $this->keyModified['info'] = 1; + + } + + /** + * The method to get the xInfo + * @return Choice An instance of Choice + */ + public function getXInfo() + { + return $this->xInfo; + + } + + /** + * The method to set the value to xInfo + * @param Choice $xInfo An instance of Choice + */ + public function setXInfo(Choice $xInfo) + { + $this->xInfo=$xInfo; + $this->keyModified['x-info'] = 1; + + } + + /** + * The method to get the httpStatus + * @return string A string representing the httpStatus + */ + public function getHttpStatus() + { + return $this->httpStatus; + + } + + /** + * The method to set the value to httpStatus + * @param string $httpStatus A string + */ + public function setHttpStatus(string $httpStatus) + { + $this->httpStatus=$httpStatus; + $this->keyModified['http_status'] = 1; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/bulkwrite/ActionResponse.php b/versions/5.0.0/src/com/zoho/crm/api/bulkwrite/ActionResponse.php new file mode 100644 index 0000000..f6ee0c3 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/bulkwrite/ActionResponse.php @@ -0,0 +1,7 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('multipart/form-data'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + $handlerInstance->setHeader($headerInstance); + return $handlerInstance->apiCall(ActionResponse::class, 'application/json'); + + } + + /** + * The method to create bulk write job + * @param RequestWrapper $request An instance of RequestWrapper + * @return APIResponse An instance of APIResponse + */ + public function createBulkWriteJob(RequestWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/bulk/v6/write'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionResponse::class, 'application/json'); + + } + + /** + * The method to get bulk write job details + * @param string $jobId A string + * @return APIResponse An instance of APIResponse + */ + public function getBulkWriteJobDetails(string $jobId) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/bulk/v6/write/'); + $apiPath=$apiPath.(strval($jobId)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + return $handlerInstance->apiCall(ResponseWrapper::class, 'application/json'); + + } + + /** + * The method to download bulk write result + * @param string $downloadUrl A string + * @return APIResponse An instance of APIResponse + */ + public function downloadBulkWriteResult(string $downloadUrl) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($downloadUrl)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/octet-stream'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/bulkwrite/BulkWriteResponse.php b/versions/5.0.0/src/com/zoho/crm/api/bulkwrite/BulkWriteResponse.php new file mode 100644 index 0000000..1679c36 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/bulkwrite/BulkWriteResponse.php @@ -0,0 +1,236 @@ +status; + + } + + /** + * The method to set the value to status + * @param string $status A string + */ + public function setStatus(string $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the characterEncoding + * @return string A string representing the characterEncoding + */ + public function getCharacterEncoding() + { + return $this->characterEncoding; + + } + + /** + * The method to set the value to characterEncoding + * @param string $characterEncoding A string + */ + public function setCharacterEncoding(string $characterEncoding) + { + $this->characterEncoding=$characterEncoding; + $this->keyModified['character_encoding'] = 1; + + } + + /** + * The method to get the resource + * @return array A array representing the resource + */ + public function getResource() + { + return $this->resource; + + } + + /** + * The method to set the value to resource + * @param array $resource A array + */ + public function setResource(array $resource) + { + $this->resource=$resource; + $this->keyModified['resource'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the result + * @return Result An instance of Result + */ + public function getResult() + { + return $this->result; + + } + + /** + * The method to set the value to result + * @param Result $result An instance of Result + */ + public function setResult(Result $result) + { + $this->result=$result; + $this->keyModified['result'] = 1; + + } + + /** + * The method to get the createdBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getCreatedBy() + { + return $this->createdBy; + + } + + /** + * The method to set the value to createdBy + * @param MinifiedUser $createdBy An instance of MinifiedUser + */ + public function setCreatedBy(MinifiedUser $createdBy) + { + $this->createdBy=$createdBy; + $this->keyModified['created_by'] = 1; + + } + + /** + * The method to get the operation + * @return string A string representing the operation + */ + public function getOperation() + { + return $this->operation; + + } + + /** + * The method to set the value to operation + * @param string $operation A string + */ + public function setOperation(string $operation) + { + $this->operation=$operation; + $this->keyModified['operation'] = 1; + + } + + /** + * The method to get the createdTime + * @return \DateTime An instance of \DateTime + */ + public function getCreatedTime() + { + return $this->createdTime; + + } + + /** + * The method to set the value to createdTime + * @param \DateTime $createdTime An instance of \DateTime + */ + public function setCreatedTime(\DateTime $createdTime) + { + $this->createdTime=$createdTime; + $this->keyModified['created_time'] = 1; + + } + + /** + * The method to get the callback + * @return CallBack An instance of CallBack + */ + public function getCallback() + { + return $this->callback; + + } + + /** + * The method to set the value to callback + * @param CallBack $callback An instance of CallBack + */ + public function setCallback(CallBack $callback) + { + $this->callback=$callback; + $this->keyModified['callback'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/bulkwrite/CallBack.php b/versions/5.0.0/src/com/zoho/crm/api/bulkwrite/CallBack.php new file mode 100644 index 0000000..d48727c --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/bulkwrite/CallBack.php @@ -0,0 +1,82 @@ +url; + + } + + /** + * The method to set the value to url + * @param string $url A string + */ + public function setUrl(string $url) + { + $this->url=$url; + $this->keyModified['url'] = 1; + + } + + /** + * The method to get the method + * @return Choice An instance of Choice + */ + public function getMethod() + { + return $this->method; + + } + + /** + * The method to set the value to method + * @param Choice $method An instance of Choice + */ + public function setMethod(Choice $method) + { + $this->method=$method; + $this->keyModified['method'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/bulkwrite/DefaultValue.php b/versions/5.0.0/src/com/zoho/crm/api/bulkwrite/DefaultValue.php new file mode 100644 index 0000000..94f20a2 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/bulkwrite/DefaultValue.php @@ -0,0 +1,102 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the module + * @return string A string representing the module + */ + public function getModule() + { + return $this->module; + + } + + /** + * The method to set the value to module + * @param string $module A string + */ + public function setModule(string $module) + { + $this->module=$module; + $this->keyModified['module'] = 1; + + } + + /** + * The method to get the value + */ + public function getValue() + { + return $this->value; + + } + + /** + * The method to set the value to value + * @param + */ + public function setValue( $value) + { + $this->value=$value; + $this->keyModified['value'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/bulkwrite/FieldMapping.php b/versions/5.0.0/src/com/zoho/crm/api/bulkwrite/FieldMapping.php new file mode 100644 index 0000000..9cb99ee --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/bulkwrite/FieldMapping.php @@ -0,0 +1,191 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the index + * @return int A int representing the index + */ + public function getIndex() + { + return $this->index; + + } + + /** + * The method to set the value to index + * @param int $index A int + */ + public function setIndex(int $index) + { + $this->index=$index; + $this->keyModified['index'] = 1; + + } + + /** + * The method to get the format + * @return string A string representing the format + */ + public function getFormat() + { + return $this->format; + + } + + /** + * The method to set the value to format + * @param string $format A string + */ + public function setFormat(string $format) + { + $this->format=$format; + $this->keyModified['format'] = 1; + + } + + /** + * The method to get the findBy + * @return string A string representing the findBy + */ + public function getFindBy() + { + return $this->findBy; + + } + + /** + * The method to set the value to findBy + * @param string $findBy A string + */ + public function setFindBy(string $findBy) + { + $this->findBy=$findBy; + $this->keyModified['find_by'] = 1; + + } + + /** + * The method to get the defaultValue + * @return DefaultValue An instance of DefaultValue + */ + public function getDefaultValue() + { + return $this->defaultValue; + + } + + /** + * The method to set the value to defaultValue + * @param DefaultValue $defaultValue An instance of DefaultValue + */ + public function setDefaultValue(DefaultValue $defaultValue) + { + $this->defaultValue=$defaultValue; + $this->keyModified['default_value'] = 1; + + } + + /** + * The method to get the module + * @return string A string representing the module + */ + public function getModule() + { + return $this->module; + + } + + /** + * The method to set the value to module + * @param string $module A string + */ + public function setModule(string $module) + { + $this->module=$module; + $this->keyModified['module'] = 1; + + } + + /** + * The method to get the parentColumnIndex + * @return int A int representing the parentColumnIndex + */ + public function getParentColumnIndex() + { + return $this->parentColumnIndex; + + } + + /** + * The method to set the value to parentColumnIndex + * @param int $parentColumnIndex A int + */ + public function setParentColumnIndex(int $parentColumnIndex) + { + $this->parentColumnIndex=$parentColumnIndex; + $this->keyModified['parent_column_index'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/bulkwrite/File.php b/versions/5.0.0/src/com/zoho/crm/api/bulkwrite/File.php new file mode 100644 index 0000000..40a9784 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/bulkwrite/File.php @@ -0,0 +1,170 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the addedCount + * @return int A int representing the addedCount + */ + public function getAddedCount() + { + return $this->addedCount; + + } + + /** + * The method to set the value to addedCount + * @param int $addedCount A int + */ + public function setAddedCount(int $addedCount) + { + $this->addedCount=$addedCount; + $this->keyModified['added_count'] = 1; + + } + + /** + * The method to get the skippedCount + * @return int A int representing the skippedCount + */ + public function getSkippedCount() + { + return $this->skippedCount; + + } + + /** + * The method to set the value to skippedCount + * @param int $skippedCount A int + */ + public function setSkippedCount(int $skippedCount) + { + $this->skippedCount=$skippedCount; + $this->keyModified['skipped_count'] = 1; + + } + + /** + * The method to get the updatedCount + * @return int A int representing the updatedCount + */ + public function getUpdatedCount() + { + return $this->updatedCount; + + } + + /** + * The method to set the value to updatedCount + * @param int $updatedCount A int + */ + public function setUpdatedCount(int $updatedCount) + { + $this->updatedCount=$updatedCount; + $this->keyModified['updated_count'] = 1; + + } + + /** + * The method to get the totalCount + * @return int A int representing the totalCount + */ + public function getTotalCount() + { + return $this->totalCount; + + } + + /** + * The method to set the value to totalCount + * @param int $totalCount A int + */ + public function setTotalCount(int $totalCount) + { + $this->totalCount=$totalCount; + $this->keyModified['total_count'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/bulkwrite/FileBodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/bulkwrite/FileBodyWrapper.php new file mode 100644 index 0000000..ffe2b79 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/bulkwrite/FileBodyWrapper.php @@ -0,0 +1,60 @@ +file; + + } + + /** + * The method to set the value to file + * @param StreamWrapper $file An instance of StreamWrapper + */ + public function setFile(StreamWrapper $file) + { + $this->file=$file; + $this->keyModified['file'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/bulkwrite/RequestWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/bulkwrite/RequestWrapper.php new file mode 100644 index 0000000..4e8f6dd --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/bulkwrite/RequestWrapper.php @@ -0,0 +1,148 @@ +characterEncoding; + + } + + /** + * The method to set the value to characterEncoding + * @param string $characterEncoding A string + */ + public function setCharacterEncoding(string $characterEncoding) + { + $this->characterEncoding=$characterEncoding; + $this->keyModified['character_encoding'] = 1; + + } + + /** + * The method to get the operation + * @return Choice An instance of Choice + */ + public function getOperation() + { + return $this->operation; + + } + + /** + * The method to set the value to operation + * @param Choice $operation An instance of Choice + */ + public function setOperation(Choice $operation) + { + $this->operation=$operation; + $this->keyModified['operation'] = 1; + + } + + /** + * The method to get the callback + * @return CallBack An instance of CallBack + */ + public function getCallback() + { + return $this->callback; + + } + + /** + * The method to set the value to callback + * @param CallBack $callback An instance of CallBack + */ + public function setCallback(CallBack $callback) + { + $this->callback=$callback; + $this->keyModified['callback'] = 1; + + } + + /** + * The method to get the resource + * @return array A array representing the resource + */ + public function getResource() + { + return $this->resource; + + } + + /** + * The method to set the value to resource + * @param array $resource A array + */ + public function setResource(array $resource) + { + $this->resource=$resource; + $this->keyModified['resource'] = 1; + + } + + /** + * The method to get the ignoreEmpty + * @return bool A bool representing the ignoreEmpty + */ + public function getIgnoreEmpty() + { + return $this->ignoreEmpty; + + } + + /** + * The method to set the value to ignoreEmpty + * @param bool $ignoreEmpty A bool + */ + public function setIgnoreEmpty(bool $ignoreEmpty) + { + $this->ignoreEmpty=$ignoreEmpty; + $this->keyModified['ignore_empty'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/bulkwrite/Resource.php b/versions/5.0.0/src/com/zoho/crm/api/bulkwrite/Resource.php new file mode 100644 index 0000000..a5a4d7c --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/bulkwrite/Resource.php @@ -0,0 +1,259 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the type + * @return Choice An instance of Choice + */ + public function getType() + { + return $this->type; + + } + + /** + * The method to set the value to type + * @param Choice $type An instance of Choice + */ + public function setType(Choice $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to get the module + * @return MinifiedModule An instance of MinifiedModule + */ + public function getModule() + { + return $this->module; + + } + + /** + * The method to set the value to module + * @param MinifiedModule $module An instance of MinifiedModule + */ + public function setModule(MinifiedModule $module) + { + $this->module=$module; + $this->keyModified['module'] = 1; + + } + + /** + * The method to get the code + * @return string A string representing the code + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param string $code A string + */ + public function setCode(string $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the fileId + * @return string A string representing the fileId + */ + public function getFileId() + { + return $this->fileId; + + } + + /** + * The method to set the value to fileId + * @param string $fileId A string + */ + public function setFileId(string $fileId) + { + $this->fileId=$fileId; + $this->keyModified['file_id'] = 1; + + } + + /** + * The method to get the fileNames + * @return array A array representing the fileNames + */ + public function getFileNames() + { + return $this->fileNames; + + } + + /** + * The method to set the value to fileNames + * @param array $fileNames A array + */ + public function setFileNames(array $fileNames) + { + $this->fileNames=$fileNames; + $this->keyModified['file_names'] = 1; + + } + + /** + * The method to get the ignoreEmpty + * @return bool A bool representing the ignoreEmpty + */ + public function getIgnoreEmpty() + { + return $this->ignoreEmpty; + + } + + /** + * The method to set the value to ignoreEmpty + * @param bool $ignoreEmpty A bool + */ + public function setIgnoreEmpty(bool $ignoreEmpty) + { + $this->ignoreEmpty=$ignoreEmpty; + $this->keyModified['ignore_empty'] = 1; + + } + + /** + * The method to get the findBy + * @return string A string representing the findBy + */ + public function getFindBy() + { + return $this->findBy; + + } + + /** + * The method to set the value to findBy + * @param string $findBy A string + */ + public function setFindBy(string $findBy) + { + $this->findBy=$findBy; + $this->keyModified['find_by'] = 1; + + } + + /** + * The method to get the fieldMappings + * @return array A array representing the fieldMappings + */ + public function getFieldMappings() + { + return $this->fieldMappings; + + } + + /** + * The method to set the value to fieldMappings + * @param array $fieldMappings A array + */ + public function setFieldMappings(array $fieldMappings) + { + $this->fieldMappings=$fieldMappings; + $this->keyModified['field_mappings'] = 1; + + } + + /** + * The method to get the file + * @return File An instance of File + */ + public function getFile() + { + return $this->file; + + } + + /** + * The method to set the value to file + * @param File $file An instance of File + */ + public function setFile(File $file) + { + $this->file=$file; + $this->keyModified['file'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/bulkwrite/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/bulkwrite/ResponseHandler.php new file mode 100644 index 0000000..7562e29 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/bulkwrite/ResponseHandler.php @@ -0,0 +1,7 @@ +downloadUrl; + + } + + /** + * The method to set the value to downloadUrl + * @param string $downloadUrl A string + */ + public function setDownloadUrl(string $downloadUrl) + { + $this->downloadUrl=$downloadUrl; + $this->keyModified['download_url'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/bulkwrite/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/bulkwrite/SuccessResponse.php new file mode 100644 index 0000000..5359f6e --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/bulkwrite/SuccessResponse.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/bulkwrite/UploadFileHeader.php b/versions/5.0.0/src/com/zoho/crm/api/bulkwrite/UploadFileHeader.php new file mode 100644 index 0000000..c5d60e4 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/bulkwrite/UploadFileHeader.php @@ -0,0 +1,19 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/businesshours/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/businesshours/ActionHandler.php new file mode 100644 index 0000000..47ae9b1 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/businesshours/ActionHandler.php @@ -0,0 +1,7 @@ +businessHours; + + } + + /** + * The method to set the value to businessHours + * @param ActionResponse $businessHours An instance of ActionResponse + */ + public function setBusinessHours(ActionResponse $businessHours) + { + $this->businessHours=$businessHours; + $this->keyModified['business_hours'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/businesshours/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/businesshours/BodyWrapper.php new file mode 100644 index 0000000..45dd1fd --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/businesshours/BodyWrapper.php @@ -0,0 +1,59 @@ +businessHours; + + } + + /** + * The method to set the value to businessHours + * @param BusinessHours $businessHours An instance of BusinessHours + */ + public function setBusinessHours(BusinessHours $businessHours) + { + $this->businessHours=$businessHours; + $this->keyModified['business_hours'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/businesshours/BreakHoursCustomTiming.php b/versions/5.0.0/src/com/zoho/crm/api/businesshours/BreakHoursCustomTiming.php new file mode 100644 index 0000000..33b7ac4 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/businesshours/BreakHoursCustomTiming.php @@ -0,0 +1,82 @@ +days; + + } + + /** + * The method to set the value to days + * @param Choice $days An instance of Choice + */ + public function setDays(Choice $days) + { + $this->days=$days; + $this->keyModified['days'] = 1; + + } + + /** + * The method to get the businessTiming + * @return array A array representing the businessTiming + */ + public function getBusinessTiming() + { + return $this->businessTiming; + + } + + /** + * The method to set the value to businessTiming + * @param array $businessTiming A array + */ + public function setBusinessTiming(array $businessTiming) + { + $this->businessTiming=$businessTiming; + $this->keyModified['business_timing'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/businesshours/BusinessHours.php b/versions/5.0.0/src/com/zoho/crm/api/businesshours/BusinessHours.php new file mode 100644 index 0000000..2d11fcc --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/businesshours/BusinessHours.php @@ -0,0 +1,192 @@ +weekStartsOn; + + } + + /** + * The method to set the value to weekStartsOn + * @param Choice $weekStartsOn An instance of Choice + */ + public function setWeekStartsOn(Choice $weekStartsOn) + { + $this->weekStartsOn=$weekStartsOn; + $this->keyModified['week_starts_on'] = 1; + + } + + /** + * The method to get the type + * @return Choice An instance of Choice + */ + public function getType() + { + return $this->type; + + } + + /** + * The method to set the value to type + * @param Choice $type An instance of Choice + */ + public function setType(Choice $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the businessDays + * @return array A array representing the businessDays + */ + public function getBusinessDays() + { + return $this->businessDays; + + } + + /** + * The method to set the value to businessDays + * @param array $businessDays A array + */ + public function setBusinessDays(array $businessDays) + { + $this->businessDays=$businessDays; + $this->keyModified['business_days'] = 1; + + } + + /** + * The method to get the sameAsEveryday + * @return bool A bool representing the sameAsEveryday + */ + public function getSameAsEveryday() + { + return $this->sameAsEveryday; + + } + + /** + * The method to set the value to sameAsEveryday + * @param bool $sameAsEveryday A bool + */ + public function setSameAsEveryday(bool $sameAsEveryday) + { + $this->sameAsEveryday=$sameAsEveryday; + $this->keyModified['same_as_everyday'] = 1; + + } + + /** + * The method to get the dailyTiming + * @return array A array representing the dailyTiming + */ + public function getDailyTiming() + { + return $this->dailyTiming; + + } + + /** + * The method to set the value to dailyTiming + * @param array $dailyTiming A array + */ + public function setDailyTiming(array $dailyTiming) + { + $this->dailyTiming=$dailyTiming; + $this->keyModified['daily_timing'] = 1; + + } + + /** + * The method to get the customTiming + * @return array A array representing the customTiming + */ + public function getCustomTiming() + { + return $this->customTiming; + + } + + /** + * The method to set the value to customTiming + * @param array $customTiming A array + */ + public function setCustomTiming(array $customTiming) + { + $this->customTiming=$customTiming; + $this->keyModified['custom_timing'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/businesshours/BusinessHoursOperations.php b/versions/5.0.0/src/com/zoho/crm/api/businesshours/BusinessHoursOperations.php new file mode 100644 index 0000000..91221e6 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/businesshours/BusinessHoursOperations.php @@ -0,0 +1,83 @@ +xCrmOrg=$xCrmOrg; + + } + + /** + * The method to create business hours + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function createBusinessHours(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/business_hours'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + $handlerInstance->addHeader(new Header('X-CRM-ORG', 'com.zoho.crm.api.BusinessHours.CreateBusinessHoursHeader'), $this->xCrmOrg); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to update business hours + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updateBusinessHours(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/business_hours'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + $handlerInstance->addHeader(new Header('X-CRM-ORG', 'com.zoho.crm.api.BusinessHours.UpdateBusinessHoursHeader'), $this->xCrmOrg); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get business hours + * @return APIResponse An instance of APIResponse + */ + public function getBusinessHours() + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/business_hours'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->addHeader(new Header('X-CRM-ORG', 'com.zoho.crm.api.BusinessHours.GetBusinessHoursHeader'), $this->xCrmOrg); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/businesshours/CreateBusinessHoursHeader.php b/versions/5.0.0/src/com/zoho/crm/api/businesshours/CreateBusinessHoursHeader.php new file mode 100644 index 0000000..7742517 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/businesshours/CreateBusinessHoursHeader.php @@ -0,0 +1,7 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the resources + * @return array A array representing the resources + */ + public function getResources() + { + return $this->resources; + + } + + /** + * The method to set the value to resources + * @param array $resources A array + */ + public function setResources(array $resources) + { + $this->resources=$resources; + $this->keyModified['resources'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/businesshours/GetBusinessHoursHeader.php b/versions/5.0.0/src/com/zoho/crm/api/businesshours/GetBusinessHoursHeader.php new file mode 100644 index 0000000..870a12e --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/businesshours/GetBusinessHoursHeader.php @@ -0,0 +1,7 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/businesshours/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/businesshours/ResponseHandler.php new file mode 100644 index 0000000..23ccd61 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/businesshours/ResponseHandler.php @@ -0,0 +1,7 @@ +businessHours; + + } + + /** + * The method to set the value to businessHours + * @param BusinessHours $businessHours An instance of BusinessHours + */ + public function setBusinessHours(BusinessHours $businessHours) + { + $this->businessHours=$businessHours; + $this->keyModified['business_hours'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/businesshours/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/businesshours/SuccessResponse.php new file mode 100644 index 0000000..0aa9097 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/businesshours/SuccessResponse.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/businesshours/UpdateBusinessHoursHeader.php b/versions/5.0.0/src/com/zoho/crm/api/businesshours/UpdateBusinessHoursHeader.php new file mode 100644 index 0000000..c25f4ff --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/businesshours/UpdateBusinessHoursHeader.php @@ -0,0 +1,7 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/cancelmeetings/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/cancelmeetings/ActionHandler.php new file mode 100644 index 0000000..4f080ef --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/cancelmeetings/ActionHandler.php @@ -0,0 +1,7 @@ +data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/cancelmeetings/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/cancelmeetings/BodyWrapper.php new file mode 100644 index 0000000..7234f99 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/cancelmeetings/BodyWrapper.php @@ -0,0 +1,59 @@ +data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/cancelmeetings/CancelMeetingsOperations.php b/versions/5.0.0/src/com/zoho/crm/api/cancelmeetings/CancelMeetingsOperations.php new file mode 100644 index 0000000..3abb1f7 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/cancelmeetings/CancelMeetingsOperations.php @@ -0,0 +1,44 @@ +event=$event; + + } + + /** + * The method to cancel meetings + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function cancelMeetings(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/Events/'); + $apiPath=$apiPath.(strval($this->event)); + $apiPath=$apiPath.('/actions/cancel'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_ACTION); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/cancelmeetings/Notify.php b/versions/5.0.0/src/com/zoho/crm/api/cancelmeetings/Notify.php new file mode 100644 index 0000000..7881349 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/cancelmeetings/Notify.php @@ -0,0 +1,59 @@ +sendCancellingMail; + + } + + /** + * The method to set the value to sendCancellingMail + * @param bool $sendCancellingMail A bool + */ + public function setSendCancellingMail(bool $sendCancellingMail) + { + $this->sendCancellingMail=$sendCancellingMail; + $this->keyModified['send_cancelling_mail'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/cancelmeetings/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/cancelmeetings/SuccessResponse.php new file mode 100644 index 0000000..821c425 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/cancelmeetings/SuccessResponse.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/changeowner/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/changeowner/APIException.php new file mode 100644 index 0000000..3bdb5ef --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/changeowner/APIException.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/changeowner/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/changeowner/ActionHandler.php new file mode 100644 index 0000000..eb9e384 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/changeowner/ActionHandler.php @@ -0,0 +1,7 @@ +data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/changeowner/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/changeowner/BodyWrapper.php new file mode 100644 index 0000000..37b0e26 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/changeowner/BodyWrapper.php @@ -0,0 +1,103 @@ +owner; + + } + + /** + * The method to set the value to owner + * @param Owner $owner An instance of Owner + */ + public function setOwner(Owner $owner) + { + $this->owner=$owner; + $this->keyModified['owner'] = 1; + + } + + /** + * The method to get the notify + * @return bool A bool representing the notify + */ + public function getNotify() + { + return $this->notify; + + } + + /** + * The method to set the value to notify + * @param bool $notify A bool + */ + public function setNotify(bool $notify) + { + $this->notify=$notify; + $this->keyModified['notify'] = 1; + + } + + /** + * The method to get the relatedModules + * @return array A array representing the relatedModules + */ + public function getRelatedModules() + { + return $this->relatedModules; + + } + + /** + * The method to set the value to relatedModules + * @param array $relatedModules A array + */ + public function setRelatedModules(array $relatedModules) + { + $this->relatedModules=$relatedModules; + $this->keyModified['related_modules'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/changeowner/ChangeOwnerOperations.php b/versions/5.0.0/src/com/zoho/crm/api/changeowner/ChangeOwnerOperations.php new file mode 100644 index 0000000..e840a7c --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/changeowner/ChangeOwnerOperations.php @@ -0,0 +1,68 @@ +module=$module; + + } + + /** + * The method to single update + * @param string $id A string + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function singleUpdate(string $id, BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->module)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($id)); + $apiPath=$apiPath.('/actions/change_owner'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_ACTION); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to mass update + * @param MassWrapper $request An instance of MassWrapper + * @return APIResponse An instance of APIResponse + */ + public function massUpdate(MassWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->module)); + $apiPath=$apiPath.('/actions/change_owner'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_ACTION); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/changeowner/ErrorDetails.php b/versions/5.0.0/src/com/zoho/crm/api/changeowner/ErrorDetails.php new file mode 100644 index 0000000..e1495b8 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/changeowner/ErrorDetails.php @@ -0,0 +1,81 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the jsonPath + * @return string A string representing the jsonPath + */ + public function getJsonPath() + { + return $this->jsonPath; + + } + + /** + * The method to set the value to jsonPath + * @param string $jsonPath A string + */ + public function setJsonPath(string $jsonPath) + { + $this->jsonPath=$jsonPath; + $this->keyModified['json_path'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/changeowner/MassWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/changeowner/MassWrapper.php new file mode 100644 index 0000000..f29b33b --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/changeowner/MassWrapper.php @@ -0,0 +1,125 @@ +ids; + + } + + /** + * The method to set the value to ids + * @param array $ids A array + */ + public function setIds(array $ids) + { + $this->ids=$ids; + $this->keyModified['ids'] = 1; + + } + + /** + * The method to get the owner + * @return Owner An instance of Owner + */ + public function getOwner() + { + return $this->owner; + + } + + /** + * The method to set the value to owner + * @param Owner $owner An instance of Owner + */ + public function setOwner(Owner $owner) + { + $this->owner=$owner; + $this->keyModified['owner'] = 1; + + } + + /** + * The method to get the notify + * @return bool A bool representing the notify + */ + public function getNotify() + { + return $this->notify; + + } + + /** + * The method to set the value to notify + * @param bool $notify A bool + */ + public function setNotify(bool $notify) + { + $this->notify=$notify; + $this->keyModified['notify'] = 1; + + } + + /** + * The method to get the relatedModules + * @return array A array representing the relatedModules + */ + public function getRelatedModules() + { + return $this->relatedModules; + + } + + /** + * The method to set the value to relatedModules + * @param array $relatedModules A array + */ + public function setRelatedModules(array $relatedModules) + { + $this->relatedModules=$relatedModules; + $this->keyModified['related_modules'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/changeowner/Owner.php b/versions/5.0.0/src/com/zoho/crm/api/changeowner/Owner.php new file mode 100644 index 0000000..1cb0912 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/changeowner/Owner.php @@ -0,0 +1,59 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/changeowner/RelatedModules.php b/versions/5.0.0/src/com/zoho/crm/api/changeowner/RelatedModules.php new file mode 100644 index 0000000..d7f826d --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/changeowner/RelatedModules.php @@ -0,0 +1,81 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/changeowner/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/changeowner/SuccessResponse.php new file mode 100644 index 0000000..e839d50 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/changeowner/SuccessResponse.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/contactroles/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/contactroles/APIException.php new file mode 100644 index 0000000..18ce55c --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/contactroles/APIException.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/contactroles/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/contactroles/ActionHandler.php new file mode 100644 index 0000000..9f9c653 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/contactroles/ActionHandler.php @@ -0,0 +1,7 @@ +contactRoles; + + } + + /** + * The method to set the value to contactRoles + * @param array $contactRoles A array + */ + public function setContactRoles(array $contactRoles) + { + $this->contactRoles=$contactRoles; + $this->keyModified['contact_roles'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/contactroles/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/contactroles/BodyWrapper.php new file mode 100644 index 0000000..0df9829 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/contactroles/BodyWrapper.php @@ -0,0 +1,59 @@ +contactRoles; + + } + + /** + * The method to set the value to contactRoles + * @param array $contactRoles A array + */ + public function setContactRoles(array $contactRoles) + { + $this->contactRoles=$contactRoles; + $this->keyModified['contact_roles'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/contactroles/ContactRole.php b/versions/5.0.0/src/com/zoho/crm/api/contactroles/ContactRole.php new file mode 100644 index 0000000..21ffaf8 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/contactroles/ContactRole.php @@ -0,0 +1,103 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the sequenceNumber + * @return int A int representing the sequenceNumber + */ + public function getSequenceNumber() + { + return $this->sequenceNumber; + + } + + /** + * The method to set the value to sequenceNumber + * @param int $sequenceNumber A int + */ + public function setSequenceNumber(int $sequenceNumber) + { + $this->sequenceNumber=$sequenceNumber; + $this->keyModified['sequence_number'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/contactroles/ContactRolesOperations.php b/versions/5.0.0/src/com/zoho/crm/api/contactroles/ContactRolesOperations.php new file mode 100644 index 0000000..79806fc --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/contactroles/ContactRolesOperations.php @@ -0,0 +1,144 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to create roles + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function createRoles(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/Contacts/roles'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to update roles + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updateRoles(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/Contacts/roles'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to delete contact roles + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function deleteContactRoles(ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/Contacts/roles'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setCategoryMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get role + * @param string $id A string + * @return APIResponse An instance of APIResponse + */ + public function getRole(string $id) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/Contacts/roles/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to update contact role + * @param string $id A string + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updateContactRole(string $id, BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/Contacts/roles/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to delete contact role + * @param string $id A string + * @return APIResponse An instance of APIResponse + */ + public function deleteContactRole(string $id) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/Contacts/roles/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setCategoryMethod(Constants::REQUEST_METHOD_DELETE); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/contactroles/DeleteContactRolesParam.php b/versions/5.0.0/src/com/zoho/crm/api/contactroles/DeleteContactRolesParam.php new file mode 100644 index 0000000..9bc840d --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/contactroles/DeleteContactRolesParam.php @@ -0,0 +1,14 @@ +contactRoles; + + } + + /** + * The method to set the value to contactRoles + * @param array $contactRoles A array + */ + public function setContactRoles(array $contactRoles) + { + $this->contactRoles=$contactRoles; + $this->keyModified['contact_roles'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/contactroles/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/contactroles/SuccessResponse.php new file mode 100644 index 0000000..6102671 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/contactroles/SuccessResponse.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/conversionoption/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/conversionoption/APIException.php new file mode 100644 index 0000000..2ee78b0 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/conversionoption/APIException.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/conversionoption/ConversionOptionOperations.php b/versions/5.0.0/src/com/zoho/crm/api/conversionoption/ConversionOptionOperations.php new file mode 100644 index 0000000..f1ecbdc --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/conversionoption/ConversionOptionOperations.php @@ -0,0 +1,44 @@ +leadId=$leadId; + + } + + /** + * The method to lead conversion options + * @return APIResponse An instance of APIResponse + */ + public function leadConversionOptions() + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/Leads/'); + $apiPath=$apiPath.(strval($this->leadId)); + $apiPath=$apiPath.('/__conversion_options'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setModuleAPIName("Leads"); + Utility::getFields("Leads,Contacts,Deals,Accounts", $handlerInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/conversionoption/ConversionOptions.php b/versions/5.0.0/src/com/zoho/crm/api/conversionoption/ConversionOptions.php new file mode 100644 index 0000000..b9b5603 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/conversionoption/ConversionOptions.php @@ -0,0 +1,171 @@ +modulePreference; + + } + + /** + * The method to set the value to modulePreference + * @param Modules $modulePreference An instance of Modules + */ + public function setModulePreference(Modules $modulePreference) + { + $this->modulePreference=$modulePreference; + $this->keyModified['module_preference'] = 1; + + } + + /** + * The method to get the contacts + * @return array A array representing the contacts + */ + public function getContacts() + { + return $this->contacts; + + } + + /** + * The method to set the value to contacts + * @param array $contacts A array + */ + public function setContacts(array $contacts) + { + $this->contacts=$contacts; + $this->keyModified['Contacts'] = 1; + + } + + /** + * The method to get the deals + * @return array A array representing the deals + */ + public function getDeals() + { + return $this->deals; + + } + + /** + * The method to set the value to deals + * @param array $deals A array + */ + public function setDeals(array $deals) + { + $this->deals=$deals; + $this->keyModified['Deals'] = 1; + + } + + /** + * The method to get the accounts + * @return array A array representing the accounts + */ + public function getAccounts() + { + return $this->accounts; + + } + + /** + * The method to set the value to accounts + * @param array $accounts A array + */ + public function setAccounts(array $accounts) + { + $this->accounts=$accounts; + $this->keyModified['Accounts'] = 1; + + } + + /** + * The method to get the preferenceFieldMatchedValue + * @return PreferenceFieldMatchedValue An instance of PreferenceFieldMatchedValue + */ + public function getPreferenceFieldMatchedValue() + { + return $this->preferenceFieldMatchedValue; + + } + + /** + * The method to set the value to preferenceFieldMatchedValue + * @param PreferenceFieldMatchedValue $preferenceFieldMatchedValue An instance of PreferenceFieldMatchedValue + */ + public function setPreferenceFieldMatchedValue(PreferenceFieldMatchedValue $preferenceFieldMatchedValue) + { + $this->preferenceFieldMatchedValue=$preferenceFieldMatchedValue; + $this->keyModified['preference_field_matched_value'] = 1; + + } + + /** + * The method to get the modulesWithMultipleLayouts + * @return array A array representing the modulesWithMultipleLayouts + */ + public function getModulesWithMultipleLayouts() + { + return $this->modulesWithMultipleLayouts; + + } + + /** + * The method to set the value to modulesWithMultipleLayouts + * @param array $modulesWithMultipleLayouts A array + */ + public function setModulesWithMultipleLayouts(array $modulesWithMultipleLayouts) + { + $this->modulesWithMultipleLayouts=$modulesWithMultipleLayouts; + $this->keyModified['modules_with_multiple_layouts'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/conversionoption/Field.php b/versions/5.0.0/src/com/zoho/crm/api/conversionoption/Field.php new file mode 100644 index 0000000..d4667e3 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/conversionoption/Field.php @@ -0,0 +1,81 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/conversionoption/PreferenceFieldMatch.php b/versions/5.0.0/src/com/zoho/crm/api/conversionoption/PreferenceFieldMatch.php new file mode 100644 index 0000000..e35b455 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/conversionoption/PreferenceFieldMatch.php @@ -0,0 +1,81 @@ +field; + + } + + /** + * The method to set the value to field + * @param Field $field An instance of Field + */ + public function setField(Field $field) + { + $this->field=$field; + $this->keyModified['field'] = 1; + + } + + /** + * The method to get the matchedLeadValue + * @return string A string representing the matchedLeadValue + */ + public function getMatchedLeadValue() + { + return $this->matchedLeadValue; + + } + + /** + * The method to set the value to matchedLeadValue + * @param string $matchedLeadValue A string + */ + public function setMatchedLeadValue(string $matchedLeadValue) + { + $this->matchedLeadValue=$matchedLeadValue; + $this->keyModified['matched_lead_value'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/conversionoption/PreferenceFieldMatchedValue.php b/versions/5.0.0/src/com/zoho/crm/api/conversionoption/PreferenceFieldMatchedValue.php new file mode 100644 index 0000000..8fb4cda --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/conversionoption/PreferenceFieldMatchedValue.php @@ -0,0 +1,103 @@ +contacts; + + } + + /** + * The method to set the value to contacts + * @param array $contacts A array + */ + public function setContacts(array $contacts) + { + $this->contacts=$contacts; + $this->keyModified['Contacts'] = 1; + + } + + /** + * The method to get the accounts + * @return array A array representing the accounts + */ + public function getAccounts() + { + return $this->accounts; + + } + + /** + * The method to set the value to accounts + * @param array $accounts A array + */ + public function setAccounts(array $accounts) + { + $this->accounts=$accounts; + $this->keyModified['Accounts'] = 1; + + } + + /** + * The method to get the deals + * @return array A array representing the deals + */ + public function getDeals() + { + return $this->deals; + + } + + /** + * The method to set the value to deals + * @param array $deals A array + */ + public function setDeals(array $deals) + { + $this->deals=$deals; + $this->keyModified['Deals'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/conversionoption/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/conversionoption/ResponseHandler.php new file mode 100644 index 0000000..dd91277 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/conversionoption/ResponseHandler.php @@ -0,0 +1,7 @@ +conversionoptions; + + } + + /** + * The method to set the value to conversionoptions + * @param ConversionOptions $conversionoptions An instance of ConversionOptions + */ + public function setConversionoptions(ConversionOptions $conversionoptions) + { + $this->conversionoptions=$conversionoptions; + $this->keyModified['__conversion_options'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/convertlead/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/convertlead/APIException.php new file mode 100644 index 0000000..c51217e --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/convertlead/APIException.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/convertlead/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/convertlead/ActionHandler.php new file mode 100644 index 0000000..0518ecb --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/convertlead/ActionHandler.php @@ -0,0 +1,7 @@ +data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/convertlead/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/convertlead/BodyWrapper.php new file mode 100644 index 0000000..d62a18f --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/convertlead/BodyWrapper.php @@ -0,0 +1,59 @@ +data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/convertlead/CarryOverTags.php b/versions/5.0.0/src/com/zoho/crm/api/convertlead/CarryOverTags.php new file mode 100644 index 0000000..eb104be --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/convertlead/CarryOverTags.php @@ -0,0 +1,103 @@ +contacts; + + } + + /** + * The method to set the value to contacts + * @param array $contacts A array + */ + public function setContacts(array $contacts) + { + $this->contacts=$contacts; + $this->keyModified['Contacts'] = 1; + + } + + /** + * The method to get the accounts + * @return array A array representing the accounts + */ + public function getAccounts() + { + return $this->accounts; + + } + + /** + * The method to set the value to accounts + * @param array $accounts A array + */ + public function setAccounts(array $accounts) + { + $this->accounts=$accounts; + $this->keyModified['Accounts'] = 1; + + } + + /** + * The method to get the deals + * @return array A array representing the deals + */ + public function getDeals() + { + return $this->deals; + + } + + /** + * The method to set the value to deals + * @param array $deals A array + */ + public function setDeals(array $deals) + { + $this->deals=$deals; + $this->keyModified['Deals'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/convertlead/ConvertLeadOperations.php b/versions/5.0.0/src/com/zoho/crm/api/convertlead/ConvertLeadOperations.php new file mode 100644 index 0000000..ecd1cae --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/convertlead/ConvertLeadOperations.php @@ -0,0 +1,48 @@ +leadId=$leadId; + + } + + /** + * The method to convert lead + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function convertLead(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/Leads/'); + $apiPath=$apiPath.(strval($this->leadId)); + $apiPath=$apiPath.('/actions/convert'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + $handlerInstance->setModuleAPIName("Deals"); + Utility::getFields("Deals", $handlerInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/convertlead/LeadConverter.php b/versions/5.0.0/src/com/zoho/crm/api/convertlead/LeadConverter.php new file mode 100644 index 0000000..f92c4f1 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/convertlead/LeadConverter.php @@ -0,0 +1,260 @@ +overwrite; + + } + + /** + * The method to set the value to overwrite + * @param bool $overwrite A bool + */ + public function setOverwrite(bool $overwrite) + { + $this->overwrite=$overwrite; + $this->keyModified['overwrite'] = 1; + + } + + /** + * The method to get the notifyLeadOwner + * @return bool A bool representing the notifyLeadOwner + */ + public function getNotifyLeadOwner() + { + return $this->notifyLeadOwner; + + } + + /** + * The method to set the value to notifyLeadOwner + * @param bool $notifyLeadOwner A bool + */ + public function setNotifyLeadOwner(bool $notifyLeadOwner) + { + $this->notifyLeadOwner=$notifyLeadOwner; + $this->keyModified['notify_lead_owner'] = 1; + + } + + /** + * The method to get the notifyNewEntityOwner + * @return bool A bool representing the notifyNewEntityOwner + */ + public function getNotifyNewEntityOwner() + { + return $this->notifyNewEntityOwner; + + } + + /** + * The method to set the value to notifyNewEntityOwner + * @param bool $notifyNewEntityOwner A bool + */ + public function setNotifyNewEntityOwner(bool $notifyNewEntityOwner) + { + $this->notifyNewEntityOwner=$notifyNewEntityOwner; + $this->keyModified['notify_new_entity_owner'] = 1; + + } + + /** + * The method to get the moveAttachmentsTo + * @return MoveAttachmentsTo An instance of MoveAttachmentsTo + */ + public function getMoveAttachmentsTo() + { + return $this->moveAttachmentsTo; + + } + + /** + * The method to set the value to moveAttachmentsTo + * @param MoveAttachmentsTo $moveAttachmentsTo An instance of MoveAttachmentsTo + */ + public function setMoveAttachmentsTo(MoveAttachmentsTo $moveAttachmentsTo) + { + $this->moveAttachmentsTo=$moveAttachmentsTo; + $this->keyModified['move_attachments_to'] = 1; + + } + + /** + * The method to get the accounts + * @return Record An instance of Record + */ + public function getAccounts() + { + return $this->accounts; + + } + + /** + * The method to set the value to accounts + * @param Record $accounts An instance of Record + */ + public function setAccounts(Record $accounts) + { + $this->accounts=$accounts; + $this->keyModified['Accounts'] = 1; + + } + + /** + * The method to get the contacts + * @return Record An instance of Record + */ + public function getContacts() + { + return $this->contacts; + + } + + /** + * The method to set the value to contacts + * @param Record $contacts An instance of Record + */ + public function setContacts(Record $contacts) + { + $this->contacts=$contacts; + $this->keyModified['Contacts'] = 1; + + } + + /** + * The method to get the assignTo + * @return MinifiedUser An instance of MinifiedUser + */ + public function getAssignTo() + { + return $this->assignTo; + + } + + /** + * The method to set the value to assignTo + * @param MinifiedUser $assignTo An instance of MinifiedUser + */ + public function setAssignTo(MinifiedUser $assignTo) + { + $this->assignTo=$assignTo; + $this->keyModified['assign_to'] = 1; + + } + + /** + * The method to get the deals + * @return Record An instance of Record + */ + public function getDeals() + { + return $this->deals; + + } + + /** + * The method to set the value to deals + * @param Record $deals An instance of Record + */ + public function setDeals(Record $deals) + { + $this->deals=$deals; + $this->keyModified['Deals'] = 1; + + } + + /** + * The method to get the addToExistingRecord + * @return Choice An instance of Choice + */ + public function getAddToExistingRecord() + { + return $this->addToExistingRecord; + + } + + /** + * The method to set the value to addToExistingRecord + * @param Choice $addToExistingRecord An instance of Choice + */ + public function setAddToExistingRecord(Choice $addToExistingRecord) + { + $this->addToExistingRecord=$addToExistingRecord; + $this->keyModified['add_to_existing_record'] = 1; + + } + + /** + * The method to get the carryOverTags + * @return CarryOverTags An instance of CarryOverTags + */ + public function getCarryOverTags() + { + return $this->carryOverTags; + + } + + /** + * The method to set the value to carryOverTags + * @param CarryOverTags $carryOverTags An instance of CarryOverTags + */ + public function setCarryOverTags(CarryOverTags $carryOverTags) + { + $this->carryOverTags=$carryOverTags; + $this->keyModified['carry_over_tags'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/convertlead/MoveAttachmentsTo.php b/versions/5.0.0/src/com/zoho/crm/api/convertlead/MoveAttachmentsTo.php new file mode 100644 index 0000000..98c205b --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/convertlead/MoveAttachmentsTo.php @@ -0,0 +1,81 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/convertlead/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/convertlead/SuccessResponse.php new file mode 100644 index 0000000..a3d9743 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/convertlead/SuccessResponse.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/coql/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/coql/APIException.php new file mode 100644 index 0000000..9c72fd2 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/coql/APIException.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/coql/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/coql/BodyWrapper.php new file mode 100644 index 0000000..fd387c6 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/coql/BodyWrapper.php @@ -0,0 +1,59 @@ +selectQuery; + + } + + /** + * The method to set the value to selectQuery + * @param string $selectQuery A string + */ + public function setSelectQuery(string $selectQuery) + { + $this->selectQuery=$selectQuery; + $this->keyModified['select_query'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/coql/ClauseDetails.php b/versions/5.0.0/src/com/zoho/crm/api/coql/ClauseDetails.php new file mode 100644 index 0000000..f7465e8 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/coql/ClauseDetails.php @@ -0,0 +1,59 @@ +clause; + + } + + /** + * The method to set the value to clause + * @param string $clause A string + */ + public function setClause(string $clause) + { + $this->clause=$clause; + $this->keyModified['clause'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/coql/CoqlOperations.php b/versions/5.0.0/src/com/zoho/crm/api/coql/CoqlOperations.php new file mode 100644 index 0000000..ec204a7 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/coql/CoqlOperations.php @@ -0,0 +1,30 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/coql/DetailsWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/coql/DetailsWrapper.php new file mode 100644 index 0000000..ddded0a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/coql/DetailsWrapper.php @@ -0,0 +1,7 @@ +line; + + } + + /** + * The method to set the value to line + * @param int $line A int + */ + public function setLine(int $line) + { + $this->line=$line; + $this->keyModified['line'] = 1; + + } + + /** + * The method to get the column + * @return int A int representing the column + */ + public function getColumn() + { + return $this->column; + + } + + /** + * The method to set the value to column + * @param int $column A int + */ + public function setColumn(int $column) + { + $this->column=$column; + $this->keyModified['column'] = 1; + + } + + /** + * The method to get the near + * @return string A string representing the near + */ + public function getNear() + { + return $this->near; + + } + + /** + * The method to set the value to near + * @param string $near A string + */ + public function setNear(string $near) + { + $this->near=$near; + $this->keyModified['near'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/coql/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/coql/ResponseHandler.php new file mode 100644 index 0000000..2400466 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/coql/ResponseHandler.php @@ -0,0 +1,7 @@ +data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to get the info + * @return Info An instance of Info + */ + public function getInfo() + { + return $this->info; + + } + + /** + * The method to set the value to info + * @param Info $info An instance of Info + */ + public function setInfo(Info $info) + { + $this->info=$info; + $this->keyModified['info'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/currencies/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/currencies/APIException.php new file mode 100644 index 0000000..a1ccb99 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/currencies/APIException.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/currencies/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/currencies/ActionHandler.php new file mode 100644 index 0000000..70f4891 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/currencies/ActionHandler.php @@ -0,0 +1,7 @@ +currencies; + + } + + /** + * The method to set the value to currencies + * @param array $currencies A array + */ + public function setCurrencies(array $currencies) + { + $this->currencies=$currencies; + $this->keyModified['currencies'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/currencies/BaseCurrency.php b/versions/5.0.0/src/com/zoho/crm/api/currencies/BaseCurrency.php new file mode 100644 index 0000000..a9032d1 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/currencies/BaseCurrency.php @@ -0,0 +1,324 @@ +isoCode; + + } + + /** + * The method to set the value to isoCode + * @param string $isoCode A string + */ + public function setIsoCode(string $isoCode) + { + $this->isoCode=$isoCode; + $this->keyModified['iso_code'] = 1; + + } + + /** + * The method to get the symbol + * @return string A string representing the symbol + */ + public function getSymbol() + { + return $this->symbol; + + } + + /** + * The method to set the value to symbol + * @param string $symbol A string + */ + public function setSymbol(string $symbol) + { + $this->symbol=$symbol; + $this->keyModified['symbol'] = 1; + + } + + /** + * The method to get the createdTime + * @return \DateTime An instance of \DateTime + */ + public function getCreatedTime() + { + return $this->createdTime; + + } + + /** + * The method to set the value to createdTime + * @param \DateTime $createdTime An instance of \DateTime + */ + public function setCreatedTime(\DateTime $createdTime) + { + $this->createdTime=$createdTime; + $this->keyModified['created_time'] = 1; + + } + + /** + * The method to get the isActive + * @return bool A bool representing the isActive + */ + public function getIsActive() + { + return $this->isActive; + + } + + /** + * The method to set the value to isActive + * @param bool $isActive A bool + */ + public function setIsActive(bool $isActive) + { + $this->isActive=$isActive; + $this->keyModified['is_active'] = 1; + + } + + /** + * The method to get the exchangeRate + * @return string A string representing the exchangeRate + */ + public function getExchangeRate() + { + return $this->exchangeRate; + + } + + /** + * The method to set the value to exchangeRate + * @param string $exchangeRate A string + */ + public function setExchangeRate(string $exchangeRate) + { + $this->exchangeRate=$exchangeRate; + $this->keyModified['exchange_rate'] = 1; + + } + + /** + * The method to get the format + * @return Format An instance of Format + */ + public function getFormat() + { + return $this->format; + + } + + /** + * The method to set the value to format + * @param Format $format An instance of Format + */ + public function setFormat(Format $format) + { + $this->format=$format; + $this->keyModified['format'] = 1; + + } + + /** + * The method to get the createdBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getCreatedBy() + { + return $this->createdBy; + + } + + /** + * The method to set the value to createdBy + * @param MinifiedUser $createdBy An instance of MinifiedUser + */ + public function setCreatedBy(MinifiedUser $createdBy) + { + $this->createdBy=$createdBy; + $this->keyModified['created_by'] = 1; + + } + + /** + * The method to get the prefixSymbol + * @return bool A bool representing the prefixSymbol + */ + public function getPrefixSymbol() + { + return $this->prefixSymbol; + + } + + /** + * The method to set the value to prefixSymbol + * @param bool $prefixSymbol A bool + */ + public function setPrefixSymbol(bool $prefixSymbol) + { + $this->prefixSymbol=$prefixSymbol; + $this->keyModified['prefix_symbol'] = 1; + + } + + /** + * The method to get the isBase + * @return bool A bool representing the isBase + */ + public function getIsBase() + { + return $this->isBase; + + } + + /** + * The method to set the value to isBase + * @param bool $isBase A bool + */ + public function setIsBase(bool $isBase) + { + $this->isBase=$isBase; + $this->keyModified['is_base'] = 1; + + } + + /** + * The method to get the modifiedTime + * @return \DateTime An instance of \DateTime + */ + public function getModifiedTime() + { + return $this->modifiedTime; + + } + + /** + * The method to set the value to modifiedTime + * @param \DateTime $modifiedTime An instance of \DateTime + */ + public function setModifiedTime(\DateTime $modifiedTime) + { + $this->modifiedTime=$modifiedTime; + $this->keyModified['modified_time'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the modifiedBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getModifiedBy() + { + return $this->modifiedBy; + + } + + /** + * The method to set the value to modifiedBy + * @param MinifiedUser $modifiedBy An instance of MinifiedUser + */ + public function setModifiedBy(MinifiedUser $modifiedBy) + { + $this->modifiedBy=$modifiedBy; + $this->keyModified['modified_by'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/currencies/BaseCurrencyActionResponse.php b/versions/5.0.0/src/com/zoho/crm/api/currencies/BaseCurrencyActionResponse.php new file mode 100644 index 0000000..b2c1a69 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/currencies/BaseCurrencyActionResponse.php @@ -0,0 +1,7 @@ +baseCurrency; + + } + + /** + * The method to set the value to baseCurrency + * @param BaseCurrencyActionResponse $baseCurrency An instance of BaseCurrencyActionResponse + */ + public function setBaseCurrency(BaseCurrencyActionResponse $baseCurrency) + { + $this->baseCurrency=$baseCurrency; + $this->keyModified['base_currency'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/currencies/BaseCurrencyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/currencies/BaseCurrencyWrapper.php new file mode 100644 index 0000000..5ce6713 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/currencies/BaseCurrencyWrapper.php @@ -0,0 +1,59 @@ +baseCurrency; + + } + + /** + * The method to set the value to baseCurrency + * @param BaseCurrency $baseCurrency An instance of BaseCurrency + */ + public function setBaseCurrency(BaseCurrency $baseCurrency) + { + $this->baseCurrency=$baseCurrency; + $this->keyModified['base_currency'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/currencies/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/currencies/BodyWrapper.php new file mode 100644 index 0000000..7bfccb5 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/currencies/BodyWrapper.php @@ -0,0 +1,59 @@ +currencies; + + } + + /** + * The method to set the value to currencies + * @param array $currencies A array + */ + public function setCurrencies(array $currencies) + { + $this->currencies=$currencies; + $this->keyModified['currencies'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/currencies/CurrenciesOperations.php b/versions/5.0.0/src/com/zoho/crm/api/currencies/CurrenciesOperations.php new file mode 100644 index 0000000..d2c8ca1 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/currencies/CurrenciesOperations.php @@ -0,0 +1,146 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to add currencies + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function addCurrencies(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/org/currencies'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to update currencies + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updateCurrencies(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/org/currencies'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get currency + * @param string $id A string + * @return APIResponse An instance of APIResponse + */ + public function getCurrency(string $id) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/org/currencies/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to update currency + * @param string $id A string + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updateCurrency(string $id, BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/org/currencies/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to enable base currency + * @param BaseCurrencyWrapper $request An instance of BaseCurrencyWrapper + * @return APIResponse An instance of APIResponse + */ + public function enableBaseCurrency(BaseCurrencyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/org/currencies/actions/enable'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to update base currency + * @param BaseCurrencyWrapper $request An instance of BaseCurrencyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updateBaseCurrency(BaseCurrencyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/org/currencies/actions/enable'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/currencies/Currency.php b/versions/5.0.0/src/com/zoho/crm/api/currencies/Currency.php new file mode 100644 index 0000000..41f9bf8 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/currencies/Currency.php @@ -0,0 +1,324 @@ +isoCode; + + } + + /** + * The method to set the value to isoCode + * @param string $isoCode A string + */ + public function setIsoCode(string $isoCode) + { + $this->isoCode=$isoCode; + $this->keyModified['iso_code'] = 1; + + } + + /** + * The method to get the symbol + * @return string A string representing the symbol + */ + public function getSymbol() + { + return $this->symbol; + + } + + /** + * The method to set the value to symbol + * @param string $symbol A string + */ + public function setSymbol(string $symbol) + { + $this->symbol=$symbol; + $this->keyModified['symbol'] = 1; + + } + + /** + * The method to get the createdTime + * @return \DateTime An instance of \DateTime + */ + public function getCreatedTime() + { + return $this->createdTime; + + } + + /** + * The method to set the value to createdTime + * @param \DateTime $createdTime An instance of \DateTime + */ + public function setCreatedTime(\DateTime $createdTime) + { + $this->createdTime=$createdTime; + $this->keyModified['created_time'] = 1; + + } + + /** + * The method to get the isActive + * @return bool A bool representing the isActive + */ + public function getIsActive() + { + return $this->isActive; + + } + + /** + * The method to set the value to isActive + * @param bool $isActive A bool + */ + public function setIsActive(bool $isActive) + { + $this->isActive=$isActive; + $this->keyModified['is_active'] = 1; + + } + + /** + * The method to get the exchangeRate + * @return string A string representing the exchangeRate + */ + public function getExchangeRate() + { + return $this->exchangeRate; + + } + + /** + * The method to set the value to exchangeRate + * @param string $exchangeRate A string + */ + public function setExchangeRate(string $exchangeRate) + { + $this->exchangeRate=$exchangeRate; + $this->keyModified['exchange_rate'] = 1; + + } + + /** + * The method to get the format + * @return Format An instance of Format + */ + public function getFormat() + { + return $this->format; + + } + + /** + * The method to set the value to format + * @param Format $format An instance of Format + */ + public function setFormat(Format $format) + { + $this->format=$format; + $this->keyModified['format'] = 1; + + } + + /** + * The method to get the createdBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getCreatedBy() + { + return $this->createdBy; + + } + + /** + * The method to set the value to createdBy + * @param MinifiedUser $createdBy An instance of MinifiedUser + */ + public function setCreatedBy(MinifiedUser $createdBy) + { + $this->createdBy=$createdBy; + $this->keyModified['created_by'] = 1; + + } + + /** + * The method to get the prefixSymbol + * @return bool A bool representing the prefixSymbol + */ + public function getPrefixSymbol() + { + return $this->prefixSymbol; + + } + + /** + * The method to set the value to prefixSymbol + * @param bool $prefixSymbol A bool + */ + public function setPrefixSymbol(bool $prefixSymbol) + { + $this->prefixSymbol=$prefixSymbol; + $this->keyModified['prefix_symbol'] = 1; + + } + + /** + * The method to get the isBase + * @return bool A bool representing the isBase + */ + public function getIsBase() + { + return $this->isBase; + + } + + /** + * The method to set the value to isBase + * @param bool $isBase A bool + */ + public function setIsBase(bool $isBase) + { + $this->isBase=$isBase; + $this->keyModified['is_base'] = 1; + + } + + /** + * The method to get the modifiedTime + * @return \DateTime An instance of \DateTime + */ + public function getModifiedTime() + { + return $this->modifiedTime; + + } + + /** + * The method to set the value to modifiedTime + * @param \DateTime $modifiedTime An instance of \DateTime + */ + public function setModifiedTime(\DateTime $modifiedTime) + { + $this->modifiedTime=$modifiedTime; + $this->keyModified['modified_time'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the modifiedBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getModifiedBy() + { + return $this->modifiedBy; + + } + + /** + * The method to set the value to modifiedBy + * @param MinifiedUser $modifiedBy An instance of MinifiedUser + */ + public function setModifiedBy(MinifiedUser $modifiedBy) + { + $this->modifiedBy=$modifiedBy; + $this->keyModified['modified_by'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/currencies/ErrorDetails.php b/versions/5.0.0/src/com/zoho/crm/api/currencies/ErrorDetails.php new file mode 100644 index 0000000..0b99747 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/currencies/ErrorDetails.php @@ -0,0 +1,81 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the jsonPath + * @return string A string representing the jsonPath + */ + public function getJsonPath() + { + return $this->jsonPath; + + } + + /** + * The method to set the value to jsonPath + * @param string $jsonPath A string + */ + public function setJsonPath(string $jsonPath) + { + $this->jsonPath=$jsonPath; + $this->keyModified['json_path'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/currencies/Format.php b/versions/5.0.0/src/com/zoho/crm/api/currencies/Format.php new file mode 100644 index 0000000..7f0a52a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/currencies/Format.php @@ -0,0 +1,104 @@ +decimalSeparator; + + } + + /** + * The method to set the value to decimalSeparator + * @param Choice $decimalSeparator An instance of Choice + */ + public function setDecimalSeparator(Choice $decimalSeparator) + { + $this->decimalSeparator=$decimalSeparator; + $this->keyModified['decimal_separator'] = 1; + + } + + /** + * The method to get the thousandSeparator + * @return Choice An instance of Choice + */ + public function getThousandSeparator() + { + return $this->thousandSeparator; + + } + + /** + * The method to set the value to thousandSeparator + * @param Choice $thousandSeparator An instance of Choice + */ + public function setThousandSeparator(Choice $thousandSeparator) + { + $this->thousandSeparator=$thousandSeparator; + $this->keyModified['thousand_separator'] = 1; + + } + + /** + * The method to get the decimalPlaces + * @return Choice An instance of Choice + */ + public function getDecimalPlaces() + { + return $this->decimalPlaces; + + } + + /** + * The method to set the value to decimalPlaces + * @param Choice $decimalPlaces An instance of Choice + */ + public function setDecimalPlaces(Choice $decimalPlaces) + { + $this->decimalPlaces=$decimalPlaces; + $this->keyModified['decimal_places'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/currencies/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/currencies/ResponseHandler.php new file mode 100644 index 0000000..eaf635c --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/currencies/ResponseHandler.php @@ -0,0 +1,7 @@ +currencies; + + } + + /** + * The method to set the value to currencies + * @param array $currencies A array + */ + public function setCurrencies(array $currencies) + { + $this->currencies=$currencies; + $this->keyModified['currencies'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/currencies/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/currencies/SuccessResponse.php new file mode 100644 index 0000000..10b0018 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/currencies/SuccessResponse.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/customviews/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/customviews/APIException.php new file mode 100644 index 0000000..508d578 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/customviews/APIException.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/customviews/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/customviews/ActionHandler.php new file mode 100644 index 0000000..984503a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/customviews/ActionHandler.php @@ -0,0 +1,7 @@ +customViews; + + } + + /** + * The method to set the value to customViews + * @param array $customViews A array + */ + public function setCustomViews(array $customViews) + { + $this->customViews=$customViews; + $this->keyModified['custom_views'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/customviews/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/customviews/BodyWrapper.php new file mode 100644 index 0000000..af0cd61 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/customviews/BodyWrapper.php @@ -0,0 +1,59 @@ +customViews; + + } + + /** + * The method to set the value to customViews + * @param array $customViews A array + */ + public function setCustomViews(array $customViews) + { + $this->customViews=$customViews; + $this->keyModified['custom_views'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/customviews/ChangeSortOrderOfCustomViewParam.php b/versions/5.0.0/src/com/zoho/crm/api/customviews/ChangeSortOrderOfCustomViewParam.php new file mode 100644 index 0000000..57d3811 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/customviews/ChangeSortOrderOfCustomViewParam.php @@ -0,0 +1,14 @@ +comparator; + + } + + /** + * The method to set the value to comparator + * @param string $comparator A string + */ + public function setComparator(string $comparator) + { + $this->comparator=$comparator; + $this->keyModified['comparator'] = 1; + + } + + /** + * The method to get the field + * @return Field An instance of Field + */ + public function getField() + { + return $this->field; + + } + + /** + * The method to set the value to field + * @param Field $field An instance of Field + */ + public function setField(Field $field) + { + $this->field=$field; + $this->keyModified['field'] = 1; + + } + + /** + * The method to get the value + */ + public function getValue() + { + return $this->value; + + } + + /** + * The method to set the value to value + * @param + */ + public function setValue( $value) + { + $this->value=$value; + $this->keyModified['value'] = 1; + + } + + /** + * The method to get the groupOperator + * @return string A string representing the groupOperator + */ + public function getGroupOperator() + { + return $this->groupOperator; + + } + + /** + * The method to set the value to groupOperator + * @param string $groupOperator A string + */ + public function setGroupOperator(string $groupOperator) + { + $this->groupOperator=$groupOperator; + $this->keyModified['group_operator'] = 1; + + } + + /** + * The method to get the group + * @return array A array representing the group + */ + public function getGroup() + { + return $this->group; + + } + + /** + * The method to set the value to group + * @param array $group A array + */ + public function setGroup(array $group) + { + $this->group=$group; + $this->keyModified['group'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/customviews/CustomViews.php b/versions/5.0.0/src/com/zoho/crm/api/customviews/CustomViews.php new file mode 100644 index 0000000..012f9d8 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/customviews/CustomViews.php @@ -0,0 +1,522 @@ +displayValue; + + } + + /** + * The method to set the value to displayValue + * @param string $displayValue A string + */ + public function setDisplayValue(string $displayValue) + { + $this->displayValue=$displayValue; + $this->keyModified['display_value'] = 1; + + } + + /** + * The method to get the systemName + * @return string A string representing the systemName + */ + public function getSystemName() + { + return $this->systemName; + + } + + /** + * The method to set the value to systemName + * @param string $systemName A string + */ + public function setSystemName(string $systemName) + { + $this->systemName=$systemName; + $this->keyModified['system_name'] = 1; + + } + + /** + * The method to get the category + * @return string A string representing the category + */ + public function getCategory() + { + return $this->category; + + } + + /** + * The method to set the value to category + * @param string $category A string + */ + public function setCategory(string $category) + { + $this->category=$category; + $this->keyModified['category'] = 1; + + } + + /** + * The method to get the createdTime + * @return \DateTime An instance of \DateTime + */ + public function getCreatedTime() + { + return $this->createdTime; + + } + + /** + * The method to set the value to createdTime + * @param \DateTime $createdTime An instance of \DateTime + */ + public function setCreatedTime(\DateTime $createdTime) + { + $this->createdTime=$createdTime; + $this->keyModified['created_time'] = 1; + + } + + /** + * The method to get the modifiedTime + * @return \DateTime An instance of \DateTime + */ + public function getModifiedTime() + { + return $this->modifiedTime; + + } + + /** + * The method to set the value to modifiedTime + * @param \DateTime $modifiedTime An instance of \DateTime + */ + public function setModifiedTime(\DateTime $modifiedTime) + { + $this->modifiedTime=$modifiedTime; + $this->keyModified['modified_time'] = 1; + + } + + /** + * The method to get the lastAccessedTime + * @return \DateTime An instance of \DateTime + */ + public function getLastAccessedTime() + { + return $this->lastAccessedTime; + + } + + /** + * The method to set the value to lastAccessedTime + * @param \DateTime $lastAccessedTime An instance of \DateTime + */ + public function setLastAccessedTime(\DateTime $lastAccessedTime) + { + $this->lastAccessedTime=$lastAccessedTime; + $this->keyModified['last_accessed_time'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the createdBy + * @return Owner An instance of Owner + */ + public function getCreatedBy() + { + return $this->createdBy; + + } + + /** + * The method to set the value to createdBy + * @param Owner $createdBy An instance of Owner + */ + public function setCreatedBy(Owner $createdBy) + { + $this->createdBy=$createdBy; + $this->keyModified['created_by'] = 1; + + } + + /** + * The method to get the modifiedBy + * @return Owner An instance of Owner + */ + public function getModifiedBy() + { + return $this->modifiedBy; + + } + + /** + * The method to set the value to modifiedBy + * @param Owner $modifiedBy An instance of Owner + */ + public function setModifiedBy(Owner $modifiedBy) + { + $this->modifiedBy=$modifiedBy; + $this->keyModified['modified_by'] = 1; + + } + + /** + * The method to get the module + * @return Owner An instance of Owner + */ + public function getModule() + { + return $this->module; + + } + + /** + * The method to set the value to module + * @param Owner $module An instance of Owner + */ + public function setModule(Owner $module) + { + $this->module=$module; + $this->keyModified['module'] = 1; + + } + + /** + * The method to get the criteria + * @return Criteria An instance of Criteria + */ + public function getCriteria() + { + return $this->criteria; + + } + + /** + * The method to set the value to criteria + * @param Criteria $criteria An instance of Criteria + */ + public function setCriteria(Criteria $criteria) + { + $this->criteria=$criteria; + $this->keyModified['criteria'] = 1; + + } + + /** + * The method to get the default + * @return bool A bool representing the default + */ + public function getDefault() + { + return $this->default; + + } + + /** + * The method to set the value to default + * @param bool $default A bool + */ + public function setDefault(bool $default) + { + $this->default=$default; + $this->keyModified['default'] = 1; + + } + + /** + * The method to get the systemDefined + * @return bool A bool representing the systemDefined + */ + public function getSystemDefined() + { + return $this->systemDefined; + + } + + /** + * The method to set the value to systemDefined + * @param bool $systemDefined A bool + */ + public function setSystemDefined(bool $systemDefined) + { + $this->systemDefined=$systemDefined; + $this->keyModified['system_defined'] = 1; + + } + + /** + * The method to get the locked + * @return bool A bool representing the locked + */ + public function getLocked() + { + return $this->locked; + + } + + /** + * The method to set the value to locked + * @param bool $locked A bool + */ + public function setLocked(bool $locked) + { + $this->locked=$locked; + $this->keyModified['locked'] = 1; + + } + + /** + * The method to get the favorite + * @return int A int representing the favorite + */ + public function getFavorite() + { + return $this->favorite; + + } + + /** + * The method to set the value to favorite + * @param int $favorite A int + */ + public function setFavorite(int $favorite) + { + $this->favorite=$favorite; + $this->keyModified['favorite'] = 1; + + } + + /** + * The method to get the offline + * @return bool A bool representing the offline + */ + public function getOffline() + { + return $this->offline; + + } + + /** + * The method to set the value to offline + * @param bool $offline A bool + */ + public function setOffline(bool $offline) + { + $this->offline=$offline; + $this->keyModified['offline'] = 1; + + } + + /** + * The method to get the accessType + * @return Choice An instance of Choice + */ + public function getAccessType() + { + return $this->accessType; + + } + + /** + * The method to set the value to accessType + * @param Choice $accessType An instance of Choice + */ + public function setAccessType(Choice $accessType) + { + $this->accessType=$accessType; + $this->keyModified['access_type'] = 1; + + } + + /** + * The method to get the sharedTo + * @return array A array representing the sharedTo + */ + public function getSharedTo() + { + return $this->sharedTo; + + } + + /** + * The method to set the value to sharedTo + * @param array $sharedTo A array + */ + public function setSharedTo(array $sharedTo) + { + $this->sharedTo=$sharedTo; + $this->keyModified['shared_to'] = 1; + + } + + /** + * The method to get the fields + * @return array A array representing the fields + */ + public function getFields() + { + return $this->fields; + + } + + /** + * The method to set the value to fields + * @param array $fields A array + */ + public function setFields(array $fields) + { + $this->fields=$fields; + $this->keyModified['fields'] = 1; + + } + + /** + * The method to get the sortBy + * @return SortBy An instance of SortBy + */ + public function getSortBy() + { + return $this->sortBy; + + } + + /** + * The method to set the value to sortBy + * @param SortBy $sortBy An instance of SortBy + */ + public function setSortBy(SortBy $sortBy) + { + $this->sortBy=$sortBy; + $this->keyModified['sort_by'] = 1; + + } + + /** + * The method to get the sortOrder + * @return Choice An instance of Choice + */ + public function getSortOrder() + { + return $this->sortOrder; + + } + + /** + * The method to set the value to sortOrder + * @param Choice $sortOrder An instance of Choice + */ + public function setSortOrder(Choice $sortOrder) + { + $this->sortOrder=$sortOrder; + $this->keyModified['sort_order'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/customviews/CustomViewsOperations.php b/versions/5.0.0/src/com/zoho/crm/api/customviews/CustomViewsOperations.php new file mode 100644 index 0000000..88b5977 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/customviews/CustomViewsOperations.php @@ -0,0 +1,97 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to get custom view + * @param string $id A string + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function getCustomView(string $id, ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/custom_views/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to change sort order of custom views + * @param BodyWrapper $request An instance of BodyWrapper + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function changeSortOrderOfCustomViews(BodyWrapper $request, ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/custom_views/actions/change_sort'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to change sort order of custom view + * @param string $id A string + * @param BodyWrapper $request An instance of BodyWrapper + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function changeSortOrderOfCustomView(string $id, BodyWrapper $request, ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/custom_views/'); + $apiPath=$apiPath.(strval($id)); + $apiPath=$apiPath.('/actions/change_sort'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/customviews/Field.php b/versions/5.0.0/src/com/zoho/crm/api/customviews/Field.php new file mode 100644 index 0000000..769fa95 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/customviews/Field.php @@ -0,0 +1,81 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/customviews/Fields.php b/versions/5.0.0/src/com/zoho/crm/api/customviews/Fields.php new file mode 100644 index 0000000..3537d00 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/customviews/Fields.php @@ -0,0 +1,103 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the pin + * @return bool A bool representing the pin + */ + public function getPin() + { + return $this->pin; + + } + + /** + * The method to set the value to pin + * @param bool $pin A bool + */ + public function setPin(bool $pin) + { + $this->pin=$pin; + $this->keyModified['_pin'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/customviews/GetCustomViewParam.php b/versions/5.0.0/src/com/zoho/crm/api/customviews/GetCustomViewParam.php new file mode 100644 index 0000000..7a1ec74 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/customviews/GetCustomViewParam.php @@ -0,0 +1,14 @@ +perPage; + + } + + /** + * The method to set the value to perPage + * @param int $perPage A int + */ + public function setPerPage(int $perPage) + { + $this->perPage=$perPage; + $this->keyModified['per_page'] = 1; + + } + + /** + * The method to get the count + * @return int A int representing the count + */ + public function getCount() + { + return $this->count; + + } + + /** + * The method to set the value to count + * @param int $count A int + */ + public function setCount(int $count) + { + $this->count=$count; + $this->keyModified['count'] = 1; + + } + + /** + * The method to get the page + * @return int A int representing the page + */ + public function getPage() + { + return $this->page; + + } + + /** + * The method to set the value to page + * @param int $page A int + */ + public function setPage(int $page) + { + $this->page=$page; + $this->keyModified['page'] = 1; + + } + + /** + * The method to get the moreRecords + * @return bool A bool representing the moreRecords + */ + public function getMoreRecords() + { + return $this->moreRecords; + + } + + /** + * The method to set the value to moreRecords + * @param bool $moreRecords A bool + */ + public function setMoreRecords(bool $moreRecords) + { + $this->moreRecords=$moreRecords; + $this->keyModified['more_records'] = 1; + + } + + /** + * The method to get the default + * @return string A string representing the default + */ + public function getDefault() + { + return $this->default; + + } + + /** + * The method to set the value to default + * @param string $default A string + */ + public function setDefault(string $default) + { + $this->default=$default; + $this->keyModified['default'] = 1; + + } + + /** + * The method to get the translation + * @return Translation An instance of Translation + */ + public function getTranslation() + { + return $this->translation; + + } + + /** + * The method to set the value to translation + * @param Translation $translation An instance of Translation + */ + public function setTranslation(Translation $translation) + { + $this->translation=$translation; + $this->keyModified['translation'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/customviews/Owner.php b/versions/5.0.0/src/com/zoho/crm/api/customviews/Owner.php new file mode 100644 index 0000000..595b765 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/customviews/Owner.php @@ -0,0 +1,103 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the email + * @return string A string representing the email + */ + public function getEmail() + { + return $this->email; + + } + + /** + * The method to set the value to email + * @param string $email A string + */ + public function setEmail(string $email) + { + $this->email=$email; + $this->keyModified['email'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/customviews/PinFields.php b/versions/5.0.0/src/com/zoho/crm/api/customviews/PinFields.php new file mode 100644 index 0000000..cf74d6b --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/customviews/PinFields.php @@ -0,0 +1,103 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the pin + * @return bool A bool representing the pin + */ + public function getPin() + { + return $this->pin; + + } + + /** + * The method to set the value to pin + * @param bool $pin A bool + */ + public function setPin(bool $pin) + { + $this->pin=$pin; + $this->keyModified['_pin'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/customviews/PinUnpinFields.php b/versions/5.0.0/src/com/zoho/crm/api/customviews/PinUnpinFields.php new file mode 100644 index 0000000..5ed2d08 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/customviews/PinUnpinFields.php @@ -0,0 +1,59 @@ +fields; + + } + + /** + * The method to set the value to fields + * @param array $fields A array + */ + public function setFields(array $fields) + { + $this->fields=$fields; + $this->keyModified['fields'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/customviews/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/customviews/ResponseHandler.php new file mode 100644 index 0000000..a27a5ec --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/customviews/ResponseHandler.php @@ -0,0 +1,7 @@ +customViews; + + } + + /** + * The method to set the value to customViews + * @param array $customViews A array + */ + public function setCustomViews(array $customViews) + { + $this->customViews=$customViews; + $this->keyModified['custom_views'] = 1; + + } + + /** + * The method to get the info + * @return Info An instance of Info + */ + public function getInfo() + { + return $this->info; + + } + + /** + * The method to set the value to info + * @param Info $info An instance of Info + */ + public function setInfo(Info $info) + { + $this->info=$info; + $this->keyModified['info'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/customviews/SharedTo.php b/versions/5.0.0/src/com/zoho/crm/api/customviews/SharedTo.php new file mode 100644 index 0000000..666f042 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/customviews/SharedTo.php @@ -0,0 +1,126 @@ +type; + + } + + /** + * The method to set the value to type + * @param Choice $type An instance of Choice + */ + public function setType(Choice $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the subordinates + * @return bool A bool representing the subordinates + */ + public function getSubordinates() + { + return $this->subordinates; + + } + + /** + * The method to set the value to subordinates + * @param bool $subordinates A bool + */ + public function setSubordinates(bool $subordinates) + { + $this->subordinates=$subordinates; + $this->keyModified['subordinates'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/customviews/SortBy.php b/versions/5.0.0/src/com/zoho/crm/api/customviews/SortBy.php new file mode 100644 index 0000000..def619e --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/customviews/SortBy.php @@ -0,0 +1,81 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/customviews/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/customviews/SuccessResponse.php new file mode 100644 index 0000000..640bb0a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/customviews/SuccessResponse.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/customviews/Translation.php b/versions/5.0.0/src/com/zoho/crm/api/customviews/Translation.php new file mode 100644 index 0000000..f54b806 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/customviews/Translation.php @@ -0,0 +1,125 @@ +publicViews; + + } + + /** + * The method to set the value to publicViews + * @param string $publicViews A string + */ + public function setPublicViews(string $publicViews) + { + $this->publicViews=$publicViews; + $this->keyModified['public_views'] = 1; + + } + + /** + * The method to get the otherUsersViews + * @return string A string representing the otherUsersViews + */ + public function getOtherUsersViews() + { + return $this->otherUsersViews; + + } + + /** + * The method to set the value to otherUsersViews + * @param string $otherUsersViews A string + */ + public function setOtherUsersViews(string $otherUsersViews) + { + $this->otherUsersViews=$otherUsersViews; + $this->keyModified['other_users_views'] = 1; + + } + + /** + * The method to get the sharedWithMe + * @return string A string representing the sharedWithMe + */ + public function getSharedWithMe() + { + return $this->sharedWithMe; + + } + + /** + * The method to set the value to sharedWithMe + * @param string $sharedWithMe A string + */ + public function setSharedWithMe(string $sharedWithMe) + { + $this->sharedWithMe=$sharedWithMe; + $this->keyModified['shared_with_me'] = 1; + + } + + /** + * The method to get the createdByMe + * @return string A string representing the createdByMe + */ + public function getCreatedByMe() + { + return $this->createdByMe; + + } + + /** + * The method to set the value to createdByMe + * @param string $createdByMe A string + */ + public function setCreatedByMe(string $createdByMe) + { + $this->createdByMe=$createdByMe; + $this->keyModified['created_by_me'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/dc/AUDataCenter.php b/versions/5.0.0/src/com/zoho/crm/api/dc/AUDataCenter.php new file mode 100755 index 0000000..3d5d3c7 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/dc/AUDataCenter.php @@ -0,0 +1,67 @@ +getIAMUrl(), self::$AU->getFileUploadUrl()); + } + return self::$PRODUCTION; + } + + /** + * This Environment class instance represents the Zoho CRM Sandbox Environment in AU Domain. + * @return Environment A Environment class instance. + */ + public static function SANDBOX() + { + self::$AU = new AUDataCenter(); + if (self::$SANDBOX == null) + { + self::$SANDBOX = DataCenter::setEnvironment("https://sandbox.zohoapis.com.au", self::$AU->getIAMUrl(), self::$AU->getFileUploadUrl()); + } + return self::$SANDBOX; + } + + /** + * This Environment class instance represents the Zoho CRM Developer Environment in AU Domain. + * @return Environment A Environment class instance. + */ + public static function DEVELOPER() + { + self::$AU = new AUDataCenter(); + if (self::$DEVELOPER == null) + { + self::$DEVELOPER = DataCenter::setEnvironment("https://developer.zohoapis.com.au", self::$AU->getIAMUrl(), self::$AU->getFileUploadUrl()); + } + return self::$DEVELOPER; + } + + public function getIAMUrl() + { + return "https://accounts.zoho.com.au/oauth/v2/token"; + } + + public function getFileUploadUrl() + { + return "https://content.zohoapis.com.au"; + } +} \ No newline at end of file diff --git a/versions/5.0.0/src/com/zoho/crm/api/dc/CADataCenter.php b/versions/5.0.0/src/com/zoho/crm/api/dc/CADataCenter.php new file mode 100644 index 0000000..5394692 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/dc/CADataCenter.php @@ -0,0 +1,67 @@ +getIAMUrl(), self::$CA->getFileUploadUrl()); + } + return self::$PRODUCTION; + } + + /** + * This Environment class instance represents the Zoho CRM Sandbox Environment in CA Domain. + * @return Environment A Environment class instance. + */ + public static function SANDBOX() + { + self::$CA = new CADataCenter(); + if (self::$SANDBOX == null) + { + self::$SANDBOX = DataCenter::setEnvironment("https://sandbox.zohoapis.ca", self::$CA->getIAMUrl(), self::$CA->getFileUploadUrl()); + } + return self::$SANDBOX; + } + + /** + * This Environment class instance represents the Zoho CRM Developer Environment in CA Domain. + * @return Environment A Environment class instance. + */ + public static function DEVELOPER() + { + self::$CA = new CADataCenter(); + if (self::$DEVELOPER == null) + { + self::$DEVELOPER = DataCenter::setEnvironment("https://developer.zohoapis.ca", self::$CA->getIAMUrl(), self::$CA->getFileUploadUrl()); + } + return self::$DEVELOPER; + } + + public function getIAMUrl() + { + return "https://accounts.zoho.ca/oauth/v2/token"; + } + + public function getFileUploadUrl() + { + return "https://content.zohoapis.ca"; + } +} \ No newline at end of file diff --git a/versions/5.0.0/src/com/zoho/crm/api/dc/CNDataCenter.php b/versions/5.0.0/src/com/zoho/crm/api/dc/CNDataCenter.php new file mode 100755 index 0000000..1e6216e --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/dc/CNDataCenter.php @@ -0,0 +1,67 @@ +getIAMUrl(), self::$CN->getFileUploadUrl()); + } + return self::$PRODUCTION; + } + + /** + * This Environment class instance represents the Zoho CRM Sandbox Environment in CN Domain. + * @return Environment A Environment class instance. + */ + public static function SANDBOX() + { + self::$CN = new CNDataCenter(); + if (self::$SANDBOX == null) + { + self::$SANDBOX = DataCenter::setEnvironment("https://sandbox.zohoapis.com.cn", self::$CN->getIAMUrl(), self::$CN->getFileUploadUrl()); + } + return self::$SANDBOX; + } + + /** + * This Environment class instance represents the Zoho CRM Developer Environment in CN Domain. + * @return Environment A Environment class instance. + */ + public static function DEVELOPER() + { + self::$CN = new CNDataCenter(); + if (self::$DEVELOPER == null) + { + self::$DEVELOPER = DataCenter::setEnvironment("https://developer.zohoapis.com.cn", self::$CN->getIAMUrl(), self::$CN->getFileUploadUrl()); + } + return self::$DEVELOPER; + } + + public function getIAMUrl() + { + return "https://accounts.zoho.com.cn/oauth/v2/token"; + } + + public function getFileUploadUrl() + { + return "https://content.zohoapis.com.cn"; + } +} \ No newline at end of file diff --git a/versions/5.0.0/src/com/zoho/crm/api/dc/DataCenter.php b/versions/5.0.0/src/com/zoho/crm/api/dc/DataCenter.php new file mode 100755 index 0000000..9c89d2a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/dc/DataCenter.php @@ -0,0 +1,160 @@ +url = $url; + $this->accountUrl = $accountUrl; + $this->fileUploadUrl = $fileUploadUrl; + } + + /** + * This method to get Zoho CRM API URL. + * @return string A string representing the Zoho CRM API URL. + */ + public function getUrl() + { + return $this->url; + } + + /** + * This method to get Zoho CRM Accounts URL. + * @return string A string representing the accounts URL. + */ + public function getAccountsUrl() + { + return $this->accountUrl; + } + + /** + * This method to get File Upload URL. + * @return string A string representing the File Upload URL. + */ + public function getFileUploadUrl() + { + return $this->fileUploadUrl; + } +} \ No newline at end of file diff --git a/versions/5.0.0/src/com/zoho/crm/api/dc/EUDataCenter.php b/versions/5.0.0/src/com/zoho/crm/api/dc/EUDataCenter.php new file mode 100755 index 0000000..b25348d --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/dc/EUDataCenter.php @@ -0,0 +1,67 @@ +getIAMUrl(), self::$EU->getFileUploadUrl()); + } + return self::$PRODUCTION; + } + + /** + * This Environment class instance represents the Zoho CRM Sandbox Environment in EU Domain. + * @return Environment A Environment class instance. + */ + public static function SANDBOX() + { + self::$EU = new EUDataCenter(); + if (self::$SANDBOX == null) + { + self::$SANDBOX = DataCenter::setEnvironment("https://sandbox.zohoapis.eu", self::$EU->getIAMUrl(), self::$EU->getFileUploadUrl()); + } + return self::$SANDBOX; + } + + /** + * This Environment class instance represents the Zoho CRM Developer Environment in EU Domain. + * @return Environment A Environment class instance. + */ + public static function DEVELOPER() + { + self::$EU = new EUDataCenter(); + if (self::$DEVELOPER == null) + { + self::$DEVELOPER = DataCenter::setEnvironment("https://developer.zohoapis.eu", self::$EU->getIAMUrl(), self::$EU->getFileUploadUrl()); + } + return self::$DEVELOPER; + } + + public function getIAMUrl() + { + return "https://accounts.zoho.eu/oauth/v2/token"; + } + + public function getFileUploadUrl() + { + return "https://content.zohoapis.eu"; + } +} \ No newline at end of file diff --git a/versions/5.0.0/src/com/zoho/crm/api/dc/INDataCenter.php b/versions/5.0.0/src/com/zoho/crm/api/dc/INDataCenter.php new file mode 100755 index 0000000..f7f3b1b --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/dc/INDataCenter.php @@ -0,0 +1,67 @@ +getIAMUrl(), self::$IN->getFileUploadUrl()); + } + return self::$PRODUCTION; + } + + /** + * This Environment class instance represents the Zoho CRM Sandbox Environment in IN Domain. + * @return Environment A Environment class instance. + */ + public static function SANDBOX() + { + self::$IN = new INDataCenter(); + if (self::$SANDBOX == null) + { + self::$SANDBOX = DataCenter::setEnvironment("https://sandbox.zohoapis.in", self::$IN ->getIAMUrl(), self::$IN->getFileUploadUrl()); + } + return self::$SANDBOX; + } + + /** + * This Environment class instance represents the Zoho CRM Developer Environment in IN Domain. + * @return Environment A Environment class instance. + */ + public static function DEVELOPER() + { + self::$IN = new INDataCenter(); + if (self::$DEVELOPER == null) + { + self::$DEVELOPER = DataCenter::setEnvironment("https://developer.zohoapis.in", self::$IN ->getIAMUrl(), self::$IN->getFileUploadUrl()); + } + return self::$DEVELOPER; + } + + public function getIAMUrl() + { + return "https://accounts.zoho.in/oauth/v2/token"; + } + + public function getFileUploadUrl() + { + return "https://content.zohoapis.in"; + } +} \ No newline at end of file diff --git a/versions/5.0.0/src/com/zoho/crm/api/dc/JPDataCenter.php b/versions/5.0.0/src/com/zoho/crm/api/dc/JPDataCenter.php new file mode 100644 index 0000000..62d5677 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/dc/JPDataCenter.php @@ -0,0 +1,67 @@ +getIAMUrl(), self::$JP->getFileUploadUrl()); + } + return self::$PRODUCTION; + } + + /** + * This Environment class instance represents the Zoho CRM Sandbox Environment in Japan Domain. + * @return Environment A Environment class instance. + */ + public static function SANDBOX() + { + self::$JP = new JPDataCenter(); + if (self::$SANDBOX == null) + { + self::$SANDBOX = DataCenter::setEnvironment("https://sandbox.zohoapis.jp", self::$JP->getIAMUrl(), self::$JP->getFileUploadUrl()); + } + return self::$SANDBOX; + } + + /** + * This Environment class instance represents the Zoho CRM Developer Environment in Japan Domain. + * @return Environment A Environment class instance. + */ + public static function DEVELOPER() + { + self::$JP = new JPDataCenter(); + if (self::$DEVELOPER == null) + { + self::$DEVELOPER = DataCenter::setEnvironment("https://developer.zohoapis.jp", self::$JP->getIAMUrl(), self::$JP->getFileUploadUrl()); + } + return self::$DEVELOPER; + } + + public function getIAMUrl() + { + return "https://accounts.zoho.jp/oauth/v2/token"; + } + + public function getFileUploadUrl() + { + return "https://content.zohoapis.jp"; + } +} \ No newline at end of file diff --git a/versions/5.0.0/src/com/zoho/crm/api/dc/USDataCenter.php b/versions/5.0.0/src/com/zoho/crm/api/dc/USDataCenter.php new file mode 100755 index 0000000..7b50040 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/dc/USDataCenter.php @@ -0,0 +1,67 @@ +getIAMUrl(), self::$US->getFileUploadUrl()); + } + return self::$PRODUCTION; + } + + /** + * This Environment class instance represents the Zoho CRM Sandbox Environment in US Domain. + * @return Environment A Environment class instance. + */ + public static function SANDBOX() + { + self::$US = new USDataCenter(); + if (self::$SANDBOX == null) + { + self::$SANDBOX = DataCenter::setEnvironment("https://sandbox.zohoapis.com", self::$US->getIAMUrl(), self::$US->getFileUploadUrl()); + } + return self::$SANDBOX; + } + + /** + * This Environment class instance represents the Zoho CRM Developer Environment in US Domain. + * @return Environment A Environment class instance. + */ + public static function DEVELOPER() + { + self::$US = new USDataCenter(); + if (self::$DEVELOPER == null) + { + self::$DEVELOPER = DataCenter::setEnvironment("https://developer.zohoapis.com", self::$US->getIAMUrl(), self::$US->getFileUploadUrl()); + } + return self::$DEVELOPER; + } + + public function getIAMUrl() + { + return "https://accounts.zoho.com/oauth/v2/token"; + } + + public function getFileUploadUrl() + { + return "https://content.zohoapis.com"; + } +} \ No newline at end of file diff --git a/versions/5.0.0/src/com/zoho/crm/api/dealcontactroles/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/dealcontactroles/APIException.php new file mode 100644 index 0000000..d8e33e5 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/dealcontactroles/APIException.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/dealcontactroles/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/dealcontactroles/ActionHandler.php new file mode 100644 index 0000000..b26187e --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/dealcontactroles/ActionHandler.php @@ -0,0 +1,7 @@ +data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/dealcontactroles/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/dealcontactroles/BodyWrapper.php new file mode 100644 index 0000000..3ae2529 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/dealcontactroles/BodyWrapper.php @@ -0,0 +1,59 @@ +data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/dealcontactroles/ContactRole.php b/versions/5.0.0/src/com/zoho/crm/api/dealcontactroles/ContactRole.php new file mode 100644 index 0000000..e04337a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/dealcontactroles/ContactRole.php @@ -0,0 +1,81 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/dealcontactroles/Data.php b/versions/5.0.0/src/com/zoho/crm/api/dealcontactroles/Data.php new file mode 100644 index 0000000..2d3066f --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/dealcontactroles/Data.php @@ -0,0 +1,172 @@ +getKeyValue('id'); + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->addKeyValue('id', $id); + + } + + /** + * The method to get the contactRole + * @return ContactRole An instance of ContactRole + */ + public function getContactRole() + { + return $this->getKeyValue('Contact_Role'); + + } + + /** + * The method to set the value to contactRole + * @param ContactRole $contactRole An instance of ContactRole + */ + public function setContactRole(ContactRole $contactRole) + { + $this->addKeyValue('Contact_Role', $contactRole); + + } + + /** + * The method to get the createdBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getCreatedBy() + { + return $this->getKeyValue('Created_By'); + + } + + /** + * The method to set the value to createdBy + * @param MinifiedUser $createdBy An instance of MinifiedUser + */ + public function setCreatedBy(MinifiedUser $createdBy) + { + $this->addKeyValue('Created_By', $createdBy); + + } + + /** + * The method to get the createdTime + * @return \DateTime An instance of \DateTime + */ + public function getCreatedTime() + { + return $this->getKeyValue('Created_Time'); + + } + + /** + * The method to set the value to createdTime + * @param \DateTime $createdTime An instance of \DateTime + */ + public function setCreatedTime(\DateTime $createdTime) + { + $this->addKeyValue('Created_Time', $createdTime); + + } + + /** + * The method to get the modifiedBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getModifiedBy() + { + return $this->getKeyValue('Modified_By'); + + } + + /** + * The method to set the value to modifiedBy + * @param MinifiedUser $modifiedBy An instance of MinifiedUser + */ + public function setModifiedBy(MinifiedUser $modifiedBy) + { + $this->addKeyValue('Modified_By', $modifiedBy); + + } + + /** + * The method to get the modifiedTime + * @return \DateTime An instance of \DateTime + */ + public function getModifiedTime() + { + return $this->getKeyValue('Modified_Time'); + + } + + /** + * The method to set the value to modifiedTime + * @param \DateTime $modifiedTime An instance of \DateTime + */ + public function setModifiedTime(\DateTime $modifiedTime) + { + $this->addKeyValue('Modified_Time', $modifiedTime); + + } + + /** + * The method to get the tag + * @return array A array representing the tag + */ + public function getTag() + { + return $this->getKeyValue('Tag'); + + } + + /** + * The method to set the value to tag + * @param array $tag A array + */ + public function setTag(array $tag) + { + $this->addKeyValue('Tag', $tag); + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->getKeyValue('name'); + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->addKeyValue('name', $name); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/dealcontactroles/DealContactRolesOperations.php b/versions/5.0.0/src/com/zoho/crm/api/dealcontactroles/DealContactRolesOperations.php new file mode 100644 index 0000000..010c2a9 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/dealcontactroles/DealContactRolesOperations.php @@ -0,0 +1,106 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + $handlerInstance->setModuleAPIName("Contacts"); + Utility::getFields("Contacts", $handlerInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to get associated contact roles specific to contact + * @param string $contact A string + * @param string $deal A string + * @return APIResponse An instance of APIResponse + */ + public function getAssociatedContactRolesSpecificToContact(string $contact, string $deal) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/Deals/'); + $apiPath=$apiPath.(strval($deal)); + $apiPath=$apiPath.('/Contact_Roles/'); + $apiPath=$apiPath.(strval($contact)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setModuleAPIName("Contacts"); + Utility::getFields("Contacts", $handlerInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to associate contact role to deal + * @param string $contact A string + * @param string $deal A string + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function associateContactRoleToDeal(string $contact, string $deal, BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/Deals/'); + $apiPath=$apiPath.(strval($deal)); + $apiPath=$apiPath.('/Contact_Roles/'); + $apiPath=$apiPath.(strval($contact)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to delete contact role realation + * @param string $contact A string + * @param string $deal A string + * @return APIResponse An instance of APIResponse + */ + public function deleteContactRoleRealation(string $contact, string $deal) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/Deals/'); + $apiPath=$apiPath.(strval($deal)); + $apiPath=$apiPath.('/Contact_Roles/'); + $apiPath=$apiPath.(strval($contact)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setCategoryMethod(Constants::REQUEST_METHOD_DELETE); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/dealcontactroles/ErrorDetails.php b/versions/5.0.0/src/com/zoho/crm/api/dealcontactroles/ErrorDetails.php new file mode 100644 index 0000000..5b3d3db --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/dealcontactroles/ErrorDetails.php @@ -0,0 +1,81 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the jsonPath + * @return string A string representing the jsonPath + */ + public function getJsonPath() + { + return $this->jsonPath; + + } + + /** + * The method to set the value to jsonPath + * @param string $jsonPath A string + */ + public function setJsonPath(string $jsonPath) + { + $this->jsonPath=$jsonPath; + $this->keyModified['json_path'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/dealcontactroles/GetAssociatedContactRolesParam.php b/versions/5.0.0/src/com/zoho/crm/api/dealcontactroles/GetAssociatedContactRolesParam.php new file mode 100644 index 0000000..be96b50 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/dealcontactroles/GetAssociatedContactRolesParam.php @@ -0,0 +1,19 @@ +count; + + } + + /** + * The method to set the value to count + * @param int $count A int + */ + public function setCount(int $count) + { + $this->count=$count; + $this->keyModified['count'] = 1; + + } + + /** + * The method to get the page + * @return int A int representing the page + */ + public function getPage() + { + return $this->page; + + } + + /** + * The method to set the value to page + * @param int $page A int + */ + public function setPage(int $page) + { + $this->page=$page; + $this->keyModified['page'] = 1; + + } + + /** + * The method to get the perPage + * @return int A int representing the perPage + */ + public function getPerPage() + { + return $this->perPage; + + } + + /** + * The method to set the value to perPage + * @param int $perPage A int + */ + public function setPerPage(int $perPage) + { + $this->perPage=$perPage; + $this->keyModified['per_page'] = 1; + + } + + /** + * The method to get the moreRecords + * @return bool A bool representing the moreRecords + */ + public function getMoreRecords() + { + return $this->moreRecords; + + } + + /** + * The method to set the value to moreRecords + * @param bool $moreRecords A bool + */ + public function setMoreRecords(bool $moreRecords) + { + $this->moreRecords=$moreRecords; + $this->keyModified['more_records'] = 1; + + } + + /** + * The method to get the previousPageToken + * @return string A string representing the previousPageToken + */ + public function getPreviousPageToken() + { + return $this->previousPageToken; + + } + + /** + * The method to set the value to previousPageToken + * @param string $previousPageToken A string + */ + public function setPreviousPageToken(string $previousPageToken) + { + $this->previousPageToken=$previousPageToken; + $this->keyModified['previous_page_token'] = 1; + + } + + /** + * The method to get the pageTokenExpiry + * @return string A string representing the pageTokenExpiry + */ + public function getPageTokenExpiry() + { + return $this->pageTokenExpiry; + + } + + /** + * The method to set the value to pageTokenExpiry + * @param string $pageTokenExpiry A string + */ + public function setPageTokenExpiry(string $pageTokenExpiry) + { + $this->pageTokenExpiry=$pageTokenExpiry; + $this->keyModified['page_token_expiry'] = 1; + + } + + /** + * The method to get the nextPageToken + * @return string A string representing the nextPageToken + */ + public function getNextPageToken() + { + return $this->nextPageToken; + + } + + /** + * The method to set the value to nextPageToken + * @param string $nextPageToken A string + */ + public function setNextPageToken(string $nextPageToken) + { + $this->nextPageToken=$nextPageToken; + $this->keyModified['next_page_token'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/dealcontactroles/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/dealcontactroles/ResponseHandler.php new file mode 100644 index 0000000..293a2f3 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/dealcontactroles/ResponseHandler.php @@ -0,0 +1,7 @@ +data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to get the info + * @return Info An instance of Info + */ + public function getInfo() + { + return $this->info; + + } + + /** + * The method to set the value to info + * @param Info $info An instance of Info + */ + public function setInfo(Info $info) + { + $this->info=$info; + $this->keyModified['info'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/dealcontactroles/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/dealcontactroles/SuccessResponse.php new file mode 100644 index 0000000..c438a2a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/dealcontactroles/SuccessResponse.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/definition/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/definition/APIException.php new file mode 100644 index 0000000..f8a4cc7 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/definition/APIException.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/definition/Definition.php b/versions/5.0.0/src/com/zoho/crm/api/definition/Definition.php new file mode 100644 index 0000000..be8b0d5 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/definition/Definition.php @@ -0,0 +1,103 @@ +rootElementName; + + } + + /** + * The method to set the value to rootElementName + * @param string $rootElementName A string + */ + public function setRootElementName(string $rootElementName) + { + $this->rootElementName=$rootElementName; + $this->keyModified['root_element_name'] = 1; + + } + + /** + * The method to get the extradetails + * @return array A array representing the extradetails + */ + public function getExtradetails() + { + return $this->extradetails; + + } + + /** + * The method to set the value to extradetails + * @param array $extradetails A array + */ + public function setExtradetails(array $extradetails) + { + $this->extradetails=$extradetails; + $this->keyModified['extraDetails'] = 1; + + } + + /** + * The method to get the properties + * @return array A array representing the properties + */ + public function getProperties() + { + return $this->properties; + + } + + /** + * The method to set the value to properties + * @param array $properties A array + */ + public function setProperties(array $properties) + { + $this->properties=$properties; + $this->keyModified['properties'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/definition/MinifiedProperty.php b/versions/5.0.0/src/com/zoho/crm/api/definition/MinifiedProperty.php new file mode 100644 index 0000000..462abf1 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/definition/MinifiedProperty.php @@ -0,0 +1,169 @@ +readOnly; + + } + + /** + * The method to set the value to readOnly + * @param bool $readOnly A bool + */ + public function setReadOnly(bool $readOnly) + { + $this->readOnly=$readOnly; + $this->keyModified['read_only'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the dataType + * @return string A string representing the dataType + */ + public function getDataType() + { + return $this->dataType; + + } + + /** + * The method to set the value to dataType + * @param string $dataType A string + */ + public function setDataType(string $dataType) + { + $this->dataType=$dataType; + $this->keyModified['data_type'] = 1; + + } + + /** + * The method to get the length + * @return int A int representing the length + */ + public function getLength() + { + return $this->length; + + } + + /** + * The method to set the value to length + * @param int $length A int + */ + public function setLength(int $length) + { + $this->length=$length; + $this->keyModified['length'] = 1; + + } + + /** + * The method to get the required + * @return bool A bool representing the required + */ + public function getRequired() + { + return $this->required; + + } + + /** + * The method to set the value to required + * @param bool $required A bool + */ + public function setRequired(bool $required) + { + $this->required=$required; + $this->keyModified['required'] = 1; + + } + + /** + * The method to get the properties + * @return array A array representing the properties + */ + public function getProperties() + { + return $this->properties; + + } + + /** + * The method to set the value to properties + * @param array $properties A array + */ + public function setProperties(array $properties) + { + $this->properties=$properties; + $this->keyModified['properties'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/definition/MinifiedProperty1.php b/versions/5.0.0/src/com/zoho/crm/api/definition/MinifiedProperty1.php new file mode 100644 index 0000000..493f1fe --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/definition/MinifiedProperty1.php @@ -0,0 +1,147 @@ +readOnly; + + } + + /** + * The method to set the value to readOnly + * @param bool $readOnly A bool + */ + public function setReadOnly(bool $readOnly) + { + $this->readOnly=$readOnly; + $this->keyModified['read_only'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the dataType + * @return string A string representing the dataType + */ + public function getDataType() + { + return $this->dataType; + + } + + /** + * The method to set the value to dataType + * @param string $dataType A string + */ + public function setDataType(string $dataType) + { + $this->dataType=$dataType; + $this->keyModified['data_type'] = 1; + + } + + /** + * The method to get the length + * @return int A int representing the length + */ + public function getLength() + { + return $this->length; + + } + + /** + * The method to set the value to length + * @param int $length A int + */ + public function setLength(int $length) + { + $this->length=$length; + $this->keyModified['length'] = 1; + + } + + /** + * The method to get the required + * @return bool A bool representing the required + */ + public function getRequired() + { + return $this->required; + + } + + /** + * The method to set the value to required + * @param bool $required A bool + */ + public function setRequired(bool $required) + { + $this->required=$required; + $this->keyModified['required'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/definition/Property.php b/versions/5.0.0/src/com/zoho/crm/api/definition/Property.php new file mode 100644 index 0000000..dd64d34 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/definition/Property.php @@ -0,0 +1,301 @@ +displayLabel; + + } + + /** + * The method to set the value to displayLabel + * @param string $displayLabel A string + */ + public function setDisplayLabel(string $displayLabel) + { + $this->displayLabel=$displayLabel; + $this->keyModified['display_label'] = 1; + + } + + /** + * The method to get the allowedValues + * @return array A array representing the allowedValues + */ + public function getAllowedValues() + { + return $this->allowedValues; + + } + + /** + * The method to set the value to allowedValues + * @param array $allowedValues A array + */ + public function setAllowedValues(array $allowedValues) + { + $this->allowedValues=$allowedValues; + $this->keyModified['allowed_values'] = 1; + + } + + /** + * The method to get the uiType + * @return int A int representing the uiType + */ + public function getUiType() + { + return $this->uiType; + + } + + /** + * The method to set the value to uiType + * @param int $uiType A int + */ + public function setUiType(int $uiType) + { + $this->uiType=$uiType; + $this->keyModified['ui_type'] = 1; + + } + + /** + * The method to get the regex + * @return string A string representing the regex + */ + public function getRegex() + { + return $this->regex; + + } + + /** + * The method to set the value to regex + * @param string $regex A string + */ + public function setRegex(string $regex) + { + $this->regex=$regex; + $this->keyModified['regex'] = 1; + + } + + /** + * The method to get the readOnly + * @return bool A bool representing the readOnly + */ + public function getReadOnly() + { + return $this->readOnly; + + } + + /** + * The method to set the value to readOnly + * @param bool $readOnly A bool + */ + public function setReadOnly(bool $readOnly) + { + $this->readOnly=$readOnly; + $this->keyModified['read_only'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the fieldLabel + * @return string A string representing the fieldLabel + */ + public function getFieldLabel() + { + return $this->fieldLabel; + + } + + /** + * The method to set the value to fieldLabel + * @param string $fieldLabel A string + */ + public function setFieldLabel(string $fieldLabel) + { + $this->fieldLabel=$fieldLabel; + $this->keyModified['field_label'] = 1; + + } + + /** + * The method to get the dataType + * @return string A string representing the dataType + */ + public function getDataType() + { + return $this->dataType; + + } + + /** + * The method to set the value to dataType + * @param string $dataType A string + */ + public function setDataType(string $dataType) + { + $this->dataType=$dataType; + $this->keyModified['data_type'] = 1; + + } + + /** + * The method to get the length + * @return int A int representing the length + */ + public function getLength() + { + return $this->length; + + } + + /** + * The method to set the value to length + * @param int $length A int + */ + public function setLength(int $length) + { + $this->length=$length; + $this->keyModified['length'] = 1; + + } + + /** + * The method to get the availableInUserLayout + * @return bool A bool representing the availableInUserLayout + */ + public function getAvailableInUserLayout() + { + return $this->availableInUserLayout; + + } + + /** + * The method to set the value to availableInUserLayout + * @param bool $availableInUserLayout A bool + */ + public function setAvailableInUserLayout(bool $availableInUserLayout) + { + $this->availableInUserLayout=$availableInUserLayout; + $this->keyModified['available_in_user_layout'] = 1; + + } + + /** + * The method to get the required + * @return bool A bool representing the required + */ + public function getRequired() + { + return $this->required; + + } + + /** + * The method to set the value to required + * @param bool $required A bool + */ + public function setRequired(bool $required) + { + $this->required=$required; + $this->keyModified['required'] = 1; + + } + + /** + * The method to get the properties + * @return array A array representing the properties + */ + public function getProperties() + { + return $this->properties; + + } + + /** + * The method to set the value to properties + * @param array $properties A array + */ + public function setProperties(array $properties) + { + $this->properties=$properties; + $this->keyModified['properties'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/definition/ResponseWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/definition/ResponseWrapper.php new file mode 100644 index 0000000..cebf6c8 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/definition/ResponseWrapper.php @@ -0,0 +1,59 @@ +definition; + + } + + /** + * The method to set the value to definition + * @param Definition $definition An instance of Definition + */ + public function setDefinition(Definition $definition) + { + $this->definition=$definition; + $this->keyModified['definition'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/digest/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/digest/APIException.php new file mode 100644 index 0000000..f33a23d --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/digest/APIException.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/digest/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/digest/ActionHandler.php new file mode 100644 index 0000000..642bcd5 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/digest/ActionHandler.php @@ -0,0 +1,7 @@ +digest; + + } + + /** + * The method to set the value to digest + * @param array $digest A array + */ + public function setDigest(array $digest) + { + $this->digest=$digest; + $this->keyModified['__digest'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/digest/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/digest/BodyWrapper.php new file mode 100644 index 0000000..19d8b36 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/digest/BodyWrapper.php @@ -0,0 +1,59 @@ +digest; + + } + + /** + * The method to set the value to digest + * @param array $digest A array + */ + public function setDigest(array $digest) + { + $this->digest=$digest; + $this->keyModified['__digest'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/digest/Dependee.php b/versions/5.0.0/src/com/zoho/crm/api/digest/Dependee.php new file mode 100644 index 0000000..b8caef9 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/digest/Dependee.php @@ -0,0 +1,81 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the jsonPath + * @return string A string representing the jsonPath + */ + public function getJsonPath() + { + return $this->jsonPath; + + } + + /** + * The method to set the value to jsonPath + * @param string $jsonPath A string + */ + public function setJsonPath(string $jsonPath) + { + $this->jsonPath=$jsonPath; + $this->keyModified['json_path'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/digest/Digest.php b/versions/5.0.0/src/com/zoho/crm/api/digest/Digest.php new file mode 100644 index 0000000..e716a23 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/digest/Digest.php @@ -0,0 +1,103 @@ +recordId; + + } + + /** + * The method to set the value to recordId + * @param string $recordId A string + */ + public function setRecordId(string $recordId) + { + $this->recordId=$recordId; + $this->keyModified['record_id'] = 1; + + } + + /** + * The method to get the type + * @return string A string representing the type + */ + public function getType() + { + return $this->type; + + } + + /** + * The method to set the value to type + * @param string $type A string + */ + public function setType(string $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to get the module + * @return string A string representing the module + */ + public function getModule() + { + return $this->module; + + } + + /** + * The method to set the value to module + * @param string $module A string + */ + public function setModule(string $module) + { + $this->module=$module; + $this->keyModified['module'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/digest/DigestOperations.php b/versions/5.0.0/src/com/zoho/crm/api/digest/DigestOperations.php new file mode 100644 index 0000000..d9fa971 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/digest/DigestOperations.php @@ -0,0 +1,31 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/digest/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/digest/SuccessResponse.php new file mode 100644 index 0000000..5abc348 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/digest/SuccessResponse.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/downloadattachments/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/downloadattachments/APIException.php new file mode 100644 index 0000000..0d2138f --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/downloadattachments/APIException.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/downloadattachments/DownloadAttachmentsOperations.php b/versions/5.0.0/src/com/zoho/crm/api/downloadattachments/DownloadAttachmentsOperations.php new file mode 100644 index 0000000..3df3345 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/downloadattachments/DownloadAttachmentsOperations.php @@ -0,0 +1,37 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'multipart/form-data'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/downloadattachments/FileBodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/downloadattachments/FileBodyWrapper.php new file mode 100644 index 0000000..dcc91a9 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/downloadattachments/FileBodyWrapper.php @@ -0,0 +1,60 @@ +file; + + } + + /** + * The method to set the value to file + * @param StreamWrapper $file An instance of StreamWrapper + */ + public function setFile(StreamWrapper $file) + { + $this->file=$file; + $this->keyModified['file'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/downloadattachments/GetDownloadAttachmentsDetailsParam.php b/versions/5.0.0/src/com/zoho/crm/api/downloadattachments/GetDownloadAttachmentsDetailsParam.php new file mode 100644 index 0000000..513df3f --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/downloadattachments/GetDownloadAttachmentsDetailsParam.php @@ -0,0 +1,29 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/downloadinlineimages/DownloadInlineImagesOperations.php b/versions/5.0.0/src/com/zoho/crm/api/downloadinlineimages/DownloadInlineImagesOperations.php new file mode 100644 index 0000000..24870c4 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/downloadinlineimages/DownloadInlineImagesOperations.php @@ -0,0 +1,37 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'multipart/form-data'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/downloadinlineimages/FileBodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/downloadinlineimages/FileBodyWrapper.php new file mode 100644 index 0000000..b9f236a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/downloadinlineimages/FileBodyWrapper.php @@ -0,0 +1,60 @@ +file; + + } + + /** + * The method to set the value to file + * @param StreamWrapper $file An instance of StreamWrapper + */ + public function setFile(StreamWrapper $file) + { + $this->file=$file; + $this->keyModified['file'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/downloadinlineimages/GetDownloadInlineImagesParam.php b/versions/5.0.0/src/com/zoho/crm/api/downloadinlineimages/GetDownloadInlineImagesParam.php new file mode 100644 index 0000000..549bf48 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/downloadinlineimages/GetDownloadInlineImagesParam.php @@ -0,0 +1,24 @@ +data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/emailcomposemeta/DataMap.php b/versions/5.0.0/src/com/zoho/crm/api/emailcomposemeta/DataMap.php new file mode 100644 index 0000000..bc69dd7 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/emailcomposemeta/DataMap.php @@ -0,0 +1,147 @@ +user; + + } + + /** + * The method to set the value to user + * @param User $user An instance of User + */ + public function setUser(User $user) + { + $this->user=$user; + $this->keyModified['user'] = 1; + + } + + /** + * The method to get the featuresAvailable + * @return FeaturesAvailable An instance of FeaturesAvailable + */ + public function getFeaturesAvailable() + { + return $this->featuresAvailable; + + } + + /** + * The method to set the value to featuresAvailable + * @param FeaturesAvailable $featuresAvailable An instance of FeaturesAvailable + */ + public function setFeaturesAvailable(FeaturesAvailable $featuresAvailable) + { + $this->featuresAvailable=$featuresAvailable; + $this->keyModified['features_available'] = 1; + + } + + /** + * The method to get the fromAddress + * @return array A array representing the fromAddress + */ + public function getFromAddress() + { + return $this->fromAddress; + + } + + /** + * The method to set the value to fromAddress + * @param array $fromAddress A array + */ + public function setFromAddress(array $fromAddress) + { + $this->fromAddress=$fromAddress; + $this->keyModified['from_address'] = 1; + + } + + /** + * The method to get the relayDomains + * @return array A array representing the relayDomains + */ + public function getRelayDomains() + { + return $this->relayDomains; + + } + + /** + * The method to set the value to relayDomains + * @param array $relayDomains A array + */ + public function setRelayDomains(array $relayDomains) + { + $this->relayDomains=$relayDomains; + $this->keyModified['relay_domains'] = 1; + + } + + /** + * The method to get the mergefieldsdata + * @return string A string representing the mergefieldsdata + */ + public function getMergefieldsdata() + { + return $this->mergefieldsdata; + + } + + /** + * The method to set the value to mergefieldsdata + * @param string $mergefieldsdata A string + */ + public function setMergefieldsdata(string $mergefieldsdata) + { + $this->mergefieldsdata=$mergefieldsdata; + $this->keyModified['mergeFieldsData'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/emailcomposemeta/FeaturesAvailable.php b/versions/5.0.0/src/com/zoho/crm/api/emailcomposemeta/FeaturesAvailable.php new file mode 100644 index 0000000..dda1fcf --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/emailcomposemeta/FeaturesAvailable.php @@ -0,0 +1,390 @@ +zsurveyEnabled; + + } + + /** + * The method to set the value to zsurveyEnabled + * @param Choice $zsurveyEnabled An instance of Choice + */ + public function setZsurveyEnabled(Choice $zsurveyEnabled) + { + $this->zsurveyEnabled=$zsurveyEnabled; + $this->keyModified['zsurvey_enabled'] = 1; + + } + + /** + * The method to get the inlineComposeWindow + * @return Choice An instance of Choice + */ + public function getInlineComposeWindow() + { + return $this->inlineComposeWindow; + + } + + /** + * The method to set the value to inlineComposeWindow + * @param Choice $inlineComposeWindow An instance of Choice + */ + public function setInlineComposeWindow(Choice $inlineComposeWindow) + { + $this->inlineComposeWindow=$inlineComposeWindow; + $this->keyModified['inline_compose_window'] = 1; + + } + + /** + * The method to get the scheduleMail + * @return Choice An instance of Choice + */ + public function getScheduleMail() + { + return $this->scheduleMail; + + } + + /** + * The method to set the value to scheduleMail + * @param Choice $scheduleMail An instance of Choice + */ + public function setScheduleMail(Choice $scheduleMail) + { + $this->scheduleMail=$scheduleMail; + $this->keyModified['Schedule_Mail'] = 1; + + } + + /** + * The method to get the emailCloudPicker + * @return Choice An instance of Choice + */ + public function getEmailCloudPicker() + { + return $this->emailCloudPicker; + + } + + /** + * The method to set the value to emailCloudPicker + * @param Choice $emailCloudPicker An instance of Choice + */ + public function setEmailCloudPicker(Choice $emailCloudPicker) + { + $this->emailCloudPicker=$emailCloudPicker; + $this->keyModified['EMAIL_CLOUD_PICKER'] = 1; + + } + + /** + * The method to get the formIntegrationEnabled + * @return Choice An instance of Choice + */ + public function getFormIntegrationEnabled() + { + return $this->formIntegrationEnabled; + + } + + /** + * The method to set the value to formIntegrationEnabled + * @param Choice $formIntegrationEnabled An instance of Choice + */ + public function setFormIntegrationEnabled(Choice $formIntegrationEnabled) + { + $this->formIntegrationEnabled=$formIntegrationEnabled; + $this->keyModified['form_integration_enabled'] = 1; + + } + + /** + * The method to get the isprivacyenabled + * @return Choice An instance of Choice + */ + public function getIsprivacyenabled() + { + return $this->isprivacyenabled; + + } + + /** + * The method to set the value to isprivacyenabled + * @param Choice $isprivacyenabled An instance of Choice + */ + public function setIsprivacyenabled(Choice $isprivacyenabled) + { + $this->isprivacyenabled=$isprivacyenabled; + $this->keyModified['isPrivacyEnabled'] = 1; + + } + + /** + * The method to get the autoSuggestion + * @return Choice An instance of Choice + */ + public function getAutoSuggestion() + { + return $this->autoSuggestion; + + } + + /** + * The method to set the value to autoSuggestion + * @param Choice $autoSuggestion An instance of Choice + */ + public function setAutoSuggestion(Choice $autoSuggestion) + { + $this->autoSuggestion=$autoSuggestion; + $this->keyModified['auto_suggestion'] = 1; + + } + + /** + * The method to get the unsubscribeLink + * @return Choice An instance of Choice + */ + public function getUnsubscribeLink() + { + return $this->unsubscribeLink; + + } + + /** + * The method to set the value to unsubscribeLink + * @param Choice $unsubscribeLink An instance of Choice + */ + public function setUnsubscribeLink(Choice $unsubscribeLink) + { + $this->unsubscribeLink=$unsubscribeLink; + $this->keyModified['UNSUBSCRIBE_LINK'] = 1; + + } + + /** + * The method to get the bestTimeToContact + * @return Choice An instance of Choice + */ + public function getBestTimeToContact() + { + return $this->bestTimeToContact; + + } + + /** + * The method to set the value to bestTimeToContact + * @param Choice $bestTimeToContact An instance of Choice + */ + public function setBestTimeToContact(Choice $bestTimeToContact) + { + $this->bestTimeToContact=$bestTimeToContact; + $this->keyModified['best_time_to_contact'] = 1; + + } + + /** + * The method to get the attachTeamdrive + * @return Choice An instance of Choice + */ + public function getAttachTeamdrive() + { + return $this->attachTeamdrive; + + } + + /** + * The method to set the value to attachTeamdrive + * @param Choice $attachTeamdrive An instance of Choice + */ + public function setAttachTeamdrive(Choice $attachTeamdrive) + { + $this->attachTeamdrive=$attachTeamdrive; + $this->keyModified['attach_teamdrive'] = 1; + + } + + /** + * The method to get the islivedeskenabled + * @return Choice An instance of Choice + */ + public function getIslivedeskenabled() + { + return $this->islivedeskenabled; + + } + + /** + * The method to set the value to islivedeskenabled + * @param Choice $islivedeskenabled An instance of Choice + */ + public function setIslivedeskenabled(Choice $islivedeskenabled) + { + $this->islivedeskenabled=$islivedeskenabled; + $this->keyModified['isLiveDeskEnabled'] = 1; + + } + + /** + * The method to get the subjectLineSuggestion + * @return bool A bool representing the subjectLineSuggestion + */ + public function getSubjectLineSuggestion() + { + return $this->subjectLineSuggestion; + + } + + /** + * The method to set the value to subjectLineSuggestion + * @param bool $subjectLineSuggestion A bool + */ + public function setSubjectLineSuggestion(bool $subjectLineSuggestion) + { + $this->subjectLineSuggestion=$subjectLineSuggestion; + $this->keyModified['subject_line_suggestion'] = 1; + + } + + /** + * The method to get the emailPreference + * @return bool A bool representing the emailPreference + */ + public function getEmailPreference() + { + return $this->emailPreference; + + } + + /** + * The method to set the value to emailPreference + * @param bool $emailPreference A bool + */ + public function setEmailPreference(bool $emailPreference) + { + $this->emailPreference=$emailPreference; + $this->keyModified['EMAIL_PREFERENCE'] = 1; + + } + + /** + * The method to get the attachment + * @return bool A bool representing the attachment + */ + public function getAttachment() + { + return $this->attachment; + + } + + /** + * The method to set the value to attachment + * @param bool $attachment A bool + */ + public function setAttachment(bool $attachment) + { + $this->attachment=$attachment; + $this->keyModified['ATTACHMENT'] = 1; + + } + + /** + * The method to get the mandateunsublink + * @return bool A bool representing the mandateunsublink + */ + public function getMandateunsublink() + { + return $this->mandateunsublink; + + } + + /** + * The method to set the value to mandateunsublink + * @param bool $mandateunsublink A bool + */ + public function setMandateunsublink(bool $mandateunsublink) + { + $this->mandateunsublink=$mandateunsublink; + $this->keyModified['mandateUnsubLink'] = 1; + + } + + /** + * The method to get the oldComposeRevert + * @return bool A bool representing the oldComposeRevert + */ + public function getOldComposeRevert() + { + return $this->oldComposeRevert; + + } + + /** + * The method to set the value to oldComposeRevert + * @param bool $oldComposeRevert A bool + */ + public function setOldComposeRevert(bool $oldComposeRevert) + { + $this->oldComposeRevert=$oldComposeRevert; + $this->keyModified['OLD_COMPOSE_REVERT'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/emailcomposemeta/FromAddress.php b/versions/5.0.0/src/com/zoho/crm/api/emailcomposemeta/FromAddress.php new file mode 100644 index 0000000..07f3f85 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/emailcomposemeta/FromAddress.php @@ -0,0 +1,148 @@ +userName; + + } + + /** + * The method to set the value to userName + * @param string $userName A string + */ + public function setUserName(string $userName) + { + $this->userName=$userName; + $this->keyModified['user_name'] = 1; + + } + + /** + * The method to get the type + * @return string A string representing the type + */ + public function getType() + { + return $this->type; + + } + + /** + * The method to set the value to type + * @param string $type A string + */ + public function setType(string $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to get the email + * @return string A string representing the email + */ + public function getEmail() + { + return $this->email; + + } + + /** + * The method to set the value to email + * @param string $email A string + */ + public function setEmail(string $email) + { + $this->email=$email; + $this->keyModified['email'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the default + * @return Choice An instance of Choice + */ + public function getDefault() + { + return $this->default; + + } + + /** + * The method to set the value to default + * @param Choice $default An instance of Choice + */ + public function setDefault(Choice $default) + { + $this->default=$default; + $this->keyModified['default'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/emailcomposemeta/Signature.php b/versions/5.0.0/src/com/zoho/crm/api/emailcomposemeta/Signature.php new file mode 100644 index 0000000..3e7e6a0 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/emailcomposemeta/Signature.php @@ -0,0 +1,81 @@ +mode; + + } + + /** + * The method to set the value to mode + * @param int $mode A int + */ + public function setMode(int $mode) + { + $this->mode=$mode; + $this->keyModified['mode'] = 1; + + } + + /** + * The method to get the sign + * @return string A string representing the sign + */ + public function getSign() + { + return $this->sign; + + } + + /** + * The method to set the value to sign + * @param string $sign A string + */ + public function setSign(string $sign) + { + $this->sign=$sign; + $this->keyModified['sign'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/emailcomposemeta/User.php b/versions/5.0.0/src/com/zoho/crm/api/emailcomposemeta/User.php new file mode 100644 index 0000000..8456044 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/emailcomposemeta/User.php @@ -0,0 +1,147 @@ +fullName; + + } + + /** + * The method to set the value to fullName + * @param string $fullName A string + */ + public function setFullName(string $fullName) + { + $this->fullName=$fullName; + $this->keyModified['full_name'] = 1; + + } + + /** + * The method to get the email + * @return string A string representing the email + */ + public function getEmail() + { + return $this->email; + + } + + /** + * The method to set the value to email + * @param string $email A string + */ + public function setEmail(string $email) + { + $this->email=$email; + $this->keyModified['email'] = 1; + + } + + /** + * The method to get the zuid + * @return string A string representing the zuid + */ + public function getZuid() + { + return $this->zuid; + + } + + /** + * The method to set the value to zuid + * @param string $zuid A string + */ + public function setZuid(string $zuid) + { + $this->zuid=$zuid; + $this->keyModified['zuid'] = 1; + + } + + /** + * The method to get the zgid + * @return string A string representing the zgid + */ + public function getZgid() + { + return $this->zgid; + + } + + /** + * The method to set the value to zgid + * @param string $zgid A string + */ + public function setZgid(string $zgid) + { + $this->zgid=$zgid; + $this->keyModified['zgid'] = 1; + + } + + /** + * The method to get the signature + * @return Signature An instance of Signature + */ + public function getSignature() + { + return $this->signature; + + } + + /** + * The method to set the value to signature + * @param Signature $signature An instance of Signature + */ + public function setSignature(Signature $signature) + { + $this->signature=$signature; + $this->keyModified['signature'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/emaildrafts/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/emaildrafts/APIException.php new file mode 100644 index 0000000..b15ffc4 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/emaildrafts/APIException.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/emaildrafts/ActionResponse.php b/versions/5.0.0/src/com/zoho/crm/api/emaildrafts/ActionResponse.php new file mode 100644 index 0000000..b4edb7c --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/emaildrafts/ActionResponse.php @@ -0,0 +1,7 @@ +emaildrafts; + + } + + /** + * The method to set the value to emaildrafts + * @param array $emaildrafts A array + */ + public function setEmaildrafts(array $emaildrafts) + { + $this->emaildrafts=$emaildrafts; + $this->keyModified['__email_drafts'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/emaildrafts/Attachments.php b/versions/5.0.0/src/com/zoho/crm/api/emaildrafts/Attachments.php new file mode 100644 index 0000000..72408ea --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/emaildrafts/Attachments.php @@ -0,0 +1,125 @@ +serviceName; + + } + + /** + * The method to set the value to serviceName + * @param string $serviceName A string + */ + public function setServiceName(string $serviceName) + { + $this->serviceName=$serviceName; + $this->keyModified['service_name'] = 1; + + } + + /** + * The method to get the fileSize + * @return string A string representing the fileSize + */ + public function getFileSize() + { + return $this->fileSize; + + } + + /** + * The method to set the value to fileSize + * @param string $fileSize A string + */ + public function setFileSize(string $fileSize) + { + $this->fileSize=$fileSize; + $this->keyModified['file_size'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the fileName + * @return string A string representing the fileName + */ + public function getFileName() + { + return $this->fileName; + + } + + /** + * The method to set the value to fileName + * @param string $fileName A string + */ + public function setFileName(string $fileName) + { + $this->fileName=$fileName; + $this->keyModified['file_name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/emaildrafts/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/emaildrafts/BodyWrapper.php new file mode 100644 index 0000000..509c7ef --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/emaildrafts/BodyWrapper.php @@ -0,0 +1,59 @@ +emaildrafts; + + } + + /** + * The method to set the value to emaildrafts + * @param array $emaildrafts A array + */ + public function setEmaildrafts(array $emaildrafts) + { + $this->emaildrafts=$emaildrafts; + $this->keyModified['__email_drafts'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/emaildrafts/EmailDrafts.php b/versions/5.0.0/src/com/zoho/crm/api/emaildrafts/EmailDrafts.php new file mode 100644 index 0000000..5aa09de --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/emaildrafts/EmailDrafts.php @@ -0,0 +1,411 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the modifiedTime + * @return \DateTime An instance of \DateTime + */ + public function getModifiedTime() + { + return $this->modifiedTime; + + } + + /** + * The method to set the value to modifiedTime + * @param \DateTime $modifiedTime An instance of \DateTime + */ + public function setModifiedTime(\DateTime $modifiedTime) + { + $this->modifiedTime=$modifiedTime; + $this->keyModified['modified_time'] = 1; + + } + + /** + * The method to get the createdTime + * @return \DateTime An instance of \DateTime + */ + public function getCreatedTime() + { + return $this->createdTime; + + } + + /** + * The method to set the value to createdTime + * @param \DateTime $createdTime An instance of \DateTime + */ + public function setCreatedTime(\DateTime $createdTime) + { + $this->createdTime=$createdTime; + $this->keyModified['created_time'] = 1; + + } + + /** + * The method to get the from + * @return string A string representing the from + */ + public function getFrom() + { + return $this->from; + + } + + /** + * The method to set the value to from + * @param string $from A string + */ + public function setFrom(string $from) + { + $this->from=$from; + $this->keyModified['from'] = 1; + + } + + /** + * The method to get the to + * @return array A array representing the to + */ + public function getTo() + { + return $this->to; + + } + + /** + * The method to set the value to to + * @param array $to A array + */ + public function setTo(array $to) + { + $this->to=$to; + $this->keyModified['to'] = 1; + + } + + /** + * The method to get the replyTo + * @return string A string representing the replyTo + */ + public function getReplyTo() + { + return $this->replyTo; + + } + + /** + * The method to set the value to replyTo + * @param string $replyTo A string + */ + public function setReplyTo(string $replyTo) + { + $this->replyTo=$replyTo; + $this->keyModified['reply_to'] = 1; + + } + + /** + * The method to get the cc + * @return array A array representing the cc + */ + public function getCc() + { + return $this->cc; + + } + + /** + * The method to set the value to cc + * @param array $cc A array + */ + public function setCc(array $cc) + { + $this->cc=$cc; + $this->keyModified['cc'] = 1; + + } + + /** + * The method to get the bcc + * @return array A array representing the bcc + */ + public function getBcc() + { + return $this->bcc; + + } + + /** + * The method to set the value to bcc + * @param array $bcc A array + */ + public function setBcc(array $bcc) + { + $this->bcc=$bcc; + $this->keyModified['bcc'] = 1; + + } + + /** + * The method to get the template + * @return Template An instance of Template + */ + public function getTemplate() + { + return $this->template; + + } + + /** + * The method to set the value to template + * @param Template $template An instance of Template + */ + public function setTemplate(Template $template) + { + $this->template=$template; + $this->keyModified['template'] = 1; + + } + + /** + * The method to get the inventoryDetails + * @return InventoryDetails An instance of InventoryDetails + */ + public function getInventoryDetails() + { + return $this->inventoryDetails; + + } + + /** + * The method to set the value to inventoryDetails + * @param InventoryDetails $inventoryDetails An instance of InventoryDetails + */ + public function setInventoryDetails(InventoryDetails $inventoryDetails) + { + $this->inventoryDetails=$inventoryDetails; + $this->keyModified['inventory_details'] = 1; + + } + + /** + * The method to get the attachments + * @return array A array representing the attachments + */ + public function getAttachments() + { + return $this->attachments; + + } + + /** + * The method to set the value to attachments + * @param array $attachments A array + */ + public function setAttachments(array $attachments) + { + $this->attachments=$attachments; + $this->keyModified['attachments'] = 1; + + } + + /** + * The method to get the scheduleDetails + * @return ScheduleDetails An instance of ScheduleDetails + */ + public function getScheduleDetails() + { + return $this->scheduleDetails; + + } + + /** + * The method to set the value to scheduleDetails + * @param ScheduleDetails $scheduleDetails An instance of ScheduleDetails + */ + public function setScheduleDetails(ScheduleDetails $scheduleDetails) + { + $this->scheduleDetails=$scheduleDetails; + $this->keyModified['schedule_details'] = 1; + + } + + /** + * The method to get the richText + * @return bool A bool representing the richText + */ + public function getRichText() + { + return $this->richText; + + } + + /** + * The method to set the value to richText + * @param bool $richText A bool + */ + public function setRichText(bool $richText) + { + $this->richText=$richText; + $this->keyModified['rich_text'] = 1; + + } + + /** + * The method to get the emailOptOut + * @return bool A bool representing the emailOptOut + */ + public function getEmailOptOut() + { + return $this->emailOptOut; + + } + + /** + * The method to set the value to emailOptOut + * @param bool $emailOptOut A bool + */ + public function setEmailOptOut(bool $emailOptOut) + { + $this->emailOptOut=$emailOptOut; + $this->keyModified['email_opt_out'] = 1; + + } + + /** + * The method to get the subject + * @return string A string representing the subject + */ + public function getSubject() + { + return $this->subject; + + } + + /** + * The method to set the value to subject + * @param string $subject A string + */ + public function setSubject(string $subject) + { + $this->subject=$subject; + $this->keyModified['subject'] = 1; + + } + + /** + * The method to get the content + * @return string A string representing the content + */ + public function getContent() + { + return $this->content; + + } + + /** + * The method to set the value to content + * @param string $content A string + */ + public function setContent(string $content) + { + $this->content=$content; + $this->keyModified['content'] = 1; + + } + + /** + * The method to get the summary + * @return string A string representing the summary + */ + public function getSummary() + { + return $this->summary; + + } + + /** + * The method to set the value to summary + * @param string $summary A string + */ + public function setSummary(string $summary) + { + $this->summary=$summary; + $this->keyModified['summary'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/emaildrafts/InventoryDetails.php b/versions/5.0.0/src/com/zoho/crm/api/emaildrafts/InventoryDetails.php new file mode 100644 index 0000000..5907928 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/emaildrafts/InventoryDetails.php @@ -0,0 +1,126 @@ +inventoryTemplate; + + } + + /** + * The method to set the value to inventoryTemplate + * @param InventoryTemplate $inventoryTemplate An instance of InventoryTemplate + */ + public function setInventoryTemplate(InventoryTemplate $inventoryTemplate) + { + $this->inventoryTemplate=$inventoryTemplate; + $this->keyModified['inventory_template'] = 1; + + } + + /** + * The method to get the record + * @return Record An instance of Record + */ + public function getRecord() + { + return $this->record; + + } + + /** + * The method to set the value to record + * @param Record $record An instance of Record + */ + public function setRecord(Record $record) + { + $this->record=$record; + $this->keyModified['record'] = 1; + + } + + /** + * The method to get the paperType + * @return string A string representing the paperType + */ + public function getPaperType() + { + return $this->paperType; + + } + + /** + * The method to set the value to paperType + * @param string $paperType A string + */ + public function setPaperType(string $paperType) + { + $this->paperType=$paperType; + $this->keyModified['paper_type'] = 1; + + } + + /** + * The method to get the viewType + * @return string A string representing the viewType + */ + public function getViewType() + { + return $this->viewType; + + } + + /** + * The method to set the value to viewType + * @param string $viewType A string + */ + public function setViewType(string $viewType) + { + $this->viewType=$viewType; + $this->keyModified['view_type'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/emaildrafts/InventoryTemplate.php b/versions/5.0.0/src/com/zoho/crm/api/emaildrafts/InventoryTemplate.php new file mode 100644 index 0000000..84079e9 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/emaildrafts/InventoryTemplate.php @@ -0,0 +1,81 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/emaildrafts/ResponseWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/emaildrafts/ResponseWrapper.php new file mode 100644 index 0000000..e22a57f --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/emaildrafts/ResponseWrapper.php @@ -0,0 +1,59 @@ +emaildrafts; + + } + + /** + * The method to set the value to emaildrafts + * @param array $emaildrafts A array + */ + public function setEmaildrafts(array $emaildrafts) + { + $this->emaildrafts=$emaildrafts; + $this->keyModified['__email_drafts'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/emaildrafts/ScheduleDetails.php b/versions/5.0.0/src/com/zoho/crm/api/emaildrafts/ScheduleDetails.php new file mode 100644 index 0000000..fe5f61b --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/emaildrafts/ScheduleDetails.php @@ -0,0 +1,103 @@ +time; + + } + + /** + * The method to set the value to time + * @param \DateTime $time An instance of \DateTime + */ + public function setTime(\DateTime $time) + { + $this->time=$time; + $this->keyModified['time'] = 1; + + } + + /** + * The method to get the timezone + * @return \DateTimeZone An instance of \DateTimeZone + */ + public function getTimezone() + { + return $this->timezone; + + } + + /** + * The method to set the value to timezone + * @param \DateTimeZone $timezone An instance of \DateTimeZone + */ + public function setTimezone(\DateTimeZone $timezone) + { + $this->timezone=$timezone; + $this->keyModified['timezone'] = 1; + + } + + /** + * The method to get the source + * @return string A string representing the source + */ + public function getSource() + { + return $this->source; + + } + + /** + * The method to set the value to source + * @param string $source A string + */ + public function setSource(string $source) + { + $this->source=$source; + $this->keyModified['source'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/emaildrafts/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/emaildrafts/SuccessResponse.php new file mode 100644 index 0000000..0bb517e --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/emaildrafts/SuccessResponse.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/emaildrafts/Template.php b/versions/5.0.0/src/com/zoho/crm/api/emaildrafts/Template.php new file mode 100644 index 0000000..7bda7a2 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/emaildrafts/Template.php @@ -0,0 +1,81 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/emaildrafts/To.php b/versions/5.0.0/src/com/zoho/crm/api/emaildrafts/To.php new file mode 100644 index 0000000..c88d0ad --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/emaildrafts/To.php @@ -0,0 +1,81 @@ +userName; + + } + + /** + * The method to set the value to userName + * @param string $userName A string + */ + public function setUserName(string $userName) + { + $this->userName=$userName; + $this->keyModified['user_name'] = 1; + + } + + /** + * The method to get the email + * @return string A string representing the email + */ + public function getEmail() + { + return $this->email; + + } + + /** + * The method to set the value to email + * @param string $email A string + */ + public function setEmail(string $email) + { + $this->email=$email; + $this->keyModified['email'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/emailrelatedrecords/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/emailrelatedrecords/APIException.php new file mode 100644 index 0000000..bc689e3 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/emailrelatedrecords/APIException.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/emailrelatedrecords/Attachments.php b/versions/5.0.0/src/com/zoho/crm/api/emailrelatedrecords/Attachments.php new file mode 100644 index 0000000..7911d22 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/emailrelatedrecords/Attachments.php @@ -0,0 +1,103 @@ +size; + + } + + /** + * The method to set the value to size + * @param string $size A string + */ + public function setSize(string $size) + { + $this->size=$size; + $this->keyModified['size'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/emailrelatedrecords/Criteria.php b/versions/5.0.0/src/com/zoho/crm/api/emailrelatedrecords/Criteria.php new file mode 100644 index 0000000..47acab1 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/emailrelatedrecords/Criteria.php @@ -0,0 +1,104 @@ +comparator; + + } + + /** + * The method to set the value to comparator + * @param Choice $comparator An instance of Choice + */ + public function setComparator(Choice $comparator) + { + $this->comparator=$comparator; + $this->keyModified['comparator'] = 1; + + } + + /** + * The method to get the field + * @return Field An instance of Field + */ + public function getField() + { + return $this->field; + + } + + /** + * The method to set the value to field + * @param Field $field An instance of Field + */ + public function setField(Field $field) + { + $this->field=$field; + $this->keyModified['field'] = 1; + + } + + /** + * The method to get the value + * @return string A string representing the value + */ + public function getValue() + { + return $this->value; + + } + + /** + * The method to set the value to value + * @param string $value A string + */ + public function setValue(string $value) + { + $this->value=$value; + $this->keyModified['value'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/emailrelatedrecords/Email.php b/versions/5.0.0/src/com/zoho/crm/api/emailrelatedrecords/Email.php new file mode 100644 index 0000000..2d51188 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/emailrelatedrecords/Email.php @@ -0,0 +1,610 @@ +attachments; + + } + + /** + * The method to set the value to attachments + * @param array $attachments A array + */ + public function setAttachments(array $attachments) + { + $this->attachments=$attachments; + $this->keyModified['attachments'] = 1; + + } + + /** + * The method to get the threadId + * @return string A string representing the threadId + */ + public function getThreadId() + { + return $this->threadId; + + } + + /** + * The method to set the value to threadId + * @param string $threadId A string + */ + public function setThreadId(string $threadId) + { + $this->threadId=$threadId; + $this->keyModified['thread_id'] = 1; + + } + + /** + * The method to get the cc + * @return array A array representing the cc + */ + public function getCc() + { + return $this->cc; + + } + + /** + * The method to set the value to cc + * @param array $cc A array + */ + public function setCc(array $cc) + { + $this->cc=$cc; + $this->keyModified['cc'] = 1; + + } + + /** + * The method to get the summary + * @return string A string representing the summary + */ + public function getSummary() + { + return $this->summary; + + } + + /** + * The method to set the value to summary + * @param string $summary A string + */ + public function setSummary(string $summary) + { + $this->summary=$summary; + $this->keyModified['summary'] = 1; + + } + + /** + * The method to get the owner + * @return MinifiedUser An instance of MinifiedUser + */ + public function getOwner() + { + return $this->owner; + + } + + /** + * The method to set the value to owner + * @param MinifiedUser $owner An instance of MinifiedUser + */ + public function setOwner(MinifiedUser $owner) + { + $this->owner=$owner; + $this->keyModified['owner'] = 1; + + } + + /** + * The method to get the read + * @return bool A bool representing the read + */ + public function getRead() + { + return $this->read; + + } + + /** + * The method to set the value to read + * @param bool $read A bool + */ + public function setRead(bool $read) + { + $this->read=$read; + $this->keyModified['read'] = 1; + + } + + /** + * The method to get the content + * @return string A string representing the content + */ + public function getContent() + { + return $this->content; + + } + + /** + * The method to set the value to content + * @param string $content A string + */ + public function setContent(string $content) + { + $this->content=$content; + $this->keyModified['content'] = 1; + + } + + /** + * The method to get the sent + * @return bool A bool representing the sent + */ + public function getSent() + { + return $this->sent; + + } + + /** + * The method to set the value to sent + * @param bool $sent A bool + */ + public function setSent(bool $sent) + { + $this->sent=$sent; + $this->keyModified['sent'] = 1; + + } + + /** + * The method to get the subject + * @return string A string representing the subject + */ + public function getSubject() + { + return $this->subject; + + } + + /** + * The method to set the value to subject + * @param string $subject A string + */ + public function setSubject(string $subject) + { + $this->subject=$subject; + $this->keyModified['subject'] = 1; + + } + + /** + * The method to get the activityInfo + */ + public function getActivityInfo() + { + return $this->activityInfo; + + } + + /** + * The method to set the value to activityInfo + * @param + */ + public function setActivityInfo( $activityInfo) + { + $this->activityInfo=$activityInfo; + $this->keyModified['activity_info'] = 1; + + } + + /** + * The method to get the intent + * @return Choice An instance of Choice + */ + public function getIntent() + { + return $this->intent; + + } + + /** + * The method to set the value to intent + * @param Choice $intent An instance of Choice + */ + public function setIntent(Choice $intent) + { + $this->intent=$intent; + $this->keyModified['intent'] = 1; + + } + + /** + * The method to get the sentimentInfo + * @return Choice An instance of Choice + */ + public function getSentimentInfo() + { + return $this->sentimentInfo; + + } + + /** + * The method to set the value to sentimentInfo + * @param Choice $sentimentInfo An instance of Choice + */ + public function setSentimentInfo(Choice $sentimentInfo) + { + $this->sentimentInfo=$sentimentInfo; + $this->keyModified['sentiment_info'] = 1; + + } + + /** + * The method to get the messageId + * @return string A string representing the messageId + */ + public function getMessageId() + { + return $this->messageId; + + } + + /** + * The method to set the value to messageId + * @param string $messageId A string + */ + public function setMessageId(string $messageId) + { + $this->messageId=$messageId; + $this->keyModified['message_id'] = 1; + + } + + /** + * The method to get the source + * @return string A string representing the source + */ + public function getSource() + { + return $this->source; + + } + + /** + * The method to set the value to source + * @param string $source A string + */ + public function setSource(string $source) + { + $this->source=$source; + $this->keyModified['source'] = 1; + + } + + /** + * The method to get the linkedRecord + * @return LinkedRecord An instance of LinkedRecord + */ + public function getLinkedRecord() + { + return $this->linkedRecord; + + } + + /** + * The method to set the value to linkedRecord + * @param LinkedRecord $linkedRecord An instance of LinkedRecord + */ + public function setLinkedRecord(LinkedRecord $linkedRecord) + { + $this->linkedRecord=$linkedRecord; + $this->keyModified['linked_record'] = 1; + + } + + /** + * The method to get the sentTime + * @return string A string representing the sentTime + */ + public function getSentTime() + { + return $this->sentTime; + + } + + /** + * The method to set the value to sentTime + * @param string $sentTime A string + */ + public function setSentTime(string $sentTime) + { + $this->sentTime=$sentTime; + $this->keyModified['sent_time'] = 1; + + } + + /** + * The method to get the emotion + * @return string A string representing the emotion + */ + public function getEmotion() + { + return $this->emotion; + + } + + /** + * The method to set the value to emotion + * @param string $emotion A string + */ + public function setEmotion(string $emotion) + { + $this->emotion=$emotion; + $this->keyModified['emotion'] = 1; + + } + + /** + * The method to get the from + * @return UserDetails An instance of UserDetails + */ + public function getFrom() + { + return $this->from; + + } + + /** + * The method to set the value to from + * @param UserDetails $from An instance of UserDetails + */ + public function setFrom(UserDetails $from) + { + $this->from=$from; + $this->keyModified['from'] = 1; + + } + + /** + * The method to get the to + * @return array A array representing the to + */ + public function getTo() + { + return $this->to; + + } + + /** + * The method to set the value to to + * @param array $to A array + */ + public function setTo(array $to) + { + $this->to=$to; + $this->keyModified['to'] = 1; + + } + + /** + * The method to get the time + * @return \DateTime An instance of \DateTime + */ + public function getTime() + { + return $this->time; + + } + + /** + * The method to set the value to time + * @param \DateTime $time An instance of \DateTime + */ + public function setTime(\DateTime $time) + { + $this->time=$time; + $this->keyModified['time'] = 1; + + } + + /** + * The method to get the status + * @return array A array representing the status + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param array $status A array + */ + public function setStatus(array $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the hasAttachment + * @return bool A bool representing the hasAttachment + */ + public function getHasAttachment() + { + return $this->hasAttachment; + + } + + /** + * The method to set the value to hasAttachment + * @param bool $hasAttachment A bool + */ + public function setHasAttachment(bool $hasAttachment) + { + $this->hasAttachment=$hasAttachment; + $this->keyModified['has_attachment'] = 1; + + } + + /** + * The method to get the hasThreadAttachment + * @return bool A bool representing the hasThreadAttachment + */ + public function getHasThreadAttachment() + { + return $this->hasThreadAttachment; + + } + + /** + * The method to set the value to hasThreadAttachment + * @param bool $hasThreadAttachment A bool + */ + public function setHasThreadAttachment(bool $hasThreadAttachment) + { + $this->hasThreadAttachment=$hasThreadAttachment; + $this->keyModified['has_thread_attachment'] = 1; + + } + + /** + * The method to get the editable + * @return bool A bool representing the editable + */ + public function getEditable() + { + return $this->editable; + + } + + /** + * The method to set the value to editable + * @param bool $editable A bool + */ + public function setEditable(bool $editable) + { + $this->editable=$editable; + $this->keyModified['editable'] = 1; + + } + + /** + * The method to get the mailFormat + * @return string A string representing the mailFormat + */ + public function getMailFormat() + { + return $this->mailFormat; + + } + + /** + * The method to set the value to mailFormat + * @param string $mailFormat A string + */ + public function setMailFormat(string $mailFormat) + { + $this->mailFormat=$mailFormat; + $this->keyModified['mail_format'] = 1; + + } + + /** + * The method to get the replyTo + * @return UserDetails An instance of UserDetails + */ + public function getReplyTo() + { + return $this->replyTo; + + } + + /** + * The method to set the value to replyTo + * @param UserDetails $replyTo An instance of UserDetails + */ + public function setReplyTo(UserDetails $replyTo) + { + $this->replyTo=$replyTo; + $this->keyModified['reply_to'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/emailrelatedrecords/EmailRelatedRecordsOperations.php b/versions/5.0.0/src/com/zoho/crm/api/emailrelatedrecords/EmailRelatedRecordsOperations.php new file mode 100644 index 0000000..c850ac5 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/emailrelatedrecords/EmailRelatedRecordsOperations.php @@ -0,0 +1,82 @@ +recordId=$recordId; + $this->moduleName=$moduleName; + $this->type=$type; + $this->ownerId=$ownerId; + + } + + /** + * The method to get emails related records + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function getEmailsRelatedRecords(ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleName)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($this->recordId)); + $apiPath=$apiPath.('/Emails'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->addParam(new Param('type', 'com.zoho.crm.api.EmailRelatedRecords.GetEmailsRelatedRecordsParam'), $this->type); + $handlerInstance->addParam(new Param('owner_id', 'com.zoho.crm.api.EmailRelatedRecords.GetEmailsRelatedRecordsParam'), $this->ownerId); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to get emails related record + * @param string $messageId A string + * @return APIResponse An instance of APIResponse + */ + public function getEmailsRelatedRecord(string $messageId) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleName)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($this->recordId)); + $apiPath=$apiPath.('/Emails/'); + $apiPath=$apiPath.(strval($messageId)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->addParam(new Param('type', 'com.zoho.crm.api.EmailRelatedRecords.GetEmailsRelatedRecordParam'), $this->type); + $handlerInstance->addParam(new Param('owner_id', 'com.zoho.crm.api.EmailRelatedRecords.GetEmailsRelatedRecordParam'), $this->ownerId); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/emailrelatedrecords/Field.php b/versions/5.0.0/src/com/zoho/crm/api/emailrelatedrecords/Field.php new file mode 100644 index 0000000..cbc37a7 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/emailrelatedrecords/Field.php @@ -0,0 +1,59 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/emailrelatedrecords/GetEmailsRelatedRecordParam.php b/versions/5.0.0/src/com/zoho/crm/api/emailrelatedrecords/GetEmailsRelatedRecordParam.php new file mode 100644 index 0000000..eb55d07 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/emailrelatedrecords/GetEmailsRelatedRecordParam.php @@ -0,0 +1,7 @@ +count; + + } + + /** + * The method to set the value to count + * @param int $count A int + */ + public function setCount(int $count) + { + $this->count=$count; + $this->keyModified['count'] = 1; + + } + + /** + * The method to get the nextIndex + * @return string A string representing the nextIndex + */ + public function getNextIndex() + { + return $this->nextIndex; + + } + + /** + * The method to set the value to nextIndex + * @param string $nextIndex A string + */ + public function setNextIndex(string $nextIndex) + { + $this->nextIndex=$nextIndex; + $this->keyModified['next_index'] = 1; + + } + + /** + * The method to get the prevIndex + * @return string A string representing the prevIndex + */ + public function getPrevIndex() + { + return $this->prevIndex; + + } + + /** + * The method to set the value to prevIndex + * @param string $prevIndex A string + */ + public function setPrevIndex(string $prevIndex) + { + $this->prevIndex=$prevIndex; + $this->keyModified['prev_index'] = 1; + + } + + /** + * The method to get the perPage + * @return int A int representing the perPage + */ + public function getPerPage() + { + return $this->perPage; + + } + + /** + * The method to set the value to perPage + * @param int $perPage A int + */ + public function setPerPage(int $perPage) + { + $this->perPage=$perPage; + $this->keyModified['per_page'] = 1; + + } + + /** + * The method to get the moreRecords + * @return bool A bool representing the moreRecords + */ + public function getMoreRecords() + { + return $this->moreRecords; + + } + + /** + * The method to set the value to moreRecords + * @param bool $moreRecords A bool + */ + public function setMoreRecords(bool $moreRecords) + { + $this->moreRecords=$moreRecords; + $this->keyModified['more_records'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/emailrelatedrecords/LinkedRecord.php b/versions/5.0.0/src/com/zoho/crm/api/emailrelatedrecords/LinkedRecord.php new file mode 100644 index 0000000..d372e92 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/emailrelatedrecords/LinkedRecord.php @@ -0,0 +1,103 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the module + * @return Module An instance of Module + */ + public function getModule() + { + return $this->module; + + } + + /** + * The method to set the value to module + * @param Module $module An instance of Module + */ + public function setModule(Module $module) + { + $this->module=$module; + $this->keyModified['module'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/emailrelatedrecords/Module.php b/versions/5.0.0/src/com/zoho/crm/api/emailrelatedrecords/Module.php new file mode 100644 index 0000000..5129f42 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/emailrelatedrecords/Module.php @@ -0,0 +1,81 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/emailrelatedrecords/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/emailrelatedrecords/ResponseHandler.php new file mode 100644 index 0000000..431cbef --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/emailrelatedrecords/ResponseHandler.php @@ -0,0 +1,7 @@ +emails; + + } + + /** + * The method to set the value to emails + * @param array $emails A array + */ + public function setEmails(array $emails) + { + $this->emails=$emails; + $this->keyModified['Emails'] = 1; + + } + + /** + * The method to get the info + * @return Info An instance of Info + */ + public function getInfo() + { + return $this->info; + + } + + /** + * The method to set the value to info + * @param Info $info An instance of Info + */ + public function setInfo(Info $info) + { + $this->info=$info; + $this->keyModified['info'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/emailrelatedrecords/Status.php b/versions/5.0.0/src/com/zoho/crm/api/emailrelatedrecords/Status.php new file mode 100644 index 0000000..502fa08 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/emailrelatedrecords/Status.php @@ -0,0 +1,213 @@ +firstOpen; + + } + + /** + * The method to set the value to firstOpen + * @param \DateTime $firstOpen An instance of \DateTime + */ + public function setFirstOpen(\DateTime $firstOpen) + { + $this->firstOpen=$firstOpen; + $this->keyModified['first_open'] = 1; + + } + + /** + * The method to get the count + * @return string A string representing the count + */ + public function getCount() + { + return $this->count; + + } + + /** + * The method to set the value to count + * @param string $count A string + */ + public function setCount(string $count) + { + $this->count=$count; + $this->keyModified['count'] = 1; + + } + + /** + * The method to get the type + * @return string A string representing the type + */ + public function getType() + { + return $this->type; + + } + + /** + * The method to set the value to type + * @param string $type A string + */ + public function setType(string $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to get the lastOpen + * @return \DateTime An instance of \DateTime + */ + public function getLastOpen() + { + return $this->lastOpen; + + } + + /** + * The method to set the value to lastOpen + * @param \DateTime $lastOpen An instance of \DateTime + */ + public function setLastOpen(\DateTime $lastOpen) + { + $this->lastOpen=$lastOpen; + $this->keyModified['last_open'] = 1; + + } + + /** + * The method to get the bouncedTime + * @return \DateTime An instance of \DateTime + */ + public function getBouncedTime() + { + return $this->bouncedTime; + + } + + /** + * The method to set the value to bouncedTime + * @param \DateTime $bouncedTime An instance of \DateTime + */ + public function setBouncedTime(\DateTime $bouncedTime) + { + $this->bouncedTime=$bouncedTime; + $this->keyModified['bounced_time'] = 1; + + } + + /** + * The method to get the bouncedReason + * @return string A string representing the bouncedReason + */ + public function getBouncedReason() + { + return $this->bouncedReason; + + } + + /** + * The method to set the value to bouncedReason + * @param string $bouncedReason A string + */ + public function setBouncedReason(string $bouncedReason) + { + $this->bouncedReason=$bouncedReason; + $this->keyModified['bounced_reason'] = 1; + + } + + /** + * The method to get the category + * @return string A string representing the category + */ + public function getCategory() + { + return $this->category; + + } + + /** + * The method to set the value to category + * @param string $category A string + */ + public function setCategory(string $category) + { + $this->category=$category; + $this->keyModified['category'] = 1; + + } + + /** + * The method to get the subCategory + * @return string A string representing the subCategory + */ + public function getSubCategory() + { + return $this->subCategory; + + } + + /** + * The method to set the value to subCategory + * @param string $subCategory A string + */ + public function setSubCategory(string $subCategory) + { + $this->subCategory=$subCategory; + $this->keyModified['sub_category'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/emailrelatedrecords/UserDetails.php b/versions/5.0.0/src/com/zoho/crm/api/emailrelatedrecords/UserDetails.php new file mode 100644 index 0000000..51e24f6 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/emailrelatedrecords/UserDetails.php @@ -0,0 +1,81 @@ +userName; + + } + + /** + * The method to set the value to userName + * @param string $userName A string + */ + public function setUserName(string $userName) + { + $this->userName=$userName; + $this->keyModified['user_name'] = 1; + + } + + /** + * The method to get the email + * @return string A string representing the email + */ + public function getEmail() + { + return $this->email; + + } + + /** + * The method to set the value to email + * @param string $email A string + */ + public function setEmail(string $email) + { + $this->email=$email; + $this->keyModified['email'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/emailsharingdetails/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/emailsharingdetails/APIException.php new file mode 100644 index 0000000..9b4fe6d --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/emailsharingdetails/APIException.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/emailsharingdetails/EmailSharingDetailsOperations.php b/versions/5.0.0/src/com/zoho/crm/api/emailsharingdetails/EmailSharingDetailsOperations.php new file mode 100644 index 0000000..474ca70 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/emailsharingdetails/EmailSharingDetailsOperations.php @@ -0,0 +1,46 @@ +recordId=$recordId; + $this->module=$module; + + } + + /** + * The method to get email sharing details + * @return APIResponse An instance of APIResponse + */ + public function getEmailSharingDetails() + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->module)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($this->recordId)); + $apiPath=$apiPath.('/__emails_sharing_details'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/emailsharingdetails/EmailSharings.php b/versions/5.0.0/src/com/zoho/crm/api/emailsharingdetails/EmailSharings.php new file mode 100644 index 0000000..6b56030 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/emailsharingdetails/EmailSharings.php @@ -0,0 +1,81 @@ +shareFromUsers; + + } + + /** + * The method to set the value to shareFromUsers + * @param array $shareFromUsers A array + */ + public function setShareFromUsers(array $shareFromUsers) + { + $this->shareFromUsers=$shareFromUsers; + $this->keyModified['share_from_users'] = 1; + + } + + /** + * The method to get the availableTypes + * @return array A array representing the availableTypes + */ + public function getAvailableTypes() + { + return $this->availableTypes; + + } + + /** + * The method to set the value to availableTypes + * @param array $availableTypes A array + */ + public function setAvailableTypes(array $availableTypes) + { + $this->availableTypes=$availableTypes; + $this->keyModified['available_types'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/emailsharingdetails/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/emailsharingdetails/ResponseHandler.php new file mode 100644 index 0000000..8948ba6 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/emailsharingdetails/ResponseHandler.php @@ -0,0 +1,7 @@ +emailssharingdetails; + + } + + /** + * The method to set the value to emailssharingdetails + * @param array $emailssharingdetails A array + */ + public function setEmailssharingdetails(array $emailssharingdetails) + { + $this->emailssharingdetails=$emailssharingdetails; + $this->keyModified['__emails_sharing_details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/emailsharingdetails/ShareFromUser.php b/versions/5.0.0/src/com/zoho/crm/api/emailsharingdetails/ShareFromUser.php new file mode 100644 index 0000000..9102dcd --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/emailsharingdetails/ShareFromUser.php @@ -0,0 +1,103 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the type + * @return string A string representing the type + */ + public function getType() + { + return $this->type; + + } + + /** + * The method to set the value to type + * @param string $type A string + */ + public function setType(string $type) + { + $this->type=$type; + $this->keyModified['_type'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/emailtemplates/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/emailtemplates/APIException.php new file mode 100644 index 0000000..c482fb8 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/emailtemplates/APIException.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/emailtemplates/Attachment.php b/versions/5.0.0/src/com/zoho/crm/api/emailtemplates/Attachment.php new file mode 100644 index 0000000..e493c9f --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/emailtemplates/Attachment.php @@ -0,0 +1,125 @@ +size; + + } + + /** + * The method to set the value to size + * @param string $size A string + */ + public function setSize(string $size) + { + $this->size=$size; + $this->keyModified['size'] = 1; + + } + + /** + * The method to get the fileName + * @return string A string representing the fileName + */ + public function getFileName() + { + return $this->fileName; + + } + + /** + * The method to set the value to fileName + * @param string $fileName A string + */ + public function setFileName(string $fileName) + { + $this->fileName=$fileName; + $this->keyModified['file_name'] = 1; + + } + + /** + * The method to get the fileId + * @return string A string representing the fileId + */ + public function getFileId() + { + return $this->fileId; + + } + + /** + * The method to set the value to fileId + * @param string $fileId A string + */ + public function setFileId(string $fileId) + { + $this->fileId=$fileId; + $this->keyModified['file_id'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/emailtemplates/EmailTemplate.php b/versions/5.0.0/src/com/zoho/crm/api/emailtemplates/EmailTemplate.php new file mode 100644 index 0000000..e3cd65d --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/emailtemplates/EmailTemplate.php @@ -0,0 +1,504 @@ +attachments; + + } + + /** + * The method to set the value to attachments + * @param array $attachments A array + */ + public function setAttachments(array $attachments) + { + $this->attachments=$attachments; + $this->keyModified['attachments'] = 1; + + } + + /** + * The method to get the subject + * @return string A string representing the subject + */ + public function getSubject() + { + return $this->subject; + + } + + /** + * The method to set the value to subject + * @param string $subject A string + */ + public function setSubject(string $subject) + { + $this->subject=$subject; + $this->keyModified['subject'] = 1; + + } + + /** + * The method to get the associated + * @return bool A bool representing the associated + */ + public function getAssociated() + { + return $this->associated; + + } + + /** + * The method to set the value to associated + * @param bool $associated A bool + */ + public function setAssociated(bool $associated) + { + $this->associated=$associated; + $this->keyModified['associated'] = 1; + + } + + /** + * The method to get the consentLinked + * @return bool A bool representing the consentLinked + */ + public function getConsentLinked() + { + return $this->consentLinked; + + } + + /** + * The method to set the value to consentLinked + * @param bool $consentLinked A bool + */ + public function setConsentLinked(bool $consentLinked) + { + $this->consentLinked=$consentLinked; + $this->keyModified['consent_linked'] = 1; + + } + + /** + * The method to get the description + * @return string A string representing the description + */ + public function getDescription() + { + return $this->description; + + } + + /** + * The method to set the value to description + * @param string $description A string + */ + public function setDescription(string $description) + { + $this->description=$description; + $this->keyModified['description'] = 1; + + } + + /** + * The method to get the lastVersionStatistics + * @return LastVersionStatistics An instance of LastVersionStatistics + */ + public function getLastVersionStatistics() + { + return $this->lastVersionStatistics; + + } + + /** + * The method to set the value to lastVersionStatistics + * @param LastVersionStatistics $lastVersionStatistics An instance of LastVersionStatistics + */ + public function setLastVersionStatistics(LastVersionStatistics $lastVersionStatistics) + { + $this->lastVersionStatistics=$lastVersionStatistics; + $this->keyModified['last_version_statistics'] = 1; + + } + + /** + * The method to get the category + * @return string A string representing the category + */ + public function getCategory() + { + return $this->category; + + } + + /** + * The method to set the value to category + * @param string $category A string + */ + public function setCategory(string $category) + { + $this->category=$category; + $this->keyModified['category'] = 1; + + } + + /** + * The method to get the createdTime + * @return \DateTime An instance of \DateTime + */ + public function getCreatedTime() + { + return $this->createdTime; + + } + + /** + * The method to set the value to createdTime + * @param \DateTime $createdTime An instance of \DateTime + */ + public function setCreatedTime(\DateTime $createdTime) + { + $this->createdTime=$createdTime; + $this->keyModified['created_time'] = 1; + + } + + /** + * The method to get the modifiedTime + * @return \DateTime An instance of \DateTime + */ + public function getModifiedTime() + { + return $this->modifiedTime; + + } + + /** + * The method to set the value to modifiedTime + * @param \DateTime $modifiedTime An instance of \DateTime + */ + public function setModifiedTime(\DateTime $modifiedTime) + { + $this->modifiedTime=$modifiedTime; + $this->keyModified['modified_time'] = 1; + + } + + /** + * The method to get the lastUsageTime + * @return \DateTime An instance of \DateTime + */ + public function getLastUsageTime() + { + return $this->lastUsageTime; + + } + + /** + * The method to set the value to lastUsageTime + * @param \DateTime $lastUsageTime An instance of \DateTime + */ + public function setLastUsageTime(\DateTime $lastUsageTime) + { + $this->lastUsageTime=$lastUsageTime; + $this->keyModified['last_usage_time'] = 1; + + } + + /** + * The method to get the folder + * @return Folder An instance of Folder + */ + public function getFolder() + { + return $this->folder; + + } + + /** + * The method to set the value to folder + * @param Folder $folder An instance of Folder + */ + public function setFolder(Folder $folder) + { + $this->folder=$folder; + $this->keyModified['folder'] = 1; + + } + + /** + * The method to get the module + * @return ModuleMap An instance of ModuleMap + */ + public function getModule() + { + return $this->module; + + } + + /** + * The method to set the value to module + * @param ModuleMap $module An instance of ModuleMap + */ + public function setModule(ModuleMap $module) + { + $this->module=$module; + $this->keyModified['module'] = 1; + + } + + /** + * The method to get the createdBy + * @return User An instance of User + */ + public function getCreatedBy() + { + return $this->createdBy; + + } + + /** + * The method to set the value to createdBy + * @param User $createdBy An instance of User + */ + public function setCreatedBy(User $createdBy) + { + $this->createdBy=$createdBy; + $this->keyModified['created_by'] = 1; + + } + + /** + * The method to get the modifiedBy + * @return User An instance of User + */ + public function getModifiedBy() + { + return $this->modifiedBy; + + } + + /** + * The method to set the value to modifiedBy + * @param User $modifiedBy An instance of User + */ + public function setModifiedBy(User $modifiedBy) + { + $this->modifiedBy=$modifiedBy; + $this->keyModified['modified_by'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the editorMode + * @return string A string representing the editorMode + */ + public function getEditorMode() + { + return $this->editorMode; + + } + + /** + * The method to set the value to editorMode + * @param string $editorMode A string + */ + public function setEditorMode(string $editorMode) + { + $this->editorMode=$editorMode; + $this->keyModified['editor_mode'] = 1; + + } + + /** + * The method to get the favorite + * @return bool A bool representing the favorite + */ + public function getFavorite() + { + return $this->favorite; + + } + + /** + * The method to set the value to favorite + * @param bool $favorite A bool + */ + public function setFavorite(bool $favorite) + { + $this->favorite=$favorite; + $this->keyModified['favorite'] = 1; + + } + + /** + * The method to get the content + * @return string A string representing the content + */ + public function getContent() + { + return $this->content; + + } + + /** + * The method to set the value to content + * @param string $content A string + */ + public function setContent(string $content) + { + $this->content=$content; + $this->keyModified['content'] = 1; + + } + + /** + * The method to get the active + * @return bool A bool representing the active + */ + public function getActive() + { + return $this->active; + + } + + /** + * The method to set the value to active + * @param bool $active A bool + */ + public function setActive(bool $active) + { + $this->active=$active; + $this->keyModified['active'] = 1; + + } + + /** + * The method to get the mailContent + * @return string A string representing the mailContent + */ + public function getMailContent() + { + return $this->mailContent; + + } + + /** + * The method to set the value to mailContent + * @param string $mailContent A string + */ + public function setMailContent(string $mailContent) + { + $this->mailContent=$mailContent; + $this->keyModified['mail_content'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/emailtemplates/EmailTemplatesOperations.php b/versions/5.0.0/src/com/zoho/crm/api/emailtemplates/EmailTemplatesOperations.php new file mode 100644 index 0000000..47e7a25 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/emailtemplates/EmailTemplatesOperations.php @@ -0,0 +1,49 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to get email template + * @param string $template A string + * @return APIResponse An instance of APIResponse + */ + public function getEmailTemplate(string $template) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/email_templates/'); + $apiPath=$apiPath.(strval($template)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/emailtemplates/GetEmailTemplatesParam.php b/versions/5.0.0/src/com/zoho/crm/api/emailtemplates/GetEmailTemplatesParam.php new file mode 100644 index 0000000..ff09c36 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/emailtemplates/GetEmailTemplatesParam.php @@ -0,0 +1,14 @@ +perPage; + + } + + /** + * The method to set the value to perPage + * @param int $perPage A int + */ + public function setPerPage(int $perPage) + { + $this->perPage=$perPage; + $this->keyModified['per_page'] = 1; + + } + + /** + * The method to get the page + * @return int A int representing the page + */ + public function getPage() + { + return $this->page; + + } + + /** + * The method to set the value to page + * @param int $page A int + */ + public function setPage(int $page) + { + $this->page=$page; + $this->keyModified['page'] = 1; + + } + + /** + * The method to get the count + * @return int A int representing the count + */ + public function getCount() + { + return $this->count; + + } + + /** + * The method to set the value to count + * @param int $count A int + */ + public function setCount(int $count) + { + $this->count=$count; + $this->keyModified['count'] = 1; + + } + + /** + * The method to get the moreRecords + * @return bool A bool representing the moreRecords + */ + public function getMoreRecords() + { + return $this->moreRecords; + + } + + /** + * The method to set the value to moreRecords + * @param bool $moreRecords A bool + */ + public function setMoreRecords(bool $moreRecords) + { + $this->moreRecords=$moreRecords; + $this->keyModified['more_records'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/emailtemplates/LastVersionStatistics.php b/versions/5.0.0/src/com/zoho/crm/api/emailtemplates/LastVersionStatistics.php new file mode 100644 index 0000000..b14036c --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/emailtemplates/LastVersionStatistics.php @@ -0,0 +1,169 @@ +tracked; + + } + + /** + * The method to set the value to tracked + * @param int $tracked A int + */ + public function setTracked(int $tracked) + { + $this->tracked=$tracked; + $this->keyModified['tracked'] = 1; + + } + + /** + * The method to get the delivered + * @return int A int representing the delivered + */ + public function getDelivered() + { + return $this->delivered; + + } + + /** + * The method to set the value to delivered + * @param int $delivered A int + */ + public function setDelivered(int $delivered) + { + $this->delivered=$delivered; + $this->keyModified['delivered'] = 1; + + } + + /** + * The method to get the opened + * @return int A int representing the opened + */ + public function getOpened() + { + return $this->opened; + + } + + /** + * The method to set the value to opened + * @param int $opened A int + */ + public function setOpened(int $opened) + { + $this->opened=$opened; + $this->keyModified['opened'] = 1; + + } + + /** + * The method to get the bounced + * @return int A int representing the bounced + */ + public function getBounced() + { + return $this->bounced; + + } + + /** + * The method to set the value to bounced + * @param int $bounced A int + */ + public function setBounced(int $bounced) + { + $this->bounced=$bounced; + $this->keyModified['bounced'] = 1; + + } + + /** + * The method to get the sent + * @return int A int representing the sent + */ + public function getSent() + { + return $this->sent; + + } + + /** + * The method to set the value to sent + * @param int $sent A int + */ + public function setSent(int $sent) + { + $this->sent=$sent; + $this->keyModified['sent'] = 1; + + } + + /** + * The method to get the clicked + * @return int A int representing the clicked + */ + public function getClicked() + { + return $this->clicked; + + } + + /** + * The method to set the value to clicked + * @param int $clicked A int + */ + public function setClicked(int $clicked) + { + $this->clicked=$clicked; + $this->keyModified['clicked'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/emailtemplates/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/emailtemplates/ResponseHandler.php new file mode 100644 index 0000000..9aa6be5 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/emailtemplates/ResponseHandler.php @@ -0,0 +1,7 @@ +emailTemplates; + + } + + /** + * The method to set the value to emailTemplates + * @param array $emailTemplates A array + */ + public function setEmailTemplates(array $emailTemplates) + { + $this->emailTemplates=$emailTemplates; + $this->keyModified['email_templates'] = 1; + + } + + /** + * The method to get the info + * @return Info An instance of Info + */ + public function getInfo() + { + return $this->info; + + } + + /** + * The method to set the value to info + * @param Info $info An instance of Info + */ + public function setInfo(Info $info) + { + $this->info=$info; + $this->keyModified['info'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/entityscores/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/entityscores/APIException.php new file mode 100644 index 0000000..6ea218f --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/entityscores/APIException.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/entityscores/Entity.php b/versions/5.0.0/src/com/zoho/crm/api/entityscores/Entity.php new file mode 100644 index 0000000..cd5469f --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/entityscores/Entity.php @@ -0,0 +1,103 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the module + * @return Module An instance of Module + */ + public function getModule() + { + return $this->module; + + } + + /** + * The method to set the value to module + * @param Module $module An instance of Module + */ + public function setModule(Module $module) + { + $this->module=$module; + $this->keyModified['module'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/entityscores/EntityScores.php b/versions/5.0.0/src/com/zoho/crm/api/entityscores/EntityScores.php new file mode 100644 index 0000000..5f0492b --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/entityscores/EntityScores.php @@ -0,0 +1,279 @@ +entity; + + } + + /** + * The method to set the value to entity + * @param Entity $entity An instance of Entity + */ + public function setEntity(Entity $entity) + { + $this->entity=$entity; + $this->keyModified['Entity'] = 1; + + } + + /** + * The method to get the positiveScore + * @return int A int representing the positiveScore + */ + public function getPositiveScore() + { + return $this->positiveScore; + + } + + /** + * The method to set the value to positiveScore + * @param int $positiveScore A int + */ + public function setPositiveScore(int $positiveScore) + { + $this->positiveScore=$positiveScore; + $this->keyModified['Positive_Score'] = 1; + + } + + /** + * The method to get the touchPointScore + * @return int A int representing the touchPointScore + */ + public function getTouchPointScore() + { + return $this->touchPointScore; + + } + + /** + * The method to set the value to touchPointScore + * @param int $touchPointScore A int + */ + public function setTouchPointScore(int $touchPointScore) + { + $this->touchPointScore=$touchPointScore; + $this->keyModified['Touch_Point_Score'] = 1; + + } + + /** + * The method to get the score + * @return int A int representing the score + */ + public function getScore() + { + return $this->score; + + } + + /** + * The method to set the value to score + * @param int $score A int + */ + public function setScore(int $score) + { + $this->score=$score; + $this->keyModified['Score'] = 1; + + } + + /** + * The method to get the negativeScore + * @return int A int representing the negativeScore + */ + public function getNegativeScore() + { + return $this->negativeScore; + + } + + /** + * The method to set the value to negativeScore + * @param int $negativeScore A int + */ + public function setNegativeScore(int $negativeScore) + { + $this->negativeScore=$negativeScore; + $this->keyModified['Negative_Score'] = 1; + + } + + /** + * The method to get the touchPointNegativeScore + * @return int A int representing the touchPointNegativeScore + */ + public function getTouchPointNegativeScore() + { + return $this->touchPointNegativeScore; + + } + + /** + * The method to set the value to touchPointNegativeScore + * @param int $touchPointNegativeScore A int + */ + public function setTouchPointNegativeScore(int $touchPointNegativeScore) + { + $this->touchPointNegativeScore=$touchPointNegativeScore; + $this->keyModified['Touch_Point_Negative_Score'] = 1; + + } + + /** + * The method to get the scoringRule + * @return ScoringRule An instance of ScoringRule + */ + public function getScoringRule() + { + return $this->scoringRule; + + } + + /** + * The method to set the value to scoringRule + * @param ScoringRule $scoringRule An instance of ScoringRule + */ + public function setScoringRule(ScoringRule $scoringRule) + { + $this->scoringRule=$scoringRule; + $this->keyModified['Scoring_Rule'] = 1; + + } + + /** + * The method to get the fieldStates + * @return array A array representing the fieldStates + */ + public function getFieldStates() + { + return $this->fieldStates; + + } + + /** + * The method to set the value to fieldStates + * @param array $fieldStates A array + */ + public function setFieldStates(array $fieldStates) + { + $this->fieldStates=$fieldStates; + $this->keyModified['$field_states'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the ziaVisions + * @return bool A bool representing the ziaVisions + */ + public function getZiaVisions() + { + return $this->ziaVisions; + + } + + /** + * The method to set the value to ziaVisions + * @param bool $ziaVisions A bool + */ + public function setZiaVisions(bool $ziaVisions) + { + $this->ziaVisions=$ziaVisions; + $this->keyModified['$zia_visions'] = 1; + + } + + /** + * The method to get the touchPointPositiveScore + * @return int A int representing the touchPointPositiveScore + */ + public function getTouchPointPositiveScore() + { + return $this->touchPointPositiveScore; + + } + + /** + * The method to set the value to touchPointPositiveScore + * @param int $touchPointPositiveScore A int + */ + public function setTouchPointPositiveScore(int $touchPointPositiveScore) + { + $this->touchPointPositiveScore=$touchPointPositiveScore; + $this->keyModified['Touch_Point_Positive_Score'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/entityscores/EntityScoresOperations.php b/versions/5.0.0/src/com/zoho/crm/api/entityscores/EntityScoresOperations.php new file mode 100644 index 0000000..8f8c1ce --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/entityscores/EntityScoresOperations.php @@ -0,0 +1,72 @@ +fields=$fields; + $this->cvid=$cvid; + + } + + /** + * The method to get entity score + * @param string $recordId A string + * @return APIResponse An instance of APIResponse + */ + public function getEntityScore(string $recordId) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/Entity_Scores__s/'); + $apiPath=$apiPath.(strval($recordId)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->addParam(new Param('fields', 'com.zoho.crm.api.EntityScores.GetEntityScoreParam'), $this->fields); + $handlerInstance->addParam(new Param('cvid', 'com.zoho.crm.api.EntityScores.GetEntityScoreParam'), $this->cvid); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to get entity scores + * @param ParameterMap $paramInstance An instance of ParameterMap + * @param HeaderMap $headerInstance An instance of HeaderMap + * @return APIResponse An instance of APIResponse + */ + public function getEntityScores(ParameterMap $paramInstance=null, HeaderMap $headerInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/Entity_Scores__s'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->addParam(new Param('fields', 'com.zoho.crm.api.EntityScores.GetEntityScoresParam'), $this->fields); + $handlerInstance->addParam(new Param('cvid', 'com.zoho.crm.api.EntityScores.GetEntityScoresParam'), $this->cvid); + $handlerInstance->setParam($paramInstance); + $handlerInstance->setHeader($headerInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/entityscores/GetEntityScoreParam.php b/versions/5.0.0/src/com/zoho/crm/api/entityscores/GetEntityScoreParam.php new file mode 100644 index 0000000..cc5b889 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/entityscores/GetEntityScoreParam.php @@ -0,0 +1,7 @@ +perPage; + + } + + /** + * The method to set the value to perPage + * @param int $perPage A int + */ + public function setPerPage(int $perPage) + { + $this->perPage=$perPage; + $this->keyModified['per_page'] = 1; + + } + + /** + * The method to get the nextPageToken + * @return string A string representing the nextPageToken + */ + public function getNextPageToken() + { + return $this->nextPageToken; + + } + + /** + * The method to set the value to nextPageToken + * @param string $nextPageToken A string + */ + public function setNextPageToken(string $nextPageToken) + { + $this->nextPageToken=$nextPageToken; + $this->keyModified['next_page_token'] = 1; + + } + + /** + * The method to get the count + * @return int A int representing the count + */ + public function getCount() + { + return $this->count; + + } + + /** + * The method to set the value to count + * @param int $count A int + */ + public function setCount(int $count) + { + $this->count=$count; + $this->keyModified['count'] = 1; + + } + + /** + * The method to get the sortBy + * @return string A string representing the sortBy + */ + public function getSortBy() + { + return $this->sortBy; + + } + + /** + * The method to set the value to sortBy + * @param string $sortBy A string + */ + public function setSortBy(string $sortBy) + { + $this->sortBy=$sortBy; + $this->keyModified['sort_by'] = 1; + + } + + /** + * The method to get the page + * @return int A int representing the page + */ + public function getPage() + { + return $this->page; + + } + + /** + * The method to set the value to page + * @param int $page A int + */ + public function setPage(int $page) + { + $this->page=$page; + $this->keyModified['page'] = 1; + + } + + /** + * The method to get the previousPageToken + * @return string A string representing the previousPageToken + */ + public function getPreviousPageToken() + { + return $this->previousPageToken; + + } + + /** + * The method to set the value to previousPageToken + * @param string $previousPageToken A string + */ + public function setPreviousPageToken(string $previousPageToken) + { + $this->previousPageToken=$previousPageToken; + $this->keyModified['previous_page_token'] = 1; + + } + + /** + * The method to get the pageTokenExpiry + * @return string A string representing the pageTokenExpiry + */ + public function getPageTokenExpiry() + { + return $this->pageTokenExpiry; + + } + + /** + * The method to set the value to pageTokenExpiry + * @param string $pageTokenExpiry A string + */ + public function setPageTokenExpiry(string $pageTokenExpiry) + { + $this->pageTokenExpiry=$pageTokenExpiry; + $this->keyModified['page_token_expiry'] = 1; + + } + + /** + * The method to get the sortOrder + * @return string A string representing the sortOrder + */ + public function getSortOrder() + { + return $this->sortOrder; + + } + + /** + * The method to set the value to sortOrder + * @param string $sortOrder A string + */ + public function setSortOrder(string $sortOrder) + { + $this->sortOrder=$sortOrder; + $this->keyModified['sort_order'] = 1; + + } + + /** + * The method to get the moreRecords + * @return bool A bool representing the moreRecords + */ + public function getMoreRecords() + { + return $this->moreRecords; + + } + + /** + * The method to set the value to moreRecords + * @param bool $moreRecords A bool + */ + public function setMoreRecords(bool $moreRecords) + { + $this->moreRecords=$moreRecords; + $this->keyModified['more_records'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/entityscores/Module.php b/versions/5.0.0/src/com/zoho/crm/api/entityscores/Module.php new file mode 100644 index 0000000..841ea53 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/entityscores/Module.php @@ -0,0 +1,81 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/entityscores/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/entityscores/ResponseHandler.php new file mode 100644 index 0000000..c01a844 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/entityscores/ResponseHandler.php @@ -0,0 +1,7 @@ +data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to get the info + * @return Info An instance of Info + */ + public function getInfo() + { + return $this->info; + + } + + /** + * The method to set the value to info + * @param Info $info An instance of Info + */ + public function setInfo(Info $info) + { + $this->info=$info; + $this->keyModified['info'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/entityscores/ScoringRule.php b/versions/5.0.0/src/com/zoho/crm/api/entityscores/ScoringRule.php new file mode 100644 index 0000000..3842ec7 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/entityscores/ScoringRule.php @@ -0,0 +1,81 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/exception/SDKException.php b/versions/5.0.0/src/com/zoho/crm/api/exception/SDKException.php new file mode 100755 index 0000000..6c880cd --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/exception/SDKException.php @@ -0,0 +1,90 @@ +_code = $code; + $this->_message = $message; + $this->_cause = $cause; + $this->_details = $details; + if (!$message && $cause != null) + { + $this->_message = $cause->getMessage(); + } + parent::__construct($message); + } + + /** + * This is a getter method to get Exception error code. + * @return string A string representing the Exception error code. + */ + public function getErrorCode() + { + return $this->_code; + } + + /** + * This is a getter method to get Exception error message. + * @return string A string representing the Exception error message. + */ + + public function getErrorMessage() + { + return $this->_message; + } + + /** + * This is a getter method to get Exception class instance. + * @return \Exception A Exception class instance. + */ + public function getCause() + { + return $this->_cause; + } + + /** + * This is a getter method to get error response JSONObject. + * @return array A JSON Object representing the error response. + */ + public function getDetails() + { + return $this->_details; + } + + public function __toString() + { + $returnMsg = get_class($this) . " Caused by : "; + if($this->_details != null) + { + $this->_message = $this->_message != null? $this->_message.json_encode($this->_details, true) : json_encode($this->_details, true); + } + if ($this->_code != null) + { + $returnMsg .= $this->_code . " - " . $this->_message; + } + else + { + $returnMsg .= $this->_message; + } + return $returnMsg; + } +} \ No newline at end of file diff --git a/versions/5.0.0/src/com/zoho/crm/api/features/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/features/APIException.php new file mode 100644 index 0000000..26ff920 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/features/APIException.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/features/Component.php b/versions/5.0.0/src/com/zoho/crm/api/features/Component.php new file mode 100644 index 0000000..6927079 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/features/Component.php @@ -0,0 +1,125 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the moduleSupported + * @return bool A bool representing the moduleSupported + */ + public function getModuleSupported() + { + return $this->moduleSupported; + + } + + /** + * The method to set the value to moduleSupported + * @param bool $moduleSupported A bool + */ + public function setModuleSupported(bool $moduleSupported) + { + $this->moduleSupported=$moduleSupported; + $this->keyModified['module_supported'] = 1; + + } + + /** + * The method to get the details + * @return Detail An instance of Detail + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param Detail $details An instance of Detail + */ + public function setDetails(Detail $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the featureLabel + * @return string A string representing the featureLabel + */ + public function getFeatureLabel() + { + return $this->featureLabel; + + } + + /** + * The method to set the value to featureLabel + * @param string $featureLabel A string + */ + public function setFeatureLabel(string $featureLabel) + { + $this->featureLabel=$featureLabel; + $this->keyModified['feature_label'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/features/Detail.php b/versions/5.0.0/src/com/zoho/crm/api/features/Detail.php new file mode 100644 index 0000000..890180c --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/features/Detail.php @@ -0,0 +1,103 @@ +availableCount; + + } + + /** + * The method to set the value to availableCount + * @param Limit $availableCount An instance of Limit + */ + public function setAvailableCount(Limit $availableCount) + { + $this->availableCount=$availableCount; + $this->keyModified['available_count'] = 1; + + } + + /** + * The method to get the limits + * @return Limit An instance of Limit + */ + public function getLimits() + { + return $this->limits; + + } + + /** + * The method to set the value to limits + * @param Limit $limits An instance of Limit + */ + public function setLimits(Limit $limits) + { + $this->limits=$limits; + $this->keyModified['limits'] = 1; + + } + + /** + * The method to get the usedCount + * @return Limit An instance of Limit + */ + public function getUsedCount() + { + return $this->usedCount; + + } + + /** + * The method to set the value to usedCount + * @param Limit $usedCount An instance of Limit + */ + public function setUsedCount(Limit $usedCount) + { + $this->usedCount=$usedCount; + $this->keyModified['used_count'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/features/Feature.php b/versions/5.0.0/src/com/zoho/crm/api/features/Feature.php new file mode 100644 index 0000000..0fc1c05 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/features/Feature.php @@ -0,0 +1,169 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the parentFeature + * @return Feature An instance of Feature + */ + public function getParentFeature() + { + return $this->parentFeature; + + } + + /** + * The method to set the value to parentFeature + * @param Feature $parentFeature An instance of Feature + */ + public function setParentFeature(Feature $parentFeature) + { + $this->parentFeature=$parentFeature; + $this->keyModified['parent_feature'] = 1; + + } + + /** + * The method to get the moduleSupported + * @return bool A bool representing the moduleSupported + */ + public function getModuleSupported() + { + return $this->moduleSupported; + + } + + /** + * The method to set the value to moduleSupported + * @param bool $moduleSupported A bool + */ + public function setModuleSupported(bool $moduleSupported) + { + $this->moduleSupported=$moduleSupported; + $this->keyModified['module_supported'] = 1; + + } + + /** + * The method to get the details + * @return Detail An instance of Detail + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param Detail $details An instance of Detail + */ + public function setDetails(Detail $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the featureLabel + * @return string A string representing the featureLabel + */ + public function getFeatureLabel() + { + return $this->featureLabel; + + } + + /** + * The method to set the value to featureLabel + * @param string $featureLabel A string + */ + public function setFeatureLabel(string $featureLabel) + { + $this->featureLabel=$featureLabel; + $this->keyModified['feature_label'] = 1; + + } + + /** + * The method to get the components + * @return array A array representing the components + */ + public function getComponents() + { + return $this->components; + + } + + /** + * The method to set the value to components + * @param array $components A array + */ + public function setComponents(array $components) + { + $this->components=$components; + $this->keyModified['components'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/features/FeaturesOperations.php b/versions/5.0.0/src/com/zoho/crm/api/features/FeaturesOperations.php new file mode 100644 index 0000000..46cd86d --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/features/FeaturesOperations.php @@ -0,0 +1,83 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to get feature detail + * @param string $featureAPIName A string + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function getFeatureDetail(string $featureAPIName, ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/__features/'); + $apiPath=$apiPath.(strval($featureAPIName)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to get data enrichment + * @return APIResponse An instance of APIResponse + */ + public function getDataEnrichment() + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/__features/data_enrichment'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to get user licences count + * @return APIResponse An instance of APIResponse + */ + public function getUserLicencesCount() + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/__features/user_licenses'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/features/GetFeatureDetailParam.php b/versions/5.0.0/src/com/zoho/crm/api/features/GetFeatureDetailParam.php new file mode 100644 index 0000000..efb5a64 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/features/GetFeatureDetailParam.php @@ -0,0 +1,14 @@ +perPage; + + } + + /** + * The method to set the value to perPage + * @param int $perPage A int + */ + public function setPerPage(int $perPage) + { + $this->perPage=$perPage; + $this->keyModified['per_page'] = 1; + + } + + /** + * The method to get the count + * @return int A int representing the count + */ + public function getCount() + { + return $this->count; + + } + + /** + * The method to set the value to count + * @param int $count A int + */ + public function setCount(int $count) + { + $this->count=$count; + $this->keyModified['count'] = 1; + + } + + /** + * The method to get the page + * @return int A int representing the page + */ + public function getPage() + { + return $this->page; + + } + + /** + * The method to set the value to page + * @param int $page A int + */ + public function setPage(int $page) + { + $this->page=$page; + $this->keyModified['page'] = 1; + + } + + /** + * The method to get the moreRecords + * @return bool A bool representing the moreRecords + */ + public function getMoreRecords() + { + return $this->moreRecords; + + } + + /** + * The method to set the value to moreRecords + * @param bool $moreRecords A bool + */ + public function setMoreRecords(bool $moreRecords) + { + $this->moreRecords=$moreRecords; + $this->keyModified['more_records'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/features/Limit.php b/versions/5.0.0/src/com/zoho/crm/api/features/Limit.php new file mode 100644 index 0000000..295ffe7 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/features/Limit.php @@ -0,0 +1,81 @@ +total; + + } + + /** + * The method to set the value to total + * @param int $total A int + */ + public function setTotal(int $total) + { + $this->total=$total; + $this->keyModified['total'] = 1; + + } + + /** + * The method to get the editionLimit + * @return int A int representing the editionLimit + */ + public function getEditionLimit() + { + return $this->editionLimit; + + } + + /** + * The method to set the value to editionLimit + * @param int $editionLimit A int + */ + public function setEditionLimit(int $editionLimit) + { + $this->editionLimit=$editionLimit; + $this->keyModified['edition_limit'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/features/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/features/ResponseHandler.php new file mode 100644 index 0000000..bb7c97f --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/features/ResponseHandler.php @@ -0,0 +1,7 @@ +features; + + } + + /** + * The method to set the value to features + * @param array $features A array + */ + public function setFeatures(array $features) + { + $this->features=$features; + $this->keyModified['__features'] = 1; + + } + + /** + * The method to get the info + * @return Info An instance of Info + */ + public function getInfo() + { + return $this->info; + + } + + /** + * The method to set the value to info + * @param Info $info An instance of Info + */ + public function setInfo(Info $info) + { + $this->info=$info; + $this->keyModified['info'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fieldattachments/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/fieldattachments/APIException.php new file mode 100644 index 0000000..56d8592 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fieldattachments/APIException.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fieldattachments/FieldAttachmentsOperations.php b/versions/5.0.0/src/com/zoho/crm/api/fieldattachments/FieldAttachmentsOperations.php new file mode 100644 index 0000000..e4cc92c --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fieldattachments/FieldAttachmentsOperations.php @@ -0,0 +1,51 @@ +moduleAPIName=$moduleAPIName; + $this->recordId=$recordId; + $this->fieldsAttachmentId=$fieldsAttachmentId; + + } + + /** + * The method to get field attachments + * @return APIResponse An instance of APIResponse + */ + public function getFieldAttachments() + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleAPIName)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($this->recordId)); + $apiPath=$apiPath.('/actions/download_fields_attachment'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->addParam(new Param('fields_attachment_id', 'com.zoho.crm.api.FieldAttachments.GetFieldAttachmentsParam'), $this->fieldsAttachmentId); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/x-download'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fieldattachments/FileBodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/fieldattachments/FileBodyWrapper.php new file mode 100644 index 0000000..86485c9 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fieldattachments/FileBodyWrapper.php @@ -0,0 +1,60 @@ +file; + + } + + /** + * The method to set the value to file + * @param StreamWrapper $file An instance of StreamWrapper + */ + public function setFile(StreamWrapper $file) + { + $this->file=$file; + $this->keyModified['file'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fieldattachments/GetFieldAttachmentsParam.php b/versions/5.0.0/src/com/zoho/crm/api/fieldattachments/GetFieldAttachmentsParam.php new file mode 100644 index 0000000..3cdae53 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fieldattachments/GetFieldAttachmentsParam.php @@ -0,0 +1,7 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fieldmapdependency/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/fieldmapdependency/ActionHandler.php new file mode 100644 index 0000000..80361ff --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fieldmapdependency/ActionHandler.php @@ -0,0 +1,7 @@ +mapDependency; + + } + + /** + * The method to set the value to mapDependency + * @param array $mapDependency A array + */ + public function setMapDependency(array $mapDependency) + { + $this->mapDependency=$mapDependency; + $this->keyModified['map_dependency'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fieldmapdependency/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/fieldmapdependency/BodyWrapper.php new file mode 100644 index 0000000..1aaaf28 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fieldmapdependency/BodyWrapper.php @@ -0,0 +1,59 @@ +mapDependency; + + } + + /** + * The method to set the value to mapDependency + * @param array $mapDependency A array + */ + public function setMapDependency(array $mapDependency) + { + $this->mapDependency=$mapDependency; + $this->keyModified['map_dependency'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fieldmapdependency/Child.php b/versions/5.0.0/src/com/zoho/crm/api/fieldmapdependency/Child.php new file mode 100644 index 0000000..af9406f --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fieldmapdependency/Child.php @@ -0,0 +1,81 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fieldmapdependency/CreateMapDependencyParam.php b/versions/5.0.0/src/com/zoho/crm/api/fieldmapdependency/CreateMapDependencyParam.php new file mode 100644 index 0000000..a5bf107 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fieldmapdependency/CreateMapDependencyParam.php @@ -0,0 +1,7 @@ +layoutId=$layoutId; + $this->module=$module; + + } + + /** + * The method to create map dependency + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function createMapDependency(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/layouts/'); + $apiPath=$apiPath.(strval($this->layoutId)); + $apiPath=$apiPath.('/map_dependency'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + $handlerInstance->addParam(new Param('module', 'com.zoho.crm.api.FieldMapDependency.CreateMapDependencyParam'), $this->module); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get map dependencies + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function getMapDependencies(ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/layouts/'); + $apiPath=$apiPath.(strval($this->layoutId)); + $apiPath=$apiPath.('/map_dependency'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->addParam(new Param('module', 'com.zoho.crm.api.FieldMapDependency.GetMapDependenciesParam'), $this->module); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to update map dependency + * @param string $dependencyId A string + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updateMapDependency(string $dependencyId, BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/layouts/'); + $apiPath=$apiPath.(strval($this->layoutId)); + $apiPath=$apiPath.('/map_dependency/'); + $apiPath=$apiPath.(strval($dependencyId)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + $handlerInstance->addParam(new Param('module', 'com.zoho.crm.api.FieldMapDependency.UpdateMapDependencyParam'), $this->module); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get map dependency + * @param string $dependencyId A string + * @return APIResponse An instance of APIResponse + */ + public function getMapDependency(string $dependencyId) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/layouts/'); + $apiPath=$apiPath.(strval($this->layoutId)); + $apiPath=$apiPath.('/map_dependency/'); + $apiPath=$apiPath.(strval($dependencyId)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->addParam(new Param('module', 'com.zoho.crm.api.FieldMapDependency.GetMapDependencyParam'), $this->module); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to delete map dependency + * @param string $dependencyId A string + * @return APIResponse An instance of APIResponse + */ + public function deleteMapDependency(string $dependencyId) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/layouts/'); + $apiPath=$apiPath.(strval($this->layoutId)); + $apiPath=$apiPath.('/map_dependency/'); + $apiPath=$apiPath.(strval($dependencyId)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setCategoryMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->addParam(new Param('module', 'com.zoho.crm.api.FieldMapDependency.DeleteMapDependencyParam'), $this->module); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fieldmapdependency/GetMapDependenciesParam.php b/versions/5.0.0/src/com/zoho/crm/api/fieldmapdependency/GetMapDependenciesParam.php new file mode 100644 index 0000000..4425cba --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fieldmapdependency/GetMapDependenciesParam.php @@ -0,0 +1,29 @@ +page; + + } + + /** + * The method to set the value to page + * @param int $page A int + */ + public function setPage(int $page) + { + $this->page=$page; + $this->keyModified['page'] = 1; + + } + + /** + * The method to get the perPage + * @return int A int representing the perPage + */ + public function getPerPage() + { + return $this->perPage; + + } + + /** + * The method to set the value to perPage + * @param int $perPage A int + */ + public function setPerPage(int $perPage) + { + $this->perPage=$perPage; + $this->keyModified['per_page'] = 1; + + } + + /** + * The method to get the count + * @return int A int representing the count + */ + public function getCount() + { + return $this->count; + + } + + /** + * The method to set the value to count + * @param int $count A int + */ + public function setCount(int $count) + { + $this->count=$count; + $this->keyModified['count'] = 1; + + } + + /** + * The method to get the moreRecords + * @return bool A bool representing the moreRecords + */ + public function getMoreRecords() + { + return $this->moreRecords; + + } + + /** + * The method to set the value to moreRecords + * @param bool $moreRecords A bool + */ + public function setMoreRecords(bool $moreRecords) + { + $this->moreRecords=$moreRecords; + $this->keyModified['more_records'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fieldmapdependency/MapDependency.php b/versions/5.0.0/src/com/zoho/crm/api/fieldmapdependency/MapDependency.php new file mode 100644 index 0000000..9e125b3 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fieldmapdependency/MapDependency.php @@ -0,0 +1,235 @@ +parent; + + } + + /** + * The method to set the value to parent + * @param Parent1 $parent An instance of Parent1 + */ + public function setParent(Parent1 $parent) + { + $this->parent=$parent; + $this->keyModified['parent'] = 1; + + } + + /** + * The method to get the child + * @return Child An instance of Child + */ + public function getChild() + { + return $this->child; + + } + + /** + * The method to set the value to child + * @param Child $child An instance of Child + */ + public function setChild(Child $child) + { + $this->child=$child; + $this->keyModified['child'] = 1; + + } + + /** + * The method to get the pickListValues + * @return array A array representing the pickListValues + */ + public function getPickListValues() + { + return $this->pickListValues; + + } + + /** + * The method to set the value to pickListValues + * @param array $pickListValues A array + */ + public function setPickListValues(array $pickListValues) + { + $this->pickListValues=$pickListValues; + $this->keyModified['pick_list_values'] = 1; + + } + + /** + * The method to get the internal + * @return bool A bool representing the internal + */ + public function getInternal() + { + return $this->internal; + + } + + /** + * The method to set the value to internal + * @param bool $internal A bool + */ + public function setInternal(bool $internal) + { + $this->internal=$internal; + $this->keyModified['internal'] = 1; + + } + + /** + * The method to get the active + * @return bool A bool representing the active + */ + public function getActive() + { + return $this->active; + + } + + /** + * The method to set the value to active + * @param bool $active A bool + */ + public function setActive(bool $active) + { + $this->active=$active; + $this->keyModified['active'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the source + * @return int A int representing the source + */ + public function getSource() + { + return $this->source; + + } + + /** + * The method to set the value to source + * @param int $source A int + */ + public function setSource(int $source) + { + $this->source=$source; + $this->keyModified['source'] = 1; + + } + + /** + * The method to get the category + * @return int A int representing the category + */ + public function getCategory() + { + return $this->category; + + } + + /** + * The method to set the value to category + * @param int $category A int + */ + public function setCategory(int $category) + { + $this->category=$category; + $this->keyModified['category'] = 1; + + } + + /** + * The method to get the subModule + * @return SubModule An instance of SubModule + */ + public function getSubModule() + { + return $this->subModule; + + } + + /** + * The method to set the value to subModule + * @param SubModule $subModule An instance of SubModule + */ + public function setSubModule(SubModule $subModule) + { + $this->subModule=$subModule; + $this->keyModified['sub_module'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fieldmapdependency/Parent1.php b/versions/5.0.0/src/com/zoho/crm/api/fieldmapdependency/Parent1.php new file mode 100644 index 0000000..eec0317 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fieldmapdependency/Parent1.php @@ -0,0 +1,81 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fieldmapdependency/PickListMapping.php b/versions/5.0.0/src/com/zoho/crm/api/fieldmapdependency/PickListMapping.php new file mode 100644 index 0000000..cc82024 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fieldmapdependency/PickListMapping.php @@ -0,0 +1,125 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the actualValue + * @return string A string representing the actualValue + */ + public function getActualValue() + { + return $this->actualValue; + + } + + /** + * The method to set the value to actualValue + * @param string $actualValue A string + */ + public function setActualValue(string $actualValue) + { + $this->actualValue=$actualValue; + $this->keyModified['actual_value'] = 1; + + } + + /** + * The method to get the displayValue + * @return string A string representing the displayValue + */ + public function getDisplayValue() + { + return $this->displayValue; + + } + + /** + * The method to set the value to displayValue + * @param string $displayValue A string + */ + public function setDisplayValue(string $displayValue) + { + $this->displayValue=$displayValue; + $this->keyModified['display_value'] = 1; + + } + + /** + * The method to get the maps + * @return array A array representing the maps + */ + public function getMaps() + { + return $this->maps; + + } + + /** + * The method to set the value to maps + * @param array $maps A array + */ + public function setMaps(array $maps) + { + $this->maps=$maps; + $this->keyModified['maps'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fieldmapdependency/PicklistMap.php b/versions/5.0.0/src/com/zoho/crm/api/fieldmapdependency/PicklistMap.php new file mode 100644 index 0000000..9dbf072 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fieldmapdependency/PicklistMap.php @@ -0,0 +1,125 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the actualValue + * @return string A string representing the actualValue + */ + public function getActualValue() + { + return $this->actualValue; + + } + + /** + * The method to set the value to actualValue + * @param string $actualValue A string + */ + public function setActualValue(string $actualValue) + { + $this->actualValue=$actualValue; + $this->keyModified['actual_value'] = 1; + + } + + /** + * The method to get the displayValue + * @return string A string representing the displayValue + */ + public function getDisplayValue() + { + return $this->displayValue; + + } + + /** + * The method to set the value to displayValue + * @param string $displayValue A string + */ + public function setDisplayValue(string $displayValue) + { + $this->displayValue=$displayValue; + $this->keyModified['display_value'] = 1; + + } + + /** + * The method to get the delete + * @return bool A bool representing the delete + */ + public function getDelete() + { + return $this->delete; + + } + + /** + * The method to set the value to delete + * @param bool $delete A bool + */ + public function setDelete(bool $delete) + { + $this->delete=$delete; + $this->keyModified['_delete'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fieldmapdependency/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/fieldmapdependency/ResponseHandler.php new file mode 100644 index 0000000..f71a4f3 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fieldmapdependency/ResponseHandler.php @@ -0,0 +1,7 @@ +mapDependency; + + } + + /** + * The method to set the value to mapDependency + * @param array $mapDependency A array + */ + public function setMapDependency(array $mapDependency) + { + $this->mapDependency=$mapDependency; + $this->keyModified['map_dependency'] = 1; + + } + + /** + * The method to get the info + * @return Info An instance of Info + */ + public function getInfo() + { + return $this->info; + + } + + /** + * The method to set the value to info + * @param Info $info An instance of Info + */ + public function setInfo(Info $info) + { + $this->info=$info; + $this->keyModified['info'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fieldmapdependency/SubModule.php b/versions/5.0.0/src/com/zoho/crm/api/fieldmapdependency/SubModule.php new file mode 100644 index 0000000..53575a2 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fieldmapdependency/SubModule.php @@ -0,0 +1,81 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fieldmapdependency/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/fieldmapdependency/SuccessResponse.php new file mode 100644 index 0000000..bcd2595 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fieldmapdependency/SuccessResponse.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fieldmapdependency/UpdateMapDependencyParam.php b/versions/5.0.0/src/com/zoho/crm/api/fieldmapdependency/UpdateMapDependencyParam.php new file mode 100644 index 0000000..497c74c --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fieldmapdependency/UpdateMapDependencyParam.php @@ -0,0 +1,7 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fields/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/fields/ActionHandler.php new file mode 100644 index 0000000..242f31a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fields/ActionHandler.php @@ -0,0 +1,7 @@ +fields; + + } + + /** + * The method to set the value to fields + * @param array $fields A array + */ + public function setFields(array $fields) + { + $this->fields=$fields; + $this->keyModified['fields'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fields/AssociationDetails.php b/versions/5.0.0/src/com/zoho/crm/api/fields/AssociationDetails.php new file mode 100644 index 0000000..025e1f0 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fields/AssociationDetails.php @@ -0,0 +1,82 @@ +relatedField; + + } + + /** + * The method to set the value to relatedField + * @param MinifiedModule $relatedField An instance of MinifiedModule + */ + public function setRelatedField(MinifiedModule $relatedField) + { + $this->relatedField=$relatedField; + $this->keyModified['related_field'] = 1; + + } + + /** + * The method to get the lookupField + * @return MinifiedModule An instance of MinifiedModule + */ + public function getLookupField() + { + return $this->lookupField; + + } + + /** + * The method to set the value to lookupField + * @param MinifiedModule $lookupField An instance of MinifiedModule + */ + public function setLookupField(MinifiedModule $lookupField) + { + $this->lookupField=$lookupField; + $this->keyModified['lookup_field'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fields/AutoNumber.php b/versions/5.0.0/src/com/zoho/crm/api/fields/AutoNumber.php new file mode 100644 index 0000000..86a438e --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fields/AutoNumber.php @@ -0,0 +1,125 @@ +startingNumberLength; + + } + + /** + * The method to set the value to startingNumberLength + * @param int $startingNumberLength A int + */ + public function setStartingNumberLength(int $startingNumberLength) + { + $this->startingNumberLength=$startingNumberLength; + $this->keyModified['starting_number_length'] = 1; + + } + + /** + * The method to get the prefix + * @return string A string representing the prefix + */ + public function getPrefix() + { + return $this->prefix; + + } + + /** + * The method to set the value to prefix + * @param string $prefix A string + */ + public function setPrefix(string $prefix) + { + $this->prefix=$prefix; + $this->keyModified['prefix'] = 1; + + } + + /** + * The method to get the suffix + * @return string A string representing the suffix + */ + public function getSuffix() + { + return $this->suffix; + + } + + /** + * The method to set the value to suffix + * @param string $suffix A string + */ + public function setSuffix(string $suffix) + { + $this->suffix=$suffix; + $this->keyModified['suffix'] = 1; + + } + + /** + * The method to get the startNumber + * @return int A int representing the startNumber + */ + public function getStartNumber() + { + return $this->startNumber; + + } + + /** + * The method to set the value to startNumber + * @param int $startNumber A int + */ + public function setStartNumber(int $startNumber) + { + $this->startNumber=$startNumber; + $this->keyModified['start_number'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fields/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/fields/BodyWrapper.php new file mode 100644 index 0000000..3b9afca --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fields/BodyWrapper.php @@ -0,0 +1,59 @@ +fields; + + } + + /** + * The method to set the value to fields + * @param array $fields A array + */ + public function setFields(array $fields) + { + $this->fields=$fields; + $this->keyModified['fields'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fields/ConvertMapping.php b/versions/5.0.0/src/com/zoho/crm/api/fields/ConvertMapping.php new file mode 100644 index 0000000..f96f123 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fields/ConvertMapping.php @@ -0,0 +1,103 @@ +contacts; + + } + + /** + * The method to set the value to contacts + * @param string $contacts A string + */ + public function setContacts(string $contacts) + { + $this->contacts=$contacts; + $this->keyModified['Contacts'] = 1; + + } + + /** + * The method to get the deals + * @return string A string representing the deals + */ + public function getDeals() + { + return $this->deals; + + } + + /** + * The method to set the value to deals + * @param string $deals A string + */ + public function setDeals(string $deals) + { + $this->deals=$deals; + $this->keyModified['Deals'] = 1; + + } + + /** + * The method to get the accounts + * @return string A string representing the accounts + */ + public function getAccounts() + { + return $this->accounts; + + } + + /** + * The method to set the value to accounts + * @param string $accounts A string + */ + public function setAccounts(string $accounts) + { + $this->accounts=$accounts; + $this->keyModified['Accounts'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fields/CreateFieldParam.php b/versions/5.0.0/src/com/zoho/crm/api/fields/CreateFieldParam.php new file mode 100644 index 0000000..53bf025 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fields/CreateFieldParam.php @@ -0,0 +1,14 @@ +comparator; + + } + + /** + * The method to set the value to comparator + * @param string $comparator A string + */ + public function setComparator(string $comparator) + { + $this->comparator=$comparator; + $this->keyModified['comparator'] = 1; + + } + + /** + * The method to get the field + * @return MinifiedField An instance of MinifiedField + */ + public function getField() + { + return $this->field; + + } + + /** + * The method to set the value to field + * @param MinifiedField $field An instance of MinifiedField + */ + public function setField(MinifiedField $field) + { + $this->field=$field; + $this->keyModified['field'] = 1; + + } + + /** + * The method to get the value + */ + public function getValue() + { + return $this->value; + + } + + /** + * The method to set the value to value + * @param + */ + public function setValue( $value) + { + $this->value=$value; + $this->keyModified['value'] = 1; + + } + + /** + * The method to get the groupOperator + * @return string A string representing the groupOperator + */ + public function getGroupOperator() + { + return $this->groupOperator; + + } + + /** + * The method to set the value to groupOperator + * @param string $groupOperator A string + */ + public function setGroupOperator(string $groupOperator) + { + $this->groupOperator=$groupOperator; + $this->keyModified['group_operator'] = 1; + + } + + /** + * The method to get the group + * @return array A array representing the group + */ + public function getGroup() + { + return $this->group; + + } + + /** + * The method to set the value to group + * @param array $group A array + */ + public function setGroup(array $group) + { + $this->group=$group; + $this->keyModified['group'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fields/Crypt.php b/versions/5.0.0/src/com/zoho/crm/api/fields/Crypt.php new file mode 100644 index 0000000..36d92b6 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fields/Crypt.php @@ -0,0 +1,169 @@ +mode; + + } + + /** + * The method to set the value to mode + * @param string $mode A string + */ + public function setMode(string $mode) + { + $this->mode=$mode; + $this->keyModified['mode'] = 1; + + } + + /** + * The method to get the status + * @return int A int representing the status + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param int $status A int + */ + public function setStatus(int $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the column + * @return string A string representing the column + */ + public function getColumn() + { + return $this->column; + + } + + /** + * The method to set the value to column + * @param string $column A string + */ + public function setColumn(string $column) + { + $this->column=$column; + $this->keyModified['column'] = 1; + + } + + /** + * The method to get the table + * @return string A string representing the table + */ + public function getTable() + { + return $this->table; + + } + + /** + * The method to set the value to table + * @param string $table A string + */ + public function setTable(string $table) + { + $this->table=$table; + $this->keyModified['table'] = 1; + + } + + /** + * The method to get the encfldids + * @return array A array representing the encfldids + */ + public function getEncfldids() + { + return $this->encfldids; + + } + + /** + * The method to set the value to encfldids + * @param array $encfldids A array + */ + public function setEncfldids(array $encfldids) + { + $this->encfldids=$encfldids; + $this->keyModified['encFldIds'] = 1; + + } + + /** + * The method to get the notify + * @return string A string representing the notify + */ + public function getNotify() + { + return $this->notify; + + } + + /** + * The method to set the value to notify + * @param string $notify A string + */ + public function setNotify(string $notify) + { + $this->notify=$notify; + $this->keyModified['notify'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fields/Currency.php b/versions/5.0.0/src/com/zoho/crm/api/fields/Currency.php new file mode 100644 index 0000000..7248295 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fields/Currency.php @@ -0,0 +1,82 @@ +roundingOption; + + } + + /** + * The method to set the value to roundingOption + * @param Choice $roundingOption An instance of Choice + */ + public function setRoundingOption(Choice $roundingOption) + { + $this->roundingOption=$roundingOption; + $this->keyModified['rounding_option'] = 1; + + } + + /** + * The method to get the precision + * @return int A int representing the precision + */ + public function getPrecision() + { + return $this->precision; + + } + + /** + * The method to set the value to precision + * @param int $precision A int + */ + public function setPrecision(int $precision) + { + $this->precision=$precision; + $this->keyModified['precision'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fields/DeleteFieldParam.php b/versions/5.0.0/src/com/zoho/crm/api/fields/DeleteFieldParam.php new file mode 100644 index 0000000..0966ec7 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fields/DeleteFieldParam.php @@ -0,0 +1,14 @@ +fieldsUpdateSupported; + + } + + /** + * The method to set the value to fieldsUpdateSupported + * @param bool $fieldsUpdateSupported A bool + */ + public function setFieldsUpdateSupported(bool $fieldsUpdateSupported) + { + $this->fieldsUpdateSupported=$fieldsUpdateSupported; + $this->keyModified['fields_update_supported'] = 1; + + } + + /** + * The method to get the recordOperationsSupported + * @return bool A bool representing the recordOperationsSupported + */ + public function getRecordOperationsSupported() + { + return $this->recordOperationsSupported; + + } + + /** + * The method to set the value to recordOperationsSupported + * @param bool $recordOperationsSupported A bool + */ + public function setRecordOperationsSupported(bool $recordOperationsSupported) + { + $this->recordOperationsSupported=$recordOperationsSupported; + $this->keyModified['record_operations_supported'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fields/Expression.php b/versions/5.0.0/src/com/zoho/crm/api/fields/Expression.php new file mode 100644 index 0000000..3721d00 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fields/Expression.php @@ -0,0 +1,103 @@ +functionParameters; + + } + + /** + * The method to set the value to functionParameters + * @param array $functionParameters A array + */ + public function setFunctionParameters(array $functionParameters) + { + $this->functionParameters=$functionParameters; + $this->keyModified['function_parameters'] = 1; + + } + + /** + * The method to get the criteria + * @return RollupCriteria An instance of RollupCriteria + */ + public function getCriteria() + { + return $this->criteria; + + } + + /** + * The method to set the value to criteria + * @param RollupCriteria $criteria An instance of RollupCriteria + */ + public function setCriteria(RollupCriteria $criteria) + { + $this->criteria=$criteria; + $this->keyModified['criteria'] = 1; + + } + + /** + * The method to get the function + * @return string A string representing the function + */ + public function getFunction() + { + return $this->function; + + } + + /** + * The method to set the value to function + * @param string $function A string + */ + public function setFunction(string $function) + { + $this->function=$function; + $this->keyModified['function'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fields/External.php b/versions/5.0.0/src/com/zoho/crm/api/fields/External.php new file mode 100644 index 0000000..a4775a9 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fields/External.php @@ -0,0 +1,103 @@ +show; + + } + + /** + * The method to set the value to show + * @param bool $show A bool + */ + public function setShow(bool $show) + { + $this->show=$show; + $this->keyModified['show'] = 1; + + } + + /** + * The method to get the type + * @return string A string representing the type + */ + public function getType() + { + return $this->type; + + } + + /** + * The method to set the value to type + * @param string $type A string + */ + public function setType(string $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to get the allowMultipleConfig + * @return bool A bool representing the allowMultipleConfig + */ + public function getAllowMultipleConfig() + { + return $this->allowMultipleConfig; + + } + + /** + * The method to set the value to allowMultipleConfig + * @param bool $allowMultipleConfig A bool + */ + public function setAllowMultipleConfig(bool $allowMultipleConfig) + { + $this->allowMultipleConfig=$allowMultipleConfig; + $this->keyModified['allow_multiple_config'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fields/Fields.php b/versions/5.0.0/src/com/zoho/crm/api/fields/Fields.php new file mode 100644 index 0000000..f9bfe9a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fields/Fields.php @@ -0,0 +1,1732 @@ +associatedModule; + + } + + /** + * The method to set the value to associatedModule + * @param MinifiedModule $associatedModule An instance of MinifiedModule + */ + public function setAssociatedModule(MinifiedModule $associatedModule) + { + $this->associatedModule=$associatedModule; + $this->keyModified['associated_module'] = 1; + + } + + /** + * The method to get the dataType + * @return string A string representing the dataType + */ + public function getDataType() + { + return $this->dataType; + + } + + /** + * The method to set the value to dataType + * @param string $dataType A string + */ + public function setDataType(string $dataType) + { + $this->dataType=$dataType; + $this->keyModified['data_type'] = 1; + + } + + /** + * The method to get the operationType + * @return OperationType An instance of OperationType + */ + public function getOperationType() + { + return $this->operationType; + + } + + /** + * The method to set the value to operationType + * @param OperationType $operationType An instance of OperationType + */ + public function setOperationType(OperationType $operationType) + { + $this->operationType=$operationType; + $this->keyModified['operation_type'] = 1; + + } + + /** + * The method to get the systemMandatory + * @return bool A bool representing the systemMandatory + */ + public function getSystemMandatory() + { + return $this->systemMandatory; + + } + + /** + * The method to set the value to systemMandatory + * @param bool $systemMandatory A bool + */ + public function setSystemMandatory(bool $systemMandatory) + { + $this->systemMandatory=$systemMandatory; + $this->keyModified['system_mandatory'] = 1; + + } + + /** + * The method to get the webhook + * @return bool A bool representing the webhook + */ + public function getWebhook() + { + return $this->webhook; + + } + + /** + * The method to set the value to webhook + * @param bool $webhook A bool + */ + public function setWebhook(bool $webhook) + { + $this->webhook=$webhook; + $this->keyModified['webhook'] = 1; + + } + + /** + * The method to get the sequenceNumber + * @return int A int representing the sequenceNumber + */ + public function getSequenceNumber() + { + return $this->sequenceNumber; + + } + + /** + * The method to set the value to sequenceNumber + * @param int $sequenceNumber A int + */ + public function setSequenceNumber(int $sequenceNumber) + { + $this->sequenceNumber=$sequenceNumber; + $this->keyModified['sequence_number'] = 1; + + } + + /** + * The method to get the defaultValue + * @return string A string representing the defaultValue + */ + public function getDefaultValue() + { + return $this->defaultValue; + + } + + /** + * The method to set the value to defaultValue + * @param string $defaultValue A string + */ + public function setDefaultValue(string $defaultValue) + { + $this->defaultValue=$defaultValue; + $this->keyModified['default_value'] = 1; + + } + + /** + * The method to get the blueprintSupported + * @return bool A bool representing the blueprintSupported + */ + public function getBlueprintSupported() + { + return $this->blueprintSupported; + + } + + /** + * The method to set the value to blueprintSupported + * @param bool $blueprintSupported A bool + */ + public function setBlueprintSupported(bool $blueprintSupported) + { + $this->blueprintSupported=$blueprintSupported; + $this->keyModified['blueprint_supported'] = 1; + + } + + /** + * The method to get the virtualField + * @return bool A bool representing the virtualField + */ + public function getVirtualField() + { + return $this->virtualField; + + } + + /** + * The method to set the value to virtualField + * @param bool $virtualField A bool + */ + public function setVirtualField(bool $virtualField) + { + $this->virtualField=$virtualField; + $this->keyModified['virtual_field'] = 1; + + } + + /** + * The method to get the fieldReadOnly + * @return bool A bool representing the fieldReadOnly + */ + public function getFieldReadOnly() + { + return $this->fieldReadOnly; + + } + + /** + * The method to set the value to fieldReadOnly + * @param bool $fieldReadOnly A bool + */ + public function setFieldReadOnly(bool $fieldReadOnly) + { + $this->fieldReadOnly=$fieldReadOnly; + $this->keyModified['field_read_only'] = 1; + + } + + /** + * The method to get the customizableProperties + * @return array A array representing the customizableProperties + */ + public function getCustomizableProperties() + { + return $this->customizableProperties; + + } + + /** + * The method to set the value to customizableProperties + * @param array $customizableProperties A array + */ + public function setCustomizableProperties(array $customizableProperties) + { + $this->customizableProperties=$customizableProperties; + $this->keyModified['customizable_properties'] = 1; + + } + + /** + * The method to get the readOnly + * @return bool A bool representing the readOnly + */ + public function getReadOnly() + { + return $this->readOnly; + + } + + /** + * The method to set the value to readOnly + * @param bool $readOnly A bool + */ + public function setReadOnly(bool $readOnly) + { + $this->readOnly=$readOnly; + $this->keyModified['read_only'] = 1; + + } + + /** + * The method to get the customField + * @return bool A bool representing the customField + */ + public function getCustomField() + { + return $this->customField; + + } + + /** + * The method to set the value to customField + * @param bool $customField A bool + */ + public function setCustomField(bool $customField) + { + $this->customField=$customField; + $this->keyModified['custom_field'] = 1; + + } + + /** + * The method to get the businesscardSupported + * @return bool A bool representing the businesscardSupported + */ + public function getBusinesscardSupported() + { + return $this->businesscardSupported; + + } + + /** + * The method to set the value to businesscardSupported + * @param bool $businesscardSupported A bool + */ + public function setBusinesscardSupported(bool $businesscardSupported) + { + $this->businesscardSupported=$businesscardSupported; + $this->keyModified['businesscard_supported'] = 1; + + } + + /** + * The method to get the filterable + * @return bool A bool representing the filterable + */ + public function getFilterable() + { + return $this->filterable; + + } + + /** + * The method to set the value to filterable + * @param bool $filterable A bool + */ + public function setFilterable(bool $filterable) + { + $this->filterable=$filterable; + $this->keyModified['filterable'] = 1; + + } + + /** + * The method to get the visible + * @return bool A bool representing the visible + */ + public function getVisible() + { + return $this->visible; + + } + + /** + * The method to set the value to visible + * @param bool $visible A bool + */ + public function setVisible(bool $visible) + { + $this->visible=$visible; + $this->keyModified['visible'] = 1; + + } + + /** + * The method to get the availableInUserLayout + * @return bool A bool representing the availableInUserLayout + */ + public function getAvailableInUserLayout() + { + return $this->availableInUserLayout; + + } + + /** + * The method to set the value to availableInUserLayout + * @param bool $availableInUserLayout A bool + */ + public function setAvailableInUserLayout(bool $availableInUserLayout) + { + $this->availableInUserLayout=$availableInUserLayout; + $this->keyModified['available_in_user_layout'] = 1; + + } + + /** + * The method to get the displayField + * @return bool A bool representing the displayField + */ + public function getDisplayField() + { + return $this->displayField; + + } + + /** + * The method to set the value to displayField + * @param bool $displayField A bool + */ + public function setDisplayField(bool $displayField) + { + $this->displayField=$displayField; + $this->keyModified['display_field'] = 1; + + } + + /** + * The method to get the pickListValuesSortedLexically + * @return bool A bool representing the pickListValuesSortedLexically + */ + public function getPickListValuesSortedLexically() + { + return $this->pickListValuesSortedLexically; + + } + + /** + * The method to set the value to pickListValuesSortedLexically + * @param bool $pickListValuesSortedLexically A bool + */ + public function setPickListValuesSortedLexically(bool $pickListValuesSortedLexically) + { + $this->pickListValuesSortedLexically=$pickListValuesSortedLexically; + $this->keyModified['pick_list_values_sorted_lexically'] = 1; + + } + + /** + * The method to get the sortable + * @return bool A bool representing the sortable + */ + public function getSortable() + { + return $this->sortable; + + } + + /** + * The method to set the value to sortable + * @param bool $sortable A bool + */ + public function setSortable(bool $sortable) + { + $this->sortable=$sortable; + $this->keyModified['sortable'] = 1; + + } + + /** + * The method to get the separator + * @return bool A bool representing the separator + */ + public function getSeparator() + { + return $this->separator; + + } + + /** + * The method to set the value to separator + * @param bool $separator A bool + */ + public function setSeparator(bool $separator) + { + $this->separator=$separator; + $this->keyModified['separator'] = 1; + + } + + /** + * The method to get the searchable + * @return bool A bool representing the searchable + */ + public function getSearchable() + { + return $this->searchable; + + } + + /** + * The method to set the value to searchable + * @param bool $searchable A bool + */ + public function setSearchable(bool $searchable) + { + $this->searchable=$searchable; + $this->keyModified['searchable'] = 1; + + } + + /** + * The method to get the enableColourCode + * @return bool A bool representing the enableColourCode + */ + public function getEnableColourCode() + { + return $this->enableColourCode; + + } + + /** + * The method to set the value to enableColourCode + * @param bool $enableColourCode A bool + */ + public function setEnableColourCode(bool $enableColourCode) + { + $this->enableColourCode=$enableColourCode; + $this->keyModified['enable_colour_code'] = 1; + + } + + /** + * The method to get the massUpdate + * @return bool A bool representing the massUpdate + */ + public function getMassUpdate() + { + return $this->massUpdate; + + } + + /** + * The method to set the value to massUpdate + * @param bool $massUpdate A bool + */ + public function setMassUpdate(bool $massUpdate) + { + $this->massUpdate=$massUpdate; + $this->keyModified['mass_update'] = 1; + + } + + /** + * The method to get the jsonType + * @return string A string representing the jsonType + */ + public function getJsonType() + { + return $this->jsonType; + + } + + /** + * The method to set the value to jsonType + * @param string $jsonType A string + */ + public function setJsonType(string $jsonType) + { + $this->jsonType=$jsonType; + $this->keyModified['json_type'] = 1; + + } + + /** + * The method to get the createdSource + * @return string A string representing the createdSource + */ + public function getCreatedSource() + { + return $this->createdSource; + + } + + /** + * The method to set the value to createdSource + * @param string $createdSource A string + */ + public function setCreatedSource(string $createdSource) + { + $this->createdSource=$createdSource; + $this->keyModified['created_source'] = 1; + + } + + /** + * The method to get the type + * @return string A string representing the type + */ + public function getType() + { + return $this->type; + + } + + /** + * The method to set the value to type + * @param string $type A string + */ + public function setType(string $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to get the displayLabel + * @return string A string representing the displayLabel + */ + public function getDisplayLabel() + { + return $this->displayLabel; + + } + + /** + * The method to set the value to displayLabel + * @param string $displayLabel A string + */ + public function setDisplayLabel(string $displayLabel) + { + $this->displayLabel=$displayLabel; + $this->keyModified['display_label'] = 1; + + } + + /** + * The method to get the columnName + * @return string A string representing the columnName + */ + public function getColumnName() + { + return $this->columnName; + + } + + /** + * The method to set the value to columnName + * @param string $columnName A string + */ + public function setColumnName(string $columnName) + { + $this->columnName=$columnName; + $this->keyModified['column_name'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the displayType + * @return int A int representing the displayType + */ + public function getDisplayType() + { + return $this->displayType; + + } + + /** + * The method to set the value to displayType + * @param int $displayType A int + */ + public function setDisplayType(int $displayType) + { + $this->displayType=$displayType; + $this->keyModified['display_type'] = 1; + + } + + /** + * The method to get the uiType + * @return int A int representing the uiType + */ + public function getUiType() + { + return $this->uiType; + + } + + /** + * The method to set the value to uiType + * @param int $uiType A int + */ + public function setUiType(int $uiType) + { + $this->uiType=$uiType; + $this->keyModified['ui_type'] = 1; + + } + + /** + * The method to get the colourCodeEnabledBySystem + * @return bool A bool representing the colourCodeEnabledBySystem + */ + public function getColourCodeEnabledBySystem() + { + return $this->colourCodeEnabledBySystem; + + } + + /** + * The method to set the value to colourCodeEnabledBySystem + * @param bool $colourCodeEnabledBySystem A bool + */ + public function setColourCodeEnabledBySystem(bool $colourCodeEnabledBySystem) + { + $this->colourCodeEnabledBySystem=$colourCodeEnabledBySystem; + $this->keyModified['colour_code_enabled_by_system'] = 1; + + } + + /** + * The method to get the length + * @return int A int representing the length + */ + public function getLength() + { + return $this->length; + + } + + /** + * The method to set the value to length + * @param int $length A int + */ + public function setLength(int $length) + { + $this->length=$length; + $this->keyModified['length'] = 1; + + } + + /** + * The method to get the decimalPlace + * @return int A int representing the decimalPlace + */ + public function getDecimalPlace() + { + return $this->decimalPlace; + + } + + /** + * The method to set the value to decimalPlace + * @param int $decimalPlace A int + */ + public function setDecimalPlace(int $decimalPlace) + { + $this->decimalPlace=$decimalPlace; + $this->keyModified['decimal_place'] = 1; + + } + + /** + * The method to get the quickSequenceNumber + * @return string A string representing the quickSequenceNumber + */ + public function getQuickSequenceNumber() + { + return $this->quickSequenceNumber; + + } + + /** + * The method to set the value to quickSequenceNumber + * @param string $quickSequenceNumber A string + */ + public function setQuickSequenceNumber(string $quickSequenceNumber) + { + $this->quickSequenceNumber=$quickSequenceNumber; + $this->keyModified['quick_sequence_number'] = 1; + + } + + /** + * The method to get the emailParser + * @return EmailParser An instance of EmailParser + */ + public function getEmailParser() + { + return $this->emailParser; + + } + + /** + * The method to set the value to emailParser + * @param EmailParser $emailParser An instance of EmailParser + */ + public function setEmailParser(EmailParser $emailParser) + { + $this->emailParser=$emailParser; + $this->keyModified['email_parser'] = 1; + + } + + /** + * The method to get the rollupSummary + * @return RollupSummary An instance of RollupSummary + */ + public function getRollupSummary() + { + return $this->rollupSummary; + + } + + /** + * The method to set the value to rollupSummary + * @param RollupSummary $rollupSummary An instance of RollupSummary + */ + public function setRollupSummary(RollupSummary $rollupSummary) + { + $this->rollupSummary=$rollupSummary; + $this->keyModified['rollup_summary'] = 1; + + } + + /** + * The method to get the referFromField + * @return ReferFromField An instance of ReferFromField + */ + public function getReferFromField() + { + return $this->referFromField; + + } + + /** + * The method to set the value to referFromField + * @param ReferFromField $referFromField An instance of ReferFromField + */ + public function setReferFromField(ReferFromField $referFromField) + { + $this->referFromField=$referFromField; + $this->keyModified['refer_from_field'] = 1; + + } + + /** + * The method to get the createdTime + * @return \DateTime An instance of \DateTime + */ + public function getCreatedTime() + { + return $this->createdTime; + + } + + /** + * The method to set the value to createdTime + * @param \DateTime $createdTime An instance of \DateTime + */ + public function setCreatedTime(\DateTime $createdTime) + { + $this->createdTime=$createdTime; + $this->keyModified['created_time'] = 1; + + } + + /** + * The method to get the modifiedTime + * @return \DateTime An instance of \DateTime + */ + public function getModifiedTime() + { + return $this->modifiedTime; + + } + + /** + * The method to set the value to modifiedTime + * @param \DateTime $modifiedTime An instance of \DateTime + */ + public function setModifiedTime(\DateTime $modifiedTime) + { + $this->modifiedTime=$modifiedTime; + $this->keyModified['modified_time'] = 1; + + } + + /** + * The method to get the showType + * @return int A int representing the showType + */ + public function getShowType() + { + return $this->showType; + + } + + /** + * The method to set the value to showType + * @param int $showType A int + */ + public function setShowType(int $showType) + { + $this->showType=$showType; + $this->keyModified['show_type'] = 1; + + } + + /** + * The method to get the category + * @return int A int representing the category + */ + public function getCategory() + { + return $this->category; + + } + + /** + * The method to set the value to category + * @param int $category A int + */ + public function setCategory(int $category) + { + $this->category=$category; + $this->keyModified['category'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the multiModuleLookup + * @return MultiModuleLookup An instance of MultiModuleLookup + */ + public function getMultiModuleLookup() + { + return $this->multiModuleLookup; + + } + + /** + * The method to set the value to multiModuleLookup + * @param MultiModuleLookup $multiModuleLookup An instance of MultiModuleLookup + */ + public function setMultiModuleLookup(MultiModuleLookup $multiModuleLookup) + { + $this->multiModuleLookup=$multiModuleLookup; + $this->keyModified['multi_module_lookup'] = 1; + + } + + /** + * The method to get the sharingProperties + * @return SharingProperties An instance of SharingProperties + */ + public function getSharingProperties() + { + return $this->sharingProperties; + + } + + /** + * The method to set the value to sharingProperties + * @param SharingProperties $sharingProperties An instance of SharingProperties + */ + public function setSharingProperties(SharingProperties $sharingProperties) + { + $this->sharingProperties=$sharingProperties; + $this->keyModified['sharing_properties'] = 1; + + } + + /** + * The method to get the currency + * @return Currency An instance of Currency + */ + public function getCurrency() + { + return $this->currency; + + } + + /** + * The method to set the value to currency + * @param Currency $currency An instance of Currency + */ + public function setCurrency(Currency $currency) + { + $this->currency=$currency; + $this->keyModified['currency'] = 1; + + } + + /** + * The method to get the fileUpoladOptionlist + * @return array A array representing the fileUpoladOptionlist + */ + public function getFileUpoladOptionlist() + { + return $this->fileUpoladOptionlist; + + } + + /** + * The method to set the value to fileUpoladOptionlist + * @param array $fileUpoladOptionlist A array + */ + public function setFileUpoladOptionlist(array $fileUpoladOptionlist) + { + $this->fileUpoladOptionlist=$fileUpoladOptionlist; + $this->keyModified['file_upolad_optionlist'] = 1; + + } + + /** + * The method to get the lookup + * @return Lookup An instance of Lookup + */ + public function getLookup() + { + return $this->lookup; + + } + + /** + * The method to set the value to lookup + * @param Lookup $lookup An instance of Lookup + */ + public function setLookup(Lookup $lookup) + { + $this->lookup=$lookup; + $this->keyModified['lookup'] = 1; + + } + + /** + * The method to get the profiles + * @return array A array representing the profiles + */ + public function getProfiles() + { + return $this->profiles; + + } + + /** + * The method to set the value to profiles + * @param array $profiles A array + */ + public function setProfiles(array $profiles) + { + $this->profiles=$profiles; + $this->keyModified['profiles'] = 1; + + } + + /** + * The method to get the viewType + * @return ViewType An instance of ViewType + */ + public function getViewType() + { + return $this->viewType; + + } + + /** + * The method to set the value to viewType + * @param ViewType $viewType An instance of ViewType + */ + public function setViewType(ViewType $viewType) + { + $this->viewType=$viewType; + $this->keyModified['view_type'] = 1; + + } + + /** + * The method to get the unique + * @return Unique An instance of Unique + */ + public function getUnique() + { + return $this->unique; + + } + + /** + * The method to set the value to unique + * @param Unique $unique An instance of Unique + */ + public function setUnique(Unique $unique) + { + $this->unique=$unique; + $this->keyModified['unique'] = 1; + + } + + /** + * The method to get the subModule + * @return MinifiedModule An instance of MinifiedModule + */ + public function getSubModule() + { + return $this->subModule; + + } + + /** + * The method to set the value to subModule + * @param MinifiedModule $subModule An instance of MinifiedModule + */ + public function setSubModule(MinifiedModule $subModule) + { + $this->subModule=$subModule; + $this->keyModified['sub_module'] = 1; + + } + + /** + * The method to get the subform + * @return Subform An instance of Subform + */ + public function getSubform() + { + return $this->subform; + + } + + /** + * The method to set the value to subform + * @param Subform $subform An instance of Subform + */ + public function setSubform(Subform $subform) + { + $this->subform=$subform; + $this->keyModified['subform'] = 1; + + } + + /** + * The method to get the external + * @return External An instance of External + */ + public function getExternal() + { + return $this->external; + + } + + /** + * The method to set the value to external + * @param External $external An instance of External + */ + public function setExternal(External $external) + { + $this->external=$external; + $this->keyModified['external'] = 1; + + } + + /** + * The method to get the formula + * @return Formula An instance of Formula + */ + public function getFormula() + { + return $this->formula; + + } + + /** + * The method to set the value to formula + * @param Formula $formula An instance of Formula + */ + public function setFormula(Formula $formula) + { + $this->formula=$formula; + $this->keyModified['formula'] = 1; + + } + + /** + * The method to get the private + * @return Private1 An instance of Private1 + */ + public function getPrivate() + { + return $this->private; + + } + + /** + * The method to set the value to private + * @param Private1 $private An instance of Private1 + */ + public function setPrivate(Private1 $private) + { + $this->private=$private; + $this->keyModified['private'] = 1; + + } + + /** + * The method to get the convertMapping + * @return ConvertMapping An instance of ConvertMapping + */ + public function getConvertMapping() + { + return $this->convertMapping; + + } + + /** + * The method to set the value to convertMapping + * @param ConvertMapping $convertMapping An instance of ConvertMapping + */ + public function setConvertMapping(ConvertMapping $convertMapping) + { + $this->convertMapping=$convertMapping; + $this->keyModified['convert_mapping'] = 1; + + } + + /** + * The method to get the multiselectlookup + * @return Multiselectlookup An instance of Multiselectlookup + */ + public function getMultiselectlookup() + { + return $this->multiselectlookup; + + } + + /** + * The method to set the value to multiselectlookup + * @param Multiselectlookup $multiselectlookup An instance of Multiselectlookup + */ + public function setMultiselectlookup(Multiselectlookup $multiselectlookup) + { + $this->multiselectlookup=$multiselectlookup; + $this->keyModified['multiselectlookup'] = 1; + + } + + /** + * The method to get the multiuserlookup + * @return Multiselectlookup An instance of Multiselectlookup + */ + public function getMultiuserlookup() + { + return $this->multiuserlookup; + + } + + /** + * The method to set the value to multiuserlookup + * @param Multiselectlookup $multiuserlookup An instance of Multiselectlookup + */ + public function setMultiuserlookup(Multiselectlookup $multiuserlookup) + { + $this->multiuserlookup=$multiuserlookup; + $this->keyModified['multiuserlookup'] = 1; + + } + + /** + * The method to get the autonumber + * @return AutoNumber An instance of AutoNumber + */ + public function getAutonumber() + { + return $this->autonumber; + + } + + /** + * The method to set the value to autonumber + * @param AutoNumber $autonumber An instance of AutoNumber + */ + public function setAutonumber(AutoNumber $autonumber) + { + $this->autonumber=$autonumber; + $this->keyModified['autonumber'] = 1; + + } + + /** + * The method to get the autoNumber60 + * @return AutoNumber An instance of AutoNumber + */ + public function getAutoNumber60() + { + return $this->autoNumber60; + + } + + /** + * The method to set the value to autoNumber60 + * @param AutoNumber $autoNumber60 An instance of AutoNumber + */ + public function setAutoNumber60(AutoNumber $autoNumber60) + { + $this->autoNumber60=$autoNumber60; + $this->keyModified['auto_number'] = 1; + + } + + /** + * The method to get the pickListValues + * @return array A array representing the pickListValues + */ + public function getPickListValues() + { + return $this->pickListValues; + + } + + /** + * The method to set the value to pickListValues + * @param array $pickListValues A array + */ + public function setPickListValues(array $pickListValues) + { + $this->pickListValues=$pickListValues; + $this->keyModified['pick_list_values'] = 1; + + } + + /** + * The method to get the crypt + * @return Crypt An instance of Crypt + */ + public function getCrypt() + { + return $this->crypt; + + } + + /** + * The method to set the value to crypt + * @param Crypt $crypt An instance of Crypt + */ + public function setCrypt(Crypt $crypt) + { + $this->crypt=$crypt; + $this->keyModified['crypt'] = 1; + + } + + /** + * The method to get the tooltip + * @return Tooltip An instance of Tooltip + */ + public function getTooltip() + { + return $this->tooltip; + + } + + /** + * The method to set the value to tooltip + * @param Tooltip $tooltip An instance of Tooltip + */ + public function setTooltip(Tooltip $tooltip) + { + $this->tooltip=$tooltip; + $this->keyModified['tooltip'] = 1; + + } + + /** + * The method to get the historyTracking + * @return HistoryTracking An instance of HistoryTracking + */ + public function getHistoryTracking() + { + return $this->historyTracking; + + } + + /** + * The method to set the value to historyTracking + * @param HistoryTracking $historyTracking An instance of HistoryTracking + */ + public function setHistoryTracking(HistoryTracking $historyTracking) + { + $this->historyTracking=$historyTracking; + $this->keyModified['history_tracking'] = 1; + + } + + /** + * The method to get the associationDetails + * @return AssociationDetails An instance of AssociationDetails + */ + public function getAssociationDetails() + { + return $this->associationDetails; + + } + + /** + * The method to set the value to associationDetails + * @param AssociationDetails $associationDetails An instance of AssociationDetails + */ + public function setAssociationDetails(AssociationDetails $associationDetails) + { + $this->associationDetails=$associationDetails; + $this->keyModified['association_details'] = 1; + + } + + /** + * The method to get the allowedModules + * @return array A array representing the allowedModules + */ + public function getAllowedModules() + { + return $this->allowedModules; + + } + + /** + * The method to set the value to allowedModules + * @param array $allowedModules A array + */ + public function setAllowedModules(array $allowedModules) + { + $this->allowedModules=$allowedModules; + $this->keyModified['allowed_modules'] = 1; + + } + + /** + * The method to get the additionalColumn + * @return string A string representing the additionalColumn + */ + public function getAdditionalColumn() + { + return $this->additionalColumn; + + } + + /** + * The method to set the value to additionalColumn + * @param string $additionalColumn A string + */ + public function setAdditionalColumn(string $additionalColumn) + { + $this->additionalColumn=$additionalColumn; + $this->keyModified['additional_column'] = 1; + + } + + /** + * The method to get the fieldLabel + * @return string A string representing the fieldLabel + */ + public function getFieldLabel() + { + return $this->fieldLabel; + + } + + /** + * The method to set the value to fieldLabel + * @param string $fieldLabel A string + */ + public function setFieldLabel(string $fieldLabel) + { + $this->fieldLabel=$fieldLabel; + $this->keyModified['field_label'] = 1; + + } + + /** + * The method to get the globalPicklist + */ + public function getGlobalPicklist() + { + return $this->globalPicklist; + + } + + /** + * The method to set the value to globalPicklist + * @param + */ + public function setGlobalPicklist( $globalPicklist) + { + $this->globalPicklist=$globalPicklist; + $this->keyModified['global_picklist'] = 1; + + } + + /** + * The method to get the hipaaComplianceEnabled + * @return bool A bool representing the hipaaComplianceEnabled + */ + public function getHipaaComplianceEnabled() + { + return $this->hipaaComplianceEnabled; + + } + + /** + * The method to set the value to hipaaComplianceEnabled + * @param bool $hipaaComplianceEnabled A bool + */ + public function setHipaaComplianceEnabled(bool $hipaaComplianceEnabled) + { + $this->hipaaComplianceEnabled=$hipaaComplianceEnabled; + $this->keyModified['hipaa_compliance_enabled'] = 1; + + } + + /** + * The method to get the hipaaCompliance + * @return HipaaCompliance An instance of HipaaCompliance + */ + public function getHipaaCompliance() + { + return $this->hipaaCompliance; + + } + + /** + * The method to set the value to hipaaCompliance + * @param HipaaCompliance $hipaaCompliance An instance of HipaaCompliance + */ + public function setHipaaCompliance(HipaaCompliance $hipaaCompliance) + { + $this->hipaaCompliance=$hipaaCompliance; + $this->keyModified['hipaa_compliance'] = 1; + + } + + /** + * The method to get the updateexistingrecords + * @return bool A bool representing the updateexistingrecords + */ + public function getUpdateexistingrecords() + { + return $this->updateexistingrecords; + + } + + /** + * The method to set the value to updateexistingrecords + * @param bool $updateexistingrecords A bool + */ + public function setUpdateexistingrecords(bool $updateexistingrecords) + { + $this->updateexistingrecords=$updateexistingrecords; + $this->keyModified['_update_existing_records'] = 1; + + } + + /** + * The method to get the numberSeparator + * @return bool A bool representing the numberSeparator + */ + public function getNumberSeparator() + { + return $this->numberSeparator; + + } + + /** + * The method to set the value to numberSeparator + * @param bool $numberSeparator A bool + */ + public function setNumberSeparator(bool $numberSeparator) + { + $this->numberSeparator=$numberSeparator; + $this->keyModified['number_separator'] = 1; + + } + + /** + * The method to get the textarea + * @return Textarea An instance of Textarea + */ + public function getTextarea() + { + return $this->textarea; + + } + + /** + * The method to set the value to textarea + * @param Textarea $textarea An instance of Textarea + */ + public function setTextarea(Textarea $textarea) + { + $this->textarea=$textarea; + $this->keyModified['textarea'] = 1; + + } + + /** + * The method to get the staticField + * @return bool A bool representing the staticField + */ + public function getStaticField() + { + return $this->staticField; + + } + + /** + * The method to set the value to staticField + * @param bool $staticField A bool + */ + public function setStaticField(bool $staticField) + { + $this->staticField=$staticField; + $this->keyModified['static_field'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fields/FieldsOperations.php b/versions/5.0.0/src/com/zoho/crm/api/fields/FieldsOperations.php new file mode 100644 index 0000000..2cbdcf7 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fields/FieldsOperations.php @@ -0,0 +1,140 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to create field + * @param BodyWrapper $request An instance of BodyWrapper + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function createField(BodyWrapper $request, ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/fields'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to update fields + * @param BodyWrapper $request An instance of BodyWrapper + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function updateFields(BodyWrapper $request, ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/fields'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod('PATCH'); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get field + * @param string $field A string + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function getField(string $field, ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/fields/'); + $apiPath=$apiPath.(strval($field)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to update field + * @param string $field A string + * @param BodyWrapper $request An instance of BodyWrapper + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function updateField(string $field, BodyWrapper $request, ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/fields/'); + $apiPath=$apiPath.(strval($field)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod('PATCH'); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to delete field + * @param string $field A string + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function deleteField(string $field, ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/fields/'); + $apiPath=$apiPath.(strval($field)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setCategoryMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fields/FileUpoladOption.php b/versions/5.0.0/src/com/zoho/crm/api/fields/FileUpoladOption.php new file mode 100644 index 0000000..21999d8 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fields/FileUpoladOption.php @@ -0,0 +1,81 @@ +actualValue; + + } + + /** + * The method to set the value to actualValue + * @param string $actualValue A string + */ + public function setActualValue(string $actualValue) + { + $this->actualValue=$actualValue; + $this->keyModified['actual_value'] = 1; + + } + + /** + * The method to get the displayValue + * @return string A string representing the displayValue + */ + public function getDisplayValue() + { + return $this->displayValue; + + } + + /** + * The method to set the value to displayValue + * @param string $displayValue A string + */ + public function setDisplayValue(string $displayValue) + { + $this->displayValue=$displayValue; + $this->keyModified['display_value'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fields/ForecastCategory.php b/versions/5.0.0/src/com/zoho/crm/api/fields/ForecastCategory.php new file mode 100644 index 0000000..ecd8fb8 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fields/ForecastCategory.php @@ -0,0 +1,81 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fields/Formula.php b/versions/5.0.0/src/com/zoho/crm/api/fields/Formula.php new file mode 100644 index 0000000..f440c3c --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fields/Formula.php @@ -0,0 +1,81 @@ +returnType; + + } + + /** + * The method to set the value to returnType + * @param string $returnType A string + */ + public function setReturnType(string $returnType) + { + $this->returnType=$returnType; + $this->keyModified['return_type'] = 1; + + } + + /** + * The method to get the expression + * @return string A string representing the expression + */ + public function getExpression() + { + return $this->expression; + + } + + /** + * The method to set the value to expression + * @param string $expression A string + */ + public function setExpression(string $expression) + { + $this->expression=$expression; + $this->keyModified['expression'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fields/FunctionParameter.php b/versions/5.0.0/src/com/zoho/crm/api/fields/FunctionParameter.php new file mode 100644 index 0000000..51ba840 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fields/FunctionParameter.php @@ -0,0 +1,59 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fields/GetFieldParam.php b/versions/5.0.0/src/com/zoho/crm/api/fields/GetFieldParam.php new file mode 100644 index 0000000..07140cb --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fields/GetFieldParam.php @@ -0,0 +1,19 @@ +restrictedInExport; + + } + + /** + * The method to set the value to restrictedInExport + * @param bool $restrictedInExport A bool + */ + public function setRestrictedInExport(bool $restrictedInExport) + { + $this->restrictedInExport=$restrictedInExport; + $this->keyModified['restricted_in_export'] = 1; + + } + + /** + * The method to get the restricted + * @return bool A bool representing the restricted + */ + public function getRestricted() + { + return $this->restricted; + + } + + /** + * The method to set the value to restricted + * @param bool $restricted A bool + */ + public function setRestricted(bool $restricted) + { + $this->restricted=$restricted; + $this->keyModified['restricted'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fields/HistoryTracking.php b/versions/5.0.0/src/com/zoho/crm/api/fields/HistoryTracking.php new file mode 100644 index 0000000..5a902d5 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fields/HistoryTracking.php @@ -0,0 +1,82 @@ +module; + + } + + /** + * The method to set the value to module + * @param HistoryTrackingModule $module An instance of HistoryTrackingModule + */ + public function setModule(HistoryTrackingModule $module) + { + $this->module=$module; + $this->keyModified['module'] = 1; + + } + + /** + * The method to get the durationConfiguredField + * @return MinifiedModule An instance of MinifiedModule + */ + public function getDurationConfiguredField() + { + return $this->durationConfiguredField; + + } + + /** + * The method to set the value to durationConfiguredField + * @param MinifiedModule $durationConfiguredField An instance of MinifiedModule + */ + public function setDurationConfiguredField(MinifiedModule $durationConfiguredField) + { + $this->durationConfiguredField=$durationConfiguredField; + $this->keyModified['duration_configured_field'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fields/HistoryTrackingModule.php b/versions/5.0.0/src/com/zoho/crm/api/fields/HistoryTrackingModule.php new file mode 100644 index 0000000..69b84a8 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fields/HistoryTrackingModule.php @@ -0,0 +1,170 @@ +layout; + + } + + /** + * The method to set the value to layout + * @param Layouts $layout An instance of Layouts + */ + public function setLayout(Layouts $layout) + { + $this->layout=$layout; + $this->keyModified['layout'] = 1; + + } + + /** + * The method to get the displayLabel + * @return string A string representing the displayLabel + */ + public function getDisplayLabel() + { + return $this->displayLabel; + + } + + /** + * The method to set the value to displayLabel + * @param string $displayLabel A string + */ + public function setDisplayLabel(string $displayLabel) + { + $this->displayLabel=$displayLabel; + $this->keyModified['display_label'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the module + * @return HistoryTrackingModule An instance of HistoryTrackingModule + */ + public function getModule() + { + return $this->module; + + } + + /** + * The method to set the value to module + * @param HistoryTrackingModule $module An instance of HistoryTrackingModule + */ + public function setModule(HistoryTrackingModule $module) + { + $this->module=$module; + $this->keyModified['module'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the moduleName + * @return string A string representing the moduleName + */ + public function getModuleName() + { + return $this->moduleName; + + } + + /** + * The method to set the value to moduleName + * @param string $moduleName A string + */ + public function setModuleName(string $moduleName) + { + $this->moduleName=$moduleName; + $this->keyModified['module_name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fields/Lookup.php b/versions/5.0.0/src/com/zoho/crm/api/fields/Lookup.php new file mode 100644 index 0000000..a1f341f --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fields/Lookup.php @@ -0,0 +1,192 @@ +displayLabel; + + } + + /** + * The method to set the value to displayLabel + * @param string $displayLabel A string + */ + public function setDisplayLabel(string $displayLabel) + { + $this->displayLabel=$displayLabel; + $this->keyModified['display_label'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the queryDetails + * @return QueryDetails An instance of QueryDetails + */ + public function getQueryDetails() + { + return $this->queryDetails; + + } + + /** + * The method to set the value to queryDetails + * @param QueryDetails $queryDetails An instance of QueryDetails + */ + public function setQueryDetails(QueryDetails $queryDetails) + { + $this->queryDetails=$queryDetails; + $this->keyModified['query_details'] = 1; + + } + + /** + * The method to get the module + * @return MinifiedModule An instance of MinifiedModule + */ + public function getModule() + { + return $this->module; + + } + + /** + * The method to set the value to module + * @param MinifiedModule $module An instance of MinifiedModule + */ + public function setModule(MinifiedModule $module) + { + $this->module=$module; + $this->keyModified['module'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the revalidateFilterDuringEdit + * @return bool A bool representing the revalidateFilterDuringEdit + */ + public function getRevalidateFilterDuringEdit() + { + return $this->revalidateFilterDuringEdit; + + } + + /** + * The method to set the value to revalidateFilterDuringEdit + * @param bool $revalidateFilterDuringEdit A bool + */ + public function setRevalidateFilterDuringEdit(bool $revalidateFilterDuringEdit) + { + $this->revalidateFilterDuringEdit=$revalidateFilterDuringEdit; + $this->keyModified['revalidate_filter_during_edit'] = 1; + + } + + /** + * The method to get the showFields + * @return array A array representing the showFields + */ + public function getShowFields() + { + return $this->showFields; + + } + + /** + * The method to set the value to showFields + * @param array $showFields A array + */ + public function setShowFields(array $showFields) + { + $this->showFields=$showFields; + $this->keyModified['show_fields'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fields/MandatoryDetails.php b/versions/5.0.0/src/com/zoho/crm/api/fields/MandatoryDetails.php new file mode 100644 index 0000000..11ea0f7 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fields/MandatoryDetails.php @@ -0,0 +1,81 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the jsonPath + * @return string A string representing the jsonPath + */ + public function getJsonPath() + { + return $this->jsonPath; + + } + + /** + * The method to set the value to jsonPath + * @param string $jsonPath A string + */ + public function setJsonPath(string $jsonPath) + { + $this->jsonPath=$jsonPath; + $this->keyModified['json_path'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fields/Maps.php b/versions/5.0.0/src/com/zoho/crm/api/fields/Maps.php new file mode 100644 index 0000000..4ef4a64 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fields/Maps.php @@ -0,0 +1,81 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the pickListValues + * @return array A array representing the pickListValues + */ + public function getPickListValues() + { + return $this->pickListValues; + + } + + /** + * The method to set the value to pickListValues + * @param array $pickListValues A array + */ + public function setPickListValues(array $pickListValues) + { + $this->pickListValues=$pickListValues; + $this->keyModified['pick_list_values'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fields/MinifiedField.php b/versions/5.0.0/src/com/zoho/crm/api/fields/MinifiedField.php new file mode 100644 index 0000000..74ff73c --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fields/MinifiedField.php @@ -0,0 +1,81 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fields/MultiModuleLookup.php b/versions/5.0.0/src/com/zoho/crm/api/fields/MultiModuleLookup.php new file mode 100644 index 0000000..2c92e59 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fields/MultiModuleLookup.php @@ -0,0 +1,104 @@ +displayLabel; + + } + + /** + * The method to set the value to displayLabel + * @param string $displayLabel A string + */ + public function setDisplayLabel(string $displayLabel) + { + $this->displayLabel=$displayLabel; + $this->keyModified['display_label'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the modules + * @return array A array representing the modules + */ + public function getModules() + { + return $this->modules; + + } + + /** + * The method to set the value to modules + * @param array $modules A array + */ + public function setModules(array $modules) + { + $this->modules=$modules; + $this->keyModified['modules'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fields/Multiselectlookup.php b/versions/5.0.0/src/com/zoho/crm/api/fields/Multiselectlookup.php new file mode 100644 index 0000000..35e3863 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fields/Multiselectlookup.php @@ -0,0 +1,236 @@ +displayLabel; + + } + + /** + * The method to set the value to displayLabel + * @param string $displayLabel A string + */ + public function setDisplayLabel(string $displayLabel) + { + $this->displayLabel=$displayLabel; + $this->keyModified['display_label'] = 1; + + } + + /** + * The method to get the linkingModule + * @return MinifiedModule An instance of MinifiedModule + */ + public function getLinkingModule() + { + return $this->linkingModule; + + } + + /** + * The method to set the value to linkingModule + * @param MinifiedModule $linkingModule An instance of MinifiedModule + */ + public function setLinkingModule(MinifiedModule $linkingModule) + { + $this->linkingModule=$linkingModule; + $this->keyModified['linking_module'] = 1; + + } + + /** + * The method to get the connectedModule + * @return MinifiedModule An instance of MinifiedModule + */ + public function getConnectedModule() + { + return $this->connectedModule; + + } + + /** + * The method to set the value to connectedModule + * @param MinifiedModule $connectedModule An instance of MinifiedModule + */ + public function setConnectedModule(MinifiedModule $connectedModule) + { + $this->connectedModule=$connectedModule; + $this->keyModified['connected_module'] = 1; + + } + + /** + * The method to get the lookupApiname + * @return string A string representing the lookupApiname + */ + public function getLookupApiname() + { + return $this->lookupApiname; + + } + + /** + * The method to set the value to lookupApiname + * @param string $lookupApiname A string + */ + public function setLookupApiname(string $lookupApiname) + { + $this->lookupApiname=$lookupApiname; + $this->keyModified['lookup_apiname'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the connectedfieldApiname + * @return string A string representing the connectedfieldApiname + */ + public function getConnectedfieldApiname() + { + return $this->connectedfieldApiname; + + } + + /** + * The method to set the value to connectedfieldApiname + * @param string $connectedfieldApiname A string + */ + public function setConnectedfieldApiname(string $connectedfieldApiname) + { + $this->connectedfieldApiname=$connectedfieldApiname; + $this->keyModified['connectedfield_apiname'] = 1; + + } + + /** + * The method to get the connectedlookupApiname + * @return string A string representing the connectedlookupApiname + */ + public function getConnectedlookupApiname() + { + return $this->connectedlookupApiname; + + } + + /** + * The method to set the value to connectedlookupApiname + * @param string $connectedlookupApiname A string + */ + public function setConnectedlookupApiname(string $connectedlookupApiname) + { + $this->connectedlookupApiname=$connectedlookupApiname; + $this->keyModified['connectedlookup_apiname'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the recordAccess + * @return bool A bool representing the recordAccess + */ + public function getRecordAccess() + { + return $this->recordAccess; + + } + + /** + * The method to set the value to recordAccess + * @param bool $recordAccess A bool + */ + public function setRecordAccess(bool $recordAccess) + { + $this->recordAccess=$recordAccess; + $this->keyModified['record_access'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fields/OperationType.php b/versions/5.0.0/src/com/zoho/crm/api/fields/OperationType.php new file mode 100644 index 0000000..32d2fc6 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fields/OperationType.php @@ -0,0 +1,125 @@ +webUpdate; + + } + + /** + * The method to set the value to webUpdate + * @param bool $webUpdate A bool + */ + public function setWebUpdate(bool $webUpdate) + { + $this->webUpdate=$webUpdate; + $this->keyModified['web_update'] = 1; + + } + + /** + * The method to get the aPICreate + * @return bool A bool representing the apiCreate + */ + public function getAPICreate() + { + return $this->apiCreate; + + } + + /** + * The method to set the value to aPICreate + * @param bool $apiCreate A bool + */ + public function setAPICreate(bool $apiCreate) + { + $this->apiCreate=$apiCreate; + $this->keyModified['api_create'] = 1; + + } + + /** + * The method to get the webCreate + * @return bool A bool representing the webCreate + */ + public function getWebCreate() + { + return $this->webCreate; + + } + + /** + * The method to set the value to webCreate + * @param bool $webCreate A bool + */ + public function setWebCreate(bool $webCreate) + { + $this->webCreate=$webCreate; + $this->keyModified['web_create'] = 1; + + } + + /** + * The method to get the aPIUpdate + * @return bool A bool representing the apiUpdate + */ + public function getAPIUpdate() + { + return $this->apiUpdate; + + } + + /** + * The method to set the value to aPIUpdate + * @param bool $apiUpdate A bool + */ + public function setAPIUpdate(bool $apiUpdate) + { + $this->apiUpdate=$apiUpdate; + $this->keyModified['api_update'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fields/PickListValue.php b/versions/5.0.0/src/com/zoho/crm/api/fields/PickListValue.php new file mode 100644 index 0000000..50841eb --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fields/PickListValue.php @@ -0,0 +1,302 @@ +colourCode; + + } + + /** + * The method to set the value to colourCode + * @param string $colourCode A string + */ + public function setColourCode(string $colourCode) + { + $this->colourCode=$colourCode; + $this->keyModified['colour_code'] = 1; + + } + + /** + * The method to get the actualValue + * @return string A string representing the actualValue + */ + public function getActualValue() + { + return $this->actualValue; + + } + + /** + * The method to set the value to actualValue + * @param string $actualValue A string + */ + public function setActualValue(string $actualValue) + { + $this->actualValue=$actualValue; + $this->keyModified['actual_value'] = 1; + + } + + /** + * The method to get the type + * @return Choice An instance of Choice + */ + public function getType() + { + return $this->type; + + } + + /** + * The method to set the value to type + * @param Choice $type An instance of Choice + */ + public function setType(Choice $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the sequenceNumber + * @return int A int representing the sequenceNumber + */ + public function getSequenceNumber() + { + return $this->sequenceNumber; + + } + + /** + * The method to set the value to sequenceNumber + * @param int $sequenceNumber A int + */ + public function setSequenceNumber(int $sequenceNumber) + { + $this->sequenceNumber=$sequenceNumber; + $this->keyModified['sequence_number'] = 1; + + } + + /** + * The method to get the displayValue + * @return string A string representing the displayValue + */ + public function getDisplayValue() + { + return $this->displayValue; + + } + + /** + * The method to set the value to displayValue + * @param string $displayValue A string + */ + public function setDisplayValue(string $displayValue) + { + $this->displayValue=$displayValue; + $this->keyModified['display_value'] = 1; + + } + + /** + * The method to get the probability + * @return int A int representing the probability + */ + public function getProbability() + { + return $this->probability; + + } + + /** + * The method to set the value to probability + * @param int $probability A int + */ + public function setProbability(int $probability) + { + $this->probability=$probability; + $this->keyModified['probability'] = 1; + + } + + /** + * The method to get the forecastCategory + * @return ForecastCategory An instance of ForecastCategory + */ + public function getForecastCategory() + { + return $this->forecastCategory; + + } + + /** + * The method to set the value to forecastCategory + * @param ForecastCategory $forecastCategory An instance of ForecastCategory + */ + public function setForecastCategory(ForecastCategory $forecastCategory) + { + $this->forecastCategory=$forecastCategory; + $this->keyModified['forecast_category'] = 1; + + } + + /** + * The method to get the expectedDataType + * @return string A string representing the expectedDataType + */ + public function getExpectedDataType() + { + return $this->expectedDataType; + + } + + /** + * The method to set the value to expectedDataType + * @param string $expectedDataType A string + */ + public function setExpectedDataType(string $expectedDataType) + { + $this->expectedDataType=$expectedDataType; + $this->keyModified['expected_data_type'] = 1; + + } + + /** + * The method to get the sysRefName + * @return string A string representing the sysRefName + */ + public function getSysRefName() + { + return $this->sysRefName; + + } + + /** + * The method to set the value to sysRefName + * @param string $sysRefName A string + */ + public function setSysRefName(string $sysRefName) + { + $this->sysRefName=$sysRefName; + $this->keyModified['sys_ref_name'] = 1; + + } + + /** + * The method to get the forecastType + * @return string A string representing the forecastType + */ + public function getForecastType() + { + return $this->forecastType; + + } + + /** + * The method to set the value to forecastType + * @param string $forecastType A string + */ + public function setForecastType(string $forecastType) + { + $this->forecastType=$forecastType; + $this->keyModified['forecast_type'] = 1; + + } + + /** + * The method to get the maps + * @return array A array representing the maps + */ + public function getMaps() + { + return $this->maps; + + } + + /** + * The method to set the value to maps + * @param array $maps A array + */ + public function setMaps(array $maps) + { + $this->maps=$maps; + $this->keyModified['maps'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fields/Private1.php b/versions/5.0.0/src/com/zoho/crm/api/fields/Private1.php new file mode 100644 index 0000000..2f2d58f --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fields/Private1.php @@ -0,0 +1,103 @@ +restricted; + + } + + /** + * The method to set the value to restricted + * @param bool $restricted A bool + */ + public function setRestricted(bool $restricted) + { + $this->restricted=$restricted; + $this->keyModified['restricted'] = 1; + + } + + /** + * The method to get the type + * @return string A string representing the type + */ + public function getType() + { + return $this->type; + + } + + /** + * The method to set the value to type + * @param string $type A string + */ + public function setType(string $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to get the export + * @return bool A bool representing the export + */ + public function getExport() + { + return $this->export; + + } + + /** + * The method to set the value to export + * @param bool $export A bool + */ + public function setExport(bool $export) + { + $this->export=$export; + $this->keyModified['export'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fields/Profile.php b/versions/5.0.0/src/com/zoho/crm/api/fields/Profile.php new file mode 100644 index 0000000..11ff462 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fields/Profile.php @@ -0,0 +1,103 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the permissionType + * @return string A string representing the permissionType + */ + public function getPermissionType() + { + return $this->permissionType; + + } + + /** + * The method to set the value to permissionType + * @param string $permissionType A string + */ + public function setPermissionType(string $permissionType) + { + $this->permissionType=$permissionType; + $this->keyModified['permission_type'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fields/QueryDetails.php b/versions/5.0.0/src/com/zoho/crm/api/fields/QueryDetails.php new file mode 100644 index 0000000..863ffe9 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fields/QueryDetails.php @@ -0,0 +1,81 @@ +queryId; + + } + + /** + * The method to set the value to queryId + * @param string $queryId A string + */ + public function setQueryId(string $queryId) + { + $this->queryId=$queryId; + $this->keyModified['query_id'] = 1; + + } + + /** + * The method to get the criteria + * @return Criteria An instance of Criteria + */ + public function getCriteria() + { + return $this->criteria; + + } + + /** + * The method to set the value to criteria + * @param Criteria $criteria An instance of Criteria + */ + public function setCriteria(Criteria $criteria) + { + $this->criteria=$criteria; + $this->keyModified['criteria'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fields/ReferFromField.php b/versions/5.0.0/src/com/zoho/crm/api/fields/ReferFromField.php new file mode 100644 index 0000000..7c429b6 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fields/ReferFromField.php @@ -0,0 +1,81 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fields/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/fields/ResponseHandler.php new file mode 100644 index 0000000..ea3e8c1 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fields/ResponseHandler.php @@ -0,0 +1,7 @@ +fields; + + } + + /** + * The method to set the value to fields + * @param array $fields A array + */ + public function setFields(array $fields) + { + $this->fields=$fields; + $this->keyModified['fields'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fields/RollupCriteria.php b/versions/5.0.0/src/com/zoho/crm/api/fields/RollupCriteria.php new file mode 100644 index 0000000..6e4863a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fields/RollupCriteria.php @@ -0,0 +1,102 @@ +comparator; + + } + + /** + * The method to set the value to comparator + * @param string $comparator A string + */ + public function setComparator(string $comparator) + { + $this->comparator=$comparator; + $this->keyModified['comparator'] = 1; + + } + + /** + * The method to get the field + * @return MinifiedField An instance of MinifiedField + */ + public function getField() + { + return $this->field; + + } + + /** + * The method to set the value to field + * @param MinifiedField $field An instance of MinifiedField + */ + public function setField(MinifiedField $field) + { + $this->field=$field; + $this->keyModified['field'] = 1; + + } + + /** + * The method to get the value + */ + public function getValue() + { + return $this->value; + + } + + /** + * The method to set the value to value + * @param + */ + public function setValue( $value) + { + $this->value=$value; + $this->keyModified['value'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fields/RollupSummary.php b/versions/5.0.0/src/com/zoho/crm/api/fields/RollupSummary.php new file mode 100644 index 0000000..9785959 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fields/RollupSummary.php @@ -0,0 +1,147 @@ +returnType; + + } + + /** + * The method to set the value to returnType + * @param string $returnType A string + */ + public function setReturnType(string $returnType) + { + $this->returnType=$returnType; + $this->keyModified['return_type'] = 1; + + } + + /** + * The method to get the expression + * @return Expression An instance of Expression + */ + public function getExpression() + { + return $this->expression; + + } + + /** + * The method to set the value to expression + * @param Expression $expression An instance of Expression + */ + public function setExpression(Expression $expression) + { + $this->expression=$expression; + $this->keyModified['expression'] = 1; + + } + + /** + * The method to get the basedOnModule + * @return MinifiedField An instance of MinifiedField + */ + public function getBasedOnModule() + { + return $this->basedOnModule; + + } + + /** + * The method to set the value to basedOnModule + * @param MinifiedField $basedOnModule An instance of MinifiedField + */ + public function setBasedOnModule(MinifiedField $basedOnModule) + { + $this->basedOnModule=$basedOnModule; + $this->keyModified['based_on_module'] = 1; + + } + + /** + * The method to get the relatedList + * @return MinifiedField An instance of MinifiedField + */ + public function getRelatedList() + { + return $this->relatedList; + + } + + /** + * The method to set the value to relatedList + * @param MinifiedField $relatedList An instance of MinifiedField + */ + public function setRelatedList(MinifiedField $relatedList) + { + $this->relatedList=$relatedList; + $this->keyModified['related_list'] = 1; + + } + + /** + * The method to get the rollupBasedOn + * @return string A string representing the rollupBasedOn + */ + public function getRollupBasedOn() + { + return $this->rollupBasedOn; + + } + + /** + * The method to set the value to rollupBasedOn + * @param string $rollupBasedOn A string + */ + public function setRollupBasedOn(string $rollupBasedOn) + { + $this->rollupBasedOn=$rollupBasedOn; + $this->keyModified['rollup_based_on'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fields/SharingProperties.php b/versions/5.0.0/src/com/zoho/crm/api/fields/SharingProperties.php new file mode 100644 index 0000000..0799f90 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fields/SharingProperties.php @@ -0,0 +1,104 @@ +schedulerStatus; + + } + + /** + * The method to set the value to schedulerStatus + * @param string $schedulerStatus A string + */ + public function setSchedulerStatus(string $schedulerStatus) + { + $this->schedulerStatus=$schedulerStatus; + $this->keyModified['scheduler_status'] = 1; + + } + + /** + * The method to get the sharePreferenceEnabled + * @return bool A bool representing the sharePreferenceEnabled + */ + public function getSharePreferenceEnabled() + { + return $this->sharePreferenceEnabled; + + } + + /** + * The method to set the value to sharePreferenceEnabled + * @param bool $sharePreferenceEnabled A bool + */ + public function setSharePreferenceEnabled(bool $sharePreferenceEnabled) + { + $this->sharePreferenceEnabled=$sharePreferenceEnabled; + $this->keyModified['share_preference_enabled'] = 1; + + } + + /** + * The method to get the sharePermission + * @return Choice An instance of Choice + */ + public function getSharePermission() + { + return $this->sharePermission; + + } + + /** + * The method to set the value to sharePermission + * @param Choice $sharePermission An instance of Choice + */ + public function setSharePermission(Choice $sharePermission) + { + $this->sharePermission=$sharePermission; + $this->keyModified['share_permission'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fields/ShowFields.php b/versions/5.0.0/src/com/zoho/crm/api/fields/ShowFields.php new file mode 100644 index 0000000..32f3b7d --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fields/ShowFields.php @@ -0,0 +1,81 @@ +showData; + + } + + /** + * The method to set the value to showData + * @param bool $showData A bool + */ + public function setShowData(bool $showData) + { + $this->showData=$showData; + $this->keyModified['show_data'] = 1; + + } + + /** + * The method to get the field + * @return MinifiedField An instance of MinifiedField + */ + public function getField() + { + return $this->field; + + } + + /** + * The method to set the value to field + * @param MinifiedField $field An instance of MinifiedField + */ + public function setField(MinifiedField $field) + { + $this->field=$field; + $this->keyModified['field'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fields/Subform.php b/versions/5.0.0/src/com/zoho/crm/api/fields/Subform.php new file mode 100644 index 0000000..efc4c26 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fields/Subform.php @@ -0,0 +1,81 @@ +module; + + } + + /** + * The method to set the value to module + * @param string $module A string + */ + public function setModule(string $module) + { + $this->module=$module; + $this->keyModified['module'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fields/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/fields/SuccessResponse.php new file mode 100644 index 0000000..1bf82fc --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fields/SuccessResponse.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fields/Textarea.php b/versions/5.0.0/src/com/zoho/crm/api/fields/Textarea.php new file mode 100644 index 0000000..122dbf4 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fields/Textarea.php @@ -0,0 +1,59 @@ +type; + + } + + /** + * The method to set the value to type + * @param string $type A string + */ + public function setType(string $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fields/Tooltip.php b/versions/5.0.0/src/com/zoho/crm/api/fields/Tooltip.php new file mode 100644 index 0000000..50c6bd5 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fields/Tooltip.php @@ -0,0 +1,81 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the value + * @return string A string representing the value + */ + public function getValue() + { + return $this->value; + + } + + /** + * The method to set the value to value + * @param string $value A string + */ + public function setValue(string $value) + { + $this->value=$value; + $this->keyModified['value'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fields/Unique.php b/versions/5.0.0/src/com/zoho/crm/api/fields/Unique.php new file mode 100644 index 0000000..5dd89a8 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fields/Unique.php @@ -0,0 +1,59 @@ +casesensitive; + + } + + /** + * The method to set the value to casesensitive + * @param string $casesensitive A string + */ + public function setCasesensitive(string $casesensitive) + { + $this->casesensitive=$casesensitive; + $this->keyModified['casesensitive'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fields/UpdateFieldParam.php b/versions/5.0.0/src/com/zoho/crm/api/fields/UpdateFieldParam.php new file mode 100644 index 0000000..564d0d1 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fields/UpdateFieldParam.php @@ -0,0 +1,14 @@ +view; + + } + + /** + * The method to set the value to view + * @param bool $view A bool + */ + public function setView(bool $view) + { + $this->view=$view; + $this->keyModified['view'] = 1; + + } + + /** + * The method to get the edit + * @return bool A bool representing the edit + */ + public function getEdit() + { + return $this->edit; + + } + + /** + * The method to set the value to edit + * @param bool $edit A bool + */ + public function setEdit(bool $edit) + { + $this->edit=$edit; + $this->keyModified['edit'] = 1; + + } + + /** + * The method to get the quickCreate + * @return bool A bool representing the quickCreate + */ + public function getQuickCreate() + { + return $this->quickCreate; + + } + + /** + * The method to set the value to quickCreate + * @param bool $quickCreate A bool + */ + public function setQuickCreate(bool $quickCreate) + { + $this->quickCreate=$quickCreate; + $this->keyModified['quick_create'] = 1; + + } + + /** + * The method to get the create + * @return bool A bool representing the create + */ + public function getCreate() + { + return $this->create; + + } + + /** + * The method to set the value to create + * @param bool $create A bool + */ + public function setCreate(bool $create) + { + $this->create=$create; + $this->keyModified['create'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/files/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/files/APIException.php new file mode 100644 index 0000000..a216ea6 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/files/APIException.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/files/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/files/ActionHandler.php new file mode 100644 index 0000000..d8df7af --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/files/ActionHandler.php @@ -0,0 +1,7 @@ +data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/files/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/files/BodyWrapper.php new file mode 100644 index 0000000..bac1f2f --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/files/BodyWrapper.php @@ -0,0 +1,60 @@ +file; + + } + + /** + * The method to set the value to file + * @param array $file A array + */ + public function setFile(array $file) + { + $this->file=$file; + $this->keyModified['file'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/files/FileBodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/files/FileBodyWrapper.php new file mode 100644 index 0000000..eb9495f --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/files/FileBodyWrapper.php @@ -0,0 +1,60 @@ +file; + + } + + /** + * The method to set the value to file + * @param StreamWrapper $file An instance of StreamWrapper + */ + public function setFile(StreamWrapper $file) + { + $this->file=$file; + $this->keyModified['file'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/files/FilesOperations.php b/versions/5.0.0/src/com/zoho/crm/api/files/FilesOperations.php new file mode 100644 index 0000000..7b87ce8 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/files/FilesOperations.php @@ -0,0 +1,53 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('multipart/form-data'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get file + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function getFile(ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/files'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/x-download'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/files/GetFileParam.php b/versions/5.0.0/src/com/zoho/crm/api/files/GetFileParam.php new file mode 100644 index 0000000..b11c78e --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/files/GetFileParam.php @@ -0,0 +1,14 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/files/UploadFilesParam.php b/versions/5.0.0/src/com/zoho/crm/api/files/UploadFilesParam.php new file mode 100644 index 0000000..45cac14 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/files/UploadFilesParam.php @@ -0,0 +1,14 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/findandmerge/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/findandmerge/ActionHandler.php new file mode 100644 index 0000000..8ebc86e --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/findandmerge/ActionHandler.php @@ -0,0 +1,7 @@ +merge; + + } + + /** + * The method to set the value to merge + * @param array $merge A array + */ + public function setMerge(array $merge) + { + $this->merge=$merge; + $this->keyModified['merge'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/findandmerge/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/findandmerge/BodyWrapper.php new file mode 100644 index 0000000..6380c75 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/findandmerge/BodyWrapper.php @@ -0,0 +1,59 @@ +merge; + + } + + /** + * The method to set the value to merge + * @param array $merge A array + */ + public function setMerge(array $merge) + { + $this->merge=$merge; + $this->keyModified['merge'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/findandmerge/DataFields.php b/versions/5.0.0/src/com/zoho/crm/api/findandmerge/DataFields.php new file mode 100644 index 0000000..ea884b1 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/findandmerge/DataFields.php @@ -0,0 +1,81 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the data + * @return array A array representing the data + */ + public function getData() + { + return $this->data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['_data'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/findandmerge/FindAndMergeOperations.php b/versions/5.0.0/src/com/zoho/crm/api/findandmerge/FindAndMergeOperations.php new file mode 100644 index 0000000..2f42067 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/findandmerge/FindAndMergeOperations.php @@ -0,0 +1,74 @@ +module=$module; + $this->masterrecordid=$masterrecordid; + + } + + /** + * The method to get record merge + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function getRecordMerge(ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->module)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($this->masterrecordid)); + $apiPath=$apiPath.('/actions/merge'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to merge records + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function mergeRecords(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->module)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($this->masterrecordid)); + $apiPath=$apiPath.('/actions/merge'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/findandmerge/GetRecordMergeParam.php b/versions/5.0.0/src/com/zoho/crm/api/findandmerge/GetRecordMergeParam.php new file mode 100644 index 0000000..332871b --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/findandmerge/GetRecordMergeParam.php @@ -0,0 +1,14 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/findandmerge/MasterRecordFields.php b/versions/5.0.0/src/com/zoho/crm/api/findandmerge/MasterRecordFields.php new file mode 100644 index 0000000..f1ce2c4 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/findandmerge/MasterRecordFields.php @@ -0,0 +1,81 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the data + * @return array A array representing the data + */ + public function getData() + { + return $this->data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['_data'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/findandmerge/Merge.php b/versions/5.0.0/src/com/zoho/crm/api/findandmerge/Merge.php new file mode 100644 index 0000000..995ec5c --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/findandmerge/Merge.php @@ -0,0 +1,125 @@ +jobId; + + } + + /** + * The method to set the value to jobId + * @param string $jobId A string + */ + public function setJobId(string $jobId) + { + $this->jobId=$jobId; + $this->keyModified['job_id'] = 1; + + } + + /** + * The method to get the status + * @return string A string representing the status + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param string $status A string + */ + public function setStatus(string $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the data + * @return array A array representing the data + */ + public function getData() + { + return $this->data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to get the masterRecordFields + * @return array A array representing the masterRecordFields + */ + public function getMasterRecordFields() + { + return $this->masterRecordFields; + + } + + /** + * The method to set the value to masterRecordFields + * @param array $masterRecordFields A array + */ + public function setMasterRecordFields(array $masterRecordFields) + { + $this->masterRecordFields=$masterRecordFields; + $this->keyModified['master_record_fields'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/findandmerge/MergeData.php b/versions/5.0.0/src/com/zoho/crm/api/findandmerge/MergeData.php new file mode 100644 index 0000000..8c19cf6 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/findandmerge/MergeData.php @@ -0,0 +1,81 @@ +fields; + + } + + /** + * The method to set the value to fields + * @param array $fields A array + */ + public function setFields(array $fields) + { + $this->fields=$fields; + $this->keyModified['_fields'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/findandmerge/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/findandmerge/ResponseHandler.php new file mode 100644 index 0000000..8f40f1a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/findandmerge/ResponseHandler.php @@ -0,0 +1,7 @@ +merge; + + } + + /** + * The method to set the value to merge + * @param array $merge A array + */ + public function setMerge(array $merge) + { + $this->merge=$merge; + $this->keyModified['merge'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/findandmerge/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/findandmerge/SuccessResponse.php new file mode 100644 index 0000000..7ecfccd --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/findandmerge/SuccessResponse.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fiscalyear/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/fiscalyear/APIException.php new file mode 100644 index 0000000..c8ff228 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fiscalyear/APIException.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fiscalyear/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/fiscalyear/ActionHandler.php new file mode 100644 index 0000000..4879d9f --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fiscalyear/ActionHandler.php @@ -0,0 +1,7 @@ +fiscalYear; + + } + + /** + * The method to set the value to fiscalYear + * @param ActionResponse $fiscalYear An instance of ActionResponse + */ + public function setFiscalYear(ActionResponse $fiscalYear) + { + $this->fiscalYear=$fiscalYear; + $this->keyModified['fiscal_year'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fiscalyear/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/fiscalyear/BodyWrapper.php new file mode 100644 index 0000000..182e73a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fiscalyear/BodyWrapper.php @@ -0,0 +1,59 @@ +fiscalYear; + + } + + /** + * The method to set the value to fiscalYear + * @param Year $fiscalYear An instance of Year + */ + public function setFiscalYear(Year $fiscalYear) + { + $this->fiscalYear=$fiscalYear; + $this->keyModified['fiscal_year'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fiscalyear/FiscalYearOperations.php b/versions/5.0.0/src/com/zoho/crm/api/fiscalyear/FiscalYearOperations.php new file mode 100644 index 0000000..0b11ba3 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fiscalyear/FiscalYearOperations.php @@ -0,0 +1,47 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to update fiscal year + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updateFiscalYear(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/fiscal_year'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fiscalyear/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/fiscalyear/ResponseHandler.php new file mode 100644 index 0000000..1838263 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fiscalyear/ResponseHandler.php @@ -0,0 +1,7 @@ +fiscalYear; + + } + + /** + * The method to set the value to fiscalYear + * @param Year $fiscalYear An instance of Year + */ + public function setFiscalYear(Year $fiscalYear) + { + $this->fiscalYear=$fiscalYear; + $this->keyModified['fiscal_year'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fiscalyear/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/fiscalyear/SuccessResponse.php new file mode 100644 index 0000000..aef5129 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fiscalyear/SuccessResponse.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fiscalyear/Year.php b/versions/5.0.0/src/com/zoho/crm/api/fiscalyear/Year.php new file mode 100644 index 0000000..e0c1e1e --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fiscalyear/Year.php @@ -0,0 +1,104 @@ +startMonth; + + } + + /** + * The method to set the value to startMonth + * @param Choice $startMonth An instance of Choice + */ + public function setStartMonth(Choice $startMonth) + { + $this->startMonth=$startMonth; + $this->keyModified['start_month'] = 1; + + } + + /** + * The method to get the displayBasedOn + * @return Choice An instance of Choice + */ + public function getDisplayBasedOn() + { + return $this->displayBasedOn; + + } + + /** + * The method to set the value to displayBasedOn + * @param Choice $displayBasedOn An instance of Choice + */ + public function setDisplayBasedOn(Choice $displayBasedOn) + { + $this->displayBasedOn=$displayBasedOn; + $this->keyModified['display_based_on'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fromaddresses/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/fromaddresses/APIException.php new file mode 100644 index 0000000..ef1ff96 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fromaddresses/APIException.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fromaddresses/Address.php b/versions/5.0.0/src/com/zoho/crm/api/fromaddresses/Address.php new file mode 100644 index 0000000..d72e2a0 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fromaddresses/Address.php @@ -0,0 +1,147 @@ +email; + + } + + /** + * The method to set the value to email + * @param string $email A string + */ + public function setEmail(string $email) + { + $this->email=$email; + $this->keyModified['email'] = 1; + + } + + /** + * The method to get the type + * @return string A string representing the type + */ + public function getType() + { + return $this->type; + + } + + /** + * The method to set the value to type + * @param string $type A string + */ + public function setType(string $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the userName + * @return string A string representing the userName + */ + public function getUserName() + { + return $this->userName; + + } + + /** + * The method to set the value to userName + * @param string $userName A string + */ + public function setUserName(string $userName) + { + $this->userName=$userName; + $this->keyModified['user_name'] = 1; + + } + + /** + * The method to get the default + * @return bool A bool representing the default + */ + public function getDefault() + { + return $this->default; + + } + + /** + * The method to set the value to default + * @param bool $default A bool + */ + public function setDefault(bool $default) + { + $this->default=$default; + $this->keyModified['default'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fromaddresses/FromAddressesOperations.php b/versions/5.0.0/src/com/zoho/crm/api/fromaddresses/FromAddressesOperations.php new file mode 100644 index 0000000..3bde0db --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fromaddresses/FromAddressesOperations.php @@ -0,0 +1,27 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/fromaddresses/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/fromaddresses/ResponseHandler.php new file mode 100644 index 0000000..aba8342 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/fromaddresses/ResponseHandler.php @@ -0,0 +1,7 @@ +fromAddresses; + + } + + /** + * The method to set the value to fromAddresses + * @param array $fromAddresses A array + */ + public function setFromAddresses(array $fromAddresses) + { + $this->fromAddresses=$fromAddresses; + $this->keyModified['from_addresses'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/APIException.php new file mode 100644 index 0000000..f573356 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/APIException.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/ActionHandler.php new file mode 100644 index 0000000..2408efd --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/ActionHandler.php @@ -0,0 +1,7 @@ +globalPicklists; + + } + + /** + * The method to set the value to globalPicklists + * @param array $globalPicklists A array + */ + public function setGlobalPicklists(array $globalPicklists) + { + $this->globalPicklists=$globalPicklists; + $this->keyModified['global_picklists'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/Association.php b/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/Association.php new file mode 100644 index 0000000..1ce1537 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/Association.php @@ -0,0 +1,103 @@ +field; + + } + + /** + * The method to set the value to field + * @param Field $field An instance of Field + */ + public function setField(Field $field) + { + $this->field=$field; + $this->keyModified['field'] = 1; + + } + + /** + * The method to get the module + * @return Module An instance of Module + */ + public function getModule() + { + return $this->module; + + } + + /** + * The method to set the value to module + * @param Module $module An instance of Module + */ + public function setModule(Module $module) + { + $this->module=$module; + $this->keyModified['module'] = 1; + + } + + /** + * The method to get the layouts + * @return array A array representing the layouts + */ + public function getLayouts() + { + return $this->layouts; + + } + + /** + * The method to set the value to layouts + * @param array $layouts A array + */ + public function setLayouts(array $layouts) + { + $this->layouts=$layouts; + $this->keyModified['layouts'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/AssociationsResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/AssociationsResponseHandler.php new file mode 100644 index 0000000..32942ce --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/AssociationsResponseHandler.php @@ -0,0 +1,7 @@ +associations; + + } + + /** + * The method to set the value to associations + * @param array $associations A array + */ + public function setAssociations(array $associations) + { + $this->associations=$associations; + $this->keyModified['associations'] = 1; + + } + + /** + * The method to get the info + * @return Info An instance of Info + */ + public function getInfo() + { + return $this->info; + + } + + /** + * The method to set the value to info + * @param Info $info An instance of Info + */ + public function setInfo(Info $info) + { + $this->info=$info; + $this->keyModified['info'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/BodyWrapper.php new file mode 100644 index 0000000..a1e04ac --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/BodyWrapper.php @@ -0,0 +1,59 @@ +globalPicklists; + + } + + /** + * The method to set the value to globalPicklists + * @param array $globalPicklists A array + */ + public function setGlobalPicklists(array $globalPicklists) + { + $this->globalPicklists=$globalPicklists; + $this->keyModified['global_picklists'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/DeleteGlobalPicklistsParam.php b/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/DeleteGlobalPicklistsParam.php new file mode 100644 index 0000000..427bfec --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/DeleteGlobalPicklistsParam.php @@ -0,0 +1,14 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/GetAssociationsParam.php b/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/GetAssociationsParam.php new file mode 100644 index 0000000..4b6f5e1 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/GetAssociationsParam.php @@ -0,0 +1,24 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to create global picklist + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function createGlobalPicklist(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/global_picklists'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to update global picklists + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updateGlobalPicklists(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/global_picklists'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod('PATCH'); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to delete global picklists + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function deleteGlobalPicklists(ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/global_picklists'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setCategoryMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get global picklist + * @param string $id A string + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function getGlobalPicklist(string $id, ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/global_picklists/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to update global picklist + * @param string $id A string + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updateGlobalPicklist(string $id, BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/global_picklists/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to delete global picklist + * @param string $id A string + * @return APIResponse An instance of APIResponse + */ + public function deleteGlobalPicklist(string $id) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/global_picklists/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setCategoryMethod(Constants::REQUEST_METHOD_DELETE); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to replace picklist values + * @param string $id A string + * @param ReplaceBodyWrapper $request An instance of ReplaceBodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function replacePicklistValues(string $id, ReplaceBodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/global_picklists/'); + $apiPath=$apiPath.(strval($id)); + $apiPath=$apiPath.('/actions/replace_picklist_values'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_ACTION); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + return $handlerInstance->apiCall(ReplaceActionHandler::class, 'application/json'); + + } + + /** + * The method to get replace values + * @param string $id A string + * @return APIResponse An instance of APIResponse + */ + public function getReplaceValues(string $id) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/global_picklists/'); + $apiPath=$apiPath.(strval($id)); + $apiPath=$apiPath.('/actions/replaced_values'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_ACTION); + return $handlerInstance->apiCall(ReplacedResponseHandler::class, 'application/json'); + + } + + /** + * The method to get associations + * @param string $id A string + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function getAssociations(string $id, ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/global_picklists/'); + $apiPath=$apiPath.(strval($id)); + $apiPath=$apiPath.('/actions/associations'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_ACTION); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(AssociationsResponseHandler::class, 'application/json'); + + } + + /** + * The method to get pick list value associations + * @param string $id A string + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function getPickListValueAssociations(string $id, ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/global_picklists/'); + $apiPath=$apiPath.(strval($id)); + $apiPath=$apiPath.('/actions/pick_list_values_associations'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_ACTION); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(PickListValuesAssociationsResponseHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/Info.php b/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/Info.php new file mode 100644 index 0000000..4e32c14 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/Info.php @@ -0,0 +1,125 @@ +perPage; + + } + + /** + * The method to set the value to perPage + * @param int $perPage A int + */ + public function setPerPage(int $perPage) + { + $this->perPage=$perPage; + $this->keyModified['per_page'] = 1; + + } + + /** + * The method to get the count + * @return int A int representing the count + */ + public function getCount() + { + return $this->count; + + } + + /** + * The method to set the value to count + * @param int $count A int + */ + public function setCount(int $count) + { + $this->count=$count; + $this->keyModified['count'] = 1; + + } + + /** + * The method to get the page + * @return int A int representing the page + */ + public function getPage() + { + return $this->page; + + } + + /** + * The method to set the value to page + * @param int $page A int + */ + public function setPage(int $page) + { + $this->page=$page; + $this->keyModified['page'] = 1; + + } + + /** + * The method to get the moreRecords + * @return bool A bool representing the moreRecords + */ + public function getMoreRecords() + { + return $this->moreRecords; + + } + + /** + * The method to set the value to moreRecords + * @param bool $moreRecords A bool + */ + public function setMoreRecords(bool $moreRecords) + { + $this->moreRecords=$moreRecords; + $this->keyModified['more_records'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/Layout.php b/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/Layout.php new file mode 100644 index 0000000..3f325cf --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/Layout.php @@ -0,0 +1,103 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the status + * @return string A string representing the status + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param string $status A string + */ + public function setStatus(string $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/Module.php b/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/Module.php new file mode 100644 index 0000000..ba59360 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/Module.php @@ -0,0 +1,103 @@ +pluralLabel; + + } + + /** + * The method to set the value to pluralLabel + * @param string $pluralLabel A string + */ + public function setPluralLabel(string $pluralLabel) + { + $this->pluralLabel=$pluralLabel; + $this->keyModified['plural_label'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/PickListValues.php b/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/PickListValues.php new file mode 100644 index 0000000..8a3a8c2 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/PickListValues.php @@ -0,0 +1,148 @@ +actualValue; + + } + + /** + * The method to set the value to actualValue + * @param string $actualValue A string + */ + public function setActualValue(string $actualValue) + { + $this->actualValue=$actualValue; + $this->keyModified['actual_value'] = 1; + + } + + /** + * The method to get the type + * @return Choice An instance of Choice + */ + public function getType() + { + return $this->type; + + } + + /** + * The method to set the value to type + * @param Choice $type An instance of Choice + */ + public function setType(Choice $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the sequenceNumber + * @return int A int representing the sequenceNumber + */ + public function getSequenceNumber() + { + return $this->sequenceNumber; + + } + + /** + * The method to set the value to sequenceNumber + * @param int $sequenceNumber A int + */ + public function setSequenceNumber(int $sequenceNumber) + { + $this->sequenceNumber=$sequenceNumber; + $this->keyModified['sequence_number'] = 1; + + } + + /** + * The method to get the displayValue + * @return string A string representing the displayValue + */ + public function getDisplayValue() + { + return $this->displayValue; + + } + + /** + * The method to set the value to displayValue + * @param string $displayValue A string + */ + public function setDisplayValue(string $displayValue) + { + $this->displayValue=$displayValue; + $this->keyModified['display_value'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/PickListValuesAssociation.php b/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/PickListValuesAssociation.php new file mode 100644 index 0000000..cd5fa79 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/PickListValuesAssociation.php @@ -0,0 +1,81 @@ +type; + + } + + /** + * The method to set the value to type + * @param string $type A string + */ + public function setType(string $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to get the resources + * @return array A array representing the resources + */ + public function getResources() + { + return $this->resources; + + } + + /** + * The method to set the value to resources + * @param array $resources A array + */ + public function setResources(array $resources) + { + $this->resources=$resources; + $this->keyModified['resources'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/PickListValuesAssociationsResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/PickListValuesAssociationsResponseHandler.php new file mode 100644 index 0000000..4e48574 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/PickListValuesAssociationsResponseHandler.php @@ -0,0 +1,7 @@ +pickListValuesAssociations; + + } + + /** + * The method to set the value to pickListValuesAssociations + * @param array $pickListValuesAssociations A array + */ + public function setPickListValuesAssociations(array $pickListValuesAssociations) + { + $this->pickListValuesAssociations=$pickListValuesAssociations; + $this->keyModified['pick_list_values_associations'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/Picklist.php b/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/Picklist.php new file mode 100644 index 0000000..b1cdfbf --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/Picklist.php @@ -0,0 +1,302 @@ +displayLabel; + + } + + /** + * The method to set the value to displayLabel + * @param string $displayLabel A string + */ + public function setDisplayLabel(string $displayLabel) + { + $this->displayLabel=$displayLabel; + $this->keyModified['display_label'] = 1; + + } + + /** + * The method to get the createdTime + * @return \DateTime An instance of \DateTime + */ + public function getCreatedTime() + { + return $this->createdTime; + + } + + /** + * The method to set the value to createdTime + * @param \DateTime $createdTime An instance of \DateTime + */ + public function setCreatedTime(\DateTime $createdTime) + { + $this->createdTime=$createdTime; + $this->keyModified['created_time'] = 1; + + } + + /** + * The method to get the modifiedTime + * @return \DateTime An instance of \DateTime + */ + public function getModifiedTime() + { + return $this->modifiedTime; + + } + + /** + * The method to set the value to modifiedTime + * @param \DateTime $modifiedTime An instance of \DateTime + */ + public function setModifiedTime(\DateTime $modifiedTime) + { + $this->modifiedTime=$modifiedTime; + $this->keyModified['modified_time'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the actualLabel + * @return string A string representing the actualLabel + */ + public function getActualLabel() + { + return $this->actualLabel; + + } + + /** + * The method to set the value to actualLabel + * @param string $actualLabel A string + */ + public function setActualLabel(string $actualLabel) + { + $this->actualLabel=$actualLabel; + $this->keyModified['actual_label'] = 1; + + } + + /** + * The method to get the description + * @return string A string representing the description + */ + public function getDescription() + { + return $this->description; + + } + + /** + * The method to set the value to description + * @param string $description A string + */ + public function setDescription(string $description) + { + $this->description=$description; + $this->keyModified['description'] = 1; + + } + + /** + * The method to get the modifiedBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getModifiedBy() + { + return $this->modifiedBy; + + } + + /** + * The method to set the value to modifiedBy + * @param MinifiedUser $modifiedBy An instance of MinifiedUser + */ + public function setModifiedBy(MinifiedUser $modifiedBy) + { + $this->modifiedBy=$modifiedBy; + $this->keyModified['modified_by'] = 1; + + } + + /** + * The method to get the createdBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getCreatedBy() + { + return $this->createdBy; + + } + + /** + * The method to set the value to createdBy + * @param MinifiedUser $createdBy An instance of MinifiedUser + */ + public function setCreatedBy(MinifiedUser $createdBy) + { + $this->createdBy=$createdBy; + $this->keyModified['created_by'] = 1; + + } + + /** + * The method to get the presence + * @return bool A bool representing the presence + */ + public function getPresence() + { + return $this->presence; + + } + + /** + * The method to set the value to presence + * @param bool $presence A bool + */ + public function setPresence(bool $presence) + { + $this->presence=$presence; + $this->keyModified['presence'] = 1; + + } + + /** + * The method to get the pickListValuesSortedLexically + * @return bool A bool representing the pickListValuesSortedLexically + */ + public function getPickListValuesSortedLexically() + { + return $this->pickListValuesSortedLexically; + + } + + /** + * The method to set the value to pickListValuesSortedLexically + * @param bool $pickListValuesSortedLexically A bool + */ + public function setPickListValuesSortedLexically(bool $pickListValuesSortedLexically) + { + $this->pickListValuesSortedLexically=$pickListValuesSortedLexically; + $this->keyModified['pick_list_values_sorted_lexically'] = 1; + + } + + /** + * The method to get the pickListValues + * @return array A array representing the pickListValues + */ + public function getPickListValues() + { + return $this->pickListValues; + + } + + /** + * The method to set the value to pickListValues + * @param array $pickListValues A array + */ + public function setPickListValues(array $pickListValues) + { + $this->pickListValues=$pickListValues; + $this->keyModified['pick_list_values'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/ReplaceActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/ReplaceActionHandler.php new file mode 100644 index 0000000..ddf0020 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/ReplaceActionHandler.php @@ -0,0 +1,7 @@ +replacePicklistValues; + + } + + /** + * The method to set the value to replacePicklistValues + * @param array $replacePicklistValues A array + */ + public function setReplacePicklistValues(array $replacePicklistValues) + { + $this->replacePicklistValues=$replacePicklistValues; + $this->keyModified['replace_picklist_values'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/ReplaceBodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/ReplaceBodyWrapper.php new file mode 100644 index 0000000..dad6bdb --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/ReplaceBodyWrapper.php @@ -0,0 +1,59 @@ +replacePicklistValues; + + } + + /** + * The method to set the value to replacePicklistValues + * @param array $replacePicklistValues A array + */ + public function setReplacePicklistValues(array $replacePicklistValues) + { + $this->replacePicklistValues=$replacePicklistValues; + $this->keyModified['replace_picklist_values'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/ReplacePicklistValue.php b/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/ReplacePicklistValue.php new file mode 100644 index 0000000..b715168 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/ReplacePicklistValue.php @@ -0,0 +1,81 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the displayValue + * @return string A string representing the displayValue + */ + public function getDisplayValue() + { + return $this->displayValue; + + } + + /** + * The method to set the value to displayValue + * @param string $displayValue A string + */ + public function setDisplayValue(string $displayValue) + { + $this->displayValue=$displayValue; + $this->keyModified['display_value'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/ReplacePicklistValues.php b/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/ReplacePicklistValues.php new file mode 100644 index 0000000..3c5314a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/ReplacePicklistValues.php @@ -0,0 +1,81 @@ +newValue; + + } + + /** + * The method to set the value to newValue + * @param ReplacePicklistValue $newValue An instance of ReplacePicklistValue + */ + public function setNewValue(ReplacePicklistValue $newValue) + { + $this->newValue=$newValue; + $this->keyModified['new_value'] = 1; + + } + + /** + * The method to get the oldValue + * @return ReplacePicklistValue An instance of ReplacePicklistValue + */ + public function getOldValue() + { + return $this->oldValue; + + } + + /** + * The method to set the value to oldValue + * @param ReplacePicklistValue $oldValue An instance of ReplacePicklistValue + */ + public function setOldValue(ReplacePicklistValue $oldValue) + { + $this->oldValue=$oldValue; + $this->keyModified['old_value'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/ReplaceSuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/ReplaceSuccessResponse.php new file mode 100644 index 0000000..ce67e8c --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/ReplaceSuccessResponse.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/ReplacedResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/ReplacedResponseHandler.php new file mode 100644 index 0000000..8e01306 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/ReplacedResponseHandler.php @@ -0,0 +1,7 @@ +replacedValues; + + } + + /** + * The method to set the value to replacedValues + * @param array $replacedValues A array + */ + public function setReplacedValues(array $replacedValues) + { + $this->replacedValues=$replacedValues; + $this->keyModified['replaced_values'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/ReplacedValue.php b/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/ReplacedValue.php new file mode 100644 index 0000000..3bab739 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/ReplacedValue.php @@ -0,0 +1,81 @@ +displayValue; + + } + + /** + * The method to set the value to displayValue + * @param string $displayValue A string + */ + public function setDisplayValue(string $displayValue) + { + $this->displayValue=$displayValue; + $this->keyModified['display_value'] = 1; + + } + + /** + * The method to get the actualValue + * @return string A string representing the actualValue + */ + public function getActualValue() + { + return $this->actualValue; + + } + + /** + * The method to set the value to actualValue + * @param string $actualValue A string + */ + public function setActualValue(string $actualValue) + { + $this->actualValue=$actualValue; + $this->keyModified['actual_value'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/Resource.php b/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/Resource.php new file mode 100644 index 0000000..56d7588 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/Resource.php @@ -0,0 +1,104 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/ResponseHandler.php new file mode 100644 index 0000000..7de56a0 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/ResponseHandler.php @@ -0,0 +1,7 @@ +globalPicklists; + + } + + /** + * The method to set the value to globalPicklists + * @param array $globalPicklists A array + */ + public function setGlobalPicklists(array $globalPicklists) + { + $this->globalPicklists=$globalPicklists; + $this->keyModified['global_picklists'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/SuccessResponse.php new file mode 100644 index 0000000..e202e9e --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/globalpicklists/SuccessResponse.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/hipaacompliance/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/hipaacompliance/APIException.php new file mode 100644 index 0000000..847b798 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/hipaacompliance/APIException.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/hipaacompliance/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/hipaacompliance/ActionHandler.php new file mode 100644 index 0000000..33ae84e --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/hipaacompliance/ActionHandler.php @@ -0,0 +1,7 @@ +hipaaCompliance; + + } + + /** + * The method to set the value to hipaaCompliance + * @param ActionResponse $hipaaCompliance An instance of ActionResponse + */ + public function setHipaaCompliance(ActionResponse $hipaaCompliance) + { + $this->hipaaCompliance=$hipaaCompliance; + $this->keyModified['hipaa_compliance'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/hipaacompliance/HipaaCompliance.php b/versions/5.0.0/src/com/zoho/crm/api/hipaacompliance/HipaaCompliance.php new file mode 100644 index 0000000..9448673 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/hipaacompliance/HipaaCompliance.php @@ -0,0 +1,169 @@ +enabled; + + } + + /** + * The method to set the value to enabled + * @param bool $enabled A bool + */ + public function setEnabled(bool $enabled) + { + $this->enabled=$enabled; + $this->keyModified['enabled'] = 1; + + } + + /** + * The method to get the enabledForModules + * @return array A array representing the enabledForModules + */ + public function getEnabledForModules() + { + return $this->enabledForModules; + + } + + /** + * The method to set the value to enabledForModules + * @param array $enabledForModules A array + */ + public function setEnabledForModules(array $enabledForModules) + { + $this->enabledForModules=$enabledForModules; + $this->keyModified['enabled_for_modules'] = 1; + + } + + /** + * The method to get the restrictToZohoApps + * @return bool A bool representing the restrictToZohoApps + */ + public function getRestrictToZohoApps() + { + return $this->restrictToZohoApps; + + } + + /** + * The method to set the value to restrictToZohoApps + * @param bool $restrictToZohoApps A bool + */ + public function setRestrictToZohoApps(bool $restrictToZohoApps) + { + $this->restrictToZohoApps=$restrictToZohoApps; + $this->keyModified['restrict_to_zoho_apps'] = 1; + + } + + /** + * The method to get the restrictDataAccessThroughAPI + * @return bool A bool representing the restrictDataAccessThroughAPI + */ + public function getRestrictDataAccessThroughAPI() + { + return $this->restrictDataAccessThroughAPI; + + } + + /** + * The method to set the value to restrictDataAccessThroughAPI + * @param bool $restrictDataAccessThroughAPI A bool + */ + public function setRestrictDataAccessThroughAPI(bool $restrictDataAccessThroughAPI) + { + $this->restrictDataAccessThroughAPI=$restrictDataAccessThroughAPI; + $this->keyModified['restrict_data_access_through_api'] = 1; + + } + + /** + * The method to get the restrictDataInExport + * @return bool A bool representing the restrictDataInExport + */ + public function getRestrictDataInExport() + { + return $this->restrictDataInExport; + + } + + /** + * The method to set the value to restrictDataInExport + * @param bool $restrictDataInExport A bool + */ + public function setRestrictDataInExport(bool $restrictDataInExport) + { + $this->restrictDataInExport=$restrictDataInExport; + $this->keyModified['restrict_data_in_export'] = 1; + + } + + /** + * The method to get the restrictToThirdPartyApps + * @return array A array representing the restrictToThirdPartyApps + */ + public function getRestrictToThirdPartyApps() + { + return $this->restrictToThirdPartyApps; + + } + + /** + * The method to set the value to restrictToThirdPartyApps + * @param array $restrictToThirdPartyApps A array + */ + public function setRestrictToThirdPartyApps(array $restrictToThirdPartyApps) + { + $this->restrictToThirdPartyApps=$restrictToThirdPartyApps; + $this->keyModified['restrict_to_third_party_apps'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/hipaacompliance/Modules.php b/versions/5.0.0/src/com/zoho/crm/api/hipaacompliance/Modules.php new file mode 100644 index 0000000..4a2ff90 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/hipaacompliance/Modules.php @@ -0,0 +1,81 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/hipaacompliance/ResponseWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/hipaacompliance/ResponseWrapper.php new file mode 100644 index 0000000..7771978 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/hipaacompliance/ResponseWrapper.php @@ -0,0 +1,59 @@ +hipaaCompliance; + + } + + /** + * The method to set the value to hipaaCompliance + * @param HipaaCompliance $hipaaCompliance An instance of HipaaCompliance + */ + public function setHipaaCompliance(HipaaCompliance $hipaaCompliance) + { + $this->hipaaCompliance=$hipaaCompliance; + $this->keyModified['hipaa_compliance'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/hipaacompliance/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/hipaacompliance/SuccessResponse.php new file mode 100644 index 0000000..53cea1d --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/hipaacompliance/SuccessResponse.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/holidays/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/holidays/APIException.php new file mode 100644 index 0000000..238aec2 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/holidays/APIException.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/holidays/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/holidays/ActionHandler.php new file mode 100644 index 0000000..5988382 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/holidays/ActionHandler.php @@ -0,0 +1,7 @@ +holidays; + + } + + /** + * The method to set the value to holidays + * @param array $holidays A array + */ + public function setHolidays(array $holidays) + { + $this->holidays=$holidays; + $this->keyModified['holidays'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/holidays/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/holidays/BodyWrapper.php new file mode 100644 index 0000000..126c7e7 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/holidays/BodyWrapper.php @@ -0,0 +1,7 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the date + * @return \DateTime An instance of \DateTime + */ + public function getDate() + { + return $this->date; + + } + + /** + * The method to set the value to date + * @param \DateTime $date An instance of \DateTime + */ + public function setDate(\DateTime $date) + { + $this->date=$date; + $this->keyModified['date'] = 1; + + } + + /** + * The method to get the type + * @return string A string representing the type + */ + public function getType() + { + return $this->type; + + } + + /** + * The method to set the value to type + * @param string $type A string + */ + public function setType(string $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/holidays/CreateBusinessHoliday.php b/versions/5.0.0/src/com/zoho/crm/api/holidays/CreateBusinessHoliday.php new file mode 100644 index 0000000..bfcbdcf --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/holidays/CreateBusinessHoliday.php @@ -0,0 +1,59 @@ +holidays; + + } + + /** + * The method to set the value to holidays + * @param array $holidays A array + */ + public function setHolidays(array $holidays) + { + $this->holidays=$holidays; + $this->keyModified['holidays'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/holidays/CreateHolidaysHeader.php b/versions/5.0.0/src/com/zoho/crm/api/holidays/CreateHolidaysHeader.php new file mode 100644 index 0000000..57e8a9e --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/holidays/CreateHolidaysHeader.php @@ -0,0 +1,7 @@ +holidays; + + } + + /** + * The method to set the value to holidays + * @param array $holidays A array + */ + public function setHolidays(array $holidays) + { + $this->holidays=$holidays; + $this->keyModified['holidays'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/holidays/DeleteHolidayHeader.php b/versions/5.0.0/src/com/zoho/crm/api/holidays/DeleteHolidayHeader.php new file mode 100644 index 0000000..6fa2d47 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/holidays/DeleteHolidayHeader.php @@ -0,0 +1,7 @@ +year; + + } + + /** + * The method to set the value to year + * @param int $year A int + */ + public function setYear(int $year) + { + $this->year=$year; + $this->keyModified['year'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the date + * @return \DateTime An instance of \DateTime + */ + public function getDate() + { + return $this->date; + + } + + /** + * The method to set the value to date + * @param \DateTime $date An instance of \DateTime + */ + public function setDate(\DateTime $date) + { + $this->date=$date; + $this->keyModified['date'] = 1; + + } + + /** + * The method to get the type + * @return string A string representing the type + */ + public function getType() + { + return $this->type; + + } + + /** + * The method to set the value to type + * @param string $type A string + */ + public function setType(string $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the shiftHour + * @return ShiftHour An instance of ShiftHour + */ + public function getShiftHour() + { + return $this->shiftHour; + + } + + /** + * The method to set the value to shiftHour + * @param ShiftHour $shiftHour An instance of ShiftHour + */ + public function setShiftHour(ShiftHour $shiftHour) + { + $this->shiftHour=$shiftHour; + $this->keyModified['shift_hour'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/holidays/Holidays.php b/versions/5.0.0/src/com/zoho/crm/api/holidays/Holidays.php new file mode 100644 index 0000000..2233d70 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/holidays/Holidays.php @@ -0,0 +1,59 @@ +holidays; + + } + + /** + * The method to set the value to holidays + * @param array $holidays A array + */ + public function setHolidays(array $holidays) + { + $this->holidays=$holidays; + $this->keyModified['holidays'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/holidays/HolidaysOperations.php b/versions/5.0.0/src/com/zoho/crm/api/holidays/HolidaysOperations.php new file mode 100644 index 0000000..7b3a430 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/holidays/HolidaysOperations.php @@ -0,0 +1,149 @@ +xCrmOrg=$xCrmOrg; + + } + + /** + * The method to get holidays + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function getHolidays(ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/holidays'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->addHeader(new Header('X-CRM-ORG', 'com.zoho.crm.api.Holidays.GetHolidaysHeader'), $this->xCrmOrg); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to create holidays + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function createHolidays(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/holidays'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + $handlerInstance->addHeader(new Header('X-CRM-ORG', 'com.zoho.crm.api.Holidays.CreateHolidaysHeader'), $this->xCrmOrg); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to update holidays + * @param Holidays $request An instance of Holidays + * @return APIResponse An instance of APIResponse + */ + public function updateHolidays(Holidays $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/holidays'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + $handlerInstance->addHeader(new Header('X-CRM-ORG', 'com.zoho.crm.api.Holidays.UpdateHolidaysHeader'), $this->xCrmOrg); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to update holiday + * @param string $holidayId A string + * @param Holidays $request An instance of Holidays + * @return APIResponse An instance of APIResponse + */ + public function updateHoliday(string $holidayId, Holidays $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/holidays/'); + $apiPath=$apiPath.(strval($holidayId)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + $handlerInstance->addHeader(new Header('X-CRM-ORG', 'com.zoho.crm.api.Holidays.UpdateHolidayHeader'), $this->xCrmOrg); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get holiday + * @param string $holidayId A string + * @return APIResponse An instance of APIResponse + */ + public function getHoliday(string $holidayId) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/holidays/'); + $apiPath=$apiPath.(strval($holidayId)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->addHeader(new Header('X-CRM-ORG', 'com.zoho.crm.api.Holidays.GetHolidayHeader'), $this->xCrmOrg); + return $handlerInstance->apiCall(ResonseHandler::class, 'application/json'); + + } + + /** + * The method to delete holiday + * @param string $holidayId A string + * @return APIResponse An instance of APIResponse + */ + public function deleteHoliday(string $holidayId) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/holidays/'); + $apiPath=$apiPath.(strval($holidayId)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setCategoryMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->addHeader(new Header('X-CRM-ORG', 'com.zoho.crm.api.Holidays.DeleteHolidayHeader'), $this->xCrmOrg); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/holidays/Info.php b/versions/5.0.0/src/com/zoho/crm/api/holidays/Info.php new file mode 100644 index 0000000..f8aeeaf --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/holidays/Info.php @@ -0,0 +1,125 @@ +perPage; + + } + + /** + * The method to set the value to perPage + * @param int $perPage A int + */ + public function setPerPage(int $perPage) + { + $this->perPage=$perPage; + $this->keyModified['per_page'] = 1; + + } + + /** + * The method to get the count + * @return int A int representing the count + */ + public function getCount() + { + return $this->count; + + } + + /** + * The method to set the value to count + * @param int $count A int + */ + public function setCount(int $count) + { + $this->count=$count; + $this->keyModified['count'] = 1; + + } + + /** + * The method to get the page + * @return int A int representing the page + */ + public function getPage() + { + return $this->page; + + } + + /** + * The method to set the value to page + * @param int $page A int + */ + public function setPage(int $page) + { + $this->page=$page; + $this->keyModified['page'] = 1; + + } + + /** + * The method to get the moreRecords + * @return bool A bool representing the moreRecords + */ + public function getMoreRecords() + { + return $this->moreRecords; + + } + + /** + * The method to set the value to moreRecords + * @param bool $moreRecords A bool + */ + public function setMoreRecords(bool $moreRecords) + { + $this->moreRecords=$moreRecords; + $this->keyModified['more_records'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/holidays/ResonseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/holidays/ResonseHandler.php new file mode 100644 index 0000000..a96cd6d --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/holidays/ResonseHandler.php @@ -0,0 +1,7 @@ +holidays; + + } + + /** + * The method to set the value to holidays + * @param array $holidays A array + */ + public function setHolidays(array $holidays) + { + $this->holidays=$holidays; + $this->keyModified['holidays'] = 1; + + } + + /** + * The method to get the info + * @return Info An instance of Info + */ + public function getInfo() + { + return $this->info; + + } + + /** + * The method to set the value to info + * @param Info $info An instance of Info + */ + public function setInfo(Info $info) + { + $this->info=$info; + $this->keyModified['info'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/holidays/ShiftHoliday.php b/versions/5.0.0/src/com/zoho/crm/api/holidays/ShiftHoliday.php new file mode 100644 index 0000000..b6085a6 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/holidays/ShiftHoliday.php @@ -0,0 +1,126 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the date + * @return \DateTime An instance of \DateTime + */ + public function getDate() + { + return $this->date; + + } + + /** + * The method to set the value to date + * @param \DateTime $date An instance of \DateTime + */ + public function setDate(\DateTime $date) + { + $this->date=$date; + $this->keyModified['date'] = 1; + + } + + /** + * The method to get the type + * @return Choice An instance of Choice + */ + public function getType() + { + return $this->type; + + } + + /** + * The method to set the value to type + * @param Choice $type An instance of Choice + */ + public function setType(Choice $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to get the shiftHour + * @return ShiftHour An instance of ShiftHour + */ + public function getShiftHour() + { + return $this->shiftHour; + + } + + /** + * The method to set the value to shiftHour + * @param ShiftHour $shiftHour An instance of ShiftHour + */ + public function setShiftHour(ShiftHour $shiftHour) + { + $this->shiftHour=$shiftHour; + $this->keyModified['shift_hour'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/holidays/ShiftHour.php b/versions/5.0.0/src/com/zoho/crm/api/holidays/ShiftHour.php new file mode 100644 index 0000000..7eb24ab --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/holidays/ShiftHour.php @@ -0,0 +1,81 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/holidays/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/holidays/SuccessResponse.php new file mode 100644 index 0000000..a600f26 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/holidays/SuccessResponse.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/holidays/UpdateHolidayHeader.php b/versions/5.0.0/src/com/zoho/crm/api/holidays/UpdateHolidayHeader.php new file mode 100644 index 0000000..e6ba9ad --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/holidays/UpdateHolidayHeader.php @@ -0,0 +1,7 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/inventoryconvert/ConvertTo.php b/versions/5.0.0/src/com/zoho/crm/api/inventoryconvert/ConvertTo.php new file mode 100644 index 0000000..8ddbc03 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/inventoryconvert/ConvertTo.php @@ -0,0 +1,81 @@ +module; + + } + + /** + * The method to set the value to module + * @param Module $module An instance of Module + */ + public function setModule(Module $module) + { + $this->module=$module; + $this->keyModified['module'] = 1; + + } + + /** + * The method to get the carryOverTags + * @return bool A bool representing the carryOverTags + */ + public function getCarryOverTags() + { + return $this->carryOverTags; + + } + + /** + * The method to set the value to carryOverTags + * @param bool $carryOverTags A bool + */ + public function setCarryOverTags(bool $carryOverTags) + { + $this->carryOverTags=$carryOverTags; + $this->keyModified['carry_over_tags'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/inventoryconvert/InventoryConverter.php b/versions/5.0.0/src/com/zoho/crm/api/inventoryconvert/InventoryConverter.php new file mode 100644 index 0000000..99d1b9a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/inventoryconvert/InventoryConverter.php @@ -0,0 +1,59 @@ +convertTo; + + } + + /** + * The method to set the value to convertTo + * @param array $convertTo A array + */ + public function setConvertTo(array $convertTo) + { + $this->convertTo=$convertTo; + $this->keyModified['convert_to'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/inventoryconvert/Module.php b/versions/5.0.0/src/com/zoho/crm/api/inventoryconvert/Module.php new file mode 100644 index 0000000..fccd966 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/inventoryconvert/Module.php @@ -0,0 +1,81 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/inventoryconvert/Record.php b/versions/5.0.0/src/com/zoho/crm/api/inventoryconvert/Record.php new file mode 100644 index 0000000..2afed20 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/inventoryconvert/Record.php @@ -0,0 +1,81 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/inventoryconvert/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/inventoryconvert/SuccessResponse.php new file mode 100644 index 0000000..c9a8b24 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/inventoryconvert/SuccessResponse.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/inventorymassconvert/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/inventorymassconvert/APIException.php new file mode 100644 index 0000000..946ed01 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/inventorymassconvert/APIException.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/inventorymassconvert/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/inventorymassconvert/BodyWrapper.php new file mode 100644 index 0000000..c92977e --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/inventorymassconvert/BodyWrapper.php @@ -0,0 +1,125 @@ +convertTo; + + } + + /** + * The method to set the value to convertTo + * @param array $convertTo A array + */ + public function setConvertTo(array $convertTo) + { + $this->convertTo=$convertTo; + $this->keyModified['convert_to'] = 1; + + } + + /** + * The method to get the assignTo + * @return User An instance of User + */ + public function getAssignTo() + { + return $this->assignTo; + + } + + /** + * The method to set the value to assignTo + * @param User $assignTo An instance of User + */ + public function setAssignTo(User $assignTo) + { + $this->assignTo=$assignTo; + $this->keyModified['assign_to'] = 1; + + } + + /** + * The method to get the relatedModules + * @return array A array representing the relatedModules + */ + public function getRelatedModules() + { + return $this->relatedModules; + + } + + /** + * The method to set the value to relatedModules + * @param array $relatedModules A array + */ + public function setRelatedModules(array $relatedModules) + { + $this->relatedModules=$relatedModules; + $this->keyModified['related_modules'] = 1; + + } + + /** + * The method to get the ids + * @return array A array representing the ids + */ + public function getIds() + { + return $this->ids; + + } + + /** + * The method to set the value to ids + * @param array $ids A array + */ + public function setIds(array $ids) + { + $this->ids=$ids; + $this->keyModified['ids'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/inventorymassconvert/ConvertTo.php b/versions/5.0.0/src/com/zoho/crm/api/inventorymassconvert/ConvertTo.php new file mode 100644 index 0000000..4e8e4ed --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/inventorymassconvert/ConvertTo.php @@ -0,0 +1,81 @@ +module; + + } + + /** + * The method to set the value to module + * @param Module $module An instance of Module + */ + public function setModule(Module $module) + { + $this->module=$module; + $this->keyModified['module'] = 1; + + } + + /** + * The method to get the carryOverTags + * @return bool A bool representing the carryOverTags + */ + public function getCarryOverTags() + { + return $this->carryOverTags; + + } + + /** + * The method to set the value to carryOverTags + * @param bool $carryOverTags A bool + */ + public function setCarryOverTags(bool $carryOverTags) + { + $this->carryOverTags=$carryOverTags; + $this->keyModified['carry_over_tags'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/inventorymassconvert/Module.php b/versions/5.0.0/src/com/zoho/crm/api/inventorymassconvert/Module.php new file mode 100644 index 0000000..6387fc8 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/inventorymassconvert/Module.php @@ -0,0 +1,81 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/inventorymassconvert/RelatedModules.php b/versions/5.0.0/src/com/zoho/crm/api/inventorymassconvert/RelatedModules.php new file mode 100644 index 0000000..7a60dc2 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/inventorymassconvert/RelatedModules.php @@ -0,0 +1,81 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/inventorymassconvert/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/inventorymassconvert/SuccessResponse.php new file mode 100644 index 0000000..8ee2758 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/inventorymassconvert/SuccessResponse.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/inventorymassconvert/User.php b/versions/5.0.0/src/com/zoho/crm/api/inventorymassconvert/User.php new file mode 100644 index 0000000..399a6c0 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/inventorymassconvert/User.php @@ -0,0 +1,81 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/inventorytemplates/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/inventorytemplates/APIException.php new file mode 100644 index 0000000..b09398b --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/inventorytemplates/APIException.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/inventorytemplates/Folder.php b/versions/5.0.0/src/com/zoho/crm/api/inventorytemplates/Folder.php new file mode 100644 index 0000000..e811c88 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/inventorytemplates/Folder.php @@ -0,0 +1,81 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/inventorytemplates/GetInventoryTemplatesParam.php b/versions/5.0.0/src/com/zoho/crm/api/inventorytemplates/GetInventoryTemplatesParam.php new file mode 100644 index 0000000..bd8f19c --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/inventorytemplates/GetInventoryTemplatesParam.php @@ -0,0 +1,29 @@ +perPage; + + } + + /** + * The method to set the value to perPage + * @param int $perPage A int + */ + public function setPerPage(int $perPage) + { + $this->perPage=$perPage; + $this->keyModified['per_page'] = 1; + + } + + /** + * The method to get the page + * @return int A int representing the page + */ + public function getPage() + { + return $this->page; + + } + + /** + * The method to set the value to page + * @param int $page A int + */ + public function setPage(int $page) + { + $this->page=$page; + $this->keyModified['page'] = 1; + + } + + /** + * The method to get the count + * @return int A int representing the count + */ + public function getCount() + { + return $this->count; + + } + + /** + * The method to set the value to count + * @param int $count A int + */ + public function setCount(int $count) + { + $this->count=$count; + $this->keyModified['count'] = 1; + + } + + /** + * The method to get the moreRecords + * @return bool A bool representing the moreRecords + */ + public function getMoreRecords() + { + return $this->moreRecords; + + } + + /** + * The method to set the value to moreRecords + * @param bool $moreRecords A bool + */ + public function setMoreRecords(bool $moreRecords) + { + $this->moreRecords=$moreRecords; + $this->keyModified['more_records'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/inventorytemplates/InventoryTemplates.php b/versions/5.0.0/src/com/zoho/crm/api/inventorytemplates/InventoryTemplates.php new file mode 100644 index 0000000..01348d0 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/inventorytemplates/InventoryTemplates.php @@ -0,0 +1,368 @@ +createdTime; + + } + + /** + * The method to set the value to createdTime + * @param \DateTime $createdTime An instance of \DateTime + */ + public function setCreatedTime(\DateTime $createdTime) + { + $this->createdTime=$createdTime; + $this->keyModified['created_time'] = 1; + + } + + /** + * The method to get the modifiedTime + * @return \DateTime An instance of \DateTime + */ + public function getModifiedTime() + { + return $this->modifiedTime; + + } + + /** + * The method to set the value to modifiedTime + * @param \DateTime $modifiedTime An instance of \DateTime + */ + public function setModifiedTime(\DateTime $modifiedTime) + { + $this->modifiedTime=$modifiedTime; + $this->keyModified['modified_time'] = 1; + + } + + /** + * The method to get the lastUsageTime + * @return \DateTime An instance of \DateTime + */ + public function getLastUsageTime() + { + return $this->lastUsageTime; + + } + + /** + * The method to set the value to lastUsageTime + * @param \DateTime $lastUsageTime An instance of \DateTime + */ + public function setLastUsageTime(\DateTime $lastUsageTime) + { + $this->lastUsageTime=$lastUsageTime; + $this->keyModified['last_usage_time'] = 1; + + } + + /** + * The method to get the folder + * @return Folder An instance of Folder + */ + public function getFolder() + { + return $this->folder; + + } + + /** + * The method to set the value to folder + * @param Folder $folder An instance of Folder + */ + public function setFolder(Folder $folder) + { + $this->folder=$folder; + $this->keyModified['folder'] = 1; + + } + + /** + * The method to get the module + * @return ModuleMap An instance of ModuleMap + */ + public function getModule() + { + return $this->module; + + } + + /** + * The method to set the value to module + * @param ModuleMap $module An instance of ModuleMap + */ + public function setModule(ModuleMap $module) + { + $this->module=$module; + $this->keyModified['module'] = 1; + + } + + /** + * The method to get the createdBy + * @return User An instance of User + */ + public function getCreatedBy() + { + return $this->createdBy; + + } + + /** + * The method to set the value to createdBy + * @param User $createdBy An instance of User + */ + public function setCreatedBy(User $createdBy) + { + $this->createdBy=$createdBy; + $this->keyModified['created_by'] = 1; + + } + + /** + * The method to get the modifiedBy + * @return User An instance of User + */ + public function getModifiedBy() + { + return $this->modifiedBy; + + } + + /** + * The method to set the value to modifiedBy + * @param User $modifiedBy An instance of User + */ + public function setModifiedBy(User $modifiedBy) + { + $this->modifiedBy=$modifiedBy; + $this->keyModified['modified_by'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the editorMode + * @return string A string representing the editorMode + */ + public function getEditorMode() + { + return $this->editorMode; + + } + + /** + * The method to set the value to editorMode + * @param string $editorMode A string + */ + public function setEditorMode(string $editorMode) + { + $this->editorMode=$editorMode; + $this->keyModified['editor_mode'] = 1; + + } + + /** + * The method to get the category + * @return string A string representing the category + */ + public function getCategory() + { + return $this->category; + + } + + /** + * The method to set the value to category + * @param string $category A string + */ + public function setCategory(string $category) + { + $this->category=$category; + $this->keyModified['category'] = 1; + + } + + /** + * The method to get the favorite + * @return bool A bool representing the favorite + */ + public function getFavorite() + { + return $this->favorite; + + } + + /** + * The method to set the value to favorite + * @param bool $favorite A bool + */ + public function setFavorite(bool $favorite) + { + $this->favorite=$favorite; + $this->keyModified['favorite'] = 1; + + } + + /** + * The method to get the content + * @return string A string representing the content + */ + public function getContent() + { + return $this->content; + + } + + /** + * The method to set the value to content + * @param string $content A string + */ + public function setContent(string $content) + { + $this->content=$content; + $this->keyModified['content'] = 1; + + } + + /** + * The method to get the active + * @return bool A bool representing the active + */ + public function getActive() + { + return $this->active; + + } + + /** + * The method to set the value to active + * @param bool $active A bool + */ + public function setActive(bool $active) + { + $this->active=$active; + $this->keyModified['active'] = 1; + + } + + /** + * The method to get the mailContent + * @return string A string representing the mailContent + */ + public function getMailContent() + { + return $this->mailContent; + + } + + /** + * The method to set the value to mailContent + * @param string $mailContent A string + */ + public function setMailContent(string $mailContent) + { + $this->mailContent=$mailContent; + $this->keyModified['mail_content'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/inventorytemplates/InventoryTemplatesOperations.php b/versions/5.0.0/src/com/zoho/crm/api/inventorytemplates/InventoryTemplatesOperations.php new file mode 100644 index 0000000..aca60c6 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/inventorytemplates/InventoryTemplatesOperations.php @@ -0,0 +1,49 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to get inventory template + * @param string $template A string + * @return APIResponse An instance of APIResponse + */ + public function getInventoryTemplate(string $template) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/inventory_templates/'); + $apiPath=$apiPath.(strval($template)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/inventorytemplates/ModuleMap.php b/versions/5.0.0/src/com/zoho/crm/api/inventorytemplates/ModuleMap.php new file mode 100644 index 0000000..e8ffdcf --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/inventorytemplates/ModuleMap.php @@ -0,0 +1,81 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/inventorytemplates/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/inventorytemplates/ResponseHandler.php new file mode 100644 index 0000000..a0d37eb --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/inventorytemplates/ResponseHandler.php @@ -0,0 +1,7 @@ +inventoryTemplates; + + } + + /** + * The method to set the value to inventoryTemplates + * @param array $inventoryTemplates A array + */ + public function setInventoryTemplates(array $inventoryTemplates) + { + $this->inventoryTemplates=$inventoryTemplates; + $this->keyModified['inventory_templates'] = 1; + + } + + /** + * The method to get the info + * @return Info An instance of Info + */ + public function getInfo() + { + return $this->info; + + } + + /** + * The method to set the value to info + * @param Info $info An instance of Info + */ + public function setInfo(Info $info) + { + $this->info=$info; + $this->keyModified['info'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/inventorytemplates/User.php b/versions/5.0.0/src/com/zoho/crm/api/inventorytemplates/User.php new file mode 100644 index 0000000..1e163d4 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/inventorytemplates/User.php @@ -0,0 +1,81 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/iscsignature/Signature.php b/versions/5.0.0/src/com/zoho/crm/api/iscsignature/Signature.php new file mode 100644 index 0000000..db7c0d5 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/iscsignature/Signature.php @@ -0,0 +1,58 @@ +iscSignature; + + } + + /** + * The method to set the value to iscSignature + * @param + */ + public function setIscSignature( $iscSignature) + { + $this->iscSignature=$iscSignature; + $this->keyModified['isc_signature'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/layouts/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/layouts/APIException.php new file mode 100644 index 0000000..1199866 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/layouts/APIException.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/layouts/ActionResponse.php b/versions/5.0.0/src/com/zoho/crm/api/layouts/ActionResponse.php new file mode 100644 index 0000000..9fa9f49 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/layouts/ActionResponse.php @@ -0,0 +1,7 @@ +layouts; + + } + + /** + * The method to set the value to layouts + * @param array $layouts A array + */ + public function setLayouts(array $layouts) + { + $this->layouts=$layouts; + $this->keyModified['layouts'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/layouts/ActionsAllowed.php b/versions/5.0.0/src/com/zoho/crm/api/layouts/ActionsAllowed.php new file mode 100644 index 0000000..5ffaac4 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/layouts/ActionsAllowed.php @@ -0,0 +1,191 @@ +edit; + + } + + /** + * The method to set the value to edit + * @param bool $edit A bool + */ + public function setEdit(bool $edit) + { + $this->edit=$edit; + $this->keyModified['edit'] = 1; + + } + + /** + * The method to get the rename + * @return bool A bool representing the rename + */ + public function getRename() + { + return $this->rename; + + } + + /** + * The method to set the value to rename + * @param bool $rename A bool + */ + public function setRename(bool $rename) + { + $this->rename=$rename; + $this->keyModified['rename'] = 1; + + } + + /** + * The method to get the clone + * @return bool A bool representing the clone + */ + public function getClone() + { + return $this->clone; + + } + + /** + * The method to set the value to clone + * @param bool $clone A bool + */ + public function setClone(bool $clone) + { + $this->clone=$clone; + $this->keyModified['clone'] = 1; + + } + + /** + * The method to get the downgrade + * @return bool A bool representing the downgrade + */ + public function getDowngrade() + { + return $this->downgrade; + + } + + /** + * The method to set the value to downgrade + * @param bool $downgrade A bool + */ + public function setDowngrade(bool $downgrade) + { + $this->downgrade=$downgrade; + $this->keyModified['downgrade'] = 1; + + } + + /** + * The method to get the delete + * @return bool A bool representing the delete + */ + public function getDelete() + { + return $this->delete; + + } + + /** + * The method to set the value to delete + * @param bool $delete A bool + */ + public function setDelete(bool $delete) + { + $this->delete=$delete; + $this->keyModified['delete'] = 1; + + } + + /** + * The method to get the deactivate + * @return bool A bool representing the deactivate + */ + public function getDeactivate() + { + return $this->deactivate; + + } + + /** + * The method to set the value to deactivate + * @param bool $deactivate A bool + */ + public function setDeactivate(bool $deactivate) + { + $this->deactivate=$deactivate; + $this->keyModified['deactivate'] = 1; + + } + + /** + * The method to get the setLayoutPermissions + * @return bool A bool representing the setLayoutPermissions + */ + public function getSetLayoutPermissions() + { + return $this->setLayoutPermissions; + + } + + /** + * The method to set the value to setLayoutPermissions + * @param bool $setLayoutPermissions A bool + */ + public function setSetLayoutPermissions(bool $setLayoutPermissions) + { + $this->setLayoutPermissions=$setLayoutPermissions; + $this->keyModified['set_layout_permissions'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/layouts/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/layouts/BodyWrapper.php new file mode 100644 index 0000000..628bbd2 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/layouts/BodyWrapper.php @@ -0,0 +1,59 @@ +layouts; + + } + + /** + * The method to set the value to layouts + * @param array $layouts A array + */ + public function setLayouts(array $layouts) + { + $this->layouts=$layouts; + $this->keyModified['layouts'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/layouts/ConvertMapping.php b/versions/5.0.0/src/com/zoho/crm/api/layouts/ConvertMapping.php new file mode 100644 index 0000000..d008038 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/layouts/ConvertMapping.php @@ -0,0 +1,147 @@ +contacts; + + } + + /** + * The method to set the value to contacts + * @param MinifiedLayout $contacts An instance of MinifiedLayout + */ + public function setContacts(MinifiedLayout $contacts) + { + $this->contacts=$contacts; + $this->keyModified['Contacts'] = 1; + + } + + /** + * The method to get the deals + * @return DealLayoutMapping An instance of DealLayoutMapping + */ + public function getDeals() + { + return $this->deals; + + } + + /** + * The method to set the value to deals + * @param DealLayoutMapping $deals An instance of DealLayoutMapping + */ + public function setDeals(DealLayoutMapping $deals) + { + $this->deals=$deals; + $this->keyModified['Deals'] = 1; + + } + + /** + * The method to get the accounts + * @return MinifiedLayout An instance of MinifiedLayout + */ + public function getAccounts() + { + return $this->accounts; + + } + + /** + * The method to set the value to accounts + * @param MinifiedLayout $accounts An instance of MinifiedLayout + */ + public function setAccounts(MinifiedLayout $accounts) + { + $this->accounts=$accounts; + $this->keyModified['Accounts'] = 1; + + } + + /** + * The method to get the invoices + * @return MinifiedLayout An instance of MinifiedLayout + */ + public function getInvoices() + { + return $this->invoices; + + } + + /** + * The method to set the value to invoices + * @param MinifiedLayout $invoices An instance of MinifiedLayout + */ + public function setInvoices(MinifiedLayout $invoices) + { + $this->invoices=$invoices; + $this->keyModified['Invoices'] = 1; + + } + + /** + * The method to get the salesorders + * @return MinifiedLayout An instance of MinifiedLayout + */ + public function getSalesorders() + { + return $this->salesorders; + + } + + /** + * The method to set the value to salesorders + * @param MinifiedLayout $salesorders An instance of MinifiedLayout + */ + public function setSalesorders(MinifiedLayout $salesorders) + { + $this->salesorders=$salesorders; + $this->keyModified['SalesOrders'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/layouts/DealField.php b/versions/5.0.0/src/com/zoho/crm/api/layouts/DealField.php new file mode 100644 index 0000000..0182729 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/layouts/DealField.php @@ -0,0 +1,125 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the fieldLabel + * @return string A string representing the fieldLabel + */ + public function getFieldLabel() + { + return $this->fieldLabel; + + } + + /** + * The method to set the value to fieldLabel + * @param string $fieldLabel A string + */ + public function setFieldLabel(string $fieldLabel) + { + $this->fieldLabel=$fieldLabel; + $this->keyModified['field_label'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the required + * @return bool A bool representing the required + */ + public function getRequired() + { + return $this->required; + + } + + /** + * The method to set the value to required + * @param bool $required A bool + */ + public function setRequired(bool $required) + { + $this->required=$required; + $this->keyModified['required'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/layouts/DealLayoutMapping.php b/versions/5.0.0/src/com/zoho/crm/api/layouts/DealLayoutMapping.php new file mode 100644 index 0000000..626a28f --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/layouts/DealLayoutMapping.php @@ -0,0 +1,103 @@ +fields; + + } + + /** + * The method to set the value to fields + * @param array $fields A array + */ + public function setFields(array $fields) + { + $this->fields=$fields; + $this->keyModified['fields'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/layouts/DefaultAssignmentView.php b/versions/5.0.0/src/com/zoho/crm/api/layouts/DefaultAssignmentView.php new file mode 100644 index 0000000..436bfb5 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/layouts/DefaultAssignmentView.php @@ -0,0 +1,103 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the type + * @return string A string representing the type + */ + public function getType() + { + return $this->type; + + } + + /** + * The method to set the value to type + * @param string $type A string + */ + public function setType(string $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/layouts/DefaultView.php b/versions/5.0.0/src/com/zoho/crm/api/layouts/DefaultView.php new file mode 100644 index 0000000..05db7bd --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/layouts/DefaultView.php @@ -0,0 +1,103 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the type + * @return string A string representing the type + */ + public function getType() + { + return $this->type; + + } + + /** + * The method to set the value to type + * @param string $type A string + */ + public function setType(string $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/layouts/GetLayoutParam.php b/versions/5.0.0/src/com/zoho/crm/api/layouts/GetLayoutParam.php new file mode 100644 index 0000000..af04bca --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/layouts/GetLayoutParam.php @@ -0,0 +1,14 @@ +displayType; + + } + + /** + * The method to set the value to displayType + * @param int $displayType A int + */ + public function setDisplayType(int $displayType) + { + $this->displayType=$displayType; + $this->keyModified['display_type'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the hasMoreProfiles + * @return bool A bool representing the hasMoreProfiles + */ + public function getHasMoreProfiles() + { + return $this->hasMoreProfiles; + + } + + /** + * The method to set the value to hasMoreProfiles + * @param bool $hasMoreProfiles A bool + */ + public function setHasMoreProfiles(bool $hasMoreProfiles) + { + $this->hasMoreProfiles=$hasMoreProfiles; + $this->keyModified['has_more_profiles'] = 1; + + } + + /** + * The method to get the createdTime + * @return \DateTime An instance of \DateTime + */ + public function getCreatedTime() + { + return $this->createdTime; + + } + + /** + * The method to set the value to createdTime + * @param \DateTime $createdTime An instance of \DateTime + */ + public function setCreatedTime(\DateTime $createdTime) + { + $this->createdTime=$createdTime; + $this->keyModified['created_time'] = 1; + + } + + /** + * The method to get the modifiedTime + * @return \DateTime An instance of \DateTime + */ + public function getModifiedTime() + { + return $this->modifiedTime; + + } + + /** + * The method to set the value to modifiedTime + * @param \DateTime $modifiedTime An instance of \DateTime + */ + public function setModifiedTime(\DateTime $modifiedTime) + { + $this->modifiedTime=$modifiedTime; + $this->keyModified['modified_time'] = 1; + + } + + /** + * The method to get the visible + * @return bool A bool representing the visible + */ + public function getVisible() + { + return $this->visible; + + } + + /** + * The method to set the value to visible + * @param bool $visible A bool + */ + public function setVisible(bool $visible) + { + $this->visible=$visible; + $this->keyModified['visible'] = 1; + + } + + /** + * The method to get the source + * @return string A string representing the source + */ + public function getSource() + { + return $this->source; + + } + + /** + * The method to set the value to source + * @param string $source A string + */ + public function setSource(string $source) + { + $this->source=$source; + $this->keyModified['source'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the displayLabel + * @return string A string representing the displayLabel + */ + public function getDisplayLabel() + { + return $this->displayLabel; + + } + + /** + * The method to set the value to displayLabel + * @param string $displayLabel A string + */ + public function setDisplayLabel(string $displayLabel) + { + $this->displayLabel=$displayLabel; + $this->keyModified['display_label'] = 1; + + } + + /** + * The method to get the status + * @return string A string representing the status + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param string $status A string + */ + public function setStatus(string $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the showBusinessCard + * @return bool A bool representing the showBusinessCard + */ + public function getShowBusinessCard() + { + return $this->showBusinessCard; + + } + + /** + * The method to set the value to showBusinessCard + * @param bool $showBusinessCard A bool + */ + public function setShowBusinessCard(bool $showBusinessCard) + { + $this->showBusinessCard=$showBusinessCard; + $this->keyModified['show_business_card'] = 1; + + } + + /** + * The method to get the generatedType + * @return string A string representing the generatedType + */ + public function getGeneratedType() + { + return $this->generatedType; + + } + + /** + * The method to set the value to generatedType + * @param string $generatedType A string + */ + public function setGeneratedType(string $generatedType) + { + $this->generatedType=$generatedType; + $this->keyModified['generated_type'] = 1; + + } + + /** + * The method to get the createdFor + * @return MinifiedUser An instance of MinifiedUser + */ + public function getCreatedFor() + { + return $this->createdFor; + + } + + /** + * The method to set the value to createdFor + * @param MinifiedUser $createdFor An instance of MinifiedUser + */ + public function setCreatedFor(MinifiedUser $createdFor) + { + $this->createdFor=$createdFor; + $this->keyModified['created_for'] = 1; + + } + + /** + * The method to get the convertMapping + * @return ConvertMapping An instance of ConvertMapping + */ + public function getConvertMapping() + { + return $this->convertMapping; + + } + + /** + * The method to set the value to convertMapping + * @param ConvertMapping $convertMapping An instance of ConvertMapping + */ + public function setConvertMapping(ConvertMapping $convertMapping) + { + $this->convertMapping=$convertMapping; + $this->keyModified['convert_mapping'] = 1; + + } + + /** + * The method to get the modifiedBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getModifiedBy() + { + return $this->modifiedBy; + + } + + /** + * The method to set the value to modifiedBy + * @param MinifiedUser $modifiedBy An instance of MinifiedUser + */ + public function setModifiedBy(MinifiedUser $modifiedBy) + { + $this->modifiedBy=$modifiedBy; + $this->keyModified['modified_by'] = 1; + + } + + /** + * The method to get the profiles + * @return array A array representing the profiles + */ + public function getProfiles() + { + return $this->profiles; + + } + + /** + * The method to set the value to profiles + * @param array $profiles A array + */ + public function setProfiles(array $profiles) + { + $this->profiles=$profiles; + $this->keyModified['profiles'] = 1; + + } + + /** + * The method to get the createdBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getCreatedBy() + { + return $this->createdBy; + + } + + /** + * The method to set the value to createdBy + * @param MinifiedUser $createdBy An instance of MinifiedUser + */ + public function setCreatedBy(MinifiedUser $createdBy) + { + $this->createdBy=$createdBy; + $this->keyModified['created_by'] = 1; + + } + + /** + * The method to get the sections + * @return array A array representing the sections + */ + public function getSections() + { + return $this->sections; + + } + + /** + * The method to set the value to sections + * @param array $sections A array + */ + public function setSections(array $sections) + { + $this->sections=$sections; + $this->keyModified['sections'] = 1; + + } + + /** + * The method to get the actionsAllowed + * @return ActionsAllowed An instance of ActionsAllowed + */ + public function getActionsAllowed() + { + return $this->actionsAllowed; + + } + + /** + * The method to set the value to actionsAllowed + * @param ActionsAllowed $actionsAllowed An instance of ActionsAllowed + */ + public function setActionsAllowed(ActionsAllowed $actionsAllowed) + { + $this->actionsAllowed=$actionsAllowed; + $this->keyModified['actions_allowed'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/layouts/LayoutsOperations.php b/versions/5.0.0/src/com/zoho/crm/api/layouts/LayoutsOperations.php new file mode 100644 index 0000000..1511dd3 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/layouts/LayoutsOperations.php @@ -0,0 +1,51 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to get layout + * @param string $id A string + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function getLayout(string $id, ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/layouts/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/layouts/MinifiedLayout.php b/versions/5.0.0/src/com/zoho/crm/api/layouts/MinifiedLayout.php new file mode 100644 index 0000000..6038111 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/layouts/MinifiedLayout.php @@ -0,0 +1,81 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/layouts/Profiles.php b/versions/5.0.0/src/com/zoho/crm/api/layouts/Profiles.php new file mode 100644 index 0000000..bde3170 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/layouts/Profiles.php @@ -0,0 +1,147 @@ +default; + + } + + /** + * The method to set the value to default + * @param bool $default A bool + */ + public function setDefault(bool $default) + { + $this->default=$default; + $this->keyModified['default'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the defaultview + * @return DefaultView An instance of DefaultView + */ + public function getDefaultview() + { + return $this->defaultview; + + } + + /** + * The method to set the value to defaultview + * @param DefaultView $defaultview An instance of DefaultView + */ + public function setDefaultview(DefaultView $defaultview) + { + $this->defaultview=$defaultview; + $this->keyModified['_default_view'] = 1; + + } + + /** + * The method to get the defaultassignmentview + * @return DefaultAssignmentView An instance of DefaultAssignmentView + */ + public function getDefaultassignmentview() + { + return $this->defaultassignmentview; + + } + + /** + * The method to set the value to defaultassignmentview + * @param DefaultAssignmentView $defaultassignmentview An instance of DefaultAssignmentView + */ + public function setDefaultassignmentview(DefaultAssignmentView $defaultassignmentview) + { + $this->defaultassignmentview=$defaultassignmentview; + $this->keyModified['_default_assignment_view'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/layouts/Properties.php b/versions/5.0.0/src/com/zoho/crm/api/layouts/Properties.php new file mode 100644 index 0000000..b62ffd1 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/layouts/Properties.php @@ -0,0 +1,103 @@ +reorderRows; + + } + + /** + * The method to set the value to reorderRows + * @param bool $reorderRows A bool + */ + public function setReorderRows(bool $reorderRows) + { + $this->reorderRows=$reorderRows; + $this->keyModified['reorder_rows'] = 1; + + } + + /** + * The method to get the maximumRows + * @return int A int representing the maximumRows + */ + public function getMaximumRows() + { + return $this->maximumRows; + + } + + /** + * The method to set the value to maximumRows + * @param int $maximumRows A int + */ + public function setMaximumRows(int $maximumRows) + { + $this->maximumRows=$maximumRows; + $this->keyModified['maximum_rows'] = 1; + + } + + /** + * The method to get the tooltip + * @return Tooltip An instance of Tooltip + */ + public function getTooltip() + { + return $this->tooltip; + + } + + /** + * The method to set the value to tooltip + * @param Tooltip $tooltip An instance of Tooltip + */ + public function setTooltip(Tooltip $tooltip) + { + $this->tooltip=$tooltip; + $this->keyModified['tooltip'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/layouts/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/layouts/ResponseHandler.php new file mode 100644 index 0000000..795b4a9 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/layouts/ResponseHandler.php @@ -0,0 +1,7 @@ +layouts; + + } + + /** + * The method to set the value to layouts + * @param array $layouts A array + */ + public function setLayouts(array $layouts) + { + $this->layouts=$layouts; + $this->keyModified['layouts'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/layouts/SectionField.php b/versions/5.0.0/src/com/zoho/crm/api/layouts/SectionField.php new file mode 100644 index 0000000..ac15618 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/layouts/SectionField.php @@ -0,0 +1,1846 @@ +required; + + } + + /** + * The method to set the value to required + * @param bool $required A bool + */ + public function setRequired(bool $required) + { + $this->required=$required; + $this->keyModified['required'] = 1; + + } + + /** + * The method to get the validationRule + * @return array A array representing the validationRule + */ + public function getValidationRule() + { + return $this->validationRule; + + } + + /** + * The method to set the value to validationRule + * @param array $validationRule A array + */ + public function setValidationRule(array $validationRule) + { + $this->validationRule=$validationRule; + $this->keyModified['validation_rule'] = 1; + + } + + /** + * The method to get the defaultValue + * @return string A string representing the defaultValue + */ + public function getDefaultValue() + { + return $this->defaultValue; + + } + + /** + * The method to set the value to defaultValue + * @param string $defaultValue A string + */ + public function setDefaultValue(string $defaultValue) + { + $this->defaultValue=$defaultValue; + $this->keyModified['default_value'] = 1; + + } + + /** + * The method to get the sequenceNumber + * @return int A int representing the sequenceNumber + */ + public function getSequenceNumber() + { + return $this->sequenceNumber; + + } + + /** + * The method to set the value to sequenceNumber + * @param int $sequenceNumber A int + */ + public function setSequenceNumber(int $sequenceNumber) + { + $this->sequenceNumber=$sequenceNumber; + $this->keyModified['sequence_number'] = 1; + + } + + /** + * The method to get the sectionId + * @return int A int representing the sectionId + */ + public function getSectionId() + { + return $this->sectionId; + + } + + /** + * The method to set the value to sectionId + * @param int $sectionId A int + */ + public function setSectionId(int $sectionId) + { + $this->sectionId=$sectionId; + $this->keyModified['section_id'] = 1; + + } + + /** + * The method to get the blueprintSupported + * @return bool A bool representing the blueprintSupported + */ + public function getBlueprintSupported() + { + return $this->blueprintSupported; + + } + + /** + * The method to set the value to blueprintSupported + * @param bool $blueprintSupported A bool + */ + public function setBlueprintSupported(bool $blueprintSupported) + { + $this->blueprintSupported=$blueprintSupported; + $this->keyModified['blueprint_supported'] = 1; + + } + + /** + * The method to get the jsonType + * @return string A string representing the jsonType + */ + public function getJsonType() + { + return $this->jsonType; + + } + + /** + * The method to set the value to jsonType + * @param string $jsonType A string + */ + public function setJsonType(string $jsonType) + { + $this->jsonType=$jsonType; + $this->keyModified['json_type'] = 1; + + } + + /** + * The method to get the length + * @return int A int representing the length + */ + public function getLength() + { + return $this->length; + + } + + /** + * The method to set the value to length + * @param int $length A int + */ + public function setLength(int $length) + { + $this->length=$length; + $this->keyModified['length'] = 1; + + } + + /** + * The method to get the decimalPlace + * @return int A int representing the decimalPlace + */ + public function getDecimalPlace() + { + return $this->decimalPlace; + + } + + /** + * The method to set the value to decimalPlace + * @param int $decimalPlace A int + */ + public function setDecimalPlace(int $decimalPlace) + { + $this->decimalPlace=$decimalPlace; + $this->keyModified['decimal_place'] = 1; + + } + + /** + * The method to get the multiModuleLookup + * @return MultiModuleLookup An instance of MultiModuleLookup + */ + public function getMultiModuleLookup() + { + return $this->multiModuleLookup; + + } + + /** + * The method to set the value to multiModuleLookup + * @param MultiModuleLookup $multiModuleLookup An instance of MultiModuleLookup + */ + public function setMultiModuleLookup(MultiModuleLookup $multiModuleLookup) + { + $this->multiModuleLookup=$multiModuleLookup; + $this->keyModified['multi_module_lookup'] = 1; + + } + + /** + * The method to get the sharingProperties + * @return SharingProperties An instance of SharingProperties + */ + public function getSharingProperties() + { + return $this->sharingProperties; + + } + + /** + * The method to set the value to sharingProperties + * @param SharingProperties $sharingProperties An instance of SharingProperties + */ + public function setSharingProperties(SharingProperties $sharingProperties) + { + $this->sharingProperties=$sharingProperties; + $this->keyModified['sharing_properties'] = 1; + + } + + /** + * The method to get the currency + * @return Currency An instance of Currency + */ + public function getCurrency() + { + return $this->currency; + + } + + /** + * The method to set the value to currency + * @param Currency $currency An instance of Currency + */ + public function setCurrency(Currency $currency) + { + $this->currency=$currency; + $this->keyModified['currency'] = 1; + + } + + /** + * The method to get the fileUpoladOptionlist + * @return array A array representing the fileUpoladOptionlist + */ + public function getFileUpoladOptionlist() + { + return $this->fileUpoladOptionlist; + + } + + /** + * The method to set the value to fileUpoladOptionlist + * @param array $fileUpoladOptionlist A array + */ + public function setFileUpoladOptionlist(array $fileUpoladOptionlist) + { + $this->fileUpoladOptionlist=$fileUpoladOptionlist; + $this->keyModified['file_upolad_optionlist'] = 1; + + } + + /** + * The method to get the lookup + * @return Lookup An instance of Lookup + */ + public function getLookup() + { + return $this->lookup; + + } + + /** + * The method to set the value to lookup + * @param Lookup $lookup An instance of Lookup + */ + public function setLookup(Lookup $lookup) + { + $this->lookup=$lookup; + $this->keyModified['lookup'] = 1; + + } + + /** + * The method to get the subform + * @return Subform An instance of Subform + */ + public function getSubform() + { + return $this->subform; + + } + + /** + * The method to set the value to subform + * @param Subform $subform An instance of Subform + */ + public function setSubform(Subform $subform) + { + $this->subform=$subform; + $this->keyModified['subform'] = 1; + + } + + /** + * The method to get the formula + * @return Formula An instance of Formula + */ + public function getFormula() + { + return $this->formula; + + } + + /** + * The method to set the value to formula + * @param Formula $formula An instance of Formula + */ + public function setFormula(Formula $formula) + { + $this->formula=$formula; + $this->keyModified['formula'] = 1; + + } + + /** + * The method to get the multiselectlookup + * @return Multiselectlookup An instance of Multiselectlookup + */ + public function getMultiselectlookup() + { + return $this->multiselectlookup; + + } + + /** + * The method to set the value to multiselectlookup + * @param Multiselectlookup $multiselectlookup An instance of Multiselectlookup + */ + public function setMultiselectlookup(Multiselectlookup $multiselectlookup) + { + $this->multiselectlookup=$multiselectlookup; + $this->keyModified['multiselectlookup'] = 1; + + } + + /** + * The method to get the multiuserlookup + * @return Multiselectlookup An instance of Multiselectlookup + */ + public function getMultiuserlookup() + { + return $this->multiuserlookup; + + } + + /** + * The method to set the value to multiuserlookup + * @param Multiselectlookup $multiuserlookup An instance of Multiselectlookup + */ + public function setMultiuserlookup(Multiselectlookup $multiuserlookup) + { + $this->multiuserlookup=$multiuserlookup; + $this->keyModified['multiuserlookup'] = 1; + + } + + /** + * The method to get the pickListValues + * @return array A array representing the pickListValues + */ + public function getPickListValues() + { + return $this->pickListValues; + + } + + /** + * The method to set the value to pickListValues + * @param array $pickListValues A array + */ + public function setPickListValues(array $pickListValues) + { + $this->pickListValues=$pickListValues; + $this->keyModified['pick_list_values'] = 1; + + } + + /** + * The method to get the allowedModules + * @return array A array representing the allowedModules + */ + public function getAllowedModules() + { + return $this->allowedModules; + + } + + /** + * The method to set the value to allowedModules + * @param array $allowedModules A array + */ + public function setAllowedModules(array $allowedModules) + { + $this->allowedModules=$allowedModules; + $this->keyModified['allowed_modules'] = 1; + + } + + /** + * The method to get the hipaaComplianceEnabled + * @return bool A bool representing the hipaaComplianceEnabled + */ + public function getHipaaComplianceEnabled() + { + return $this->hipaaComplianceEnabled; + + } + + /** + * The method to set the value to hipaaComplianceEnabled + * @param bool $hipaaComplianceEnabled A bool + */ + public function setHipaaComplianceEnabled(bool $hipaaComplianceEnabled) + { + $this->hipaaComplianceEnabled=$hipaaComplianceEnabled; + $this->keyModified['hipaa_compliance_enabled'] = 1; + + } + + /** + * The method to get the hipaaCompliance + * @return HipaaCompliance An instance of HipaaCompliance + */ + public function getHipaaCompliance() + { + return $this->hipaaCompliance; + + } + + /** + * The method to set the value to hipaaCompliance + * @param HipaaCompliance $hipaaCompliance An instance of HipaaCompliance + */ + public function setHipaaCompliance(HipaaCompliance $hipaaCompliance) + { + $this->hipaaCompliance=$hipaaCompliance; + $this->keyModified['hipaa_compliance'] = 1; + + } + + /** + * The method to get the staticValues + * @return array A array representing the staticValues + */ + public function getStaticValues() + { + return $this->staticValues; + + } + + /** + * The method to set the value to staticValues + * @param array $staticValues A array + */ + public function setStaticValues(array $staticValues) + { + $this->staticValues=$staticValues; + $this->keyModified['static_values'] = 1; + + } + + /** + * The method to get the staticField + * @return bool A bool representing the staticField + */ + public function getStaticField() + { + return $this->staticField; + + } + + /** + * The method to set the value to staticField + * @param bool $staticField A bool + */ + public function setStaticField(bool $staticField) + { + $this->staticField=$staticField; + $this->keyModified['static_field'] = 1; + + } + + /** + * The method to get the associatedModule + * @return MinifiedModule An instance of MinifiedModule + */ + public function getAssociatedModule() + { + return $this->associatedModule; + + } + + /** + * The method to set the value to associatedModule + * @param MinifiedModule $associatedModule An instance of MinifiedModule + */ + public function setAssociatedModule(MinifiedModule $associatedModule) + { + $this->associatedModule=$associatedModule; + $this->keyModified['associated_module'] = 1; + + } + + /** + * The method to get the dataType + * @return string A string representing the dataType + */ + public function getDataType() + { + return $this->dataType; + + } + + /** + * The method to set the value to dataType + * @param string $dataType A string + */ + public function setDataType(string $dataType) + { + $this->dataType=$dataType; + $this->keyModified['data_type'] = 1; + + } + + /** + * The method to get the operationType + * @return OperationType An instance of OperationType + */ + public function getOperationType() + { + return $this->operationType; + + } + + /** + * The method to set the value to operationType + * @param OperationType $operationType An instance of OperationType + */ + public function setOperationType(OperationType $operationType) + { + $this->operationType=$operationType; + $this->keyModified['operation_type'] = 1; + + } + + /** + * The method to get the systemMandatory + * @return bool A bool representing the systemMandatory + */ + public function getSystemMandatory() + { + return $this->systemMandatory; + + } + + /** + * The method to set the value to systemMandatory + * @param bool $systemMandatory A bool + */ + public function setSystemMandatory(bool $systemMandatory) + { + $this->systemMandatory=$systemMandatory; + $this->keyModified['system_mandatory'] = 1; + + } + + /** + * The method to get the webhook + * @return bool A bool representing the webhook + */ + public function getWebhook() + { + return $this->webhook; + + } + + /** + * The method to set the value to webhook + * @param bool $webhook A bool + */ + public function setWebhook(bool $webhook) + { + $this->webhook=$webhook; + $this->keyModified['webhook'] = 1; + + } + + /** + * The method to get the virtualField + * @return bool A bool representing the virtualField + */ + public function getVirtualField() + { + return $this->virtualField; + + } + + /** + * The method to set the value to virtualField + * @param bool $virtualField A bool + */ + public function setVirtualField(bool $virtualField) + { + $this->virtualField=$virtualField; + $this->keyModified['virtual_field'] = 1; + + } + + /** + * The method to get the fieldReadOnly + * @return bool A bool representing the fieldReadOnly + */ + public function getFieldReadOnly() + { + return $this->fieldReadOnly; + + } + + /** + * The method to set the value to fieldReadOnly + * @param bool $fieldReadOnly A bool + */ + public function setFieldReadOnly(bool $fieldReadOnly) + { + $this->fieldReadOnly=$fieldReadOnly; + $this->keyModified['field_read_only'] = 1; + + } + + /** + * The method to get the customizableProperties + * @return array A array representing the customizableProperties + */ + public function getCustomizableProperties() + { + return $this->customizableProperties; + + } + + /** + * The method to set the value to customizableProperties + * @param array $customizableProperties A array + */ + public function setCustomizableProperties(array $customizableProperties) + { + $this->customizableProperties=$customizableProperties; + $this->keyModified['customizable_properties'] = 1; + + } + + /** + * The method to get the readOnly + * @return bool A bool representing the readOnly + */ + public function getReadOnly() + { + return $this->readOnly; + + } + + /** + * The method to set the value to readOnly + * @param bool $readOnly A bool + */ + public function setReadOnly(bool $readOnly) + { + $this->readOnly=$readOnly; + $this->keyModified['read_only'] = 1; + + } + + /** + * The method to get the customField + * @return bool A bool representing the customField + */ + public function getCustomField() + { + return $this->customField; + + } + + /** + * The method to set the value to customField + * @param bool $customField A bool + */ + public function setCustomField(bool $customField) + { + $this->customField=$customField; + $this->keyModified['custom_field'] = 1; + + } + + /** + * The method to get the businesscardSupported + * @return bool A bool representing the businesscardSupported + */ + public function getBusinesscardSupported() + { + return $this->businesscardSupported; + + } + + /** + * The method to set the value to businesscardSupported + * @param bool $businesscardSupported A bool + */ + public function setBusinesscardSupported(bool $businesscardSupported) + { + $this->businesscardSupported=$businesscardSupported; + $this->keyModified['businesscard_supported'] = 1; + + } + + /** + * The method to get the filterable + * @return bool A bool representing the filterable + */ + public function getFilterable() + { + return $this->filterable; + + } + + /** + * The method to set the value to filterable + * @param bool $filterable A bool + */ + public function setFilterable(bool $filterable) + { + $this->filterable=$filterable; + $this->keyModified['filterable'] = 1; + + } + + /** + * The method to get the visible + * @return bool A bool representing the visible + */ + public function getVisible() + { + return $this->visible; + + } + + /** + * The method to set the value to visible + * @param bool $visible A bool + */ + public function setVisible(bool $visible) + { + $this->visible=$visible; + $this->keyModified['visible'] = 1; + + } + + /** + * The method to get the availableInUserLayout + * @return bool A bool representing the availableInUserLayout + */ + public function getAvailableInUserLayout() + { + return $this->availableInUserLayout; + + } + + /** + * The method to set the value to availableInUserLayout + * @param bool $availableInUserLayout A bool + */ + public function setAvailableInUserLayout(bool $availableInUserLayout) + { + $this->availableInUserLayout=$availableInUserLayout; + $this->keyModified['available_in_user_layout'] = 1; + + } + + /** + * The method to get the displayField + * @return bool A bool representing the displayField + */ + public function getDisplayField() + { + return $this->displayField; + + } + + /** + * The method to set the value to displayField + * @param bool $displayField A bool + */ + public function setDisplayField(bool $displayField) + { + $this->displayField=$displayField; + $this->keyModified['display_field'] = 1; + + } + + /** + * The method to get the pickListValuesSortedLexically + * @return bool A bool representing the pickListValuesSortedLexically + */ + public function getPickListValuesSortedLexically() + { + return $this->pickListValuesSortedLexically; + + } + + /** + * The method to set the value to pickListValuesSortedLexically + * @param bool $pickListValuesSortedLexically A bool + */ + public function setPickListValuesSortedLexically(bool $pickListValuesSortedLexically) + { + $this->pickListValuesSortedLexically=$pickListValuesSortedLexically; + $this->keyModified['pick_list_values_sorted_lexically'] = 1; + + } + + /** + * The method to get the sortable + * @return bool A bool representing the sortable + */ + public function getSortable() + { + return $this->sortable; + + } + + /** + * The method to set the value to sortable + * @param bool $sortable A bool + */ + public function setSortable(bool $sortable) + { + $this->sortable=$sortable; + $this->keyModified['sortable'] = 1; + + } + + /** + * The method to get the separator + * @return bool A bool representing the separator + */ + public function getSeparator() + { + return $this->separator; + + } + + /** + * The method to set the value to separator + * @param bool $separator A bool + */ + public function setSeparator(bool $separator) + { + $this->separator=$separator; + $this->keyModified['separator'] = 1; + + } + + /** + * The method to get the searchable + * @return bool A bool representing the searchable + */ + public function getSearchable() + { + return $this->searchable; + + } + + /** + * The method to set the value to searchable + * @param bool $searchable A bool + */ + public function setSearchable(bool $searchable) + { + $this->searchable=$searchable; + $this->keyModified['searchable'] = 1; + + } + + /** + * The method to get the enableColourCode + * @return bool A bool representing the enableColourCode + */ + public function getEnableColourCode() + { + return $this->enableColourCode; + + } + + /** + * The method to set the value to enableColourCode + * @param bool $enableColourCode A bool + */ + public function setEnableColourCode(bool $enableColourCode) + { + $this->enableColourCode=$enableColourCode; + $this->keyModified['enable_colour_code'] = 1; + + } + + /** + * The method to get the massUpdate + * @return bool A bool representing the massUpdate + */ + public function getMassUpdate() + { + return $this->massUpdate; + + } + + /** + * The method to set the value to massUpdate + * @param bool $massUpdate A bool + */ + public function setMassUpdate(bool $massUpdate) + { + $this->massUpdate=$massUpdate; + $this->keyModified['mass_update'] = 1; + + } + + /** + * The method to get the createdSource + * @return string A string representing the createdSource + */ + public function getCreatedSource() + { + return $this->createdSource; + + } + + /** + * The method to set the value to createdSource + * @param string $createdSource A string + */ + public function setCreatedSource(string $createdSource) + { + $this->createdSource=$createdSource; + $this->keyModified['created_source'] = 1; + + } + + /** + * The method to get the type + * @return string A string representing the type + */ + public function getType() + { + return $this->type; + + } + + /** + * The method to set the value to type + * @param string $type A string + */ + public function setType(string $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to get the displayLabel + * @return string A string representing the displayLabel + */ + public function getDisplayLabel() + { + return $this->displayLabel; + + } + + /** + * The method to set the value to displayLabel + * @param string $displayLabel A string + */ + public function setDisplayLabel(string $displayLabel) + { + $this->displayLabel=$displayLabel; + $this->keyModified['display_label'] = 1; + + } + + /** + * The method to get the columnName + * @return string A string representing the columnName + */ + public function getColumnName() + { + return $this->columnName; + + } + + /** + * The method to set the value to columnName + * @param string $columnName A string + */ + public function setColumnName(string $columnName) + { + $this->columnName=$columnName; + $this->keyModified['column_name'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the displayType + * @return int A int representing the displayType + */ + public function getDisplayType() + { + return $this->displayType; + + } + + /** + * The method to set the value to displayType + * @param int $displayType A int + */ + public function setDisplayType(int $displayType) + { + $this->displayType=$displayType; + $this->keyModified['display_type'] = 1; + + } + + /** + * The method to get the uiType + * @return int A int representing the uiType + */ + public function getUiType() + { + return $this->uiType; + + } + + /** + * The method to set the value to uiType + * @param int $uiType A int + */ + public function setUiType(int $uiType) + { + $this->uiType=$uiType; + $this->keyModified['ui_type'] = 1; + + } + + /** + * The method to get the colourCodeEnabledBySystem + * @return bool A bool representing the colourCodeEnabledBySystem + */ + public function getColourCodeEnabledBySystem() + { + return $this->colourCodeEnabledBySystem; + + } + + /** + * The method to set the value to colourCodeEnabledBySystem + * @param bool $colourCodeEnabledBySystem A bool + */ + public function setColourCodeEnabledBySystem(bool $colourCodeEnabledBySystem) + { + $this->colourCodeEnabledBySystem=$colourCodeEnabledBySystem; + $this->keyModified['colour_code_enabled_by_system'] = 1; + + } + + /** + * The method to get the quickSequenceNumber + * @return string A string representing the quickSequenceNumber + */ + public function getQuickSequenceNumber() + { + return $this->quickSequenceNumber; + + } + + /** + * The method to set the value to quickSequenceNumber + * @param string $quickSequenceNumber A string + */ + public function setQuickSequenceNumber(string $quickSequenceNumber) + { + $this->quickSequenceNumber=$quickSequenceNumber; + $this->keyModified['quick_sequence_number'] = 1; + + } + + /** + * The method to get the emailParser + * @return EmailParser An instance of EmailParser + */ + public function getEmailParser() + { + return $this->emailParser; + + } + + /** + * The method to set the value to emailParser + * @param EmailParser $emailParser An instance of EmailParser + */ + public function setEmailParser(EmailParser $emailParser) + { + $this->emailParser=$emailParser; + $this->keyModified['email_parser'] = 1; + + } + + /** + * The method to get the rollupSummary + * @return RollupSummary An instance of RollupSummary + */ + public function getRollupSummary() + { + return $this->rollupSummary; + + } + + /** + * The method to set the value to rollupSummary + * @param RollupSummary $rollupSummary An instance of RollupSummary + */ + public function setRollupSummary(RollupSummary $rollupSummary) + { + $this->rollupSummary=$rollupSummary; + $this->keyModified['rollup_summary'] = 1; + + } + + /** + * The method to get the referFromField + * @return ReferFromField An instance of ReferFromField + */ + public function getReferFromField() + { + return $this->referFromField; + + } + + /** + * The method to set the value to referFromField + * @param ReferFromField $referFromField An instance of ReferFromField + */ + public function setReferFromField(ReferFromField $referFromField) + { + $this->referFromField=$referFromField; + $this->keyModified['refer_from_field'] = 1; + + } + + /** + * The method to get the createdTime + * @return \DateTime An instance of \DateTime + */ + public function getCreatedTime() + { + return $this->createdTime; + + } + + /** + * The method to set the value to createdTime + * @param \DateTime $createdTime An instance of \DateTime + */ + public function setCreatedTime(\DateTime $createdTime) + { + $this->createdTime=$createdTime; + $this->keyModified['created_time'] = 1; + + } + + /** + * The method to get the modifiedTime + * @return \DateTime An instance of \DateTime + */ + public function getModifiedTime() + { + return $this->modifiedTime; + + } + + /** + * The method to set the value to modifiedTime + * @param \DateTime $modifiedTime An instance of \DateTime + */ + public function setModifiedTime(\DateTime $modifiedTime) + { + $this->modifiedTime=$modifiedTime; + $this->keyModified['modified_time'] = 1; + + } + + /** + * The method to get the showType + * @return int A int representing the showType + */ + public function getShowType() + { + return $this->showType; + + } + + /** + * The method to set the value to showType + * @param int $showType A int + */ + public function setShowType(int $showType) + { + $this->showType=$showType; + $this->keyModified['show_type'] = 1; + + } + + /** + * The method to get the category + * @return int A int representing the category + */ + public function getCategory() + { + return $this->category; + + } + + /** + * The method to set the value to category + * @param int $category A int + */ + public function setCategory(int $category) + { + $this->category=$category; + $this->keyModified['category'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the profiles + * @return array A array representing the profiles + */ + public function getProfiles() + { + return $this->profiles; + + } + + /** + * The method to set the value to profiles + * @param array $profiles A array + */ + public function setProfiles(array $profiles) + { + $this->profiles=$profiles; + $this->keyModified['profiles'] = 1; + + } + + /** + * The method to get the viewType + * @return ViewType An instance of ViewType + */ + public function getViewType() + { + return $this->viewType; + + } + + /** + * The method to set the value to viewType + * @param ViewType $viewType An instance of ViewType + */ + public function setViewType(ViewType $viewType) + { + $this->viewType=$viewType; + $this->keyModified['view_type'] = 1; + + } + + /** + * The method to get the unique + * @return Unique An instance of Unique + */ + public function getUnique() + { + return $this->unique; + + } + + /** + * The method to set the value to unique + * @param Unique $unique An instance of Unique + */ + public function setUnique(Unique $unique) + { + $this->unique=$unique; + $this->keyModified['unique'] = 1; + + } + + /** + * The method to get the subModule + * @return MinifiedModule An instance of MinifiedModule + */ + public function getSubModule() + { + return $this->subModule; + + } + + /** + * The method to set the value to subModule + * @param MinifiedModule $subModule An instance of MinifiedModule + */ + public function setSubModule(MinifiedModule $subModule) + { + $this->subModule=$subModule; + $this->keyModified['sub_module'] = 1; + + } + + /** + * The method to get the external + * @return External An instance of External + */ + public function getExternal() + { + return $this->external; + + } + + /** + * The method to set the value to external + * @param External $external An instance of External + */ + public function setExternal(External $external) + { + $this->external=$external; + $this->keyModified['external'] = 1; + + } + + /** + * The method to get the private + * @return Private1 An instance of Private1 + */ + public function getPrivate() + { + return $this->private; + + } + + /** + * The method to set the value to private + * @param Private1 $private An instance of Private1 + */ + public function setPrivate(Private1 $private) + { + $this->private=$private; + $this->keyModified['private'] = 1; + + } + + /** + * The method to get the convertMapping + * @return ConvertMapping An instance of ConvertMapping + */ + public function getConvertMapping() + { + return $this->convertMapping; + + } + + /** + * The method to set the value to convertMapping + * @param ConvertMapping $convertMapping An instance of ConvertMapping + */ + public function setConvertMapping(ConvertMapping $convertMapping) + { + $this->convertMapping=$convertMapping; + $this->keyModified['convert_mapping'] = 1; + + } + + /** + * The method to get the autonumber + * @return AutoNumber An instance of AutoNumber + */ + public function getAutonumber() + { + return $this->autonumber; + + } + + /** + * The method to set the value to autonumber + * @param AutoNumber $autonumber An instance of AutoNumber + */ + public function setAutonumber(AutoNumber $autonumber) + { + $this->autonumber=$autonumber; + $this->keyModified['autonumber'] = 1; + + } + + /** + * The method to get the autoNumber69 + * @return AutoNumber An instance of AutoNumber + */ + public function getAutoNumber69() + { + return $this->autoNumber69; + + } + + /** + * The method to set the value to autoNumber69 + * @param AutoNumber $autoNumber69 An instance of AutoNumber + */ + public function setAutoNumber69(AutoNumber $autoNumber69) + { + $this->autoNumber69=$autoNumber69; + $this->keyModified['auto_number'] = 1; + + } + + /** + * The method to get the crypt + * @return Crypt An instance of Crypt + */ + public function getCrypt() + { + return $this->crypt; + + } + + /** + * The method to set the value to crypt + * @param Crypt $crypt An instance of Crypt + */ + public function setCrypt(Crypt $crypt) + { + $this->crypt=$crypt; + $this->keyModified['crypt'] = 1; + + } + + /** + * The method to get the tooltip + * @return Tooltip An instance of Tooltip + */ + public function getTooltip() + { + return $this->tooltip; + + } + + /** + * The method to set the value to tooltip + * @param Tooltip $tooltip An instance of Tooltip + */ + public function setTooltip(Tooltip $tooltip) + { + $this->tooltip=$tooltip; + $this->keyModified['tooltip'] = 1; + + } + + /** + * The method to get the historyTracking + * @return HistoryTracking An instance of HistoryTracking + */ + public function getHistoryTracking() + { + return $this->historyTracking; + + } + + /** + * The method to set the value to historyTracking + * @param HistoryTracking $historyTracking An instance of HistoryTracking + */ + public function setHistoryTracking(HistoryTracking $historyTracking) + { + $this->historyTracking=$historyTracking; + $this->keyModified['history_tracking'] = 1; + + } + + /** + * The method to get the associationDetails + * @return AssociationDetails An instance of AssociationDetails + */ + public function getAssociationDetails() + { + return $this->associationDetails; + + } + + /** + * The method to set the value to associationDetails + * @param AssociationDetails $associationDetails An instance of AssociationDetails + */ + public function setAssociationDetails(AssociationDetails $associationDetails) + { + $this->associationDetails=$associationDetails; + $this->keyModified['association_details'] = 1; + + } + + /** + * The method to get the additionalColumn + * @return string A string representing the additionalColumn + */ + public function getAdditionalColumn() + { + return $this->additionalColumn; + + } + + /** + * The method to set the value to additionalColumn + * @param string $additionalColumn A string + */ + public function setAdditionalColumn(string $additionalColumn) + { + $this->additionalColumn=$additionalColumn; + $this->keyModified['additional_column'] = 1; + + } + + /** + * The method to get the fieldLabel + * @return string A string representing the fieldLabel + */ + public function getFieldLabel() + { + return $this->fieldLabel; + + } + + /** + * The method to set the value to fieldLabel + * @param string $fieldLabel A string + */ + public function setFieldLabel(string $fieldLabel) + { + $this->fieldLabel=$fieldLabel; + $this->keyModified['field_label'] = 1; + + } + + /** + * The method to get the globalPicklist + */ + public function getGlobalPicklist() + { + return $this->globalPicklist; + + } + + /** + * The method to set the value to globalPicklist + * @param + */ + public function setGlobalPicklist( $globalPicklist) + { + $this->globalPicklist=$globalPicklist; + $this->keyModified['global_picklist'] = 1; + + } + + /** + * The method to get the updateexistingrecords + * @return bool A bool representing the updateexistingrecords + */ + public function getUpdateexistingrecords() + { + return $this->updateexistingrecords; + + } + + /** + * The method to set the value to updateexistingrecords + * @param bool $updateexistingrecords A bool + */ + public function setUpdateexistingrecords(bool $updateexistingrecords) + { + $this->updateexistingrecords=$updateexistingrecords; + $this->keyModified['_update_existing_records'] = 1; + + } + + /** + * The method to get the numberSeparator + * @return bool A bool representing the numberSeparator + */ + public function getNumberSeparator() + { + return $this->numberSeparator; + + } + + /** + * The method to set the value to numberSeparator + * @param bool $numberSeparator A bool + */ + public function setNumberSeparator(bool $numberSeparator) + { + $this->numberSeparator=$numberSeparator; + $this->keyModified['number_separator'] = 1; + + } + + /** + * The method to get the textarea + * @return Textarea An instance of Textarea + */ + public function getTextarea() + { + return $this->textarea; + + } + + /** + * The method to set the value to textarea + * @param Textarea $textarea An instance of Textarea + */ + public function setTextarea(Textarea $textarea) + { + $this->textarea=$textarea; + $this->keyModified['textarea'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/layouts/SectionSubformField.php b/versions/5.0.0/src/com/zoho/crm/api/layouts/SectionSubformField.php new file mode 100644 index 0000000..53c9fe7 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/layouts/SectionSubformField.php @@ -0,0 +1,103 @@ +module; + + } + + /** + * The method to set the value to module + * @param string $module A string + */ + public function setModule(string $module) + { + $this->module=$module; + $this->keyModified['module'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the layout + * @return MinifiedLayout An instance of MinifiedLayout + */ + public function getLayout() + { + return $this->layout; + + } + + /** + * The method to set the value to layout + * @param MinifiedLayout $layout An instance of MinifiedLayout + */ + public function setLayout(MinifiedLayout $layout) + { + $this->layout=$layout; + $this->keyModified['layout'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/layouts/Sections.php b/versions/5.0.0/src/com/zoho/crm/api/layouts/Sections.php new file mode 100644 index 0000000..30419cc --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/layouts/Sections.php @@ -0,0 +1,301 @@ +displayLabel; + + } + + /** + * The method to set the value to displayLabel + * @param string $displayLabel A string + */ + public function setDisplayLabel(string $displayLabel) + { + $this->displayLabel=$displayLabel; + $this->keyModified['display_label'] = 1; + + } + + /** + * The method to get the sequenceNumber + * @return int A int representing the sequenceNumber + */ + public function getSequenceNumber() + { + return $this->sequenceNumber; + + } + + /** + * The method to set the value to sequenceNumber + * @param int $sequenceNumber A int + */ + public function setSequenceNumber(int $sequenceNumber) + { + $this->sequenceNumber=$sequenceNumber; + $this->keyModified['sequence_number'] = 1; + + } + + /** + * The method to get the issubformsection + * @return bool A bool representing the issubformsection + */ + public function getIssubformsection() + { + return $this->issubformsection; + + } + + /** + * The method to set the value to issubformsection + * @param bool $issubformsection A bool + */ + public function setIssubformsection(bool $issubformsection) + { + $this->issubformsection=$issubformsection; + $this->keyModified['isSubformSection'] = 1; + + } + + /** + * The method to get the tabTraversal + * @return string A string representing the tabTraversal + */ + public function getTabTraversal() + { + return $this->tabTraversal; + + } + + /** + * The method to set the value to tabTraversal + * @param string $tabTraversal A string + */ + public function setTabTraversal(string $tabTraversal) + { + $this->tabTraversal=$tabTraversal; + $this->keyModified['tab_traversal'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the columnCount + * @return int A int representing the columnCount + */ + public function getColumnCount() + { + return $this->columnCount; + + } + + /** + * The method to set the value to columnCount + * @param int $columnCount A int + */ + public function setColumnCount(int $columnCount) + { + $this->columnCount=$columnCount; + $this->keyModified['column_count'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the generatedType + * @return string A string representing the generatedType + */ + public function getGeneratedType() + { + return $this->generatedType; + + } + + /** + * The method to set the value to generatedType + * @param string $generatedType A string + */ + public function setGeneratedType(string $generatedType) + { + $this->generatedType=$generatedType; + $this->keyModified['generated_type'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the type + * @return string A string representing the type + */ + public function getType() + { + return $this->type; + + } + + /** + * The method to set the value to type + * @param string $type A string + */ + public function setType(string $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to get the fields + * @return array A array representing the fields + */ + public function getFields() + { + return $this->fields; + + } + + /** + * The method to set the value to fields + * @param array $fields A array + */ + public function setFields(array $fields) + { + $this->fields=$fields; + $this->keyModified['fields'] = 1; + + } + + /** + * The method to get the properties + * @return Properties An instance of Properties + */ + public function getProperties() + { + return $this->properties; + + } + + /** + * The method to set the value to properties + * @param Properties $properties An instance of Properties + */ + public function setProperties(Properties $properties) + { + $this->properties=$properties; + $this->keyModified['properties'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/layouts/StaticValues.php b/versions/5.0.0/src/com/zoho/crm/api/layouts/StaticValues.php new file mode 100644 index 0000000..73f3c1d --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/layouts/StaticValues.php @@ -0,0 +1,103 @@ +sequenceNumber; + + } + + /** + * The method to set the value to sequenceNumber + * @param int $sequenceNumber A int + */ + public function setSequenceNumber(int $sequenceNumber) + { + $this->sequenceNumber=$sequenceNumber; + $this->keyModified['sequence_number'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the value + * @return string A string representing the value + */ + public function getValue() + { + return $this->value; + + } + + /** + * The method to set the value to value + * @param string $value A string + */ + public function setValue(string $value) + { + $this->value=$value; + $this->keyModified['value'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/layouts/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/layouts/SuccessResponse.php new file mode 100644 index 0000000..e4c6ca3 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/layouts/SuccessResponse.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/layouts/Tooltip.php b/versions/5.0.0/src/com/zoho/crm/api/layouts/Tooltip.php new file mode 100644 index 0000000..d8be4fd --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/layouts/Tooltip.php @@ -0,0 +1,82 @@ +name; + + } + + /** + * The method to set the value to name + * @param Choice $name An instance of Choice + */ + public function setName(Choice $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the value + * @return string A string representing the value + */ + public function getValue() + { + return $this->value; + + } + + /** + * The method to set the value to value + * @param string $value A string + */ + public function setValue(string $value) + { + $this->value=$value; + $this->keyModified['value'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/mailmerge/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/mailmerge/APIException.php new file mode 100644 index 0000000..f678ce4 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/mailmerge/APIException.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/mailmerge/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/mailmerge/ActionHandler.php new file mode 100644 index 0000000..7643acc --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/mailmerge/ActionHandler.php @@ -0,0 +1,7 @@ +sendMailMerge; + + } + + /** + * The method to set the value to sendMailMerge + * @param array $sendMailMerge A array + */ + public function setSendMailMerge(array $sendMailMerge) + { + $this->sendMailMerge=$sendMailMerge; + $this->keyModified['send_mail_merge'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/mailmerge/Address.php b/versions/5.0.0/src/com/zoho/crm/api/mailmerge/Address.php new file mode 100644 index 0000000..7284d6d --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/mailmerge/Address.php @@ -0,0 +1,81 @@ +type; + + } + + /** + * The method to set the value to type + * @param string $type A string + */ + public function setType(string $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to get the value + * @return string A string representing the value + */ + public function getValue() + { + return $this->value; + + } + + /** + * The method to set the value to value + * @param string $value A string + */ + public function setValue(string $value) + { + $this->value=$value; + $this->keyModified['value'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/mailmerge/DownloadMailMerge.php b/versions/5.0.0/src/com/zoho/crm/api/mailmerge/DownloadMailMerge.php new file mode 100644 index 0000000..c16c707 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/mailmerge/DownloadMailMerge.php @@ -0,0 +1,126 @@ +mailMergeTemplate; + + } + + /** + * The method to set the value to mailMergeTemplate + * @param MailMergeTemplate $mailMergeTemplate An instance of MailMergeTemplate + */ + public function setMailMergeTemplate(MailMergeTemplate $mailMergeTemplate) + { + $this->mailMergeTemplate=$mailMergeTemplate; + $this->keyModified['mail_merge_template'] = 1; + + } + + /** + * The method to get the outputFormat + * @return Choice An instance of Choice + */ + public function getOutputFormat() + { + return $this->outputFormat; + + } + + /** + * The method to set the value to outputFormat + * @param Choice $outputFormat An instance of Choice + */ + public function setOutputFormat(Choice $outputFormat) + { + $this->outputFormat=$outputFormat; + $this->keyModified['output_format'] = 1; + + } + + /** + * The method to get the fileName + * @return string A string representing the fileName + */ + public function getFileName() + { + return $this->fileName; + + } + + /** + * The method to set the value to fileName + * @param string $fileName A string + */ + public function setFileName(string $fileName) + { + $this->fileName=$fileName; + $this->keyModified['file_name'] = 1; + + } + + /** + * The method to get the password + * @return string A string representing the password + */ + public function getPassword() + { + return $this->password; + + } + + /** + * The method to set the value to password + * @param string $password A string + */ + public function setPassword(string $password) + { + $this->password=$password; + $this->keyModified['password'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/mailmerge/DownloadMailMergeWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/mailmerge/DownloadMailMergeWrapper.php new file mode 100644 index 0000000..3115ae5 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/mailmerge/DownloadMailMergeWrapper.php @@ -0,0 +1,59 @@ +downloadMailMerge; + + } + + /** + * The method to set the value to downloadMailMerge + * @param array $downloadMailMerge A array + */ + public function setDownloadMailMerge(array $downloadMailMerge) + { + $this->downloadMailMerge=$downloadMailMerge; + $this->keyModified['download_mail_merge'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/mailmerge/DownloadResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/mailmerge/DownloadResponseHandler.php new file mode 100644 index 0000000..1eb0c7f --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/mailmerge/DownloadResponseHandler.php @@ -0,0 +1,7 @@ +file; + + } + + /** + * The method to set the value to file + * @param StreamWrapper $file An instance of StreamWrapper + */ + public function setFile(StreamWrapper $file) + { + $this->file=$file; + $this->keyModified['file'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/mailmerge/MailMerge.php b/versions/5.0.0/src/com/zoho/crm/api/mailmerge/MailMerge.php new file mode 100644 index 0000000..85f1541 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/mailmerge/MailMerge.php @@ -0,0 +1,235 @@ +mailMergeTemplate; + + } + + /** + * The method to set the value to mailMergeTemplate + * @param MailMergeTemplate $mailMergeTemplate An instance of MailMergeTemplate + */ + public function setMailMergeTemplate(MailMergeTemplate $mailMergeTemplate) + { + $this->mailMergeTemplate=$mailMergeTemplate; + $this->keyModified['mail_merge_template'] = 1; + + } + + /** + * The method to get the fromAddress + * @return Address An instance of Address + */ + public function getFromAddress() + { + return $this->fromAddress; + + } + + /** + * The method to set the value to fromAddress + * @param Address $fromAddress An instance of Address + */ + public function setFromAddress(Address $fromAddress) + { + $this->fromAddress=$fromAddress; + $this->keyModified['from_address'] = 1; + + } + + /** + * The method to get the toAddress + * @return array A array representing the toAddress + */ + public function getToAddress() + { + return $this->toAddress; + + } + + /** + * The method to set the value to toAddress + * @param array $toAddress A array + */ + public function setToAddress(array $toAddress) + { + $this->toAddress=$toAddress; + $this->keyModified['to_address'] = 1; + + } + + /** + * The method to get the ccEmail + * @return array A array representing the ccEmail + */ + public function getCcEmail() + { + return $this->ccEmail; + + } + + /** + * The method to set the value to ccEmail + * @param array $ccEmail A array + */ + public function setCcEmail(array $ccEmail) + { + $this->ccEmail=$ccEmail; + $this->keyModified['cc_email'] = 1; + + } + + /** + * The method to get the bccEmail + * @return array A array representing the bccEmail + */ + public function getBccEmail() + { + return $this->bccEmail; + + } + + /** + * The method to set the value to bccEmail + * @param array $bccEmail A array + */ + public function setBccEmail(array $bccEmail) + { + $this->bccEmail=$bccEmail; + $this->keyModified['bcc_email'] = 1; + + } + + /** + * The method to get the subject + * @return string A string representing the subject + */ + public function getSubject() + { + return $this->subject; + + } + + /** + * The method to set the value to subject + * @param string $subject A string + */ + public function setSubject(string $subject) + { + $this->subject=$subject; + $this->keyModified['subject'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the type + * @return string A string representing the type + */ + public function getType() + { + return $this->type; + + } + + /** + * The method to set the value to type + * @param string $type A string + */ + public function setType(string $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to get the attachmentName + * @return string A string representing the attachmentName + */ + public function getAttachmentName() + { + return $this->attachmentName; + + } + + /** + * The method to set the value to attachmentName + * @param string $attachmentName A string + */ + public function setAttachmentName(string $attachmentName) + { + $this->attachmentName=$attachmentName; + $this->keyModified['attachment_name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/mailmerge/MailMergeOperations.php b/versions/5.0.0/src/com/zoho/crm/api/mailmerge/MailMergeOperations.php new file mode 100644 index 0000000..d621e4a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/mailmerge/MailMergeOperations.php @@ -0,0 +1,98 @@ +module=$module; + $this->id=$id; + + } + + /** + * The method to send mail merge + * @param MailMergeWrapper $request An instance of MailMergeWrapper + * @return APIResponse An instance of APIResponse + */ + public function sendMailMerge(MailMergeWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->module)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($this->id)); + $apiPath=$apiPath.('/actions/send_mail_merge'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to download mail merge + * @param DownloadMailMergeWrapper $request An instance of DownloadMailMergeWrapper + * @return APIResponse An instance of APIResponse + */ + public function downloadMailMerge(DownloadMailMergeWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->module)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($this->id)); + $apiPath=$apiPath.('/actions/download_mail_merge'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(DownloadResponseHandler::class, 'application/json'); + + } + + /** + * The method to sign mail merge + * @param SignMailMergeWrapper $request An instance of SignMailMergeWrapper + * @return APIResponse An instance of APIResponse + */ + public function signMailMerge(SignMailMergeWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->module)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($this->id)); + $apiPath=$apiPath.('/actions/sign_mail_merge'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(SignActionHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/mailmerge/MailMergeTemplate.php b/versions/5.0.0/src/com/zoho/crm/api/mailmerge/MailMergeTemplate.php new file mode 100644 index 0000000..66e2b78 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/mailmerge/MailMergeTemplate.php @@ -0,0 +1,81 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/mailmerge/MailMergeWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/mailmerge/MailMergeWrapper.php new file mode 100644 index 0000000..ac3944a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/mailmerge/MailMergeWrapper.php @@ -0,0 +1,59 @@ +sendMailMerge; + + } + + /** + * The method to set the value to sendMailMerge + * @param array $sendMailMerge A array + */ + public function setSendMailMerge(array $sendMailMerge) + { + $this->sendMailMerge=$sendMailMerge; + $this->keyModified['send_mail_merge'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/mailmerge/SignActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/mailmerge/SignActionHandler.php new file mode 100644 index 0000000..ab8cf09 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/mailmerge/SignActionHandler.php @@ -0,0 +1,7 @@ +signMailMerge; + + } + + /** + * The method to set the value to signMailMerge + * @param array $signMailMerge A array + */ + public function setSignMailMerge(array $signMailMerge) + { + $this->signMailMerge=$signMailMerge; + $this->keyModified['sign_mail_merge'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/mailmerge/SignMailMerge.php b/versions/5.0.0/src/com/zoho/crm/api/mailmerge/SignMailMerge.php new file mode 100644 index 0000000..b223e11 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/mailmerge/SignMailMerge.php @@ -0,0 +1,125 @@ +mailMergeTemplate; + + } + + /** + * The method to set the value to mailMergeTemplate + * @param MailMergeTemplate $mailMergeTemplate An instance of MailMergeTemplate + */ + public function setMailMergeTemplate(MailMergeTemplate $mailMergeTemplate) + { + $this->mailMergeTemplate=$mailMergeTemplate; + $this->keyModified['mail_merge_template'] = 1; + + } + + /** + * The method to get the signInOrder + * @return bool A bool representing the signInOrder + */ + public function getSignInOrder() + { + return $this->signInOrder; + + } + + /** + * The method to set the value to signInOrder + * @param bool $signInOrder A bool + */ + public function setSignInOrder(bool $signInOrder) + { + $this->signInOrder=$signInOrder; + $this->keyModified['sign_in_order'] = 1; + + } + + /** + * The method to get the fileName + * @return string A string representing the fileName + */ + public function getFileName() + { + return $this->fileName; + + } + + /** + * The method to set the value to fileName + * @param string $fileName A string + */ + public function setFileName(string $fileName) + { + $this->fileName=$fileName; + $this->keyModified['file_name'] = 1; + + } + + /** + * The method to get the signers + * @return array A array representing the signers + */ + public function getSigners() + { + return $this->signers; + + } + + /** + * The method to set the value to signers + * @param array $signers A array + */ + public function setSigners(array $signers) + { + $this->signers=$signers; + $this->keyModified['signers'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/mailmerge/SignMailMergeWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/mailmerge/SignMailMergeWrapper.php new file mode 100644 index 0000000..a68ec57 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/mailmerge/SignMailMergeWrapper.php @@ -0,0 +1,59 @@ +signMailMerge; + + } + + /** + * The method to set the value to signMailMerge + * @param array $signMailMerge A array + */ + public function setSignMailMerge(array $signMailMerge) + { + $this->signMailMerge=$signMailMerge; + $this->keyModified['sign_mail_merge'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/mailmerge/Signers.php b/versions/5.0.0/src/com/zoho/crm/api/mailmerge/Signers.php new file mode 100644 index 0000000..b400d78 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/mailmerge/Signers.php @@ -0,0 +1,104 @@ +recipientName; + + } + + /** + * The method to set the value to recipientName + * @param string $recipientName A string + */ + public function setRecipientName(string $recipientName) + { + $this->recipientName=$recipientName; + $this->keyModified['recipient_name'] = 1; + + } + + /** + * The method to get the actionType + * @return Choice An instance of Choice + */ + public function getActionType() + { + return $this->actionType; + + } + + /** + * The method to set the value to actionType + * @param Choice $actionType An instance of Choice + */ + public function setActionType(Choice $actionType) + { + $this->actionType=$actionType; + $this->keyModified['action_type'] = 1; + + } + + /** + * The method to get the recipient + * @return Address An instance of Address + */ + public function getRecipient() + { + return $this->recipient; + + } + + /** + * The method to set the value to recipient + * @param Address $recipient An instance of Address + */ + public function setRecipient(Address $recipient) + { + $this->recipient=$recipient; + $this->keyModified['recipient'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/mailmerge/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/mailmerge/SuccessResponse.php new file mode 100644 index 0000000..66c2eb5 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/mailmerge/SuccessResponse.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/masschangeowner/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/masschangeowner/APIException.php new file mode 100644 index 0000000..8a46579 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/masschangeowner/APIException.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/masschangeowner/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/masschangeowner/ActionHandler.php new file mode 100644 index 0000000..ae5caa7 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/masschangeowner/ActionHandler.php @@ -0,0 +1,7 @@ +data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/masschangeowner/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/masschangeowner/BodyWrapper.php new file mode 100644 index 0000000..48f69b8 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/masschangeowner/BodyWrapper.php @@ -0,0 +1,125 @@ +cvid; + + } + + /** + * The method to set the value to cvid + * @param string $cvid A string + */ + public function setCvid(string $cvid) + { + $this->cvid=$cvid; + $this->keyModified['cvid'] = 1; + + } + + /** + * The method to get the owner + * @return Owner An instance of Owner + */ + public function getOwner() + { + return $this->owner; + + } + + /** + * The method to set the value to owner + * @param Owner $owner An instance of Owner + */ + public function setOwner(Owner $owner) + { + $this->owner=$owner; + $this->keyModified['owner'] = 1; + + } + + /** + * The method to get the criteria + * @return Criteria An instance of Criteria + */ + public function getCriteria() + { + return $this->criteria; + + } + + /** + * The method to set the value to criteria + * @param Criteria $criteria An instance of Criteria + */ + public function setCriteria(Criteria $criteria) + { + $this->criteria=$criteria; + $this->keyModified['criteria'] = 1; + + } + + /** + * The method to get the territory + * @return Territory An instance of Territory + */ + public function getTerritory() + { + return $this->territory; + + } + + /** + * The method to set the value to territory + * @param Territory $territory An instance of Territory + */ + public function setTerritory(Territory $territory) + { + $this->territory=$territory; + $this->keyModified['territory'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/masschangeowner/CheckStatusParam.php b/versions/5.0.0/src/com/zoho/crm/api/masschangeowner/CheckStatusParam.php new file mode 100644 index 0000000..95c61d6 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/masschangeowner/CheckStatusParam.php @@ -0,0 +1,14 @@ +comparator; + + } + + /** + * The method to set the value to comparator + * @param string $comparator A string + */ + public function setComparator(string $comparator) + { + $this->comparator=$comparator; + $this->keyModified['comparator'] = 1; + + } + + /** + * The method to get the field + * @return Field An instance of Field + */ + public function getField() + { + return $this->field; + + } + + /** + * The method to set the value to field + * @param Field $field An instance of Field + */ + public function setField(Field $field) + { + $this->field=$field; + $this->keyModified['field'] = 1; + + } + + /** + * The method to get the value + */ + public function getValue() + { + return $this->value; + + } + + /** + * The method to set the value to value + * @param + */ + public function setValue( $value) + { + $this->value=$value; + $this->keyModified['value'] = 1; + + } + + /** + * The method to get the groupOperator + * @return string A string representing the groupOperator + */ + public function getGroupOperator() + { + return $this->groupOperator; + + } + + /** + * The method to set the value to groupOperator + * @param string $groupOperator A string + */ + public function setGroupOperator(string $groupOperator) + { + $this->groupOperator=$groupOperator; + $this->keyModified['group_operator'] = 1; + + } + + /** + * The method to get the group + * @return array A array representing the group + */ + public function getGroup() + { + return $this->group; + + } + + /** + * The method to set the value to group + * @param array $group A array + */ + public function setGroup(array $group) + { + $this->group=$group; + $this->keyModified['group'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/masschangeowner/Field.php b/versions/5.0.0/src/com/zoho/crm/api/masschangeowner/Field.php new file mode 100644 index 0000000..11927c8 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/masschangeowner/Field.php @@ -0,0 +1,81 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/masschangeowner/MassChangeOwnerOperations.php b/versions/5.0.0/src/com/zoho/crm/api/masschangeowner/MassChangeOwnerOperations.php new file mode 100644 index 0000000..75e9da1 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/masschangeowner/MassChangeOwnerOperations.php @@ -0,0 +1,66 @@ +module=$module; + + } + + /** + * The method to change owner + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function changeOwner(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->module)); + $apiPath=$apiPath.('/actions/mass_change_owner'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_ACTION); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to check status + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function checkStatus(ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->module)); + $apiPath=$apiPath.('/actions/mass_change_owner'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_ACTION); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/masschangeowner/Owner.php b/versions/5.0.0/src/com/zoho/crm/api/masschangeowner/Owner.php new file mode 100644 index 0000000..0707338 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/masschangeowner/Owner.php @@ -0,0 +1,81 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/masschangeowner/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/masschangeowner/ResponseHandler.php new file mode 100644 index 0000000..1b92e1f --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/masschangeowner/ResponseHandler.php @@ -0,0 +1,7 @@ +data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/masschangeowner/Status.php b/versions/5.0.0/src/com/zoho/crm/api/masschangeowner/Status.php new file mode 100644 index 0000000..35725ab --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/masschangeowner/Status.php @@ -0,0 +1,148 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['Status'] = 1; + + } + + /** + * The method to get the failedCount + * @return int A int representing the failedCount + */ + public function getFailedCount() + { + return $this->failedCount; + + } + + /** + * The method to set the value to failedCount + * @param int $failedCount A int + */ + public function setFailedCount(int $failedCount) + { + $this->failedCount=$failedCount; + $this->keyModified['Failed_Count'] = 1; + + } + + /** + * The method to get the notUpdatedCount + * @return int A int representing the notUpdatedCount + */ + public function getNotUpdatedCount() + { + return $this->notUpdatedCount; + + } + + /** + * The method to set the value to notUpdatedCount + * @param int $notUpdatedCount A int + */ + public function setNotUpdatedCount(int $notUpdatedCount) + { + $this->notUpdatedCount=$notUpdatedCount; + $this->keyModified['Not_Updated_Count'] = 1; + + } + + /** + * The method to get the updatedCount + * @return int A int representing the updatedCount + */ + public function getUpdatedCount() + { + return $this->updatedCount; + + } + + /** + * The method to set the value to updatedCount + * @param int $updatedCount A int + */ + public function setUpdatedCount(int $updatedCount) + { + $this->updatedCount=$updatedCount; + $this->keyModified['Updated_Count'] = 1; + + } + + /** + * The method to get the totalCount + * @return int A int representing the totalCount + */ + public function getTotalCount() + { + return $this->totalCount; + + } + + /** + * The method to set the value to totalCount + * @param int $totalCount A int + */ + public function setTotalCount(int $totalCount) + { + $this->totalCount=$totalCount; + $this->keyModified['Total_Count'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/masschangeowner/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/masschangeowner/SuccessResponse.php new file mode 100644 index 0000000..cabe983 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/masschangeowner/SuccessResponse.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/masschangeowner/Territory.php b/versions/5.0.0/src/com/zoho/crm/api/masschangeowner/Territory.php new file mode 100644 index 0000000..793db24 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/masschangeowner/Territory.php @@ -0,0 +1,81 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the includeChild + * @return bool A bool representing the includeChild + */ + public function getIncludeChild() + { + return $this->includeChild; + + } + + /** + * The method to set the value to includeChild + * @param bool $includeChild A bool + */ + public function setIncludeChild(bool $includeChild) + { + $this->includeChild=$includeChild; + $this->keyModified['include_child'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/massconvert/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/massconvert/APIException.php new file mode 100644 index 0000000..a032385 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/massconvert/APIException.php @@ -0,0 +1,126 @@ +details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/massconvert/ActionResponse.php b/versions/5.0.0/src/com/zoho/crm/api/massconvert/ActionResponse.php new file mode 100644 index 0000000..698a409 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/massconvert/ActionResponse.php @@ -0,0 +1,7 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/massconvert/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/massconvert/BodyWrapper.php new file mode 100644 index 0000000..0ff98be --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/massconvert/BodyWrapper.php @@ -0,0 +1,214 @@ +deals; + + } + + /** + * The method to set the value to deals + * @param Record $deals An instance of Record + */ + public function setDeals(Record $deals) + { + $this->deals=$deals; + $this->keyModified['Deals'] = 1; + + } + + /** + * The method to get the moveAttachmentsTo + * @return MoveAttachmentsTo An instance of MoveAttachmentsTo + */ + public function getMoveAttachmentsTo() + { + return $this->moveAttachmentsTo; + + } + + /** + * The method to set the value to moveAttachmentsTo + * @param MoveAttachmentsTo $moveAttachmentsTo An instance of MoveAttachmentsTo + */ + public function setMoveAttachmentsTo(MoveAttachmentsTo $moveAttachmentsTo) + { + $this->moveAttachmentsTo=$moveAttachmentsTo; + $this->keyModified['move_attachments_to'] = 1; + + } + + /** + * The method to get the assignTo + * @return AssignTo An instance of AssignTo + */ + public function getAssignTo() + { + return $this->assignTo; + + } + + /** + * The method to set the value to assignTo + * @param AssignTo $assignTo An instance of AssignTo + */ + public function setAssignTo(AssignTo $assignTo) + { + $this->assignTo=$assignTo; + $this->keyModified['assign_to'] = 1; + + } + + /** + * The method to get the carryOverTags + * @return array A array representing the carryOverTags + */ + public function getCarryOverTags() + { + return $this->carryOverTags; + + } + + /** + * The method to set the value to carryOverTags + * @param array $carryOverTags A array + */ + public function setCarryOverTags(array $carryOverTags) + { + $this->carryOverTags=$carryOverTags; + $this->keyModified['carry_over_tags'] = 1; + + } + + /** + * The method to get the relatedModules + * @return array A array representing the relatedModules + */ + public function getRelatedModules() + { + return $this->relatedModules; + + } + + /** + * The method to set the value to relatedModules + * @param array $relatedModules A array + */ + public function setRelatedModules(array $relatedModules) + { + $this->relatedModules=$relatedModules; + $this->keyModified['related_modules'] = 1; + + } + + /** + * The method to get the portalUserType + * @return PortalUserType An instance of PortalUserType + */ + public function getPortalUserType() + { + return $this->portalUserType; + + } + + /** + * The method to set the value to portalUserType + * @param PortalUserType $portalUserType An instance of PortalUserType + */ + public function setPortalUserType(PortalUserType $portalUserType) + { + $this->portalUserType=$portalUserType; + $this->keyModified['portal_user_type'] = 1; + + } + + /** + * The method to get the ids + * @return array A array representing the ids + */ + public function getIds() + { + return $this->ids; + + } + + /** + * The method to set the value to ids + * @param array $ids A array + */ + public function setIds(array $ids) + { + $this->ids=$ids; + $this->keyModified['ids'] = 1; + + } + + /** + * The method to get the applyAssignmentThreshold + * @return bool A bool representing the applyAssignmentThreshold + */ + public function getApplyAssignmentThreshold() + { + return $this->applyAssignmentThreshold; + + } + + /** + * The method to set the value to applyAssignmentThreshold + * @param bool $applyAssignmentThreshold A bool + */ + public function setApplyAssignmentThreshold(bool $applyAssignmentThreshold) + { + $this->applyAssignmentThreshold=$applyAssignmentThreshold; + $this->keyModified['apply_assignment_threshold'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/massconvert/ErrorDetails.php b/versions/5.0.0/src/com/zoho/crm/api/massconvert/ErrorDetails.php new file mode 100644 index 0000000..2058666 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/massconvert/ErrorDetails.php @@ -0,0 +1,81 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the jsonPath + * @return string A string representing the jsonPath + */ + public function getJsonPath() + { + return $this->jsonPath; + + } + + /** + * The method to set the value to jsonPath + * @param string $jsonPath A string + */ + public function setJsonPath(string $jsonPath) + { + $this->jsonPath=$jsonPath; + $this->keyModified['json_path'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/massconvert/GetJobStatusParam.php b/versions/5.0.0/src/com/zoho/crm/api/massconvert/GetJobStatusParam.php new file mode 100644 index 0000000..4f041f7 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/massconvert/GetJobStatusParam.php @@ -0,0 +1,14 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + $handlerInstance->setModuleAPIName("Deals"); + Utility::getFields("Deals", $handlerInstance); + return $handlerInstance->apiCall(ActionResponse::class, 'application/json'); + + } + + /** + * The method to get job status + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function getJobStatus(ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/Leads/actions/mass_convert'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_ACTION); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/massconvert/MoveAttachmentsTo.php b/versions/5.0.0/src/com/zoho/crm/api/massconvert/MoveAttachmentsTo.php new file mode 100644 index 0000000..31bbf6c --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/massconvert/MoveAttachmentsTo.php @@ -0,0 +1,81 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/massconvert/PortalUserType.php b/versions/5.0.0/src/com/zoho/crm/api/massconvert/PortalUserType.php new file mode 100644 index 0000000..5e39249 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/massconvert/PortalUserType.php @@ -0,0 +1,81 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/massconvert/RelatedModule.php b/versions/5.0.0/src/com/zoho/crm/api/massconvert/RelatedModule.php new file mode 100644 index 0000000..f056983 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/massconvert/RelatedModule.php @@ -0,0 +1,81 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/massconvert/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/massconvert/ResponseHandler.php new file mode 100644 index 0000000..590722c --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/massconvert/ResponseHandler.php @@ -0,0 +1,7 @@ +data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/massconvert/Status.php b/versions/5.0.0/src/com/zoho/crm/api/massconvert/Status.php new file mode 100644 index 0000000..9ae68f4 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/massconvert/Status.php @@ -0,0 +1,147 @@ +status; + + } + + /** + * The method to set the value to status + * @param string $status A string + */ + public function setStatus(string $status) + { + $this->status=$status; + $this->keyModified['Status'] = 1; + + } + + /** + * The method to get the failedCount + * @return int A int representing the failedCount + */ + public function getFailedCount() + { + return $this->failedCount; + + } + + /** + * The method to set the value to failedCount + * @param int $failedCount A int + */ + public function setFailedCount(int $failedCount) + { + $this->failedCount=$failedCount; + $this->keyModified['Failed_Count'] = 1; + + } + + /** + * The method to get the notConvertedCount + * @return int A int representing the notConvertedCount + */ + public function getNotConvertedCount() + { + return $this->notConvertedCount; + + } + + /** + * The method to set the value to notConvertedCount + * @param int $notConvertedCount A int + */ + public function setNotConvertedCount(int $notConvertedCount) + { + $this->notConvertedCount=$notConvertedCount; + $this->keyModified['Not_Converted_Count'] = 1; + + } + + /** + * The method to get the totalCount + * @return int A int representing the totalCount + */ + public function getTotalCount() + { + return $this->totalCount; + + } + + /** + * The method to set the value to totalCount + * @param int $totalCount A int + */ + public function setTotalCount(int $totalCount) + { + $this->totalCount=$totalCount; + $this->keyModified['Total_Count'] = 1; + + } + + /** + * The method to get the convertedCount + * @return int A int representing the convertedCount + */ + public function getConvertedCount() + { + return $this->convertedCount; + + } + + /** + * The method to set the value to convertedCount + * @param int $convertedCount A int + */ + public function setConvertedCount(int $convertedCount) + { + $this->convertedCount=$convertedCount; + $this->keyModified['Converted_Count'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/massconvert/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/massconvert/SuccessResponse.php new file mode 100644 index 0000000..d60e284 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/massconvert/SuccessResponse.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/massdeletecvid/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/massdeletecvid/APIException.php new file mode 100644 index 0000000..2008428 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/massdeletecvid/APIException.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/massdeletecvid/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/massdeletecvid/ActionHandler.php new file mode 100644 index 0000000..51919c6 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/massdeletecvid/ActionHandler.php @@ -0,0 +1,7 @@ +data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/massdeletecvid/CvidBodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/massdeletecvid/CvidBodyWrapper.php new file mode 100644 index 0000000..285b24f --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/massdeletecvid/CvidBodyWrapper.php @@ -0,0 +1,81 @@ +cvid; + + } + + /** + * The method to set the value to cvid + * @param string $cvid A string + */ + public function setCvid(string $cvid) + { + $this->cvid=$cvid; + $this->keyModified['cvid'] = 1; + + } + + /** + * The method to get the territory + * @return Territory An instance of Territory + */ + public function getTerritory() + { + return $this->territory; + + } + + /** + * The method to set the value to territory + * @param Territory $territory An instance of Territory + */ + public function setTerritory(Territory $territory) + { + $this->territory=$territory; + $this->keyModified['territory'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/massdeletecvid/GetMassDeleteStatusParam.php b/versions/5.0.0/src/com/zoho/crm/api/massdeletecvid/GetMassDeleteStatusParam.php new file mode 100644 index 0000000..d893d0b --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/massdeletecvid/GetMassDeleteStatusParam.php @@ -0,0 +1,14 @@ +module=$module; + + } + + /** + * The method to mass delete by cvid + * @param CvidBodyWrapper $request An instance of CvidBodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function massDeleteByCvid(CvidBodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->module)); + $apiPath=$apiPath.('/actions/mass_delete'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_ACTION); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to mass delete by record id + * @param RecordIdBodyWrapper $request An instance of RecordIdBodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function massDeleteByRecordId(RecordIdBodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->module)); + $apiPath=$apiPath.('/actions/mass_delete'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_ACTION); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get mass delete status + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function getMassDeleteStatus(ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->module)); + $apiPath=$apiPath.('/actions/mass_delete'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/massdeletecvid/RecordIdBodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/massdeletecvid/RecordIdBodyWrapper.php new file mode 100644 index 0000000..2d59d6f --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/massdeletecvid/RecordIdBodyWrapper.php @@ -0,0 +1,81 @@ +ids; + + } + + /** + * The method to set the value to ids + * @param array $ids A array + */ + public function setIds(array $ids) + { + $this->ids=$ids; + $this->keyModified['ids'] = 1; + + } + + /** + * The method to get the territory + * @return Territory An instance of Territory + */ + public function getTerritory() + { + return $this->territory; + + } + + /** + * The method to set the value to territory + * @param Territory $territory An instance of Territory + */ + public function setTerritory(Territory $territory) + { + $this->territory=$territory; + $this->keyModified['territory'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/massdeletecvid/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/massdeletecvid/ResponseHandler.php new file mode 100644 index 0000000..969990d --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/massdeletecvid/ResponseHandler.php @@ -0,0 +1,7 @@ +data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/massdeletecvid/Status.php b/versions/5.0.0/src/com/zoho/crm/api/massdeletecvid/Status.php new file mode 100644 index 0000000..deb44db --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/massdeletecvid/Status.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['Status'] = 1; + + } + + /** + * The method to get the failedCount + * @return int A int representing the failedCount + */ + public function getFailedCount() + { + return $this->failedCount; + + } + + /** + * The method to set the value to failedCount + * @param int $failedCount A int + */ + public function setFailedCount(int $failedCount) + { + $this->failedCount=$failedCount; + $this->keyModified['Failed_Count'] = 1; + + } + + /** + * The method to get the deletedCount + * @return int A int representing the deletedCount + */ + public function getDeletedCount() + { + return $this->deletedCount; + + } + + /** + * The method to set the value to deletedCount + * @param int $deletedCount A int + */ + public function setDeletedCount(int $deletedCount) + { + $this->deletedCount=$deletedCount; + $this->keyModified['Deleted_Count'] = 1; + + } + + /** + * The method to get the totalCount + * @return int A int representing the totalCount + */ + public function getTotalCount() + { + return $this->totalCount; + + } + + /** + * The method to set the value to totalCount + * @param int $totalCount A int + */ + public function setTotalCount(int $totalCount) + { + $this->totalCount=$totalCount; + $this->keyModified['Total_Count'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/massdeletecvid/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/massdeletecvid/SuccessResponse.php new file mode 100644 index 0000000..68079e7 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/massdeletecvid/SuccessResponse.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/massdeletecvid/Territory.php b/versions/5.0.0/src/com/zoho/crm/api/massdeletecvid/Territory.php new file mode 100644 index 0000000..f9334f4 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/massdeletecvid/Territory.php @@ -0,0 +1,81 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the includeChild + * @return bool A bool representing the includeChild + */ + public function getIncludeChild() + { + return $this->includeChild; + + } + + /** + * The method to set the value to includeChild + * @param bool $includeChild A bool + */ + public function setIncludeChild(bool $includeChild) + { + $this->includeChild=$includeChild; + $this->keyModified['include_child'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/modules/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/modules/APIException.php new file mode 100644 index 0000000..5e99655 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/modules/APIException.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/modules/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/modules/ActionHandler.php new file mode 100644 index 0000000..a77c7f4 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/modules/ActionHandler.php @@ -0,0 +1,7 @@ +modules; + + } + + /** + * The method to set the value to modules + * @param array $modules A array + */ + public function setModules(array $modules) + { + $this->modules=$modules; + $this->keyModified['modules'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/modules/Argument.php b/versions/5.0.0/src/com/zoho/crm/api/modules/Argument.php new file mode 100644 index 0000000..e84f1ee --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/modules/Argument.php @@ -0,0 +1,81 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the value + * @return string A string representing the value + */ + public function getValue() + { + return $this->value; + + } + + /** + * The method to set the value to value + * @param string $value A string + */ + public function setValue(string $value) + { + $this->value=$value; + $this->keyModified['value'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/modules/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/modules/BodyWrapper.php new file mode 100644 index 0000000..0468304 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/modules/BodyWrapper.php @@ -0,0 +1,59 @@ +modules; + + } + + /** + * The method to set the value to modules + * @param array $modules A array + */ + public function setModules(array $modules) + { + $this->modules=$modules; + $this->keyModified['modules'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/modules/GetModulesHeader.php b/versions/5.0.0/src/com/zoho/crm/api/modules/GetModulesHeader.php new file mode 100644 index 0000000..79e7c6a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/modules/GetModulesHeader.php @@ -0,0 +1,14 @@ +sequenceNumber; + + } + + /** + * The method to set the value to sequenceNumber + * @param int $sequenceNumber A int + */ + public function setSequenceNumber(int $sequenceNumber) + { + $this->sequenceNumber=$sequenceNumber; + $this->keyModified['sequence_number'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/modules/LookupFieldProperties.php b/versions/5.0.0/src/com/zoho/crm/api/modules/LookupFieldProperties.php new file mode 100644 index 0000000..904d393 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/modules/LookupFieldProperties.php @@ -0,0 +1,59 @@ +fields; + + } + + /** + * The method to set the value to fields + * @param array $fields A array + */ + public function setFields(array $fields) + { + $this->fields=$fields; + $this->keyModified['fields'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/modules/MinifiedModule.php b/versions/5.0.0/src/com/zoho/crm/api/modules/MinifiedModule.php new file mode 100644 index 0000000..072fe0a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/modules/MinifiedModule.php @@ -0,0 +1,125 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the moduleName + * @return string A string representing the moduleName + */ + public function getModuleName() + { + return $this->moduleName; + + } + + /** + * The method to set the value to moduleName + * @param string $moduleName A string + */ + public function setModuleName(string $moduleName) + { + $this->moduleName=$moduleName; + $this->keyModified['module_name'] = 1; + + } + + /** + * The method to get the module + * @return string A string representing the module + */ + public function getModule() + { + return $this->module; + + } + + /** + * The method to set the value to module + * @param string $module A string + */ + public function setModule(string $module) + { + $this->module=$module; + $this->keyModified['module'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/modules/ModuleFieldLookup.php b/versions/5.0.0/src/com/zoho/crm/api/modules/ModuleFieldLookup.php new file mode 100644 index 0000000..690d57a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/modules/ModuleFieldLookup.php @@ -0,0 +1,194 @@ +queryDetails; + + } + + /** + * The method to set the value to queryDetails + * @param QueryDetails $queryDetails An instance of QueryDetails + */ + public function setQueryDetails(QueryDetails $queryDetails) + { + $this->queryDetails=$queryDetails; + $this->keyModified['query_details'] = 1; + + } + + /** + * The method to get the module + * @return MinifiedModule An instance of MinifiedModule + */ + public function getModule() + { + return $this->module; + + } + + /** + * The method to set the value to module + * @param MinifiedModule $module An instance of MinifiedModule + */ + public function setModule(MinifiedModule $module) + { + $this->module=$module; + $this->keyModified['module'] = 1; + + } + + /** + * The method to get the displayLabel + * @return string A string representing the displayLabel + */ + public function getDisplayLabel() + { + return $this->displayLabel; + + } + + /** + * The method to set the value to displayLabel + * @param string $displayLabel A string + */ + public function setDisplayLabel(string $displayLabel) + { + $this->displayLabel=$displayLabel; + $this->keyModified['display_label'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the revalidateFilterDuringEdit + * @return bool A bool representing the revalidateFilterDuringEdit + */ + public function getRevalidateFilterDuringEdit() + { + return $this->revalidateFilterDuringEdit; + + } + + /** + * The method to set the value to revalidateFilterDuringEdit + * @param bool $revalidateFilterDuringEdit A bool + */ + public function setRevalidateFilterDuringEdit(bool $revalidateFilterDuringEdit) + { + $this->revalidateFilterDuringEdit=$revalidateFilterDuringEdit; + $this->keyModified['revalidate_filter_during_edit'] = 1; + + } + + /** + * The method to get the showFields + * @return array A array representing the showFields + */ + public function getShowFields() + { + return $this->showFields; + + } + + /** + * The method to set the value to showFields + * @param array $showFields A array + */ + public function setShowFields(array $showFields) + { + $this->showFields=$showFields; + $this->keyModified['show_fields'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/modules/ModuleFields.php b/versions/5.0.0/src/com/zoho/crm/api/modules/ModuleFields.php new file mode 100644 index 0000000..a89a7ca --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/modules/ModuleFields.php @@ -0,0 +1,1756 @@ +blueprintSupported; + + } + + /** + * The method to set the value to blueprintSupported + * @param bool $blueprintSupported A bool + */ + public function setBlueprintSupported(bool $blueprintSupported) + { + $this->blueprintSupported=$blueprintSupported; + $this->keyModified['blueprint_supported'] = 1; + + } + + /** + * The method to get the jsonType + * @return string A string representing the jsonType + */ + public function getJsonType() + { + return $this->jsonType; + + } + + /** + * The method to set the value to jsonType + * @param string $jsonType A string + */ + public function setJsonType(string $jsonType) + { + $this->jsonType=$jsonType; + $this->keyModified['json_type'] = 1; + + } + + /** + * The method to get the length + * @return int A int representing the length + */ + public function getLength() + { + return $this->length; + + } + + /** + * The method to set the value to length + * @param int $length A int + */ + public function setLength(int $length) + { + $this->length=$length; + $this->keyModified['length'] = 1; + + } + + /** + * The method to get the decimalPlace + * @return int A int representing the decimalPlace + */ + public function getDecimalPlace() + { + return $this->decimalPlace; + + } + + /** + * The method to set the value to decimalPlace + * @param int $decimalPlace A int + */ + public function setDecimalPlace(int $decimalPlace) + { + $this->decimalPlace=$decimalPlace; + $this->keyModified['decimal_place'] = 1; + + } + + /** + * The method to get the multiModuleLookup + * @return MultiModuleLookup An instance of MultiModuleLookup + */ + public function getMultiModuleLookup() + { + return $this->multiModuleLookup; + + } + + /** + * The method to set the value to multiModuleLookup + * @param MultiModuleLookup $multiModuleLookup An instance of MultiModuleLookup + */ + public function setMultiModuleLookup(MultiModuleLookup $multiModuleLookup) + { + $this->multiModuleLookup=$multiModuleLookup; + $this->keyModified['multi_module_lookup'] = 1; + + } + + /** + * The method to get the sharingProperties + * @return SharingProperties An instance of SharingProperties + */ + public function getSharingProperties() + { + return $this->sharingProperties; + + } + + /** + * The method to set the value to sharingProperties + * @param SharingProperties $sharingProperties An instance of SharingProperties + */ + public function setSharingProperties(SharingProperties $sharingProperties) + { + $this->sharingProperties=$sharingProperties; + $this->keyModified['sharing_properties'] = 1; + + } + + /** + * The method to get the currency + * @return Currency An instance of Currency + */ + public function getCurrency() + { + return $this->currency; + + } + + /** + * The method to set the value to currency + * @param Currency $currency An instance of Currency + */ + public function setCurrency(Currency $currency) + { + $this->currency=$currency; + $this->keyModified['currency'] = 1; + + } + + /** + * The method to get the fileUpoladOptionlist + * @return array A array representing the fileUpoladOptionlist + */ + public function getFileUpoladOptionlist() + { + return $this->fileUpoladOptionlist; + + } + + /** + * The method to set the value to fileUpoladOptionlist + * @param array $fileUpoladOptionlist A array + */ + public function setFileUpoladOptionlist(array $fileUpoladOptionlist) + { + $this->fileUpoladOptionlist=$fileUpoladOptionlist; + $this->keyModified['file_upolad_optionlist'] = 1; + + } + + /** + * The method to get the lookup + * @return Lookup An instance of Lookup + */ + public function getLookup() + { + return $this->lookup; + + } + + /** + * The method to set the value to lookup + * @param Lookup $lookup An instance of Lookup + */ + public function setLookup(Lookup $lookup) + { + $this->lookup=$lookup; + $this->keyModified['lookup'] = 1; + + } + + /** + * The method to get the subform + * @return Subform An instance of Subform + */ + public function getSubform() + { + return $this->subform; + + } + + /** + * The method to set the value to subform + * @param Subform $subform An instance of Subform + */ + public function setSubform(Subform $subform) + { + $this->subform=$subform; + $this->keyModified['subform'] = 1; + + } + + /** + * The method to get the formula + * @return Formula An instance of Formula + */ + public function getFormula() + { + return $this->formula; + + } + + /** + * The method to set the value to formula + * @param Formula $formula An instance of Formula + */ + public function setFormula(Formula $formula) + { + $this->formula=$formula; + $this->keyModified['formula'] = 1; + + } + + /** + * The method to get the multiselectlookup + * @return Multiselectlookup An instance of Multiselectlookup + */ + public function getMultiselectlookup() + { + return $this->multiselectlookup; + + } + + /** + * The method to set the value to multiselectlookup + * @param Multiselectlookup $multiselectlookup An instance of Multiselectlookup + */ + public function setMultiselectlookup(Multiselectlookup $multiselectlookup) + { + $this->multiselectlookup=$multiselectlookup; + $this->keyModified['multiselectlookup'] = 1; + + } + + /** + * The method to get the multiuserlookup + * @return Multiselectlookup An instance of Multiselectlookup + */ + public function getMultiuserlookup() + { + return $this->multiuserlookup; + + } + + /** + * The method to set the value to multiuserlookup + * @param Multiselectlookup $multiuserlookup An instance of Multiselectlookup + */ + public function setMultiuserlookup(Multiselectlookup $multiuserlookup) + { + $this->multiuserlookup=$multiuserlookup; + $this->keyModified['multiuserlookup'] = 1; + + } + + /** + * The method to get the pickListValues + * @return array A array representing the pickListValues + */ + public function getPickListValues() + { + return $this->pickListValues; + + } + + /** + * The method to set the value to pickListValues + * @param array $pickListValues A array + */ + public function setPickListValues(array $pickListValues) + { + $this->pickListValues=$pickListValues; + $this->keyModified['pick_list_values'] = 1; + + } + + /** + * The method to get the allowedModules + * @return array A array representing the allowedModules + */ + public function getAllowedModules() + { + return $this->allowedModules; + + } + + /** + * The method to set the value to allowedModules + * @param array $allowedModules A array + */ + public function setAllowedModules(array $allowedModules) + { + $this->allowedModules=$allowedModules; + $this->keyModified['allowed_modules'] = 1; + + } + + /** + * The method to get the hipaaComplianceEnabled + * @return bool A bool representing the hipaaComplianceEnabled + */ + public function getHipaaComplianceEnabled() + { + return $this->hipaaComplianceEnabled; + + } + + /** + * The method to set the value to hipaaComplianceEnabled + * @param bool $hipaaComplianceEnabled A bool + */ + public function setHipaaComplianceEnabled(bool $hipaaComplianceEnabled) + { + $this->hipaaComplianceEnabled=$hipaaComplianceEnabled; + $this->keyModified['hipaa_compliance_enabled'] = 1; + + } + + /** + * The method to get the hipaaCompliance + * @return HipaaCompliance An instance of HipaaCompliance + */ + public function getHipaaCompliance() + { + return $this->hipaaCompliance; + + } + + /** + * The method to set the value to hipaaCompliance + * @param HipaaCompliance $hipaaCompliance An instance of HipaaCompliance + */ + public function setHipaaCompliance(HipaaCompliance $hipaaCompliance) + { + $this->hipaaCompliance=$hipaaCompliance; + $this->keyModified['hipaa_compliance'] = 1; + + } + + /** + * The method to get the associatedModule + * @return MinifiedModule An instance of MinifiedModule + */ + public function getAssociatedModule() + { + return $this->associatedModule; + + } + + /** + * The method to set the value to associatedModule + * @param MinifiedModule $associatedModule An instance of MinifiedModule + */ + public function setAssociatedModule(MinifiedModule $associatedModule) + { + $this->associatedModule=$associatedModule; + $this->keyModified['associated_module'] = 1; + + } + + /** + * The method to get the dataType + * @return string A string representing the dataType + */ + public function getDataType() + { + return $this->dataType; + + } + + /** + * The method to set the value to dataType + * @param string $dataType A string + */ + public function setDataType(string $dataType) + { + $this->dataType=$dataType; + $this->keyModified['data_type'] = 1; + + } + + /** + * The method to get the operationType + * @return OperationType An instance of OperationType + */ + public function getOperationType() + { + return $this->operationType; + + } + + /** + * The method to set the value to operationType + * @param OperationType $operationType An instance of OperationType + */ + public function setOperationType(OperationType $operationType) + { + $this->operationType=$operationType; + $this->keyModified['operation_type'] = 1; + + } + + /** + * The method to get the systemMandatory + * @return bool A bool representing the systemMandatory + */ + public function getSystemMandatory() + { + return $this->systemMandatory; + + } + + /** + * The method to set the value to systemMandatory + * @param bool $systemMandatory A bool + */ + public function setSystemMandatory(bool $systemMandatory) + { + $this->systemMandatory=$systemMandatory; + $this->keyModified['system_mandatory'] = 1; + + } + + /** + * The method to get the webhook + * @return bool A bool representing the webhook + */ + public function getWebhook() + { + return $this->webhook; + + } + + /** + * The method to set the value to webhook + * @param bool $webhook A bool + */ + public function setWebhook(bool $webhook) + { + $this->webhook=$webhook; + $this->keyModified['webhook'] = 1; + + } + + /** + * The method to get the sequenceNumber + * @return int A int representing the sequenceNumber + */ + public function getSequenceNumber() + { + return $this->sequenceNumber; + + } + + /** + * The method to set the value to sequenceNumber + * @param int $sequenceNumber A int + */ + public function setSequenceNumber(int $sequenceNumber) + { + $this->sequenceNumber=$sequenceNumber; + $this->keyModified['sequence_number'] = 1; + + } + + /** + * The method to get the defaultValue + * @return string A string representing the defaultValue + */ + public function getDefaultValue() + { + return $this->defaultValue; + + } + + /** + * The method to set the value to defaultValue + * @param string $defaultValue A string + */ + public function setDefaultValue(string $defaultValue) + { + $this->defaultValue=$defaultValue; + $this->keyModified['default_value'] = 1; + + } + + /** + * The method to get the virtualField + * @return bool A bool representing the virtualField + */ + public function getVirtualField() + { + return $this->virtualField; + + } + + /** + * The method to set the value to virtualField + * @param bool $virtualField A bool + */ + public function setVirtualField(bool $virtualField) + { + $this->virtualField=$virtualField; + $this->keyModified['virtual_field'] = 1; + + } + + /** + * The method to get the fieldReadOnly + * @return bool A bool representing the fieldReadOnly + */ + public function getFieldReadOnly() + { + return $this->fieldReadOnly; + + } + + /** + * The method to set the value to fieldReadOnly + * @param bool $fieldReadOnly A bool + */ + public function setFieldReadOnly(bool $fieldReadOnly) + { + $this->fieldReadOnly=$fieldReadOnly; + $this->keyModified['field_read_only'] = 1; + + } + + /** + * The method to get the customizableProperties + * @return array A array representing the customizableProperties + */ + public function getCustomizableProperties() + { + return $this->customizableProperties; + + } + + /** + * The method to set the value to customizableProperties + * @param array $customizableProperties A array + */ + public function setCustomizableProperties(array $customizableProperties) + { + $this->customizableProperties=$customizableProperties; + $this->keyModified['customizable_properties'] = 1; + + } + + /** + * The method to get the readOnly + * @return bool A bool representing the readOnly + */ + public function getReadOnly() + { + return $this->readOnly; + + } + + /** + * The method to set the value to readOnly + * @param bool $readOnly A bool + */ + public function setReadOnly(bool $readOnly) + { + $this->readOnly=$readOnly; + $this->keyModified['read_only'] = 1; + + } + + /** + * The method to get the customField + * @return bool A bool representing the customField + */ + public function getCustomField() + { + return $this->customField; + + } + + /** + * The method to set the value to customField + * @param bool $customField A bool + */ + public function setCustomField(bool $customField) + { + $this->customField=$customField; + $this->keyModified['custom_field'] = 1; + + } + + /** + * The method to get the businesscardSupported + * @return bool A bool representing the businesscardSupported + */ + public function getBusinesscardSupported() + { + return $this->businesscardSupported; + + } + + /** + * The method to set the value to businesscardSupported + * @param bool $businesscardSupported A bool + */ + public function setBusinesscardSupported(bool $businesscardSupported) + { + $this->businesscardSupported=$businesscardSupported; + $this->keyModified['businesscard_supported'] = 1; + + } + + /** + * The method to get the filterable + * @return bool A bool representing the filterable + */ + public function getFilterable() + { + return $this->filterable; + + } + + /** + * The method to set the value to filterable + * @param bool $filterable A bool + */ + public function setFilterable(bool $filterable) + { + $this->filterable=$filterable; + $this->keyModified['filterable'] = 1; + + } + + /** + * The method to get the visible + * @return bool A bool representing the visible + */ + public function getVisible() + { + return $this->visible; + + } + + /** + * The method to set the value to visible + * @param bool $visible A bool + */ + public function setVisible(bool $visible) + { + $this->visible=$visible; + $this->keyModified['visible'] = 1; + + } + + /** + * The method to get the availableInUserLayout + * @return bool A bool representing the availableInUserLayout + */ + public function getAvailableInUserLayout() + { + return $this->availableInUserLayout; + + } + + /** + * The method to set the value to availableInUserLayout + * @param bool $availableInUserLayout A bool + */ + public function setAvailableInUserLayout(bool $availableInUserLayout) + { + $this->availableInUserLayout=$availableInUserLayout; + $this->keyModified['available_in_user_layout'] = 1; + + } + + /** + * The method to get the displayField + * @return bool A bool representing the displayField + */ + public function getDisplayField() + { + return $this->displayField; + + } + + /** + * The method to set the value to displayField + * @param bool $displayField A bool + */ + public function setDisplayField(bool $displayField) + { + $this->displayField=$displayField; + $this->keyModified['display_field'] = 1; + + } + + /** + * The method to get the pickListValuesSortedLexically + * @return bool A bool representing the pickListValuesSortedLexically + */ + public function getPickListValuesSortedLexically() + { + return $this->pickListValuesSortedLexically; + + } + + /** + * The method to set the value to pickListValuesSortedLexically + * @param bool $pickListValuesSortedLexically A bool + */ + public function setPickListValuesSortedLexically(bool $pickListValuesSortedLexically) + { + $this->pickListValuesSortedLexically=$pickListValuesSortedLexically; + $this->keyModified['pick_list_values_sorted_lexically'] = 1; + + } + + /** + * The method to get the sortable + * @return bool A bool representing the sortable + */ + public function getSortable() + { + return $this->sortable; + + } + + /** + * The method to set the value to sortable + * @param bool $sortable A bool + */ + public function setSortable(bool $sortable) + { + $this->sortable=$sortable; + $this->keyModified['sortable'] = 1; + + } + + /** + * The method to get the separator + * @return bool A bool representing the separator + */ + public function getSeparator() + { + return $this->separator; + + } + + /** + * The method to set the value to separator + * @param bool $separator A bool + */ + public function setSeparator(bool $separator) + { + $this->separator=$separator; + $this->keyModified['separator'] = 1; + + } + + /** + * The method to get the searchable + * @return bool A bool representing the searchable + */ + public function getSearchable() + { + return $this->searchable; + + } + + /** + * The method to set the value to searchable + * @param bool $searchable A bool + */ + public function setSearchable(bool $searchable) + { + $this->searchable=$searchable; + $this->keyModified['searchable'] = 1; + + } + + /** + * The method to get the enableColourCode + * @return bool A bool representing the enableColourCode + */ + public function getEnableColourCode() + { + return $this->enableColourCode; + + } + + /** + * The method to set the value to enableColourCode + * @param bool $enableColourCode A bool + */ + public function setEnableColourCode(bool $enableColourCode) + { + $this->enableColourCode=$enableColourCode; + $this->keyModified['enable_colour_code'] = 1; + + } + + /** + * The method to get the massUpdate + * @return bool A bool representing the massUpdate + */ + public function getMassUpdate() + { + return $this->massUpdate; + + } + + /** + * The method to set the value to massUpdate + * @param bool $massUpdate A bool + */ + public function setMassUpdate(bool $massUpdate) + { + $this->massUpdate=$massUpdate; + $this->keyModified['mass_update'] = 1; + + } + + /** + * The method to get the createdSource + * @return string A string representing the createdSource + */ + public function getCreatedSource() + { + return $this->createdSource; + + } + + /** + * The method to set the value to createdSource + * @param string $createdSource A string + */ + public function setCreatedSource(string $createdSource) + { + $this->createdSource=$createdSource; + $this->keyModified['created_source'] = 1; + + } + + /** + * The method to get the type + * @return string A string representing the type + */ + public function getType() + { + return $this->type; + + } + + /** + * The method to set the value to type + * @param string $type A string + */ + public function setType(string $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to get the displayLabel + * @return string A string representing the displayLabel + */ + public function getDisplayLabel() + { + return $this->displayLabel; + + } + + /** + * The method to set the value to displayLabel + * @param string $displayLabel A string + */ + public function setDisplayLabel(string $displayLabel) + { + $this->displayLabel=$displayLabel; + $this->keyModified['display_label'] = 1; + + } + + /** + * The method to get the columnName + * @return string A string representing the columnName + */ + public function getColumnName() + { + return $this->columnName; + + } + + /** + * The method to set the value to columnName + * @param string $columnName A string + */ + public function setColumnName(string $columnName) + { + $this->columnName=$columnName; + $this->keyModified['column_name'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the displayType + * @return int A int representing the displayType + */ + public function getDisplayType() + { + return $this->displayType; + + } + + /** + * The method to set the value to displayType + * @param int $displayType A int + */ + public function setDisplayType(int $displayType) + { + $this->displayType=$displayType; + $this->keyModified['display_type'] = 1; + + } + + /** + * The method to get the uiType + * @return int A int representing the uiType + */ + public function getUiType() + { + return $this->uiType; + + } + + /** + * The method to set the value to uiType + * @param int $uiType A int + */ + public function setUiType(int $uiType) + { + $this->uiType=$uiType; + $this->keyModified['ui_type'] = 1; + + } + + /** + * The method to get the colourCodeEnabledBySystem + * @return bool A bool representing the colourCodeEnabledBySystem + */ + public function getColourCodeEnabledBySystem() + { + return $this->colourCodeEnabledBySystem; + + } + + /** + * The method to set the value to colourCodeEnabledBySystem + * @param bool $colourCodeEnabledBySystem A bool + */ + public function setColourCodeEnabledBySystem(bool $colourCodeEnabledBySystem) + { + $this->colourCodeEnabledBySystem=$colourCodeEnabledBySystem; + $this->keyModified['colour_code_enabled_by_system'] = 1; + + } + + /** + * The method to get the quickSequenceNumber + * @return string A string representing the quickSequenceNumber + */ + public function getQuickSequenceNumber() + { + return $this->quickSequenceNumber; + + } + + /** + * The method to set the value to quickSequenceNumber + * @param string $quickSequenceNumber A string + */ + public function setQuickSequenceNumber(string $quickSequenceNumber) + { + $this->quickSequenceNumber=$quickSequenceNumber; + $this->keyModified['quick_sequence_number'] = 1; + + } + + /** + * The method to get the emailParser + * @return EmailParser An instance of EmailParser + */ + public function getEmailParser() + { + return $this->emailParser; + + } + + /** + * The method to set the value to emailParser + * @param EmailParser $emailParser An instance of EmailParser + */ + public function setEmailParser(EmailParser $emailParser) + { + $this->emailParser=$emailParser; + $this->keyModified['email_parser'] = 1; + + } + + /** + * The method to get the rollupSummary + * @return RollupSummary An instance of RollupSummary + */ + public function getRollupSummary() + { + return $this->rollupSummary; + + } + + /** + * The method to set the value to rollupSummary + * @param RollupSummary $rollupSummary An instance of RollupSummary + */ + public function setRollupSummary(RollupSummary $rollupSummary) + { + $this->rollupSummary=$rollupSummary; + $this->keyModified['rollup_summary'] = 1; + + } + + /** + * The method to get the referFromField + * @return ReferFromField An instance of ReferFromField + */ + public function getReferFromField() + { + return $this->referFromField; + + } + + /** + * The method to set the value to referFromField + * @param ReferFromField $referFromField An instance of ReferFromField + */ + public function setReferFromField(ReferFromField $referFromField) + { + $this->referFromField=$referFromField; + $this->keyModified['refer_from_field'] = 1; + + } + + /** + * The method to get the createdTime + * @return \DateTime An instance of \DateTime + */ + public function getCreatedTime() + { + return $this->createdTime; + + } + + /** + * The method to set the value to createdTime + * @param \DateTime $createdTime An instance of \DateTime + */ + public function setCreatedTime(\DateTime $createdTime) + { + $this->createdTime=$createdTime; + $this->keyModified['created_time'] = 1; + + } + + /** + * The method to get the modifiedTime + * @return \DateTime An instance of \DateTime + */ + public function getModifiedTime() + { + return $this->modifiedTime; + + } + + /** + * The method to set the value to modifiedTime + * @param \DateTime $modifiedTime An instance of \DateTime + */ + public function setModifiedTime(\DateTime $modifiedTime) + { + $this->modifiedTime=$modifiedTime; + $this->keyModified['modified_time'] = 1; + + } + + /** + * The method to get the showType + * @return int A int representing the showType + */ + public function getShowType() + { + return $this->showType; + + } + + /** + * The method to set the value to showType + * @param int $showType A int + */ + public function setShowType(int $showType) + { + $this->showType=$showType; + $this->keyModified['show_type'] = 1; + + } + + /** + * The method to get the category + * @return int A int representing the category + */ + public function getCategory() + { + return $this->category; + + } + + /** + * The method to set the value to category + * @param int $category A int + */ + public function setCategory(int $category) + { + $this->category=$category; + $this->keyModified['category'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the profiles + * @return array A array representing the profiles + */ + public function getProfiles() + { + return $this->profiles; + + } + + /** + * The method to set the value to profiles + * @param array $profiles A array + */ + public function setProfiles(array $profiles) + { + $this->profiles=$profiles; + $this->keyModified['profiles'] = 1; + + } + + /** + * The method to get the viewType + * @return ViewType An instance of ViewType + */ + public function getViewType() + { + return $this->viewType; + + } + + /** + * The method to set the value to viewType + * @param ViewType $viewType An instance of ViewType + */ + public function setViewType(ViewType $viewType) + { + $this->viewType=$viewType; + $this->keyModified['view_type'] = 1; + + } + + /** + * The method to get the unique + * @return Unique An instance of Unique + */ + public function getUnique() + { + return $this->unique; + + } + + /** + * The method to set the value to unique + * @param Unique $unique An instance of Unique + */ + public function setUnique(Unique $unique) + { + $this->unique=$unique; + $this->keyModified['unique'] = 1; + + } + + /** + * The method to get the subModule + * @return MinifiedModule An instance of MinifiedModule + */ + public function getSubModule() + { + return $this->subModule; + + } + + /** + * The method to set the value to subModule + * @param MinifiedModule $subModule An instance of MinifiedModule + */ + public function setSubModule(MinifiedModule $subModule) + { + $this->subModule=$subModule; + $this->keyModified['sub_module'] = 1; + + } + + /** + * The method to get the external + * @return External An instance of External + */ + public function getExternal() + { + return $this->external; + + } + + /** + * The method to set the value to external + * @param External $external An instance of External + */ + public function setExternal(External $external) + { + $this->external=$external; + $this->keyModified['external'] = 1; + + } + + /** + * The method to get the private + * @return Private1 An instance of Private1 + */ + public function getPrivate() + { + return $this->private; + + } + + /** + * The method to set the value to private + * @param Private1 $private An instance of Private1 + */ + public function setPrivate(Private1 $private) + { + $this->private=$private; + $this->keyModified['private'] = 1; + + } + + /** + * The method to get the convertMapping + * @return ConvertMapping An instance of ConvertMapping + */ + public function getConvertMapping() + { + return $this->convertMapping; + + } + + /** + * The method to set the value to convertMapping + * @param ConvertMapping $convertMapping An instance of ConvertMapping + */ + public function setConvertMapping(ConvertMapping $convertMapping) + { + $this->convertMapping=$convertMapping; + $this->keyModified['convert_mapping'] = 1; + + } + + /** + * The method to get the autonumber + * @return AutoNumber An instance of AutoNumber + */ + public function getAutonumber() + { + return $this->autonumber; + + } + + /** + * The method to set the value to autonumber + * @param AutoNumber $autonumber An instance of AutoNumber + */ + public function setAutonumber(AutoNumber $autonumber) + { + $this->autonumber=$autonumber; + $this->keyModified['autonumber'] = 1; + + } + + /** + * The method to get the autoNumber64 + * @return AutoNumber An instance of AutoNumber + */ + public function getAutoNumber64() + { + return $this->autoNumber64; + + } + + /** + * The method to set the value to autoNumber64 + * @param AutoNumber $autoNumber64 An instance of AutoNumber + */ + public function setAutoNumber64(AutoNumber $autoNumber64) + { + $this->autoNumber64=$autoNumber64; + $this->keyModified['auto_number'] = 1; + + } + + /** + * The method to get the crypt + * @return Crypt An instance of Crypt + */ + public function getCrypt() + { + return $this->crypt; + + } + + /** + * The method to set the value to crypt + * @param Crypt $crypt An instance of Crypt + */ + public function setCrypt(Crypt $crypt) + { + $this->crypt=$crypt; + $this->keyModified['crypt'] = 1; + + } + + /** + * The method to get the tooltip + * @return Tooltip An instance of Tooltip + */ + public function getTooltip() + { + return $this->tooltip; + + } + + /** + * The method to set the value to tooltip + * @param Tooltip $tooltip An instance of Tooltip + */ + public function setTooltip(Tooltip $tooltip) + { + $this->tooltip=$tooltip; + $this->keyModified['tooltip'] = 1; + + } + + /** + * The method to get the historyTracking + * @return HistoryTracking An instance of HistoryTracking + */ + public function getHistoryTracking() + { + return $this->historyTracking; + + } + + /** + * The method to set the value to historyTracking + * @param HistoryTracking $historyTracking An instance of HistoryTracking + */ + public function setHistoryTracking(HistoryTracking $historyTracking) + { + $this->historyTracking=$historyTracking; + $this->keyModified['history_tracking'] = 1; + + } + + /** + * The method to get the associationDetails + * @return AssociationDetails An instance of AssociationDetails + */ + public function getAssociationDetails() + { + return $this->associationDetails; + + } + + /** + * The method to set the value to associationDetails + * @param AssociationDetails $associationDetails An instance of AssociationDetails + */ + public function setAssociationDetails(AssociationDetails $associationDetails) + { + $this->associationDetails=$associationDetails; + $this->keyModified['association_details'] = 1; + + } + + /** + * The method to get the additionalColumn + * @return string A string representing the additionalColumn + */ + public function getAdditionalColumn() + { + return $this->additionalColumn; + + } + + /** + * The method to set the value to additionalColumn + * @param string $additionalColumn A string + */ + public function setAdditionalColumn(string $additionalColumn) + { + $this->additionalColumn=$additionalColumn; + $this->keyModified['additional_column'] = 1; + + } + + /** + * The method to get the fieldLabel + * @return string A string representing the fieldLabel + */ + public function getFieldLabel() + { + return $this->fieldLabel; + + } + + /** + * The method to set the value to fieldLabel + * @param string $fieldLabel A string + */ + public function setFieldLabel(string $fieldLabel) + { + $this->fieldLabel=$fieldLabel; + $this->keyModified['field_label'] = 1; + + } + + /** + * The method to get the globalPicklist + */ + public function getGlobalPicklist() + { + return $this->globalPicklist; + + } + + /** + * The method to set the value to globalPicklist + * @param + */ + public function setGlobalPicklist( $globalPicklist) + { + $this->globalPicklist=$globalPicklist; + $this->keyModified['global_picklist'] = 1; + + } + + /** + * The method to get the updateexistingrecords + * @return bool A bool representing the updateexistingrecords + */ + public function getUpdateexistingrecords() + { + return $this->updateexistingrecords; + + } + + /** + * The method to set the value to updateexistingrecords + * @param bool $updateexistingrecords A bool + */ + public function setUpdateexistingrecords(bool $updateexistingrecords) + { + $this->updateexistingrecords=$updateexistingrecords; + $this->keyModified['_update_existing_records'] = 1; + + } + + /** + * The method to get the numberSeparator + * @return bool A bool representing the numberSeparator + */ + public function getNumberSeparator() + { + return $this->numberSeparator; + + } + + /** + * The method to set the value to numberSeparator + * @param bool $numberSeparator A bool + */ + public function setNumberSeparator(bool $numberSeparator) + { + $this->numberSeparator=$numberSeparator; + $this->keyModified['number_separator'] = 1; + + } + + /** + * The method to get the textarea + * @return Textarea An instance of Textarea + */ + public function getTextarea() + { + return $this->textarea; + + } + + /** + * The method to set the value to textarea + * @param Textarea $textarea An instance of Textarea + */ + public function setTextarea(Textarea $textarea) + { + $this->textarea=$textarea; + $this->keyModified['textarea'] = 1; + + } + + /** + * The method to get the staticField + * @return bool A bool representing the staticField + */ + public function getStaticField() + { + return $this->staticField; + + } + + /** + * The method to set the value to staticField + * @param bool $staticField A bool + */ + public function setStaticField(bool $staticField) + { + $this->staticField=$staticField; + $this->keyModified['static_field'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/modules/Modules.php b/versions/5.0.0/src/com/zoho/crm/api/modules/Modules.php new file mode 100644 index 0000000..5da3a4d --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/modules/Modules.php @@ -0,0 +1,1473 @@ +hasMoreProfiles; + + } + + /** + * The method to set the value to hasMoreProfiles + * @param bool $hasMoreProfiles A bool + */ + public function setHasMoreProfiles(bool $hasMoreProfiles) + { + $this->hasMoreProfiles=$hasMoreProfiles; + $this->keyModified['has_more_profiles'] = 1; + + } + + /** + * The method to get the subMenuAvailable + * @return bool A bool representing the subMenuAvailable + */ + public function getSubMenuAvailable() + { + return $this->subMenuAvailable; + + } + + /** + * The method to set the value to subMenuAvailable + * @param bool $subMenuAvailable A bool + */ + public function setSubMenuAvailable(bool $subMenuAvailable) + { + $this->subMenuAvailable=$subMenuAvailable; + $this->keyModified['sub_menu_available'] = 1; + + } + + /** + * The method to get the globalSearchSupported + * @return bool A bool representing the globalSearchSupported + */ + public function getGlobalSearchSupported() + { + return $this->globalSearchSupported; + + } + + /** + * The method to set the value to globalSearchSupported + * @param bool $globalSearchSupported A bool + */ + public function setGlobalSearchSupported(bool $globalSearchSupported) + { + $this->globalSearchSupported=$globalSearchSupported; + $this->keyModified['global_search_supported'] = 1; + + } + + /** + * The method to get the deletable + * @return bool A bool representing the deletable + */ + public function getDeletable() + { + return $this->deletable; + + } + + /** + * The method to set the value to deletable + * @param bool $deletable A bool + */ + public function setDeletable(bool $deletable) + { + $this->deletable=$deletable; + $this->keyModified['deletable'] = 1; + + } + + /** + * The method to get the description + * @return string A string representing the description + */ + public function getDescription() + { + return $this->description; + + } + + /** + * The method to set the value to description + * @param string $description A string + */ + public function setDescription(string $description) + { + $this->description=$description; + $this->keyModified['description'] = 1; + + } + + /** + * The method to get the creatable + * @return bool A bool representing the creatable + */ + public function getCreatable() + { + return $this->creatable; + + } + + /** + * The method to set the value to creatable + * @param bool $creatable A bool + */ + public function setCreatable(bool $creatable) + { + $this->creatable=$creatable; + $this->keyModified['creatable'] = 1; + + } + + /** + * The method to get the recycleBinOnDelete + * @return bool A bool representing the recycleBinOnDelete + */ + public function getRecycleBinOnDelete() + { + return $this->recycleBinOnDelete; + + } + + /** + * The method to set the value to recycleBinOnDelete + * @param bool $recycleBinOnDelete A bool + */ + public function setRecycleBinOnDelete(bool $recycleBinOnDelete) + { + $this->recycleBinOnDelete=$recycleBinOnDelete; + $this->keyModified['recycle_bin_on_delete'] = 1; + + } + + /** + * The method to get the inventoryTemplateSupported + * @return bool A bool representing the inventoryTemplateSupported + */ + public function getInventoryTemplateSupported() + { + return $this->inventoryTemplateSupported; + + } + + /** + * The method to set the value to inventoryTemplateSupported + * @param bool $inventoryTemplateSupported A bool + */ + public function setInventoryTemplateSupported(bool $inventoryTemplateSupported) + { + $this->inventoryTemplateSupported=$inventoryTemplateSupported; + $this->keyModified['inventory_template_supported'] = 1; + + } + + /** + * The method to get the modifiedTime + * @return \DateTime An instance of \DateTime + */ + public function getModifiedTime() + { + return $this->modifiedTime; + + } + + /** + * The method to set the value to modifiedTime + * @param \DateTime $modifiedTime An instance of \DateTime + */ + public function setModifiedTime(\DateTime $modifiedTime) + { + $this->modifiedTime=$modifiedTime; + $this->keyModified['modified_time'] = 1; + + } + + /** + * The method to get the pluralLabel + * @return string A string representing the pluralLabel + */ + public function getPluralLabel() + { + return $this->pluralLabel; + + } + + /** + * The method to set the value to pluralLabel + * @param string $pluralLabel A string + */ + public function setPluralLabel(string $pluralLabel) + { + $this->pluralLabel=$pluralLabel; + $this->keyModified['plural_label'] = 1; + + } + + /** + * The method to get the presenceSubMenu + * @return bool A bool representing the presenceSubMenu + */ + public function getPresenceSubMenu() + { + return $this->presenceSubMenu; + + } + + /** + * The method to set the value to presenceSubMenu + * @param bool $presenceSubMenu A bool + */ + public function setPresenceSubMenu(bool $presenceSubMenu) + { + $this->presenceSubMenu=$presenceSubMenu; + $this->keyModified['presence_sub_menu'] = 1; + + } + + /** + * The method to get the triggersSupported + * @return bool A bool representing the triggersSupported + */ + public function getTriggersSupported() + { + return $this->triggersSupported; + + } + + /** + * The method to set the value to triggersSupported + * @param bool $triggersSupported A bool + */ + public function setTriggersSupported(bool $triggersSupported) + { + $this->triggersSupported=$triggersSupported; + $this->keyModified['triggers_supported'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the chartView + * @return bool A bool representing the chartView + */ + public function getChartView() + { + return $this->chartView; + + } + + /** + * The method to set the value to chartView + * @param bool $chartView A bool + */ + public function setChartView(bool $chartView) + { + $this->chartView=$chartView; + $this->keyModified['chart_view'] = 1; + + } + + /** + * The method to get the isblueprintsupported + * @return bool A bool representing the isblueprintsupported + */ + public function getIsblueprintsupported() + { + return $this->isblueprintsupported; + + } + + /** + * The method to set the value to isblueprintsupported + * @param bool $isblueprintsupported A bool + */ + public function setIsblueprintsupported(bool $isblueprintsupported) + { + $this->isblueprintsupported=$isblueprintsupported; + $this->keyModified['isBlueprintSupported'] = 1; + + } + + /** + * The method to get the visibility + * @return int A int representing the visibility + */ + public function getVisibility() + { + return $this->visibility; + + } + + /** + * The method to set the value to visibility + * @param int $visibility A int + */ + public function setVisibility(int $visibility) + { + $this->visibility=$visibility; + $this->keyModified['visibility'] = 1; + + } + + /** + * The method to get the visible + * @return bool A bool representing the visible + */ + public function getVisible() + { + return $this->visible; + + } + + /** + * The method to set the value to visible + * @param bool $visible A bool + */ + public function setVisible(bool $visible) + { + $this->visible=$visible; + $this->keyModified['visible'] = 1; + + } + + /** + * The method to get the convertable + * @return bool A bool representing the convertable + */ + public function getConvertable() + { + return $this->convertable; + + } + + /** + * The method to set the value to convertable + * @param bool $convertable A bool + */ + public function setConvertable(bool $convertable) + { + $this->convertable=$convertable; + $this->keyModified['convertable'] = 1; + + } + + /** + * The method to get the editable + * @return bool A bool representing the editable + */ + public function getEditable() + { + return $this->editable; + + } + + /** + * The method to set the value to editable + * @param bool $editable A bool + */ + public function setEditable(bool $editable) + { + $this->editable=$editable; + $this->keyModified['editable'] = 1; + + } + + /** + * The method to get the emailtemplateSupport + * @return bool A bool representing the emailtemplateSupport + */ + public function getEmailtemplateSupport() + { + return $this->emailtemplateSupport; + + } + + /** + * The method to set the value to emailtemplateSupport + * @param bool $emailtemplateSupport A bool + */ + public function setEmailtemplateSupport(bool $emailtemplateSupport) + { + $this->emailtemplateSupport=$emailtemplateSupport; + $this->keyModified['emailTemplate_support'] = 1; + + } + + /** + * The method to get the emailParserSupported + * @return bool A bool representing the emailParserSupported + */ + public function getEmailParserSupported() + { + return $this->emailParserSupported; + + } + + /** + * The method to set the value to emailParserSupported + * @param bool $emailParserSupported A bool + */ + public function setEmailParserSupported(bool $emailParserSupported) + { + $this->emailParserSupported=$emailParserSupported; + $this->keyModified['email_parser_supported'] = 1; + + } + + /** + * The method to get the filterSupported + * @return bool A bool representing the filterSupported + */ + public function getFilterSupported() + { + return $this->filterSupported; + + } + + /** + * The method to set the value to filterSupported + * @param bool $filterSupported A bool + */ + public function setFilterSupported(bool $filterSupported) + { + $this->filterSupported=$filterSupported; + $this->keyModified['filter_supported'] = 1; + + } + + /** + * The method to get the showAsTab + * @return bool A bool representing the showAsTab + */ + public function getShowAsTab() + { + return $this->showAsTab; + + } + + /** + * The method to set the value to showAsTab + * @param bool $showAsTab A bool + */ + public function setShowAsTab(bool $showAsTab) + { + $this->showAsTab=$showAsTab; + $this->keyModified['show_as_tab'] = 1; + + } + + /** + * The method to get the webLink + * @return string A string representing the webLink + */ + public function getWebLink() + { + return $this->webLink; + + } + + /** + * The method to set the value to webLink + * @param string $webLink A string + */ + public function setWebLink(string $webLink) + { + $this->webLink=$webLink; + $this->keyModified['web_link'] = 1; + + } + + /** + * The method to get the sequenceNumber + * @return int A int representing the sequenceNumber + */ + public function getSequenceNumber() + { + return $this->sequenceNumber; + + } + + /** + * The method to set the value to sequenceNumber + * @param int $sequenceNumber A int + */ + public function setSequenceNumber(int $sequenceNumber) + { + $this->sequenceNumber=$sequenceNumber; + $this->keyModified['sequence_number'] = 1; + + } + + /** + * The method to get the singularLabel + * @return string A string representing the singularLabel + */ + public function getSingularLabel() + { + return $this->singularLabel; + + } + + /** + * The method to set the value to singularLabel + * @param string $singularLabel A string + */ + public function setSingularLabel(string $singularLabel) + { + $this->singularLabel=$singularLabel; + $this->keyModified['singular_label'] = 1; + + } + + /** + * The method to get the viewable + * @return bool A bool representing the viewable + */ + public function getViewable() + { + return $this->viewable; + + } + + /** + * The method to set the value to viewable + * @param bool $viewable A bool + */ + public function setViewable(bool $viewable) + { + $this->viewable=$viewable; + $this->keyModified['viewable'] = 1; + + } + + /** + * The method to get the aPISupported + * @return bool A bool representing the apiSupported + */ + public function getAPISupported() + { + return $this->apiSupported; + + } + + /** + * The method to set the value to aPISupported + * @param bool $apiSupported A bool + */ + public function setAPISupported(bool $apiSupported) + { + $this->apiSupported=$apiSupported; + $this->keyModified['api_supported'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the quickCreate + * @return bool A bool representing the quickCreate + */ + public function getQuickCreate() + { + return $this->quickCreate; + + } + + /** + * The method to set the value to quickCreate + * @param bool $quickCreate A bool + */ + public function setQuickCreate(bool $quickCreate) + { + $this->quickCreate=$quickCreate; + $this->keyModified['quick_create'] = 1; + + } + + /** + * The method to get the generatedType + * @return Choice An instance of Choice + */ + public function getGeneratedType() + { + return $this->generatedType; + + } + + /** + * The method to set the value to generatedType + * @param Choice $generatedType An instance of Choice + */ + public function setGeneratedType(Choice $generatedType) + { + $this->generatedType=$generatedType; + $this->keyModified['generated_type'] = 1; + + } + + /** + * The method to get the feedsRequired + * @return bool A bool representing the feedsRequired + */ + public function getFeedsRequired() + { + return $this->feedsRequired; + + } + + /** + * The method to set the value to feedsRequired + * @param bool $feedsRequired A bool + */ + public function setFeedsRequired(bool $feedsRequired) + { + $this->feedsRequired=$feedsRequired; + $this->keyModified['feeds_required'] = 1; + + } + + /** + * The method to get the scoringSupported + * @return bool A bool representing the scoringSupported + */ + public function getScoringSupported() + { + return $this->scoringSupported; + + } + + /** + * The method to set the value to scoringSupported + * @param bool $scoringSupported A bool + */ + public function setScoringSupported(bool $scoringSupported) + { + $this->scoringSupported=$scoringSupported; + $this->keyModified['scoring_supported'] = 1; + + } + + /** + * The method to get the webformSupported + * @return bool A bool representing the webformSupported + */ + public function getWebformSupported() + { + return $this->webformSupported; + + } + + /** + * The method to set the value to webformSupported + * @param bool $webformSupported A bool + */ + public function setWebformSupported(bool $webformSupported) + { + $this->webformSupported=$webformSupported; + $this->keyModified['webform_supported'] = 1; + + } + + /** + * The method to get the territory + * @return Territory An instance of Territory + */ + public function getTerritory() + { + return $this->territory; + + } + + /** + * The method to set the value to territory + * @param Territory $territory An instance of Territory + */ + public function setTerritory(Territory $territory) + { + $this->territory=$territory; + $this->keyModified['territory'] = 1; + + } + + /** + * The method to get the arguments + * @return array A array representing the arguments + */ + public function getArguments() + { + return $this->arguments; + + } + + /** + * The method to set the value to arguments + * @param array $arguments A array + */ + public function setArguments(array $arguments) + { + $this->arguments=$arguments; + $this->keyModified['arguments'] = 1; + + } + + /** + * The method to get the moduleName + * @return string A string representing the moduleName + */ + public function getModuleName() + { + return $this->moduleName; + + } + + /** + * The method to set the value to moduleName + * @param string $moduleName A string + */ + public function setModuleName(string $moduleName) + { + $this->moduleName=$moduleName; + $this->keyModified['module_name'] = 1; + + } + + /** + * The method to get the chartViewSupported + * @return bool A bool representing the chartViewSupported + */ + public function getChartViewSupported() + { + return $this->chartViewSupported; + + } + + /** + * The method to set the value to chartViewSupported + * @param bool $chartViewSupported A bool + */ + public function setChartViewSupported(bool $chartViewSupported) + { + $this->chartViewSupported=$chartViewSupported; + $this->keyModified['chart_view_supported'] = 1; + + } + + /** + * The method to get the profileCount + * @return int A int representing the profileCount + */ + public function getProfileCount() + { + return $this->profileCount; + + } + + /** + * The method to set the value to profileCount + * @param int $profileCount A int + */ + public function setProfileCount(int $profileCount) + { + $this->profileCount=$profileCount; + $this->keyModified['profile_count'] = 1; + + } + + /** + * The method to get the businessCardFieldLimit + * @return int A int representing the businessCardFieldLimit + */ + public function getBusinessCardFieldLimit() + { + return $this->businessCardFieldLimit; + + } + + /** + * The method to set the value to businessCardFieldLimit + * @param int $businessCardFieldLimit A int + */ + public function setBusinessCardFieldLimit(int $businessCardFieldLimit) + { + $this->businessCardFieldLimit=$businessCardFieldLimit; + $this->keyModified['business_card_field_limit'] = 1; + + } + + /** + * The method to get the trackCurrentData + * @return bool A bool representing the trackCurrentData + */ + public function getTrackCurrentData() + { + return $this->trackCurrentData; + + } + + /** + * The method to set the value to trackCurrentData + * @param bool $trackCurrentData A bool + */ + public function setTrackCurrentData(bool $trackCurrentData) + { + $this->trackCurrentData=$trackCurrentData; + $this->keyModified['track_current_data'] = 1; + + } + + /** + * The method to get the modifiedBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getModifiedBy() + { + return $this->modifiedBy; + + } + + /** + * The method to set the value to modifiedBy + * @param MinifiedUser $modifiedBy An instance of MinifiedUser + */ + public function setModifiedBy(MinifiedUser $modifiedBy) + { + $this->modifiedBy=$modifiedBy; + $this->keyModified['modified_by'] = 1; + + } + + /** + * The method to get the profiles + * @return array A array representing the profiles + */ + public function getProfiles() + { + return $this->profiles; + + } + + /** + * The method to set the value to profiles + * @param array $profiles A array + */ + public function setProfiles(array $profiles) + { + $this->profiles=$profiles; + $this->keyModified['profiles'] = 1; + + } + + /** + * The method to get the parentModule + * @return MinifiedModule An instance of MinifiedModule + */ + public function getParentModule() + { + return $this->parentModule; + + } + + /** + * The method to set the value to parentModule + * @param MinifiedModule $parentModule An instance of MinifiedModule + */ + public function setParentModule(MinifiedModule $parentModule) + { + $this->parentModule=$parentModule; + $this->keyModified['parent_module'] = 1; + + } + + /** + * The method to get the activityBadge + * @return Choice An instance of Choice + */ + public function getActivityBadge() + { + return $this->activityBadge; + + } + + /** + * The method to set the value to activityBadge + * @param Choice $activityBadge An instance of Choice + */ + public function setActivityBadge(Choice $activityBadge) + { + $this->activityBadge=$activityBadge; + $this->keyModified['activity_badge'] = 1; + + } + + /** + * The method to get the fieldStates + * @return array A array representing the fieldStates + */ + public function getFieldStates() + { + return $this->fieldStates; + + } + + /** + * The method to set the value to fieldStates + * @param array $fieldStates A array + */ + public function setFieldStates(array $fieldStates) + { + $this->fieldStates=$fieldStates; + $this->keyModified['$field_states'] = 1; + + } + + /** + * The method to get the businessCardFields + * @return array A array representing the businessCardFields + */ + public function getBusinessCardFields() + { + return $this->businessCardFields; + + } + + /** + * The method to set the value to businessCardFields + * @param array $businessCardFields A array + */ + public function setBusinessCardFields(array $businessCardFields) + { + $this->businessCardFields=$businessCardFields; + $this->keyModified['business_card_fields'] = 1; + + } + + /** + * The method to get the perPage + * @return int A int representing the perPage + */ + public function getPerPage() + { + return $this->perPage; + + } + + /** + * The method to set the value to perPage + * @param int $perPage A int + */ + public function setPerPage(int $perPage) + { + $this->perPage=$perPage; + $this->keyModified['per_page'] = 1; + + } + + /** + * The method to get the properties + * @return array A array representing the properties + */ + public function getProperties() + { + return $this->properties; + + } + + /** + * The method to set the value to properties + * @param array $properties A array + */ + public function setProperties(array $properties) + { + $this->properties=$properties; + $this->keyModified['$properties'] = 1; + + } + + /** + * The method to get the onDemandProperties + * @return array A array representing the onDemandProperties + */ + public function getOnDemandProperties() + { + return $this->onDemandProperties; + + } + + /** + * The method to set the value to onDemandProperties + * @param array $onDemandProperties A array + */ + public function setOnDemandProperties(array $onDemandProperties) + { + $this->onDemandProperties=$onDemandProperties; + $this->keyModified['$on_demand_properties'] = 1; + + } + + /** + * The method to get the searchLayoutFields + * @return array A array representing the searchLayoutFields + */ + public function getSearchLayoutFields() + { + return $this->searchLayoutFields; + + } + + /** + * The method to set the value to searchLayoutFields + * @param array $searchLayoutFields A array + */ + public function setSearchLayoutFields(array $searchLayoutFields) + { + $this->searchLayoutFields=$searchLayoutFields; + $this->keyModified['search_layout_fields'] = 1; + + } + + /** + * The method to get the kanbanViewSupported + * @return bool A bool representing the kanbanViewSupported + */ + public function getKanbanViewSupported() + { + return $this->kanbanViewSupported; + + } + + /** + * The method to set the value to kanbanViewSupported + * @param bool $kanbanViewSupported A bool + */ + public function setKanbanViewSupported(bool $kanbanViewSupported) + { + $this->kanbanViewSupported=$kanbanViewSupported; + $this->keyModified['kanban_view_supported'] = 1; + + } + + /** + * The method to get the lookupFieldProperties + * @return LookupFieldProperties An instance of LookupFieldProperties + */ + public function getLookupFieldProperties() + { + return $this->lookupFieldProperties; + + } + + /** + * The method to set the value to lookupFieldProperties + * @param LookupFieldProperties $lookupFieldProperties An instance of LookupFieldProperties + */ + public function setLookupFieldProperties(LookupFieldProperties $lookupFieldProperties) + { + $this->lookupFieldProperties=$lookupFieldProperties; + $this->keyModified['lookup_field_properties'] = 1; + + } + + /** + * The method to get the kanbanView + * @return bool A bool representing the kanbanView + */ + public function getKanbanView() + { + return $this->kanbanView; + + } + + /** + * The method to set the value to kanbanView + * @param bool $kanbanView A bool + */ + public function setKanbanView(bool $kanbanView) + { + $this->kanbanView=$kanbanView; + $this->keyModified['kanban_view'] = 1; + + } + + /** + * The method to get the relatedLists + * @return array A array representing the relatedLists + */ + public function getRelatedLists() + { + return $this->relatedLists; + + } + + /** + * The method to set the value to relatedLists + * @param array $relatedLists A array + */ + public function setRelatedLists(array $relatedLists) + { + $this->relatedLists=$relatedLists; + $this->keyModified['related_lists'] = 1; + + } + + /** + * The method to get the filterStatus + * @return bool A bool representing the filterStatus + */ + public function getFilterStatus() + { + return $this->filterStatus; + + } + + /** + * The method to set the value to filterStatus + * @param bool $filterStatus A bool + */ + public function setFilterStatus(bool $filterStatus) + { + $this->filterStatus=$filterStatus; + $this->keyModified['filter_status'] = 1; + + } + + /** + * The method to get the relatedListProperties + * @return RelatedListProperties An instance of RelatedListProperties + */ + public function getRelatedListProperties() + { + return $this->relatedListProperties; + + } + + /** + * The method to set the value to relatedListProperties + * @param RelatedListProperties $relatedListProperties An instance of RelatedListProperties + */ + public function setRelatedListProperties(RelatedListProperties $relatedListProperties) + { + $this->relatedListProperties=$relatedListProperties; + $this->keyModified['related_list_properties'] = 1; + + } + + /** + * The method to get the displayField + * @return string A string representing the displayField + */ + public function getDisplayField() + { + return $this->displayField; + + } + + /** + * The method to set the value to displayField + * @param string $displayField A string + */ + public function setDisplayField(string $displayField) + { + $this->displayField=$displayField; + $this->keyModified['display_field'] = 1; + + } + + /** + * The method to get the layouts + * @return array A array representing the layouts + */ + public function getLayouts() + { + return $this->layouts; + + } + + /** + * The method to set the value to layouts + * @param array $layouts A array + */ + public function setLayouts(array $layouts) + { + $this->layouts=$layouts; + $this->keyModified['layouts'] = 1; + + } + + /** + * The method to get the fields + * @return array A array representing the fields + */ + public function getFields() + { + return $this->fields; + + } + + /** + * The method to set the value to fields + * @param array $fields A array + */ + public function setFields(array $fields) + { + $this->fields=$fields; + $this->keyModified['fields'] = 1; + + } + + /** + * The method to get the customView + * @return CustomViews An instance of CustomViews + */ + public function getCustomView() + { + return $this->customView; + + } + + /** + * The method to set the value to customView + * @param CustomViews $customView An instance of CustomViews + */ + public function setCustomView(CustomViews $customView) + { + $this->customView=$customView; + $this->keyModified['custom_view'] = 1; + + } + + /** + * The method to get the ziaView + * @return bool A bool representing the ziaView + */ + public function getZiaView() + { + return $this->ziaView; + + } + + /** + * The method to set the value to ziaView + * @param bool $ziaView A bool + */ + public function setZiaView(bool $ziaView) + { + $this->ziaView=$ziaView; + $this->keyModified['zia_view'] = 1; + + } + + /** + * The method to get the defaultMappingFields + * @return array A array representing the defaultMappingFields + */ + public function getDefaultMappingFields() + { + return $this->defaultMappingFields; + + } + + /** + * The method to set the value to defaultMappingFields + * @param array $defaultMappingFields A array + */ + public function setDefaultMappingFields(array $defaultMappingFields) + { + $this->defaultMappingFields=$defaultMappingFields; + $this->keyModified['default_mapping_fields'] = 1; + + } + + /** + * The method to get the status + * @return string A string representing the status + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param string $status A string + */ + public function setStatus(string $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the staticSubformProperties + * @return StaticSubformProperties An instance of StaticSubformProperties + */ + public function getStaticSubformProperties() + { + return $this->staticSubformProperties; + + } + + /** + * The method to set the value to staticSubformProperties + * @param StaticSubformProperties $staticSubformProperties An instance of StaticSubformProperties + */ + public function setStaticSubformProperties(StaticSubformProperties $staticSubformProperties) + { + $this->staticSubformProperties=$staticSubformProperties; + $this->keyModified['static_subform_properties'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/modules/ModulesOperations.php b/versions/5.0.0/src/com/zoho/crm/api/modules/ModulesOperations.php new file mode 100644 index 0000000..7868d47 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/modules/ModulesOperations.php @@ -0,0 +1,110 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setHeader($headerInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to get module by api name + * @param string $apiName A string + * @return APIResponse An instance of APIResponse + */ + public function getModuleByAPIName(string $apiName) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/modules/'); + $apiPath=$apiPath.(strval($apiName)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to update module by api name + * @param string $apiName A string + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updateModuleByAPIName(string $apiName, BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/modules/'); + $apiPath=$apiPath.(strval($apiName)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get module + * @param string $id A string + * @return APIResponse An instance of APIResponse + */ + public function getModule(string $id) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/modules/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to update module + * @param string $id A string + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updateModule(string $id, BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/modules/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/modules/RelatedListProperties.php b/versions/5.0.0/src/com/zoho/crm/api/modules/RelatedListProperties.php new file mode 100644 index 0000000..8dd299a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/modules/RelatedListProperties.php @@ -0,0 +1,104 @@ +sortBy; + + } + + /** + * The method to set the value to sortBy + * @param MinifiedField $sortBy An instance of MinifiedField + */ + public function setSortBy(MinifiedField $sortBy) + { + $this->sortBy=$sortBy; + $this->keyModified['sort_by'] = 1; + + } + + /** + * The method to get the fields + * @return array A array representing the fields + */ + public function getFields() + { + return $this->fields; + + } + + /** + * The method to set the value to fields + * @param array $fields A array + */ + public function setFields(array $fields) + { + $this->fields=$fields; + $this->keyModified['fields'] = 1; + + } + + /** + * The method to get the sortOrder + * @return string A string representing the sortOrder + */ + public function getSortOrder() + { + return $this->sortOrder; + + } + + /** + * The method to set the value to sortOrder + * @param string $sortOrder A string + */ + public function setSortOrder(string $sortOrder) + { + $this->sortOrder=$sortOrder; + $this->keyModified['sort_order'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/modules/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/modules/ResponseHandler.php new file mode 100644 index 0000000..571da2e --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/modules/ResponseHandler.php @@ -0,0 +1,7 @@ +modules; + + } + + /** + * The method to set the value to modules + * @param array $modules A array + */ + public function setModules(array $modules) + { + $this->modules=$modules; + $this->keyModified['modules'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/modules/SharingProperties.php b/versions/5.0.0/src/com/zoho/crm/api/modules/SharingProperties.php new file mode 100644 index 0000000..46feee1 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/modules/SharingProperties.php @@ -0,0 +1,104 @@ +schedulerStatus; + + } + + /** + * The method to set the value to schedulerStatus + * @param string $schedulerStatus A string + */ + public function setSchedulerStatus(string $schedulerStatus) + { + $this->schedulerStatus=$schedulerStatus; + $this->keyModified['scheduler_status'] = 1; + + } + + /** + * The method to get the sharePreferenceEnabled + * @return bool A bool representing the sharePreferenceEnabled + */ + public function getSharePreferenceEnabled() + { + return $this->sharePreferenceEnabled; + + } + + /** + * The method to set the value to sharePreferenceEnabled + * @param bool $sharePreferenceEnabled A bool + */ + public function setSharePreferenceEnabled(bool $sharePreferenceEnabled) + { + $this->sharePreferenceEnabled=$sharePreferenceEnabled; + $this->keyModified['share_preference_enabled'] = 1; + + } + + /** + * The method to get the sharePermission + * @return Choice An instance of Choice + */ + public function getSharePermission() + { + return $this->sharePermission; + + } + + /** + * The method to set the value to sharePermission + * @param Choice $sharePermission An instance of Choice + */ + public function setSharePermission(Choice $sharePermission) + { + $this->sharePermission=$sharePermission; + $this->keyModified['share_permission'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/modules/StaticSubformField.php b/versions/5.0.0/src/com/zoho/crm/api/modules/StaticSubformField.php new file mode 100644 index 0000000..af52ed6 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/modules/StaticSubformField.php @@ -0,0 +1,81 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/modules/StaticSubformProperties.php b/versions/5.0.0/src/com/zoho/crm/api/modules/StaticSubformProperties.php new file mode 100644 index 0000000..14e0025 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/modules/StaticSubformProperties.php @@ -0,0 +1,59 @@ +fields; + + } + + /** + * The method to set the value to fields + * @param array $fields A array + */ + public function setFields(array $fields) + { + $this->fields=$fields; + $this->keyModified['fields'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/modules/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/modules/SuccessResponse.php new file mode 100644 index 0000000..e94b2aa --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/modules/SuccessResponse.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/modules/Territory.php b/versions/5.0.0/src/com/zoho/crm/api/modules/Territory.php new file mode 100644 index 0000000..66a3d83 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/modules/Territory.php @@ -0,0 +1,103 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the subordinates + * @return bool A bool representing the subordinates + */ + public function getSubordinates() + { + return $this->subordinates; + + } + + /** + * The method to set the value to subordinates + * @param bool $subordinates A bool + */ + public function setSubordinates(bool $subordinates) + { + $this->subordinates=$subordinates; + $this->keyModified['subordinates'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/notes/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/notes/APIException.php new file mode 100644 index 0000000..b0bc5de --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/notes/APIException.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/notes/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/notes/ActionHandler.php new file mode 100644 index 0000000..4aecb8a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/notes/ActionHandler.php @@ -0,0 +1,7 @@ +data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/notes/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/notes/BodyWrapper.php new file mode 100644 index 0000000..6e13008 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/notes/BodyWrapper.php @@ -0,0 +1,59 @@ +data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/notes/DeleteNotesParam.php b/versions/5.0.0/src/com/zoho/crm/api/notes/DeleteNotesParam.php new file mode 100644 index 0000000..ac101fd --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/notes/DeleteNotesParam.php @@ -0,0 +1,14 @@ +perPage; + + } + + /** + * The method to set the value to perPage + * @param int $perPage A int + */ + public function setPerPage(int $perPage) + { + $this->perPage=$perPage; + $this->keyModified['per_page'] = 1; + + } + + /** + * The method to get the nextPageToken + * @return string A string representing the nextPageToken + */ + public function getNextPageToken() + { + return $this->nextPageToken; + + } + + /** + * The method to set the value to nextPageToken + * @param string $nextPageToken A string + */ + public function setNextPageToken(string $nextPageToken) + { + $this->nextPageToken=$nextPageToken; + $this->keyModified['next_page_token'] = 1; + + } + + /** + * The method to get the count + * @return int A int representing the count + */ + public function getCount() + { + return $this->count; + + } + + /** + * The method to set the value to count + * @param int $count A int + */ + public function setCount(int $count) + { + $this->count=$count; + $this->keyModified['count'] = 1; + + } + + /** + * The method to get the sortBy + * @return string A string representing the sortBy + */ + public function getSortBy() + { + return $this->sortBy; + + } + + /** + * The method to set the value to sortBy + * @param string $sortBy A string + */ + public function setSortBy(string $sortBy) + { + $this->sortBy=$sortBy; + $this->keyModified['sort_by'] = 1; + + } + + /** + * The method to get the page + * @return int A int representing the page + */ + public function getPage() + { + return $this->page; + + } + + /** + * The method to set the value to page + * @param int $page A int + */ + public function setPage(int $page) + { + $this->page=$page; + $this->keyModified['page'] = 1; + + } + + /** + * The method to get the previousPageToken + * @return string A string representing the previousPageToken + */ + public function getPreviousPageToken() + { + return $this->previousPageToken; + + } + + /** + * The method to set the value to previousPageToken + * @param string $previousPageToken A string + */ + public function setPreviousPageToken(string $previousPageToken) + { + $this->previousPageToken=$previousPageToken; + $this->keyModified['previous_page_token'] = 1; + + } + + /** + * The method to get the pageTokenExpiry + * @return \DateTime An instance of \DateTime + */ + public function getPageTokenExpiry() + { + return $this->pageTokenExpiry; + + } + + /** + * The method to set the value to pageTokenExpiry + * @param \DateTime $pageTokenExpiry An instance of \DateTime + */ + public function setPageTokenExpiry(\DateTime $pageTokenExpiry) + { + $this->pageTokenExpiry=$pageTokenExpiry; + $this->keyModified['page_token_expiry'] = 1; + + } + + /** + * The method to get the sortOrder + * @return string A string representing the sortOrder + */ + public function getSortOrder() + { + return $this->sortOrder; + + } + + /** + * The method to set the value to sortOrder + * @param string $sortOrder A string + */ + public function setSortOrder(string $sortOrder) + { + $this->sortOrder=$sortOrder; + $this->keyModified['sort_order'] = 1; + + } + + /** + * The method to get the moreRecords + * @return bool A bool representing the moreRecords + */ + public function getMoreRecords() + { + return $this->moreRecords; + + } + + /** + * The method to set the value to moreRecords + * @param bool $moreRecords A bool + */ + public function setMoreRecords(bool $moreRecords) + { + $this->moreRecords=$moreRecords; + $this->keyModified['more_records'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/notes/Note.php b/versions/5.0.0/src/com/zoho/crm/api/notes/Note.php new file mode 100644 index 0000000..ccfa168 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/notes/Note.php @@ -0,0 +1,392 @@ +modifiedTime; + + } + + /** + * The method to set the value to modifiedTime + * @param \DateTime $modifiedTime An instance of \DateTime + */ + public function setModifiedTime(\DateTime $modifiedTime) + { + $this->modifiedTime=$modifiedTime; + $this->keyModified['Modified_Time'] = 1; + + } + + /** + * The method to get the attachments + * @return array A array representing the attachments + */ + public function getAttachments() + { + return $this->attachments; + + } + + /** + * The method to set the value to attachments + * @param array $attachments A array + */ + public function setAttachments(array $attachments) + { + $this->attachments=$attachments; + $this->keyModified['$attachments'] = 1; + + } + + /** + * The method to get the owner + * @return MinifiedUser An instance of MinifiedUser + */ + public function getOwner() + { + return $this->owner; + + } + + /** + * The method to set the value to owner + * @param MinifiedUser $owner An instance of MinifiedUser + */ + public function setOwner(MinifiedUser $owner) + { + $this->owner=$owner; + $this->keyModified['Owner'] = 1; + + } + + /** + * The method to get the createdTime + * @return \DateTime An instance of \DateTime + */ + public function getCreatedTime() + { + return $this->createdTime; + + } + + /** + * The method to set the value to createdTime + * @param \DateTime $createdTime An instance of \DateTime + */ + public function setCreatedTime(\DateTime $createdTime) + { + $this->createdTime=$createdTime; + $this->keyModified['Created_Time'] = 1; + + } + + /** + * The method to get the parentId + * @return Record An instance of Record + */ + public function getParentId() + { + return $this->parentId; + + } + + /** + * The method to set the value to parentId + * @param Record $parentId An instance of Record + */ + public function setParentId(Record $parentId) + { + $this->parentId=$parentId; + $this->keyModified['Parent_Id'] = 1; + + } + + /** + * The method to get the editable + * @return bool A bool representing the editable + */ + public function getEditable() + { + return $this->editable; + + } + + /** + * The method to set the value to editable + * @param bool $editable A bool + */ + public function setEditable(bool $editable) + { + $this->editable=$editable; + $this->keyModified['$editable'] = 1; + + } + + /** + * The method to get the isSharedToClient + * @return bool A bool representing the isSharedToClient + */ + public function getIsSharedToClient() + { + return $this->isSharedToClient; + + } + + /** + * The method to set the value to isSharedToClient + * @param bool $isSharedToClient A bool + */ + public function setIsSharedToClient(bool $isSharedToClient) + { + $this->isSharedToClient=$isSharedToClient; + $this->keyModified['$is_shared_to_client'] = 1; + + } + + /** + * The method to get the sharingPermission + * @return string A string representing the sharingPermission + */ + public function getSharingPermission() + { + return $this->sharingPermission; + + } + + /** + * The method to set the value to sharingPermission + * @param string $sharingPermission A string + */ + public function setSharingPermission(string $sharingPermission) + { + $this->sharingPermission=$sharingPermission; + $this->keyModified['$sharing_permission'] = 1; + + } + + /** + * The method to get the modifiedBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getModifiedBy() + { + return $this->modifiedBy; + + } + + /** + * The method to set the value to modifiedBy + * @param MinifiedUser $modifiedBy An instance of MinifiedUser + */ + public function setModifiedBy(MinifiedUser $modifiedBy) + { + $this->modifiedBy=$modifiedBy; + $this->keyModified['Modified_By'] = 1; + + } + + /** + * The method to get the size + * @return string A string representing the size + */ + public function getSize() + { + return $this->size; + + } + + /** + * The method to set the value to size + * @param string $size A string + */ + public function setSize(string $size) + { + $this->size=$size; + $this->keyModified['$size'] = 1; + + } + + /** + * The method to get the state + * @return string A string representing the state + */ + public function getState() + { + return $this->state; + + } + + /** + * The method to set the value to state + * @param string $state A string + */ + public function setState(string $state) + { + $this->state=$state; + $this->keyModified['$state'] = 1; + + } + + /** + * The method to get the voiceNote + * @return bool A bool representing the voiceNote + */ + public function getVoiceNote() + { + return $this->voiceNote; + + } + + /** + * The method to set the value to voiceNote + * @param bool $voiceNote A bool + */ + public function setVoiceNote(bool $voiceNote) + { + $this->voiceNote=$voiceNote; + $this->keyModified['$voice_note'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the createdBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getCreatedBy() + { + return $this->createdBy; + + } + + /** + * The method to set the value to createdBy + * @param MinifiedUser $createdBy An instance of MinifiedUser + */ + public function setCreatedBy(MinifiedUser $createdBy) + { + $this->createdBy=$createdBy; + $this->keyModified['Created_By'] = 1; + + } + + /** + * The method to get the noteTitle + * @return string A string representing the noteTitle + */ + public function getNoteTitle() + { + return $this->noteTitle; + + } + + /** + * The method to set the value to noteTitle + * @param string $noteTitle A string + */ + public function setNoteTitle(string $noteTitle) + { + $this->noteTitle=$noteTitle; + $this->keyModified['Note_Title'] = 1; + + } + + /** + * The method to get the noteContent + * @return string A string representing the noteContent + */ + public function getNoteContent() + { + return $this->noteContent; + + } + + /** + * The method to set the value to noteContent + * @param string $noteContent A string + */ + public function setNoteContent(string $noteContent) + { + $this->noteContent=$noteContent; + $this->keyModified['Note_Content'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/notes/NotesOperations.php b/versions/5.0.0/src/com/zoho/crm/api/notes/NotesOperations.php new file mode 100644 index 0000000..5946dee --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/notes/NotesOperations.php @@ -0,0 +1,154 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + $handlerInstance->setHeader($headerInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to create notes + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function createNotes(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/Notes'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to update notes + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updateNotes(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/Notes'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to delete notes + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function deleteNotes(ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/Notes'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setCategoryMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get note + * @param string $id A string + * @param ParameterMap $paramInstance An instance of ParameterMap + * @param HeaderMap $headerInstance An instance of HeaderMap + * @return APIResponse An instance of APIResponse + */ + public function getNote(string $id, ParameterMap $paramInstance=null, HeaderMap $headerInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/Notes/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + $handlerInstance->setHeader($headerInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to update note + * @param string $id A string + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updateNote(string $id, BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/Notes/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to delete note + * @param string $id A string + * @return APIResponse An instance of APIResponse + */ + public function deleteNote(string $id) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/Notes/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setCategoryMethod(Constants::REQUEST_METHOD_DELETE); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/notes/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/notes/ResponseHandler.php new file mode 100644 index 0000000..c79dac7 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/notes/ResponseHandler.php @@ -0,0 +1,7 @@ +data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to get the info + * @return Info An instance of Info + */ + public function getInfo() + { + return $this->info; + + } + + /** + * The method to set the value to info + * @param Info $info An instance of Info + */ + public function setInfo(Info $info) + { + $this->info=$info; + $this->keyModified['info'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/notes/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/notes/SuccessResponse.php new file mode 100644 index 0000000..ffa2fa4 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/notes/SuccessResponse.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/notifications/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/notifications/APIException.php new file mode 100644 index 0000000..4acd805 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/notifications/APIException.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/notifications/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/notifications/ActionHandler.php new file mode 100644 index 0000000..7b219db --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/notifications/ActionHandler.php @@ -0,0 +1,7 @@ +watch; + + } + + /** + * The method to set the value to watch + * @param array $watch A array + */ + public function setWatch(array $watch) + { + $this->watch=$watch; + $this->keyModified['watch'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/notifications/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/notifications/BodyWrapper.php new file mode 100644 index 0000000..62fc978 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/notifications/BodyWrapper.php @@ -0,0 +1,59 @@ +watch; + + } + + /** + * The method to set the value to watch + * @param array $watch A array + */ + public function setWatch(array $watch) + { + $this->watch=$watch; + $this->keyModified['watch'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/notifications/Criteria.php b/versions/5.0.0/src/com/zoho/crm/api/notifications/Criteria.php new file mode 100644 index 0000000..4e1cc50 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/notifications/Criteria.php @@ -0,0 +1,146 @@ +comparator; + + } + + /** + * The method to set the value to comparator + * @param string $comparator A string + */ + public function setComparator(string $comparator) + { + $this->comparator=$comparator; + $this->keyModified['comparator'] = 1; + + } + + /** + * The method to get the field + * @return Field An instance of Field + */ + public function getField() + { + return $this->field; + + } + + /** + * The method to set the value to field + * @param Field $field An instance of Field + */ + public function setField(Field $field) + { + $this->field=$field; + $this->keyModified['field'] = 1; + + } + + /** + * The method to get the value + */ + public function getValue() + { + return $this->value; + + } + + /** + * The method to set the value to value + * @param + */ + public function setValue( $value) + { + $this->value=$value; + $this->keyModified['value'] = 1; + + } + + /** + * The method to get the groupOperator + * @return string A string representing the groupOperator + */ + public function getGroupOperator() + { + return $this->groupOperator; + + } + + /** + * The method to set the value to groupOperator + * @param string $groupOperator A string + */ + public function setGroupOperator(string $groupOperator) + { + $this->groupOperator=$groupOperator; + $this->keyModified['group_operator'] = 1; + + } + + /** + * The method to get the group + * @return array A array representing the group + */ + public function getGroup() + { + return $this->group; + + } + + /** + * The method to set the value to group + * @param array $group A array + */ + public function setGroup(array $group) + { + $this->group=$group; + $this->keyModified['group'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/notifications/DeleteNotificationParam.php b/versions/5.0.0/src/com/zoho/crm/api/notifications/DeleteNotificationParam.php new file mode 100644 index 0000000..2d6576c --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/notifications/DeleteNotificationParam.php @@ -0,0 +1,14 @@ +resourceName; + + } + + /** + * The method to set the value to resourceName + * @param string $resourceName A string + */ + public function setResourceName(string $resourceName) + { + $this->resourceName=$resourceName; + $this->keyModified['resource_name'] = 1; + + } + + /** + * The method to get the channelExpiry + * @return \DateTime An instance of \DateTime + */ + public function getChannelExpiry() + { + return $this->channelExpiry; + + } + + /** + * The method to set the value to channelExpiry + * @param \DateTime $channelExpiry An instance of \DateTime + */ + public function setChannelExpiry(\DateTime $channelExpiry) + { + $this->channelExpiry=$channelExpiry; + $this->keyModified['channel_expiry'] = 1; + + } + + /** + * The method to get the resourceId + * @return string A string representing the resourceId + */ + public function getResourceId() + { + return $this->resourceId; + + } + + /** + * The method to set the value to resourceId + * @param string $resourceId A string + */ + public function setResourceId(string $resourceId) + { + $this->resourceId=$resourceId; + $this->keyModified['resource_id'] = 1; + + } + + /** + * The method to get the resourceUri + * @return string A string representing the resourceUri + */ + public function getResourceUri() + { + return $this->resourceUri; + + } + + /** + * The method to set the value to resourceUri + * @param string $resourceUri A string + */ + public function setResourceUri(string $resourceUri) + { + $this->resourceUri=$resourceUri; + $this->keyModified['resource_uri'] = 1; + + } + + /** + * The method to get the channelId + * @return string A string representing the channelId + */ + public function getChannelId() + { + return $this->channelId; + + } + + /** + * The method to set the value to channelId + * @param string $channelId A string + */ + public function setChannelId(string $channelId) + { + $this->channelId=$channelId; + $this->keyModified['channel_id'] = 1; + + } + + /** + * The method to get the notificationCondition + * @return array A array representing the notificationCondition + */ + public function getNotificationCondition() + { + return $this->notificationCondition; + + } + + /** + * The method to set the value to notificationCondition + * @param array $notificationCondition A array + */ + public function setNotificationCondition(array $notificationCondition) + { + $this->notificationCondition=$notificationCondition; + $this->keyModified['notification_condition'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/notifications/Field.php b/versions/5.0.0/src/com/zoho/crm/api/notifications/Field.php new file mode 100644 index 0000000..5d90956 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/notifications/Field.php @@ -0,0 +1,81 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/notifications/GetNotificationsParam.php b/versions/5.0.0/src/com/zoho/crm/api/notifications/GetNotificationsParam.php new file mode 100644 index 0000000..9d4105a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/notifications/GetNotificationsParam.php @@ -0,0 +1,29 @@ +perPage; + + } + + /** + * The method to set the value to perPage + * @param int $perPage A int + */ + public function setPerPage(int $perPage) + { + $this->perPage=$perPage; + $this->keyModified['per_page'] = 1; + + } + + /** + * The method to get the page + * @return int A int representing the page + */ + public function getPage() + { + return $this->page; + + } + + /** + * The method to set the value to page + * @param int $page A int + */ + public function setPage(int $page) + { + $this->page=$page; + $this->keyModified['page'] = 1; + + } + + /** + * The method to get the count + * @return int A int representing the count + */ + public function getCount() + { + return $this->count; + + } + + /** + * The method to set the value to count + * @param int $count A int + */ + public function setCount(int $count) + { + $this->count=$count; + $this->keyModified['count'] = 1; + + } + + /** + * The method to get the moreRecords + * @return bool A bool representing the moreRecords + */ + public function getMoreRecords() + { + return $this->moreRecords; + + } + + /** + * The method to set the value to moreRecords + * @param bool $moreRecords A bool + */ + public function setMoreRecords(bool $moreRecords) + { + $this->moreRecords=$moreRecords; + $this->keyModified['more_records'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/notifications/Module.php b/versions/5.0.0/src/com/zoho/crm/api/notifications/Module.php new file mode 100644 index 0000000..8aa6d52 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/notifications/Module.php @@ -0,0 +1,81 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/notifications/Notification.php b/versions/5.0.0/src/com/zoho/crm/api/notifications/Notification.php new file mode 100644 index 0000000..5ed45b8 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/notifications/Notification.php @@ -0,0 +1,324 @@ +channelId; + + } + + /** + * The method to set the value to channelId + * @param string $channelId A string + */ + public function setChannelId(string $channelId) + { + $this->channelId=$channelId; + $this->keyModified['channel_id'] = 1; + + } + + /** + * The method to get the notifyUrl + * @return string A string representing the notifyUrl + */ + public function getNotifyUrl() + { + return $this->notifyUrl; + + } + + /** + * The method to set the value to notifyUrl + * @param string $notifyUrl A string + */ + public function setNotifyUrl(string $notifyUrl) + { + $this->notifyUrl=$notifyUrl; + $this->keyModified['notify_url'] = 1; + + } + + /** + * The method to get the events + * @return array A array representing the events + */ + public function getEvents() + { + return $this->events; + + } + + /** + * The method to set the value to events + * @param array $events A array + */ + public function setEvents(array $events) + { + $this->events=$events; + $this->keyModified['events'] = 1; + + } + + /** + * The method to get the token + * @return string A string representing the token + */ + public function getToken() + { + return $this->token; + + } + + /** + * The method to set the value to token + * @param string $token A string + */ + public function setToken(string $token) + { + $this->token=$token; + $this->keyModified['token'] = 1; + + } + + /** + * The method to get the fields + * @return array A array representing the fields + */ + public function getFields() + { + return $this->fields; + + } + + /** + * The method to set the value to fields + * @param array $fields A array + */ + public function setFields(array $fields) + { + $this->fields=$fields; + $this->keyModified['fields'] = 1; + + } + + /** + * The method to get the notifyOnRelatedAction + * @return bool A bool representing the notifyOnRelatedAction + */ + public function getNotifyOnRelatedAction() + { + return $this->notifyOnRelatedAction; + + } + + /** + * The method to set the value to notifyOnRelatedAction + * @param bool $notifyOnRelatedAction A bool + */ + public function setNotifyOnRelatedAction(bool $notifyOnRelatedAction) + { + $this->notifyOnRelatedAction=$notifyOnRelatedAction; + $this->keyModified['notify_on_related_action'] = 1; + + } + + /** + * The method to get the returnAffectedFieldValues + * @return bool A bool representing the returnAffectedFieldValues + */ + public function getReturnAffectedFieldValues() + { + return $this->returnAffectedFieldValues; + + } + + /** + * The method to set the value to returnAffectedFieldValues + * @param bool $returnAffectedFieldValues A bool + */ + public function setReturnAffectedFieldValues(bool $returnAffectedFieldValues) + { + $this->returnAffectedFieldValues=$returnAffectedFieldValues; + $this->keyModified['return_affected_field_values'] = 1; + + } + + /** + * The method to get the deleteevents + * @return Choice An instance of Choice + */ + public function getDeleteevents() + { + return $this->deleteevents; + + } + + /** + * The method to set the value to deleteevents + * @param Choice $deleteevents An instance of Choice + */ + public function setDeleteevents(Choice $deleteevents) + { + $this->deleteevents=$deleteevents; + $this->keyModified['_delete_events'] = 1; + + } + + /** + * The method to get the resourceName + * @return string A string representing the resourceName + */ + public function getResourceName() + { + return $this->resourceName; + + } + + /** + * The method to set the value to resourceName + * @param string $resourceName A string + */ + public function setResourceName(string $resourceName) + { + $this->resourceName=$resourceName; + $this->keyModified['resource_name'] = 1; + + } + + /** + * The method to get the channelExpiry + * @return \DateTime An instance of \DateTime + */ + public function getChannelExpiry() + { + return $this->channelExpiry; + + } + + /** + * The method to set the value to channelExpiry + * @param \DateTime $channelExpiry An instance of \DateTime + */ + public function setChannelExpiry(\DateTime $channelExpiry) + { + $this->channelExpiry=$channelExpiry; + $this->keyModified['channel_expiry'] = 1; + + } + + /** + * The method to get the resourceId + * @return string A string representing the resourceId + */ + public function getResourceId() + { + return $this->resourceId; + + } + + /** + * The method to set the value to resourceId + * @param string $resourceId A string + */ + public function setResourceId(string $resourceId) + { + $this->resourceId=$resourceId; + $this->keyModified['resource_id'] = 1; + + } + + /** + * The method to get the resourceUri + * @return string A string representing the resourceUri + */ + public function getResourceUri() + { + return $this->resourceUri; + + } + + /** + * The method to set the value to resourceUri + * @param string $resourceUri A string + */ + public function setResourceUri(string $resourceUri) + { + $this->resourceUri=$resourceUri; + $this->keyModified['resource_uri'] = 1; + + } + + /** + * The method to get the notificationCondition + * @return array A array representing the notificationCondition + */ + public function getNotificationCondition() + { + return $this->notificationCondition; + + } + + /** + * The method to set the value to notificationCondition + * @param array $notificationCondition A array + */ + public function setNotificationCondition(array $notificationCondition) + { + $this->notificationCondition=$notificationCondition; + $this->keyModified['notification_condition'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/notifications/NotificationCondition.php b/versions/5.0.0/src/com/zoho/crm/api/notifications/NotificationCondition.php new file mode 100644 index 0000000..6fddeb2 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/notifications/NotificationCondition.php @@ -0,0 +1,103 @@ +type; + + } + + /** + * The method to set the value to type + * @param string $type A string + */ + public function setType(string $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to get the module + * @return Module An instance of Module + */ + public function getModule() + { + return $this->module; + + } + + /** + * The method to set the value to module + * @param Module $module An instance of Module + */ + public function setModule(Module $module) + { + $this->module=$module; + $this->keyModified['module'] = 1; + + } + + /** + * The method to get the fieldSelection + * @return Criteria An instance of Criteria + */ + public function getFieldSelection() + { + return $this->fieldSelection; + + } + + /** + * The method to set the value to fieldSelection + * @param Criteria $fieldSelection An instance of Criteria + */ + public function setFieldSelection(Criteria $fieldSelection) + { + $this->fieldSelection=$fieldSelection; + $this->keyModified['field_selection'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/notifications/NotificationsOperations.php b/versions/5.0.0/src/com/zoho/crm/api/notifications/NotificationsOperations.php new file mode 100644 index 0000000..2c4e0a8 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/notifications/NotificationsOperations.php @@ -0,0 +1,128 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to enable notifications + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function enableNotifications(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/actions/watch'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to update notifications + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updateNotifications(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/actions/watch'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to update notification + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updateNotification(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/actions/watch'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod('PATCH'); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to disable notification + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function disableNotification(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/actions/watch'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod('PATCH'); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_ACTION); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to delete notification + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function deleteNotification(ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/actions/watch'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setCategoryMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/notifications/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/notifications/ResponseHandler.php new file mode 100644 index 0000000..bc58127 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/notifications/ResponseHandler.php @@ -0,0 +1,7 @@ +watch; + + } + + /** + * The method to set the value to watch + * @param array $watch A array + */ + public function setWatch(array $watch) + { + $this->watch=$watch; + $this->keyModified['watch'] = 1; + + } + + /** + * The method to get the info + * @return Info An instance of Info + */ + public function getInfo() + { + return $this->info; + + } + + /** + * The method to set the value to info + * @param Info $info An instance of Info + */ + public function setInfo(Info $info) + { + $this->info=$info; + $this->keyModified['info'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/notifications/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/notifications/SuccessResponse.php new file mode 100644 index 0000000..9cd0e61 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/notifications/SuccessResponse.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/org/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/org/APIException.php new file mode 100644 index 0000000..0b1f1be --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/org/APIException.php @@ -0,0 +1,192 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the jsonPath + * @return string A string representing the jsonPath + */ + public function getJsonPath() + { + return $this->jsonPath; + + } + + /** + * The method to set the value to jsonPath + * @param string $jsonPath A string + */ + public function setJsonPath(string $jsonPath) + { + $this->jsonPath=$jsonPath; + $this->keyModified['json_path'] = 1; + + } + + /** + * The method to get the features + * @return array A array representing the features + */ + public function getFeatures() + { + return $this->features; + + } + + /** + * The method to set the value to features + * @param array $features A array + */ + public function setFeatures(array $features) + { + $this->features=$features; + $this->keyModified['features'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/org/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/org/ActionHandler.php new file mode 100644 index 0000000..8f1d713 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/org/ActionHandler.php @@ -0,0 +1,7 @@ +org; + + } + + /** + * The method to set the value to org + * @param array $org A array + */ + public function setOrg(array $org) + { + $this->org=$org; + $this->keyModified['org'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/org/CheckinPreferences.php b/versions/5.0.0/src/com/zoho/crm/api/org/CheckinPreferences.php new file mode 100644 index 0000000..4ce08b1 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/org/CheckinPreferences.php @@ -0,0 +1,59 @@ +restrictedEventTypes; + + } + + /** + * The method to set the value to restrictedEventTypes + * @param string $restrictedEventTypes A string + */ + public function setRestrictedEventTypes(string $restrictedEventTypes) + { + $this->restrictedEventTypes=$restrictedEventTypes; + $this->keyModified['restricted_event_types'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/org/Feature.php b/versions/5.0.0/src/com/zoho/crm/api/org/Feature.php new file mode 100644 index 0000000..f9f5d53 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/org/Feature.php @@ -0,0 +1,81 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the resources + * @return array A array representing the resources + */ + public function getResources() + { + return $this->resources; + + } + + /** + * The method to set the value to resources + * @param array $resources A array + */ + public function setResources(array $resources) + { + $this->resources=$resources; + $this->keyModified['resources'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/org/FileBodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/org/FileBodyWrapper.php new file mode 100644 index 0000000..82a504a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/org/FileBodyWrapper.php @@ -0,0 +1,60 @@ +file; + + } + + /** + * The method to set the value to file + * @param StreamWrapper $file An instance of StreamWrapper + */ + public function setFile(StreamWrapper $file) + { + $this->file=$file; + $this->keyModified['file'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/org/HierarchyPreferences.php b/versions/5.0.0/src/com/zoho/crm/api/org/HierarchyPreferences.php new file mode 100644 index 0000000..c28425c --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/org/HierarchyPreferences.php @@ -0,0 +1,82 @@ +type; + + } + + /** + * The method to set the value to type + * @param Choice $type An instance of Choice + */ + public function setType(Choice $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to get the strictlyReporting + * @return bool A bool representing the strictlyReporting + */ + public function getStrictlyReporting() + { + return $this->strictlyReporting; + + } + + /** + * The method to set the value to strictlyReporting + * @param bool $strictlyReporting A bool + */ + public function setStrictlyReporting(bool $strictlyReporting) + { + $this->strictlyReporting=$strictlyReporting; + $this->keyModified['strictly_reporting'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/org/LicenseDetails.php b/versions/5.0.0/src/com/zoho/crm/api/org/LicenseDetails.php new file mode 100644 index 0000000..532a03c --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/org/LicenseDetails.php @@ -0,0 +1,191 @@ +paidExpiry; + + } + + /** + * The method to set the value to paidExpiry + * @param \DateTime $paidExpiry An instance of \DateTime + */ + public function setPaidExpiry(\DateTime $paidExpiry) + { + $this->paidExpiry=$paidExpiry; + $this->keyModified['paid_expiry'] = 1; + + } + + /** + * The method to get the usersLicensePurchased + * @return int A int representing the usersLicensePurchased + */ + public function getUsersLicensePurchased() + { + return $this->usersLicensePurchased; + + } + + /** + * The method to set the value to usersLicensePurchased + * @param int $usersLicensePurchased A int + */ + public function setUsersLicensePurchased(int $usersLicensePurchased) + { + $this->usersLicensePurchased=$usersLicensePurchased; + $this->keyModified['users_license_purchased'] = 1; + + } + + /** + * The method to get the trialType + * @return string A string representing the trialType + */ + public function getTrialType() + { + return $this->trialType; + + } + + /** + * The method to set the value to trialType + * @param string $trialType A string + */ + public function setTrialType(string $trialType) + { + $this->trialType=$trialType; + $this->keyModified['trial_type'] = 1; + + } + + /** + * The method to get the trialExpiry + * @return string A string representing the trialExpiry + */ + public function getTrialExpiry() + { + return $this->trialExpiry; + + } + + /** + * The method to set the value to trialExpiry + * @param string $trialExpiry A string + */ + public function setTrialExpiry(string $trialExpiry) + { + $this->trialExpiry=$trialExpiry; + $this->keyModified['trial_expiry'] = 1; + + } + + /** + * The method to get the paid + * @return bool A bool representing the paid + */ + public function getPaid() + { + return $this->paid; + + } + + /** + * The method to set the value to paid + * @param bool $paid A bool + */ + public function setPaid(bool $paid) + { + $this->paid=$paid; + $this->keyModified['paid'] = 1; + + } + + /** + * The method to get the paidType + * @return string A string representing the paidType + */ + public function getPaidType() + { + return $this->paidType; + + } + + /** + * The method to set the value to paidType + * @param string $paidType A string + */ + public function setPaidType(string $paidType) + { + $this->paidType=$paidType; + $this->keyModified['paid_type'] = 1; + + } + + /** + * The method to get the trialAction + * @return string A string representing the trialAction + */ + public function getTrialAction() + { + return $this->trialAction; + + } + + /** + * The method to set the value to trialAction + * @param string $trialAction A string + */ + public function setTrialAction(string $trialAction) + { + $this->trialAction=$trialAction; + $this->keyModified['trial_action'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/org/Org.php b/versions/5.0.0/src/com/zoho/crm/api/org/Org.php new file mode 100644 index 0000000..14cffe2 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/org/Org.php @@ -0,0 +1,984 @@ +country; + + } + + /** + * The method to set the value to country + * @param string $country A string + */ + public function setCountry(string $country) + { + $this->country=$country; + $this->keyModified['country'] = 1; + + } + + /** + * The method to get the photoId + * @return string A string representing the photoId + */ + public function getPhotoId() + { + return $this->photoId; + + } + + /** + * The method to set the value to photoId + * @param string $photoId A string + */ + public function setPhotoId(string $photoId) + { + $this->photoId=$photoId; + $this->keyModified['photo_id'] = 1; + + } + + /** + * The method to get the city + * @return string A string representing the city + */ + public function getCity() + { + return $this->city; + + } + + /** + * The method to set the value to city + * @param string $city A string + */ + public function setCity(string $city) + { + $this->city=$city; + $this->keyModified['city'] = 1; + + } + + /** + * The method to get the description + * @return string A string representing the description + */ + public function getDescription() + { + return $this->description; + + } + + /** + * The method to set the value to description + * @param string $description A string + */ + public function setDescription(string $description) + { + $this->description=$description; + $this->keyModified['description'] = 1; + + } + + /** + * The method to get the mcStatus + * @return bool A bool representing the mcStatus + */ + public function getMcStatus() + { + return $this->mcStatus; + + } + + /** + * The method to set the value to mcStatus + * @param bool $mcStatus A bool + */ + public function setMcStatus(bool $mcStatus) + { + $this->mcStatus=$mcStatus; + $this->keyModified['mc_status'] = 1; + + } + + /** + * The method to get the gappsEnabled + * @return bool A bool representing the gappsEnabled + */ + public function getGappsEnabled() + { + return $this->gappsEnabled; + + } + + /** + * The method to set the value to gappsEnabled + * @param bool $gappsEnabled A bool + */ + public function setGappsEnabled(bool $gappsEnabled) + { + $this->gappsEnabled=$gappsEnabled; + $this->keyModified['gapps_enabled'] = 1; + + } + + /** + * The method to get the translationEnabled + * @return bool A bool representing the translationEnabled + */ + public function getTranslationEnabled() + { + return $this->translationEnabled; + + } + + /** + * The method to set the value to translationEnabled + * @param bool $translationEnabled A bool + */ + public function setTranslationEnabled(bool $translationEnabled) + { + $this->translationEnabled=$translationEnabled; + $this->keyModified['translation_enabled'] = 1; + + } + + /** + * The method to get the street + * @return string A string representing the street + */ + public function getStreet() + { + return $this->street; + + } + + /** + * The method to set the value to street + * @param string $street A string + */ + public function setStreet(string $street) + { + $this->street=$street; + $this->keyModified['street'] = 1; + + } + + /** + * The method to get the domainName + * @return string A string representing the domainName + */ + public function getDomainName() + { + return $this->domainName; + + } + + /** + * The method to set the value to domainName + * @param string $domainName A string + */ + public function setDomainName(string $domainName) + { + $this->domainName=$domainName; + $this->keyModified['domain_name'] = 1; + + } + + /** + * The method to get the alias + * @return string A string representing the alias + */ + public function getAlias() + { + return $this->alias; + + } + + /** + * The method to set the value to alias + * @param string $alias A string + */ + public function setAlias(string $alias) + { + $this->alias=$alias; + $this->keyModified['alias'] = 1; + + } + + /** + * The method to get the currency + * @return string A string representing the currency + */ + public function getCurrency() + { + return $this->currency; + + } + + /** + * The method to set the value to currency + * @param string $currency A string + */ + public function setCurrency(string $currency) + { + $this->currency=$currency; + $this->keyModified['currency'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the state + * @return string A string representing the state + */ + public function getState() + { + return $this->state; + + } + + /** + * The method to set the value to state + * @param string $state A string + */ + public function setState(string $state) + { + $this->state=$state; + $this->keyModified['state'] = 1; + + } + + /** + * The method to get the fax + * @return string A string representing the fax + */ + public function getFax() + { + return $this->fax; + + } + + /** + * The method to set the value to fax + * @param string $fax A string + */ + public function setFax(string $fax) + { + $this->fax=$fax; + $this->keyModified['fax'] = 1; + + } + + /** + * The method to get the zip + * @return string A string representing the zip + */ + public function getZip() + { + return $this->zip; + + } + + /** + * The method to set the value to zip + * @param string $zip A string + */ + public function setZip(string $zip) + { + $this->zip=$zip; + $this->keyModified['zip'] = 1; + + } + + /** + * The method to get the employeeCount + * @return string A string representing the employeeCount + */ + public function getEmployeeCount() + { + return $this->employeeCount; + + } + + /** + * The method to set the value to employeeCount + * @param string $employeeCount A string + */ + public function setEmployeeCount(string $employeeCount) + { + $this->employeeCount=$employeeCount; + $this->keyModified['employee_count'] = 1; + + } + + /** + * The method to get the website + * @return string A string representing the website + */ + public function getWebsite() + { + return $this->website; + + } + + /** + * The method to set the value to website + * @param string $website A string + */ + public function setWebsite(string $website) + { + $this->website=$website; + $this->keyModified['website'] = 1; + + } + + /** + * The method to get the currencySymbol + * @return string A string representing the currencySymbol + */ + public function getCurrencySymbol() + { + return $this->currencySymbol; + + } + + /** + * The method to set the value to currencySymbol + * @param string $currencySymbol A string + */ + public function setCurrencySymbol(string $currencySymbol) + { + $this->currencySymbol=$currencySymbol; + $this->keyModified['currency_symbol'] = 1; + + } + + /** + * The method to get the mobile + * @return string A string representing the mobile + */ + public function getMobile() + { + return $this->mobile; + + } + + /** + * The method to set the value to mobile + * @param string $mobile A string + */ + public function setMobile(string $mobile) + { + $this->mobile=$mobile; + $this->keyModified['mobile'] = 1; + + } + + /** + * The method to get the currencyLocale + * @return string A string representing the currencyLocale + */ + public function getCurrencyLocale() + { + return $this->currencyLocale; + + } + + /** + * The method to set the value to currencyLocale + * @param string $currencyLocale A string + */ + public function setCurrencyLocale(string $currencyLocale) + { + $this->currencyLocale=$currencyLocale; + $this->keyModified['currency_locale'] = 1; + + } + + /** + * The method to get the primaryZuid + * @return string A string representing the primaryZuid + */ + public function getPrimaryZuid() + { + return $this->primaryZuid; + + } + + /** + * The method to set the value to primaryZuid + * @param string $primaryZuid A string + */ + public function setPrimaryZuid(string $primaryZuid) + { + $this->primaryZuid=$primaryZuid; + $this->keyModified['primary_zuid'] = 1; + + } + + /** + * The method to get the ziaPortalId + * @return string A string representing the ziaPortalId + */ + public function getZiaPortalId() + { + return $this->ziaPortalId; + + } + + /** + * The method to set the value to ziaPortalId + * @param string $ziaPortalId A string + */ + public function setZiaPortalId(string $ziaPortalId) + { + $this->ziaPortalId=$ziaPortalId; + $this->keyModified['zia_portal_id'] = 1; + + } + + /** + * The method to get the timeZone + * @return string A string representing the timeZone + */ + public function getTimeZone() + { + return $this->timeZone; + + } + + /** + * The method to set the value to timeZone + * @param string $timeZone A string + */ + public function setTimeZone(string $timeZone) + { + $this->timeZone=$timeZone; + $this->keyModified['time_zone'] = 1; + + } + + /** + * The method to get the zgid + * @return string A string representing the zgid + */ + public function getZgid() + { + return $this->zgid; + + } + + /** + * The method to set the value to zgid + * @param string $zgid A string + */ + public function setZgid(string $zgid) + { + $this->zgid=$zgid; + $this->keyModified['zgid'] = 1; + + } + + /** + * The method to get the countryCode + * @return string A string representing the countryCode + */ + public function getCountryCode() + { + return $this->countryCode; + + } + + /** + * The method to set the value to countryCode + * @param string $countryCode A string + */ + public function setCountryCode(string $countryCode) + { + $this->countryCode=$countryCode; + $this->keyModified['country_code'] = 1; + + } + + /** + * The method to get the deletableOrgAccount + * @return bool A bool representing the deletableOrgAccount + */ + public function getDeletableOrgAccount() + { + return $this->deletableOrgAccount; + + } + + /** + * The method to set the value to deletableOrgAccount + * @param bool $deletableOrgAccount A bool + */ + public function setDeletableOrgAccount(bool $deletableOrgAccount) + { + $this->deletableOrgAccount=$deletableOrgAccount; + $this->keyModified['deletable_org_account'] = 1; + + } + + /** + * The method to get the licenseDetails + * @return LicenseDetails An instance of LicenseDetails + */ + public function getLicenseDetails() + { + return $this->licenseDetails; + + } + + /** + * The method to set the value to licenseDetails + * @param LicenseDetails $licenseDetails An instance of LicenseDetails + */ + public function setLicenseDetails(LicenseDetails $licenseDetails) + { + $this->licenseDetails=$licenseDetails; + $this->keyModified['license_details'] = 1; + + } + + /** + * The method to get the hierarchyPreferences + * @return HierarchyPreferences An instance of HierarchyPreferences + */ + public function getHierarchyPreferences() + { + return $this->hierarchyPreferences; + + } + + /** + * The method to set the value to hierarchyPreferences + * @param HierarchyPreferences $hierarchyPreferences An instance of HierarchyPreferences + */ + public function setHierarchyPreferences(HierarchyPreferences $hierarchyPreferences) + { + $this->hierarchyPreferences=$hierarchyPreferences; + $this->keyModified['hierarchy_preferences'] = 1; + + } + + /** + * The method to get the phone + * @return string A string representing the phone + */ + public function getPhone() + { + return $this->phone; + + } + + /** + * The method to set the value to phone + * @param string $phone A string + */ + public function setPhone(string $phone) + { + $this->phone=$phone; + $this->keyModified['phone'] = 1; + + } + + /** + * The method to get the companyName + * @return string A string representing the companyName + */ + public function getCompanyName() + { + return $this->companyName; + + } + + /** + * The method to set the value to companyName + * @param string $companyName A string + */ + public function setCompanyName(string $companyName) + { + $this->companyName=$companyName; + $this->keyModified['company_name'] = 1; + + } + + /** + * The method to get the privacySettings + * @return bool A bool representing the privacySettings + */ + public function getPrivacySettings() + { + return $this->privacySettings; + + } + + /** + * The method to set the value to privacySettings + * @param bool $privacySettings A bool + */ + public function setPrivacySettings(bool $privacySettings) + { + $this->privacySettings=$privacySettings; + $this->keyModified['privacy_settings'] = 1; + + } + + /** + * The method to get the primaryEmail + * @return string A string representing the primaryEmail + */ + public function getPrimaryEmail() + { + return $this->primaryEmail; + + } + + /** + * The method to set the value to primaryEmail + * @param string $primaryEmail A string + */ + public function setPrimaryEmail(string $primaryEmail) + { + $this->primaryEmail=$primaryEmail; + $this->keyModified['primary_email'] = 1; + + } + + /** + * The method to get the isoCode + * @return string A string representing the isoCode + */ + public function getIsoCode() + { + return $this->isoCode; + + } + + /** + * The method to set the value to isoCode + * @param string $isoCode A string + */ + public function setIsoCode(string $isoCode) + { + $this->isoCode=$isoCode; + $this->keyModified['iso_code'] = 1; + + } + + /** + * The method to get the hipaaComplianceEnabled + * @return bool A bool representing the hipaaComplianceEnabled + */ + public function getHipaaComplianceEnabled() + { + return $this->hipaaComplianceEnabled; + + } + + /** + * The method to set the value to hipaaComplianceEnabled + * @param bool $hipaaComplianceEnabled A bool + */ + public function setHipaaComplianceEnabled(bool $hipaaComplianceEnabled) + { + $this->hipaaComplianceEnabled=$hipaaComplianceEnabled; + $this->keyModified['hipaa_compliance_enabled'] = 1; + + } + + /** + * The method to get the liteUsersEnabled + * @return bool A bool representing the liteUsersEnabled + */ + public function getLiteUsersEnabled() + { + return $this->liteUsersEnabled; + + } + + /** + * The method to set the value to liteUsersEnabled + * @param bool $liteUsersEnabled A bool + */ + public function setLiteUsersEnabled(bool $liteUsersEnabled) + { + $this->liteUsersEnabled=$liteUsersEnabled; + $this->keyModified['lite_users_enabled'] = 1; + + } + + /** + * The method to get the maxPerPage + * @return int A int representing the maxPerPage + */ + public function getMaxPerPage() + { + return $this->maxPerPage; + + } + + /** + * The method to set the value to maxPerPage + * @param int $maxPerPage A int + */ + public function setMaxPerPage(int $maxPerPage) + { + $this->maxPerPage=$maxPerPage; + $this->keyModified['max_per_page'] = 1; + + } + + /** + * The method to get the ezgid + * @return string A string representing the ezgid + */ + public function getEzgid() + { + return $this->ezgid; + + } + + /** + * The method to set the value to ezgid + * @param string $ezgid A string + */ + public function setEzgid(string $ezgid) + { + $this->ezgid=$ezgid; + $this->keyModified['ezgid'] = 1; + + } + + /** + * The method to get the callIcon + * @return string A string representing the callIcon + */ + public function getCallIcon() + { + return $this->callIcon; + + } + + /** + * The method to set the value to callIcon + * @param string $callIcon A string + */ + public function setCallIcon(string $callIcon) + { + $this->callIcon=$callIcon; + $this->keyModified['call_icon'] = 1; + + } + + /** + * The method to get the oauthPresence + * @return bool A bool representing the oauthPresence + */ + public function getOauthPresence() + { + return $this->oauthPresence; + + } + + /** + * The method to set the value to oauthPresence + * @param bool $oauthPresence A bool + */ + public function setOauthPresence(bool $oauthPresence) + { + $this->oauthPresence=$oauthPresence; + $this->keyModified['oauth_presence'] = 1; + + } + + /** + * The method to get the ziaZgid + * @return int A int representing the ziaZgid + */ + public function getZiaZgid() + { + return $this->ziaZgid; + + } + + /** + * The method to set the value to ziaZgid + * @param int $ziaZgid A int + */ + public function setZiaZgid(int $ziaZgid) + { + $this->ziaZgid=$ziaZgid; + $this->keyModified['zia_zgid'] = 1; + + } + + /** + * The method to get the checkinPreferences + * @return CheckinPreferences An instance of CheckinPreferences + */ + public function getCheckinPreferences() + { + return $this->checkinPreferences; + + } + + /** + * The method to set the value to checkinPreferences + * @param CheckinPreferences $checkinPreferences An instance of CheckinPreferences + */ + public function setCheckinPreferences(CheckinPreferences $checkinPreferences) + { + $this->checkinPreferences=$checkinPreferences; + $this->keyModified['checkin_preferences'] = 1; + + } + + /** + * The method to get the type + * @return Choice An instance of Choice + */ + public function getType() + { + return $this->type; + + } + + /** + * The method to set the value to type + * @param Choice $type An instance of Choice + */ + public function setType(Choice $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to get the createdTime + * @return \DateTime An instance of \DateTime + */ + public function getCreatedTime() + { + return $this->createdTime; + + } + + /** + * The method to set the value to createdTime + * @param \DateTime $createdTime An instance of \DateTime + */ + public function setCreatedTime(\DateTime $createdTime) + { + $this->createdTime=$createdTime; + $this->keyModified['created_time'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/org/OrgOperations.php b/versions/5.0.0/src/com/zoho/crm/api/org/OrgOperations.php new file mode 100644 index 0000000..c587382 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/org/OrgOperations.php @@ -0,0 +1,79 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to get org photo + * @return APIResponse An instance of APIResponse + */ + public function getOrgPhoto() + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/org/photo'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + return $handlerInstance->apiCall(ResponseHandler::class, 'image/png'); + + } + + /** + * The method to upload organization photo + * @param FileBodyWrapper $request An instance of FileBodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function uploadOrganizationPhoto(FileBodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/org/photo'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('multipart/form-data'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to delete organization photo + * @return APIResponse An instance of APIResponse + */ + public function deleteOrganizationPhoto() + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/org/photo'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setCategoryMethod(Constants::REQUEST_METHOD_DELETE); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/org/Resource.php b/versions/5.0.0/src/com/zoho/crm/api/org/Resource.php new file mode 100644 index 0000000..b94bb61 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/org/Resource.php @@ -0,0 +1,81 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/org/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/org/ResponseHandler.php new file mode 100644 index 0000000..ea7e9cb --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/org/ResponseHandler.php @@ -0,0 +1,7 @@ +org; + + } + + /** + * The method to set the value to org + * @param array $org A array + */ + public function setOrg(array $org) + { + $this->org=$org; + $this->keyModified['org'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/org/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/org/SuccessResponse.php new file mode 100644 index 0000000..10535f1 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/org/SuccessResponse.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/pipeline/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/pipeline/APIException.php new file mode 100644 index 0000000..3a73906 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/pipeline/APIException.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/pipeline/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/pipeline/ActionHandler.php new file mode 100644 index 0000000..9508ab2 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/pipeline/ActionHandler.php @@ -0,0 +1,7 @@ +pipeline; + + } + + /** + * The method to set the value to pipeline + * @param array $pipeline A array + */ + public function setPipeline(array $pipeline) + { + $this->pipeline=$pipeline; + $this->keyModified['pipeline'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/pipeline/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/pipeline/BodyWrapper.php new file mode 100644 index 0000000..078bb78 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/pipeline/BodyWrapper.php @@ -0,0 +1,59 @@ +pipeline; + + } + + /** + * The method to set the value to pipeline + * @param array $pipeline A array + */ + public function setPipeline(array $pipeline) + { + $this->pipeline=$pipeline; + $this->keyModified['pipeline'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/pipeline/CreatePipelineParam.php b/versions/5.0.0/src/com/zoho/crm/api/pipeline/CreatePipelineParam.php new file mode 100644 index 0000000..f36c92e --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/pipeline/CreatePipelineParam.php @@ -0,0 +1,7 @@ +delete; + + } + + /** + * The method to set the value to delete + * @param Delete $delete An instance of Delete + */ + public function setDelete(Delete $delete) + { + $this->delete=$delete; + $this->keyModified['_delete'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/pipeline/DPipelineWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/pipeline/DPipelineWrapper.php new file mode 100644 index 0000000..5b02388 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/pipeline/DPipelineWrapper.php @@ -0,0 +1,59 @@ +pipeline; + + } + + /** + * The method to set the value to pipeline + * @param array $pipeline A array + */ + public function setPipeline(array $pipeline) + { + $this->pipeline=$pipeline; + $this->keyModified['pipeline'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/pipeline/Delete.php b/versions/5.0.0/src/com/zoho/crm/api/pipeline/Delete.php new file mode 100644 index 0000000..75f06d9 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/pipeline/Delete.php @@ -0,0 +1,59 @@ +permanent; + + } + + /** + * The method to set the value to permanent + * @param bool $permanent A bool + */ + public function setPermanent(bool $permanent) + { + $this->permanent=$permanent; + $this->keyModified['permanent'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/pipeline/DeletePipelineParam.php b/versions/5.0.0/src/com/zoho/crm/api/pipeline/DeletePipelineParam.php new file mode 100644 index 0000000..705cf0a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/pipeline/DeletePipelineParam.php @@ -0,0 +1,7 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/pipeline/GetPipelineParam.php b/versions/5.0.0/src/com/zoho/crm/api/pipeline/GetPipelineParam.php new file mode 100644 index 0000000..c06da7c --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/pipeline/GetPipelineParam.php @@ -0,0 +1,7 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the jsonPath + * @return string A string representing the jsonPath + */ + public function getJsonPath() + { + return $this->jsonPath; + + } + + /** + * The method to set the value to jsonPath + * @param string $jsonPath A string + */ + public function setJsonPath(string $jsonPath) + { + $this->jsonPath=$jsonPath; + $this->keyModified['json_path'] = 1; + + } + + /** + * The method to get the expectedDataType + * @return string A string representing the expectedDataType + */ + public function getExpectedDataType() + { + return $this->expectedDataType; + + } + + /** + * The method to set the value to expectedDataType + * @param string $expectedDataType A string + */ + public function setExpectedDataType(string $expectedDataType) + { + $this->expectedDataType=$expectedDataType; + $this->keyModified['expected_data_type'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/pipeline/Maps.php b/versions/5.0.0/src/com/zoho/crm/api/pipeline/Maps.php new file mode 100644 index 0000000..3a3975f --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/pipeline/Maps.php @@ -0,0 +1,213 @@ +displayValue; + + } + + /** + * The method to set the value to displayValue + * @param string $displayValue A string + */ + public function setDisplayValue(string $displayValue) + { + $this->displayValue=$displayValue; + $this->keyModified['display_value'] = 1; + + } + + /** + * The method to get the sequenceNumber + * @return int A int representing the sequenceNumber + */ + public function getSequenceNumber() + { + return $this->sequenceNumber; + + } + + /** + * The method to set the value to sequenceNumber + * @param int $sequenceNumber A int + */ + public function setSequenceNumber(int $sequenceNumber) + { + $this->sequenceNumber=$sequenceNumber; + $this->keyModified['sequence_number'] = 1; + + } + + /** + * The method to get the forecastCategory + * @return ForecastCategory An instance of ForecastCategory + */ + public function getForecastCategory() + { + return $this->forecastCategory; + + } + + /** + * The method to set the value to forecastCategory + * @param ForecastCategory $forecastCategory An instance of ForecastCategory + */ + public function setForecastCategory(ForecastCategory $forecastCategory) + { + $this->forecastCategory=$forecastCategory; + $this->keyModified['forecast_category'] = 1; + + } + + /** + * The method to get the delete + * @return bool A bool representing the delete + */ + public function getDelete() + { + return $this->delete; + + } + + /** + * The method to set the value to delete + * @param bool $delete A bool + */ + public function setDelete(bool $delete) + { + $this->delete=$delete; + $this->keyModified['_delete'] = 1; + + } + + /** + * The method to get the actualValue + * @return string A string representing the actualValue + */ + public function getActualValue() + { + return $this->actualValue; + + } + + /** + * The method to set the value to actualValue + * @param string $actualValue A string + */ + public function setActualValue(string $actualValue) + { + $this->actualValue=$actualValue; + $this->keyModified['actual_value'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the colourCode + * @return string A string representing the colourCode + */ + public function getColourCode() + { + return $this->colourCode; + + } + + /** + * The method to set the value to colourCode + * @param string $colourCode A string + */ + public function setColourCode(string $colourCode) + { + $this->colourCode=$colourCode; + $this->keyModified['colour_code'] = 1; + + } + + /** + * The method to get the forecastType + * @return string A string representing the forecastType + */ + public function getForecastType() + { + return $this->forecastType; + + } + + /** + * The method to set the value to forecastType + * @param string $forecastType A string + */ + public function setForecastType(string $forecastType) + { + $this->forecastType=$forecastType; + $this->keyModified['forecast_type'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/pipeline/Pipeline.php b/versions/5.0.0/src/com/zoho/crm/api/pipeline/Pipeline.php new file mode 100644 index 0000000..5d95fc9 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/pipeline/Pipeline.php @@ -0,0 +1,191 @@ +displayValue; + + } + + /** + * The method to set the value to displayValue + * @param string $displayValue A string + */ + public function setDisplayValue(string $displayValue) + { + $this->displayValue=$displayValue; + $this->keyModified['display_value'] = 1; + + } + + /** + * The method to get the default + * @return bool A bool representing the default + */ + public function getDefault() + { + return $this->default; + + } + + /** + * The method to set the value to default + * @param bool $default A bool + */ + public function setDefault(bool $default) + { + $this->default=$default; + $this->keyModified['default'] = 1; + + } + + /** + * The method to get the maps + * @return array A array representing the maps + */ + public function getMaps() + { + return $this->maps; + + } + + /** + * The method to set the value to maps + * @param array $maps A array + */ + public function setMaps(array $maps) + { + $this->maps=$maps; + $this->keyModified['maps'] = 1; + + } + + /** + * The method to get the actualValue + * @return string A string representing the actualValue + */ + public function getActualValue() + { + return $this->actualValue; + + } + + /** + * The method to set the value to actualValue + * @param string $actualValue A string + */ + public function setActualValue(string $actualValue) + { + $this->actualValue=$actualValue; + $this->keyModified['actual_value'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the childAvailable + * @return bool A bool representing the childAvailable + */ + public function getChildAvailable() + { + return $this->childAvailable; + + } + + /** + * The method to set the value to childAvailable + * @param bool $childAvailable A bool + */ + public function setChildAvailable(bool $childAvailable) + { + $this->childAvailable=$childAvailable; + $this->keyModified['child_available'] = 1; + + } + + /** + * The method to get the parent + * @return Pipeline An instance of Pipeline + */ + public function getParent() + { + return $this->parent; + + } + + /** + * The method to set the value to parent + * @param Pipeline $parent An instance of Pipeline + */ + public function setParent(Pipeline $parent) + { + $this->parent=$parent; + $this->keyModified['parent'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/pipeline/PipelineOperations.php b/versions/5.0.0/src/com/zoho/crm/api/pipeline/PipelineOperations.php new file mode 100644 index 0000000..7edb1be --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/pipeline/PipelineOperations.php @@ -0,0 +1,166 @@ +layoutId=$layoutId; + + } + + /** + * The method to get pipelines + * @return APIResponse An instance of APIResponse + */ + public function getPipelines() + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/pipeline'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->addParam(new Param('layout_id', 'com.zoho.crm.api.Pipeline.GetPipelinesParam'), $this->layoutId); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to create pipeline + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function createPipeline(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/pipeline'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + $handlerInstance->addParam(new Param('layout_id', 'com.zoho.crm.api.Pipeline.CreatePipelineParam'), $this->layoutId); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to update pipelines + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updatePipelines(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/pipeline'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + $handlerInstance->addParam(new Param('layout_id', 'com.zoho.crm.api.Pipeline.UpdatePipelinesParam'), $this->layoutId); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get pipeline + * @param string $id A string + * @return APIResponse An instance of APIResponse + */ + public function getPipeline(string $id) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/pipeline/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->addParam(new Param('layout_id', 'com.zoho.crm.api.Pipeline.GetPipelineParam'), $this->layoutId); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to update pipeline + * @param string $id A string + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updatePipeline(string $id, BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/pipeline/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod('PATCH'); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->addParam(new Param('layout_id', 'com.zoho.crm.api.Pipeline.UpdatePipelineParam'), $this->layoutId); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to delete pipeline + * @param string $id A string + * @param DPipelineWrapper $request An instance of DPipelineWrapper + * @return APIResponse An instance of APIResponse + */ + public function deletePipeline(string $id, DPipelineWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/pipeline/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod('PATCH'); + $handlerInstance->setCategoryMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->addParam(new Param('layout_id', 'com.zoho.crm.api.Pipeline.DeletePipelineParam'), $this->layoutId); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to transfer pipelines + * @param TransferPipelineWrapper $request An instance of TransferPipelineWrapper + * @return APIResponse An instance of APIResponse + */ + public function transferPipelines(TransferPipelineWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/pipeline/actions/transfer'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_ACTION); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->addParam(new Param('layout_id', 'com.zoho.crm.api.Pipeline.TransferPipelinesParam'), $this->layoutId); + return $handlerInstance->apiCall(TransferPipelineActionHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/pipeline/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/pipeline/ResponseHandler.php new file mode 100644 index 0000000..ecdd4f6 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/pipeline/ResponseHandler.php @@ -0,0 +1,7 @@ +pipeline; + + } + + /** + * The method to set the value to pipeline + * @param array $pipeline A array + */ + public function setPipeline(array $pipeline) + { + $this->pipeline=$pipeline; + $this->keyModified['pipeline'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/pipeline/Stages.php b/versions/5.0.0/src/com/zoho/crm/api/pipeline/Stages.php new file mode 100644 index 0000000..8d6cd9a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/pipeline/Stages.php @@ -0,0 +1,81 @@ +from; + + } + + /** + * The method to set the value to from + * @param string $from A string + */ + public function setFrom(string $from) + { + $this->from=$from; + $this->keyModified['from'] = 1; + + } + + /** + * The method to get the to + * @return string A string representing the to + */ + public function getTo() + { + return $this->to; + + } + + /** + * The method to set the value to to + * @param string $to A string + */ + public function setTo(string $to) + { + $this->to=$to; + $this->keyModified['to'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/pipeline/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/pipeline/SuccessResponse.php new file mode 100644 index 0000000..6305419 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/pipeline/SuccessResponse.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/pipeline/TPipeline.php b/versions/5.0.0/src/com/zoho/crm/api/pipeline/TPipeline.php new file mode 100644 index 0000000..61c75d2 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/pipeline/TPipeline.php @@ -0,0 +1,81 @@ +from; + + } + + /** + * The method to set the value to from + * @param string $from A string + */ + public function setFrom(string $from) + { + $this->from=$from; + $this->keyModified['from'] = 1; + + } + + /** + * The method to get the to + * @return string A string representing the to + */ + public function getTo() + { + return $this->to; + + } + + /** + * The method to set the value to to + * @param string $to A string + */ + public function setTo(string $to) + { + $this->to=$to; + $this->keyModified['to'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/pipeline/TransferPipeline.php b/versions/5.0.0/src/com/zoho/crm/api/pipeline/TransferPipeline.php new file mode 100644 index 0000000..23a7f80 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/pipeline/TransferPipeline.php @@ -0,0 +1,81 @@ +pipeline; + + } + + /** + * The method to set the value to pipeline + * @param TPipeline $pipeline An instance of TPipeline + */ + public function setPipeline(TPipeline $pipeline) + { + $this->pipeline=$pipeline; + $this->keyModified['pipeline'] = 1; + + } + + /** + * The method to get the stages + * @return array A array representing the stages + */ + public function getStages() + { + return $this->stages; + + } + + /** + * The method to set the value to stages + * @param array $stages A array + */ + public function setStages(array $stages) + { + $this->stages=$stages; + $this->keyModified['stages'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/pipeline/TransferPipelineActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/pipeline/TransferPipelineActionHandler.php new file mode 100644 index 0000000..e9fb371 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/pipeline/TransferPipelineActionHandler.php @@ -0,0 +1,7 @@ +transferPipeline; + + } + + /** + * The method to set the value to transferPipeline + * @param array $transferPipeline A array + */ + public function setTransferPipeline(array $transferPipeline) + { + $this->transferPipeline=$transferPipeline; + $this->keyModified['transfer_pipeline'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/pipeline/TransferPipelineSuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/pipeline/TransferPipelineSuccessResponse.php new file mode 100644 index 0000000..3b5e96f --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/pipeline/TransferPipelineSuccessResponse.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/pipeline/TransferPipelineWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/pipeline/TransferPipelineWrapper.php new file mode 100644 index 0000000..90b8fa7 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/pipeline/TransferPipelineWrapper.php @@ -0,0 +1,59 @@ +transferPipeline; + + } + + /** + * The method to set the value to transferPipeline + * @param array $transferPipeline A array + */ + public function setTransferPipeline(array $transferPipeline) + { + $this->transferPipeline=$transferPipeline; + $this->keyModified['transfer_pipeline'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/pipeline/TransferPipelinesParam.php b/versions/5.0.0/src/com/zoho/crm/api/pipeline/TransferPipelinesParam.php new file mode 100644 index 0000000..c8e6b50 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/pipeline/TransferPipelinesParam.php @@ -0,0 +1,7 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/portalinvite/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/portalinvite/ActionHandler.php new file mode 100644 index 0000000..5f04825 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/portalinvite/ActionHandler.php @@ -0,0 +1,7 @@ +portalInvite; + + } + + /** + * The method to set the value to portalInvite + * @param array $portalInvite A array + */ + public function setPortalInvite(array $portalInvite) + { + $this->portalInvite=$portalInvite; + $this->keyModified['portal_invite'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/portalinvite/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/portalinvite/BodyWrapper.php new file mode 100644 index 0000000..9bb4afe --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/portalinvite/BodyWrapper.php @@ -0,0 +1,59 @@ +portalInvite; + + } + + /** + * The method to set the value to portalInvite + * @param array $portalInvite A array + */ + public function setPortalInvite(array $portalInvite) + { + $this->portalInvite=$portalInvite; + $this->keyModified['portal_invite'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/portalinvite/Data.php b/versions/5.0.0/src/com/zoho/crm/api/portalinvite/Data.php new file mode 100644 index 0000000..d63f5b5 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/portalinvite/Data.php @@ -0,0 +1,7 @@ +data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to get the jobId + * @return string A string representing the jobId + */ + public function getJobId() + { + return $this->jobId; + + } + + /** + * The method to set the value to jobId + * @param string $jobId A string + */ + public function setJobId(string $jobId) + { + $this->jobId=$jobId; + $this->keyModified['job_id'] = 1; + + } + + /** + * The method to get the status + * @return string A string representing the status + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param string $status A string + */ + public function setStatus(string $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/portalinvite/Portal.php b/versions/5.0.0/src/com/zoho/crm/api/portalinvite/Portal.php new file mode 100644 index 0000000..d51c70d --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/portalinvite/Portal.php @@ -0,0 +1,126 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the userTypeId + * @return string A string representing the userTypeId + */ + public function getUserTypeId() + { + return $this->userTypeId; + + } + + /** + * The method to set the value to userTypeId + * @param string $userTypeId A string + */ + public function setUserTypeId(string $userTypeId) + { + $this->userTypeId=$userTypeId; + $this->keyModified['user_type_id'] = 1; + + } + + /** + * The method to get the type + * @return Choice An instance of Choice + */ + public function getType() + { + return $this->type; + + } + + /** + * The method to set the value to type + * @param Choice $type An instance of Choice + */ + public function setType(Choice $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to get the language + * @return Choice An instance of Choice + */ + public function getLanguage() + { + return $this->language; + + } + + /** + * The method to set the value to language + * @param Choice $language An instance of Choice + */ + public function setLanguage(Choice $language) + { + $this->language=$language; + $this->keyModified['language'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/portalinvite/PortalInvite.php b/versions/5.0.0/src/com/zoho/crm/api/portalinvite/PortalInvite.php new file mode 100644 index 0000000..479bd1f --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/portalinvite/PortalInvite.php @@ -0,0 +1,59 @@ +data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/portalinvite/PortalInviteOperations.php b/versions/5.0.0/src/com/zoho/crm/api/portalinvite/PortalInviteOperations.php new file mode 100644 index 0000000..1df02aa --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/portalinvite/PortalInviteOperations.php @@ -0,0 +1,49 @@ +module=$module; + + } + + /** + * The method to invite users + * @param string $record A string + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function inviteUsers(string $record, ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->module)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($record)); + $apiPath=$apiPath.('/actions/portal_invite'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_ACTION); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/portalinvite/ResponseWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/portalinvite/ResponseWrapper.php new file mode 100644 index 0000000..471fa3b --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/portalinvite/ResponseWrapper.php @@ -0,0 +1,59 @@ +portalInvite; + + } + + /** + * The method to set the value to portalInvite + * @param array $portalInvite A array + */ + public function setPortalInvite(array $portalInvite) + { + $this->portalInvite=$portalInvite; + $this->keyModified['portal_invite'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/portalinvite/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/portalinvite/SuccessResponse.php new file mode 100644 index 0000000..abe5b5c --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/portalinvite/SuccessResponse.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/portals/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/portals/APIException.php new file mode 100644 index 0000000..7c3750c --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/portals/APIException.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/portals/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/portals/ActionHandler.php new file mode 100644 index 0000000..bed909e --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/portals/ActionHandler.php @@ -0,0 +1,7 @@ +portals; + + } + + /** + * The method to set the value to portals + * @param array $portals A array + */ + public function setPortals(array $portals) + { + $this->portals=$portals; + $this->keyModified['portals'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/portals/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/portals/BodyWrapper.php new file mode 100644 index 0000000..9f48d15 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/portals/BodyWrapper.php @@ -0,0 +1,59 @@ +portals; + + } + + /** + * The method to set the value to portals + * @param array $portals A array + */ + public function setPortals(array $portals) + { + $this->portals=$portals; + $this->keyModified['portals'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/portals/Owner.php b/versions/5.0.0/src/com/zoho/crm/api/portals/Owner.php new file mode 100644 index 0000000..5430a0c --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/portals/Owner.php @@ -0,0 +1,81 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/portals/Portals.php b/versions/5.0.0/src/com/zoho/crm/api/portals/Portals.php new file mode 100644 index 0000000..6475ea7 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/portals/Portals.php @@ -0,0 +1,191 @@ +createdTime; + + } + + /** + * The method to set the value to createdTime + * @param \DateTime $createdTime An instance of \DateTime + */ + public function setCreatedTime(\DateTime $createdTime) + { + $this->createdTime=$createdTime; + $this->keyModified['created_time'] = 1; + + } + + /** + * The method to get the modifiedTime + * @return \DateTime An instance of \DateTime + */ + public function getModifiedTime() + { + return $this->modifiedTime; + + } + + /** + * The method to set the value to modifiedTime + * @param \DateTime $modifiedTime An instance of \DateTime + */ + public function setModifiedTime(\DateTime $modifiedTime) + { + $this->modifiedTime=$modifiedTime; + $this->keyModified['modified_time'] = 1; + + } + + /** + * The method to get the modifiedBy + * @return Owner An instance of Owner + */ + public function getModifiedBy() + { + return $this->modifiedBy; + + } + + /** + * The method to set the value to modifiedBy + * @param Owner $modifiedBy An instance of Owner + */ + public function setModifiedBy(Owner $modifiedBy) + { + $this->modifiedBy=$modifiedBy; + $this->keyModified['modified_by'] = 1; + + } + + /** + * The method to get the createdBy + * @return Owner An instance of Owner + */ + public function getCreatedBy() + { + return $this->createdBy; + + } + + /** + * The method to set the value to createdBy + * @param Owner $createdBy An instance of Owner + */ + public function setCreatedBy(Owner $createdBy) + { + $this->createdBy=$createdBy; + $this->keyModified['created_by'] = 1; + + } + + /** + * The method to get the zaid + * @return string A string representing the zaid + */ + public function getZaid() + { + return $this->zaid; + + } + + /** + * The method to set the value to zaid + * @param string $zaid A string + */ + public function setZaid(string $zaid) + { + $this->zaid=$zaid; + $this->keyModified['zaid'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the active + * @return bool A bool representing the active + */ + public function getActive() + { + return $this->active; + + } + + /** + * The method to set the value to active + * @param bool $active A bool + */ + public function setActive(bool $active) + { + $this->active=$active; + $this->keyModified['active'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/portals/PortalsOperations.php b/versions/5.0.0/src/com/zoho/crm/api/portals/PortalsOperations.php new file mode 100644 index 0000000..4b96689 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/portals/PortalsOperations.php @@ -0,0 +1,87 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to create portal + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function createPortal(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/portals'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get portal + * @param string $portalName A string + * @return APIResponse An instance of APIResponse + */ + public function getPortal(string $portalName) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/portals/'); + $apiPath=$apiPath.(strval($portalName)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to update portal + * @param string $portalName A string + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updatePortal(string $portalName, BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/portals/'); + $apiPath=$apiPath.(strval($portalName)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/portals/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/portals/ResponseHandler.php new file mode 100644 index 0000000..ec127b8 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/portals/ResponseHandler.php @@ -0,0 +1,7 @@ +portals; + + } + + /** + * The method to set the value to portals + * @param array $portals A array + */ + public function setPortals(array $portals) + { + $this->portals=$portals; + $this->keyModified['portals'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/portals/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/portals/SuccessResponse.php new file mode 100644 index 0000000..4758bd8 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/portals/SuccessResponse.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/portalsmeta/Filters.php b/versions/5.0.0/src/com/zoho/crm/api/portalsmeta/Filters.php new file mode 100644 index 0000000..99d4ac5 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/portalsmeta/Filters.php @@ -0,0 +1,103 @@ +displayLabel; + + } + + /** + * The method to set the value to displayLabel + * @param string $displayLabel A string + */ + public function setDisplayLabel(string $displayLabel) + { + $this->displayLabel=$displayLabel; + $this->keyModified['display_label'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/portalsmeta/Layouts.php b/versions/5.0.0/src/com/zoho/crm/api/portalsmeta/Layouts.php new file mode 100644 index 0000000..a53183f --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/portalsmeta/Layouts.php @@ -0,0 +1,103 @@ +displayLabel; + + } + + /** + * The method to set the value to displayLabel + * @param string $displayLabel A string + */ + public function setDisplayLabel(string $displayLabel) + { + $this->displayLabel=$displayLabel; + $this->keyModified['display_label'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/portalsmeta/Modules.php b/versions/5.0.0/src/com/zoho/crm/api/portalsmeta/Modules.php new file mode 100644 index 0000000..ddccb42 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/portalsmeta/Modules.php @@ -0,0 +1,191 @@ +pluralLabel; + + } + + /** + * The method to set the value to pluralLabel + * @param string $pluralLabel A string + */ + public function setPluralLabel(string $pluralLabel) + { + $this->pluralLabel=$pluralLabel; + $this->keyModified['plural_label'] = 1; + + } + + /** + * The method to get the sharedType + * @return string A string representing the sharedType + */ + public function getSharedType() + { + return $this->sharedType; + + } + + /** + * The method to set the value to sharedType + * @param string $sharedType A string + */ + public function setSharedType(string $sharedType) + { + $this->sharedType=$sharedType; + $this->keyModified['shared_type'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the filters + * @return array A array representing the filters + */ + public function getFilters() + { + return $this->filters; + + } + + /** + * The method to set the value to filters + * @param array $filters A array + */ + public function setFilters(array $filters) + { + $this->filters=$filters; + $this->keyModified['filters'] = 1; + + } + + /** + * The method to get the layouts + * @return array A array representing the layouts + */ + public function getLayouts() + { + return $this->layouts; + + } + + /** + * The method to set the value to layouts + * @param array $layouts A array + */ + public function setLayouts(array $layouts) + { + $this->layouts=$layouts; + $this->keyModified['layouts'] = 1; + + } + + /** + * The method to get the views + * @return array A array representing the views + */ + public function getViews() + { + return $this->views; + + } + + /** + * The method to set the value to views + * @param array $views A array + */ + public function setViews(array $views) + { + $this->views=$views; + $this->keyModified['views'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/portalsmeta/RelatedLists.php b/versions/5.0.0/src/com/zoho/crm/api/portalsmeta/RelatedLists.php new file mode 100644 index 0000000..83cbf0e --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/portalsmeta/RelatedLists.php @@ -0,0 +1,59 @@ +module; + + } + + /** + * The method to set the value to module + * @param Modules $module An instance of Modules + */ + public function setModule(Modules $module) + { + $this->module=$module; + $this->keyModified['module'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/portalsmeta/Views.php b/versions/5.0.0/src/com/zoho/crm/api/portalsmeta/Views.php new file mode 100644 index 0000000..3c83374 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/portalsmeta/Views.php @@ -0,0 +1,125 @@ +displayLabel; + + } + + /** + * The method to set the value to displayLabel + * @param string $displayLabel A string + */ + public function setDisplayLabel(string $displayLabel) + { + $this->displayLabel=$displayLabel; + $this->keyModified['display_label'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the type + * @return string A string representing the type + */ + public function getType() + { + return $this->type; + + } + + /** + * The method to set the value to type + * @param string $type A string + */ + public function setType(string $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/portalsmeta/Wrapper.php b/versions/5.0.0/src/com/zoho/crm/api/portalsmeta/Wrapper.php new file mode 100644 index 0000000..4154fc6 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/portalsmeta/Wrapper.php @@ -0,0 +1,59 @@ +relatedLists; + + } + + /** + * The method to set the value to relatedLists + * @param array $relatedLists A array + */ + public function setRelatedLists(array $relatedLists) + { + $this->relatedLists=$relatedLists; + $this->keyModified['related_lists'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/portalusertype/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/portalusertype/APIException.php new file mode 100644 index 0000000..9617cd7 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/portalusertype/APIException.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/portalusertype/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/portalusertype/ActionHandler.php new file mode 100644 index 0000000..79aa1e2 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/portalusertype/ActionHandler.php @@ -0,0 +1,7 @@ +userType; + + } + + /** + * The method to set the value to userType + * @param array $userType A array + */ + public function setUserType(array $userType) + { + $this->userType=$userType; + $this->keyModified['user_type'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/portalusertype/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/portalusertype/BodyWrapper.php new file mode 100644 index 0000000..f40705e --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/portalusertype/BodyWrapper.php @@ -0,0 +1,59 @@ +userType; + + } + + /** + * The method to set the value to userType + * @param array $userType A array + */ + public function setUserType(array $userType) + { + $this->userType=$userType; + $this->keyModified['user_type'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/portalusertype/Fields.php b/versions/5.0.0/src/com/zoho/crm/api/portalusertype/Fields.php new file mode 100644 index 0000000..9ecfced --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/portalusertype/Fields.php @@ -0,0 +1,103 @@ +readOnly; + + } + + /** + * The method to set the value to readOnly + * @param bool $readOnly A bool + */ + public function setReadOnly(bool $readOnly) + { + $this->readOnly=$readOnly; + $this->keyModified['read_only'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/portalusertype/Filters.php b/versions/5.0.0/src/com/zoho/crm/api/portalusertype/Filters.php new file mode 100644 index 0000000..78ec049 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/portalusertype/Filters.php @@ -0,0 +1,103 @@ +displayLabel; + + } + + /** + * The method to set the value to displayLabel + * @param string $displayLabel A string + */ + public function setDisplayLabel(string $displayLabel) + { + $this->displayLabel=$displayLabel; + $this->keyModified['display_label'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/portalusertype/GetUserTypesParam.php b/versions/5.0.0/src/com/zoho/crm/api/portalusertype/GetUserTypesParam.php new file mode 100644 index 0000000..72a061f --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/portalusertype/GetUserTypesParam.php @@ -0,0 +1,14 @@ +displayLabel; + + } + + /** + * The method to set the value to displayLabel + * @param string $displayLabel A string + */ + public function setDisplayLabel(string $displayLabel) + { + $this->displayLabel=$displayLabel; + $this->keyModified['display_label'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the defaultview + * @return Views An instance of Views + */ + public function getDefaultview() + { + return $this->defaultview; + + } + + /** + * The method to set the value to defaultview + * @param Views $defaultview An instance of Views + */ + public function setDefaultview(Views $defaultview) + { + $this->defaultview=$defaultview; + $this->keyModified['_default_view'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/portalusertype/Modules.php b/versions/5.0.0/src/com/zoho/crm/api/portalusertype/Modules.php new file mode 100644 index 0000000..e5512ff --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/portalusertype/Modules.php @@ -0,0 +1,235 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the pluralLabel + * @return string A string representing the pluralLabel + */ + public function getPluralLabel() + { + return $this->pluralLabel; + + } + + /** + * The method to set the value to pluralLabel + * @param string $pluralLabel A string + */ + public function setPluralLabel(string $pluralLabel) + { + $this->pluralLabel=$pluralLabel; + $this->keyModified['plural_label'] = 1; + + } + + /** + * The method to get the sharedType + * @return string A string representing the sharedType + */ + public function getSharedType() + { + return $this->sharedType; + + } + + /** + * The method to set the value to sharedType + * @param string $sharedType A string + */ + public function setSharedType(string $sharedType) + { + $this->sharedType=$sharedType; + $this->keyModified['shared_type'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the filters + * @return array A array representing the filters + */ + public function getFilters() + { + return $this->filters; + + } + + /** + * The method to set the value to filters + * @param array $filters A array + */ + public function setFilters(array $filters) + { + $this->filters=$filters; + $this->keyModified['filters'] = 1; + + } + + /** + * The method to get the fields + * @return array A array representing the fields + */ + public function getFields() + { + return $this->fields; + + } + + /** + * The method to set the value to fields + * @param array $fields A array + */ + public function setFields(array $fields) + { + $this->fields=$fields; + $this->keyModified['fields'] = 1; + + } + + /** + * The method to get the layouts + * @return array A array representing the layouts + */ + public function getLayouts() + { + return $this->layouts; + + } + + /** + * The method to set the value to layouts + * @param array $layouts A array + */ + public function setLayouts(array $layouts) + { + $this->layouts=$layouts; + $this->keyModified['layouts'] = 1; + + } + + /** + * The method to get the views + * @return Views An instance of Views + */ + public function getViews() + { + return $this->views; + + } + + /** + * The method to set the value to views + * @param Views $views An instance of Views + */ + public function setViews(Views $views) + { + $this->views=$views; + $this->keyModified['views'] = 1; + + } + + /** + * The method to get the permissions + * @return Permissions An instance of Permissions + */ + public function getPermissions() + { + return $this->permissions; + + } + + /** + * The method to set the value to permissions + * @param Permissions $permissions An instance of Permissions + */ + public function setPermissions(Permissions $permissions) + { + $this->permissions=$permissions; + $this->keyModified['permissions'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/portalusertype/Owner.php b/versions/5.0.0/src/com/zoho/crm/api/portalusertype/Owner.php new file mode 100644 index 0000000..e203ca4 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/portalusertype/Owner.php @@ -0,0 +1,81 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/portalusertype/Permissions.php b/versions/5.0.0/src/com/zoho/crm/api/portalusertype/Permissions.php new file mode 100644 index 0000000..f2305e0 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/portalusertype/Permissions.php @@ -0,0 +1,191 @@ +view; + + } + + /** + * The method to set the value to view + * @param bool $view A bool + */ + public function setView(bool $view) + { + $this->view=$view; + $this->keyModified['view'] = 1; + + } + + /** + * The method to get the edit + * @return bool A bool representing the edit + */ + public function getEdit() + { + return $this->edit; + + } + + /** + * The method to set the value to edit + * @param bool $edit A bool + */ + public function setEdit(bool $edit) + { + $this->edit=$edit; + $this->keyModified['edit'] = 1; + + } + + /** + * The method to get the editSharedRecords + * @return bool A bool representing the editSharedRecords + */ + public function getEditSharedRecords() + { + return $this->editSharedRecords; + + } + + /** + * The method to set the value to editSharedRecords + * @param bool $editSharedRecords A bool + */ + public function setEditSharedRecords(bool $editSharedRecords) + { + $this->editSharedRecords=$editSharedRecords; + $this->keyModified['edit_shared_records'] = 1; + + } + + /** + * The method to get the create + * @return bool A bool representing the create + */ + public function getCreate() + { + return $this->create; + + } + + /** + * The method to set the value to create + * @param bool $create A bool + */ + public function setCreate(bool $create) + { + $this->create=$create; + $this->keyModified['create'] = 1; + + } + + /** + * The method to get the delete + * @return bool A bool representing the delete + */ + public function getDelete() + { + return $this->delete; + + } + + /** + * The method to set the value to delete + * @param bool $delete A bool + */ + public function setDelete(bool $delete) + { + $this->delete=$delete; + $this->keyModified['delete'] = 1; + + } + + /** + * The method to get the deleteAttachment + * @return bool A bool representing the deleteAttachment + */ + public function getDeleteAttachment() + { + return $this->deleteAttachment; + + } + + /** + * The method to set the value to deleteAttachment + * @param bool $deleteAttachment A bool + */ + public function setDeleteAttachment(bool $deleteAttachment) + { + $this->deleteAttachment=$deleteAttachment; + $this->keyModified['delete_attachment'] = 1; + + } + + /** + * The method to get the createAttachment + * @return bool A bool representing the createAttachment + */ + public function getCreateAttachment() + { + return $this->createAttachment; + + } + + /** + * The method to set the value to createAttachment + * @param bool $createAttachment A bool + */ + public function setCreateAttachment(bool $createAttachment) + { + $this->createAttachment=$createAttachment; + $this->keyModified['create_attachment'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/portalusertype/PersonalityModule.php b/versions/5.0.0/src/com/zoho/crm/api/portalusertype/PersonalityModule.php new file mode 100644 index 0000000..a10406e --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/portalusertype/PersonalityModule.php @@ -0,0 +1,103 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the pluralLabel + * @return string A string representing the pluralLabel + */ + public function getPluralLabel() + { + return $this->pluralLabel; + + } + + /** + * The method to set the value to pluralLabel + * @param string $pluralLabel A string + */ + public function setPluralLabel(string $pluralLabel) + { + $this->pluralLabel=$pluralLabel; + $this->keyModified['plural_label'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/portalusertype/PortalUserTypeOperations.php b/versions/5.0.0/src/com/zoho/crm/api/portalusertype/PortalUserTypeOperations.php new file mode 100644 index 0000000..c779363 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/portalusertype/PortalUserTypeOperations.php @@ -0,0 +1,131 @@ +portal=$portal; + + } + + /** + * The method to get user types + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function getUserTypes(ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/portals/'); + $apiPath=$apiPath.(strval($this->portal)); + $apiPath=$apiPath.('/user_type'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to create user type + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function createUserType(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/portals/'); + $apiPath=$apiPath.(strval($this->portal)); + $apiPath=$apiPath.('/user_type'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get user type + * @param string $userTypeId A string + * @return APIResponse An instance of APIResponse + */ + public function getUserType(string $userTypeId) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/portals/'); + $apiPath=$apiPath.(strval($this->portal)); + $apiPath=$apiPath.('/user_type/'); + $apiPath=$apiPath.(strval($userTypeId)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to update user type + * @param string $userTypeId A string + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updateUserType(string $userTypeId, BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/portals/'); + $apiPath=$apiPath.(strval($this->portal)); + $apiPath=$apiPath.('/user_type/'); + $apiPath=$apiPath.(strval($userTypeId)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to delete user type + * @param string $userTypeId A string + * @return APIResponse An instance of APIResponse + */ + public function deleteUserType(string $userTypeId) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/portals/'); + $apiPath=$apiPath.(strval($this->portal)); + $apiPath=$apiPath.('/user_type/'); + $apiPath=$apiPath.(strval($userTypeId)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setCategoryMethod(Constants::REQUEST_METHOD_DELETE); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/portalusertype/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/portalusertype/ResponseHandler.php new file mode 100644 index 0000000..8006180 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/portalusertype/ResponseHandler.php @@ -0,0 +1,7 @@ +userType; + + } + + /** + * The method to set the value to userType + * @param array $userType A array + */ + public function setUserType(array $userType) + { + $this->userType=$userType; + $this->keyModified['user_type'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/portalusertype/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/portalusertype/SuccessResponse.php new file mode 100644 index 0000000..9b1b580 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/portalusertype/SuccessResponse.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/portalusertype/UserType.php b/versions/5.0.0/src/com/zoho/crm/api/portalusertype/UserType.php new file mode 100644 index 0000000..84c66e4 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/portalusertype/UserType.php @@ -0,0 +1,279 @@ +personalityModule; + + } + + /** + * The method to set the value to personalityModule + * @param PersonalityModule $personalityModule An instance of PersonalityModule + */ + public function setPersonalityModule(PersonalityModule $personalityModule) + { + $this->personalityModule=$personalityModule; + $this->keyModified['personality_module'] = 1; + + } + + /** + * The method to get the createdTime + * @return \DateTime An instance of \DateTime + */ + public function getCreatedTime() + { + return $this->createdTime; + + } + + /** + * The method to set the value to createdTime + * @param \DateTime $createdTime An instance of \DateTime + */ + public function setCreatedTime(\DateTime $createdTime) + { + $this->createdTime=$createdTime; + $this->keyModified['created_time'] = 1; + + } + + /** + * The method to get the modifiedTime + * @return \DateTime An instance of \DateTime + */ + public function getModifiedTime() + { + return $this->modifiedTime; + + } + + /** + * The method to set the value to modifiedTime + * @param \DateTime $modifiedTime An instance of \DateTime + */ + public function setModifiedTime(\DateTime $modifiedTime) + { + $this->modifiedTime=$modifiedTime; + $this->keyModified['modified_time'] = 1; + + } + + /** + * The method to get the modifiedBy + * @return Owner An instance of Owner + */ + public function getModifiedBy() + { + return $this->modifiedBy; + + } + + /** + * The method to set the value to modifiedBy + * @param Owner $modifiedBy An instance of Owner + */ + public function setModifiedBy(Owner $modifiedBy) + { + $this->modifiedBy=$modifiedBy; + $this->keyModified['modified_by'] = 1; + + } + + /** + * The method to get the createdBy + * @return Owner An instance of Owner + */ + public function getCreatedBy() + { + return $this->createdBy; + + } + + /** + * The method to set the value to createdBy + * @param Owner $createdBy An instance of Owner + */ + public function setCreatedBy(Owner $createdBy) + { + $this->createdBy=$createdBy; + $this->keyModified['created_by'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the active + * @return bool A bool representing the active + */ + public function getActive() + { + return $this->active; + + } + + /** + * The method to set the value to active + * @param bool $active A bool + */ + public function setActive(bool $active) + { + $this->active=$active; + $this->keyModified['active'] = 1; + + } + + /** + * The method to get the default + * @return bool A bool representing the default + */ + public function getDefault() + { + return $this->default; + + } + + /** + * The method to set the value to default + * @param bool $default A bool + */ + public function setDefault(bool $default) + { + $this->default=$default; + $this->keyModified['default'] = 1; + + } + + /** + * The method to get the noOfUsers + * @return int A int representing the noOfUsers + */ + public function getNoOfUsers() + { + return $this->noOfUsers; + + } + + /** + * The method to set the value to noOfUsers + * @param int $noOfUsers A int + */ + public function setNoOfUsers(int $noOfUsers) + { + $this->noOfUsers=$noOfUsers; + $this->keyModified['no_of_users'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the modules + * @return array A array representing the modules + */ + public function getModules() + { + return $this->modules; + + } + + /** + * The method to set the value to modules + * @param array $modules A array + */ + public function setModules(array $modules) + { + $this->modules=$modules; + $this->keyModified['modules'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/portalusertype/Views.php b/versions/5.0.0/src/com/zoho/crm/api/portalusertype/Views.php new file mode 100644 index 0000000..254620e --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/portalusertype/Views.php @@ -0,0 +1,125 @@ +displayLabel; + + } + + /** + * The method to set the value to displayLabel + * @param string $displayLabel A string + */ + public function setDisplayLabel(string $displayLabel) + { + $this->displayLabel=$displayLabel; + $this->keyModified['display_label'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the type + * @return string A string representing the type + */ + public function getType() + { + return $this->type; + + } + + /** + * The method to set the value to type + * @param string $type A string + */ + public function setType(string $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/privacyconfigurableapps/Apps.php b/versions/5.0.0/src/com/zoho/crm/api/privacyconfigurableapps/Apps.php new file mode 100644 index 0000000..8b09ba1 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/privacyconfigurableapps/Apps.php @@ -0,0 +1,59 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/privacyconfigurableapps/Wrapper.php b/versions/5.0.0/src/com/zoho/crm/api/privacyconfigurableapps/Wrapper.php new file mode 100644 index 0000000..a851899 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/privacyconfigurableapps/Wrapper.php @@ -0,0 +1,59 @@ +privacyConfigurableApps; + + } + + /** + * The method to set the value to privacyConfigurableApps + * @param array $privacyConfigurableApps A array + */ + public function setPrivacyConfigurableApps(array $privacyConfigurableApps) + { + $this->privacyConfigurableApps=$privacyConfigurableApps; + $this->keyModified['privacy_configurable_apps'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/privacypreference/Config.php b/versions/5.0.0/src/com/zoho/crm/api/privacypreference/Config.php new file mode 100644 index 0000000..9c35070 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/privacypreference/Config.php @@ -0,0 +1,103 @@ +tpt; + + } + + /** + * The method to set the value to tpt + * @param array $tpt A array + */ + public function setTpt(array $tpt) + { + $this->tpt=$tpt; + $this->keyModified['tpt'] = 1; + + } + + /** + * The method to get the section + * @return array A array representing the section + */ + public function getSection() + { + return $this->section; + + } + + /** + * The method to set the value to section + * @param array $section A array + */ + public function setSection(array $section) + { + $this->section=$section; + $this->keyModified['section'] = 1; + + } + + /** + * The method to get the zohoInteg + * @return array A array representing the zohoInteg + */ + public function getZohoInteg() + { + return $this->zohoInteg; + + } + + /** + * The method to set the value to zohoInteg + * @param array $zohoInteg A array + */ + public function setZohoInteg(array $zohoInteg) + { + $this->zohoInteg=$zohoInteg; + $this->keyModified['zoho_integ'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/privacypreference/Option.php b/versions/5.0.0/src/com/zoho/crm/api/privacypreference/Option.php new file mode 100644 index 0000000..374b3d8 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/privacypreference/Option.php @@ -0,0 +1,125 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the tooltip + * @return string A string representing the tooltip + */ + public function getTooltip() + { + return $this->tooltip; + + } + + /** + * The method to set the value to tooltip + * @param string $tooltip A string + */ + public function setTooltip(string $tooltip) + { + $this->tooltip=$tooltip; + $this->keyModified['tooltip'] = 1; + + } + + /** + * The method to get the type + * @return string A string representing the type + */ + public function getType() + { + return $this->type; + + } + + /** + * The method to set the value to type + * @param string $type A string + */ + public function setType(string $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to get the suboptions + * @return array A array representing the suboptions + */ + public function getSuboptions() + { + return $this->suboptions; + + } + + /** + * The method to set the value to suboptions + * @param array $suboptions A array + */ + public function setSuboptions(array $suboptions) + { + $this->suboptions=$suboptions; + $this->keyModified['suboptions'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/privacypreference/Preference.php b/versions/5.0.0/src/com/zoho/crm/api/privacypreference/Preference.php new file mode 100644 index 0000000..d91c982 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/privacypreference/Preference.php @@ -0,0 +1,521 @@ +consentModules; + + } + + /** + * The method to set the value to consentModules + * @param string $consentModules A string + */ + public function setConsentModules(string $consentModules) + { + $this->consentModules=$consentModules; + $this->keyModified['consent_modules'] = 1; + + } + + /** + * The method to get the restrictTptFields + * @return string A string representing the restrictTptFields + */ + public function getRestrictTptFields() + { + return $this->restrictTptFields; + + } + + /** + * The method to set the value to restrictTptFields + * @param string $restrictTptFields A string + */ + public function setRestrictTptFields(string $restrictTptFields) + { + $this->restrictTptFields=$restrictTptFields; + $this->keyModified['restrict_tpt_fields'] = 1; + + } + + /** + * The method to get the excludeAPIZoho + * @return string A string representing the excludeAPIZoho + */ + public function getExcludeAPIZoho() + { + return $this->excludeAPIZoho; + + } + + /** + * The method to set the value to excludeAPIZoho + * @param string $excludeAPIZoho A string + */ + public function setExcludeAPIZoho(string $excludeAPIZoho) + { + $this->excludeAPIZoho=$excludeAPIZoho; + $this->keyModified['exclude_api_zoho'] = 1; + + } + + /** + * The method to get the awaitingPeriod + * @return string A string representing the awaitingPeriod + */ + public function getAwaitingPeriod() + { + return $this->awaitingPeriod; + + } + + /** + * The method to set the value to awaitingPeriod + * @param string $awaitingPeriod A string + */ + public function setAwaitingPeriod(string $awaitingPeriod) + { + $this->awaitingPeriod=$awaitingPeriod; + $this->keyModified['awaiting_period'] = 1; + + } + + /** + * The method to get the consentMailSend + * @return string A string representing the consentMailSend + */ + public function getConsentMailSend() + { + return $this->consentMailSend; + + } + + /** + * The method to set the value to consentMailSend + * @param string $consentMailSend A string + */ + public function setConsentMailSend(string $consentMailSend) + { + $this->consentMailSend=$consentMailSend; + $this->keyModified['consent_mail_send'] = 1; + + } + + /** + * The method to get the excludeExportFields + * @return string A string representing the excludeExportFields + */ + public function getExcludeExportFields() + { + return $this->excludeExportFields; + + } + + /** + * The method to set the value to excludeExportFields + * @param string $excludeExportFields A string + */ + public function setExcludeExportFields(string $excludeExportFields) + { + $this->excludeExportFields=$excludeExportFields; + $this->keyModified['exclude_export_fields'] = 1; + + } + + /** + * The method to get the limitActions + * @return string A string representing the limitActions + */ + public function getLimitActions() + { + return $this->limitActions; + + } + + /** + * The method to set the value to limitActions + * @param string $limitActions A string + */ + public function setLimitActions(string $limitActions) + { + $this->limitActions=$limitActions; + $this->keyModified['limit_actions'] = 1; + + } + + /** + * The method to get the excludeExport + * @return string A string representing the excludeExport + */ + public function getExcludeExport() + { + return $this->excludeExport; + + } + + /** + * The method to set the value to excludeExport + * @param string $excludeExport A string + */ + public function setExcludeExport(string $excludeExport) + { + $this->excludeExport=$excludeExport; + $this->keyModified['exclude_export'] = 1; + + } + + /** + * The method to get the restrictZohoInteg + * @return string A string representing the restrictZohoInteg + */ + public function getRestrictZohoInteg() + { + return $this->restrictZohoInteg; + + } + + /** + * The method to set the value to restrictZohoInteg + * @param string $restrictZohoInteg A string + */ + public function setRestrictZohoInteg(string $restrictZohoInteg) + { + $this->restrictZohoInteg=$restrictZohoInteg; + $this->keyModified['restrict_zoho_integ'] = 1; + + } + + /** + * The method to get the excludeAPIZohoFields + * @return string A string representing the excludeAPIZohoFields + */ + public function getExcludeAPIZohoFields() + { + return $this->excludeAPIZohoFields; + + } + + /** + * The method to set the value to excludeAPIZohoFields + * @param string $excludeAPIZohoFields A string + */ + public function setExcludeAPIZohoFields(string $excludeAPIZohoFields) + { + $this->excludeAPIZohoFields=$excludeAPIZohoFields; + $this->keyModified['exclude_api_zoho_fields'] = 1; + + } + + /** + * The method to get the durationTiming + * @return string A string representing the durationTiming + */ + public function getDurationTiming() + { + return $this->durationTiming; + + } + + /** + * The method to set the value to durationTiming + * @param string $durationTiming A string + */ + public function setDurationTiming(string $durationTiming) + { + $this->durationTiming=$durationTiming; + $this->keyModified['duration_timing'] = 1; + + } + + /** + * The method to get the dataProcessingDuration + * @return string A string representing the dataProcessingDuration + */ + public function getDataProcessingDuration() + { + return $this->dataProcessingDuration; + + } + + /** + * The method to set the value to dataProcessingDuration + * @param string $dataProcessingDuration A string + */ + public function setDataProcessingDuration(string $dataProcessingDuration) + { + $this->dataProcessingDuration=$dataProcessingDuration; + $this->keyModified['data_processing_duration'] = 1; + + } + + /** + * The method to get the restrictTptServices + * @return string A string representing the restrictTptServices + */ + public function getRestrictTptServices() + { + return $this->restrictTptServices; + + } + + /** + * The method to set the value to restrictTptServices + * @param string $restrictTptServices A string + */ + public function setRestrictTptServices(string $restrictTptServices) + { + $this->restrictTptServices=$restrictTptServices; + $this->keyModified['restrict_tpt_services'] = 1; + + } + + /** + * The method to get the excludeAPITptFields + * @return string A string representing the excludeAPITptFields + */ + public function getExcludeAPITptFields() + { + return $this->excludeAPITptFields; + + } + + /** + * The method to set the value to excludeAPITptFields + * @param string $excludeAPITptFields A string + */ + public function setExcludeAPITptFields(string $excludeAPITptFields) + { + $this->excludeAPITptFields=$excludeAPITptFields; + $this->keyModified['exclude_api_tpt_fields'] = 1; + + } + + /** + * The method to get the restrictZohoIntegServices + * @return string A string representing the restrictZohoIntegServices + */ + public function getRestrictZohoIntegServices() + { + return $this->restrictZohoIntegServices; + + } + + /** + * The method to set the value to restrictZohoIntegServices + * @param string $restrictZohoIntegServices A string + */ + public function setRestrictZohoIntegServices(string $restrictZohoIntegServices) + { + $this->restrictZohoIntegServices=$restrictZohoIntegServices; + $this->keyModified['restrict_zoho_integ_services'] = 1; + + } + + /** + * The method to get the privacySettingStatus + * @return string A string representing the privacySettingStatus + */ + public function getPrivacySettingStatus() + { + return $this->privacySettingStatus; + + } + + /** + * The method to set the value to privacySettingStatus + * @param string $privacySettingStatus A string + */ + public function setPrivacySettingStatus(string $privacySettingStatus) + { + $this->privacySettingStatus=$privacySettingStatus; + $this->keyModified['privacy_setting_status'] = 1; + + } + + /** + * The method to get the doubleOptIn + * @return string A string representing the doubleOptIn + */ + public function getDoubleOptIn() + { + return $this->doubleOptIn; + + } + + /** + * The method to set the value to doubleOptIn + * @param string $doubleOptIn A string + */ + public function setDoubleOptIn(string $doubleOptIn) + { + $this->doubleOptIn=$doubleOptIn; + $this->keyModified['double_opt_in'] = 1; + + } + + /** + * The method to get the restrictZohoIntegFields + * @return string A string representing the restrictZohoIntegFields + */ + public function getRestrictZohoIntegFields() + { + return $this->restrictZohoIntegFields; + + } + + /** + * The method to set the value to restrictZohoIntegFields + * @param string $restrictZohoIntegFields A string + */ + public function setRestrictZohoIntegFields(string $restrictZohoIntegFields) + { + $this->restrictZohoIntegFields=$restrictZohoIntegFields; + $this->keyModified['restrict_zoho_integ_fields'] = 1; + + } + + /** + * The method to get the excludeAPITpt + * @return string A string representing the excludeAPITpt + */ + public function getExcludeAPITpt() + { + return $this->excludeAPITpt; + + } + + /** + * The method to set the value to excludeAPITpt + * @param string $excludeAPITpt A string + */ + public function setExcludeAPITpt(string $excludeAPITpt) + { + $this->excludeAPITpt=$excludeAPITpt; + $this->keyModified['exclude_api_tpt'] = 1; + + } + + /** + * The method to get the blockList + * @return string A string representing the blockList + */ + public function getBlockList() + { + return $this->blockList; + + } + + /** + * The method to set the value to blockList + * @param string $blockList A string + */ + public function setBlockList(string $blockList) + { + $this->blockList=$blockList; + $this->keyModified['block_list'] = 1; + + } + + /** + * The method to get the restrictTpt + * @return string A string representing the restrictTpt + */ + public function getRestrictTpt() + { + return $this->restrictTpt; + + } + + /** + * The method to set the value to restrictTpt + * @param string $restrictTpt A string + */ + public function setRestrictTpt(string $restrictTpt) + { + $this->restrictTpt=$restrictTpt; + $this->keyModified['restrict_tpt'] = 1; + + } + + /** + * The method to get the actionsWhileAwaiting + * @return string A string representing the actionsWhileAwaiting + */ + public function getActionsWhileAwaiting() + { + return $this->actionsWhileAwaiting; + + } + + /** + * The method to set the value to actionsWhileAwaiting + * @param string $actionsWhileAwaiting A string + */ + public function setActionsWhileAwaiting(string $actionsWhileAwaiting) + { + $this->actionsWhileAwaiting=$actionsWhileAwaiting; + $this->keyModified['actions_while_awaiting'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/privacypreference/PrivacyPreference.php b/versions/5.0.0/src/com/zoho/crm/api/privacypreference/PrivacyPreference.php new file mode 100644 index 0000000..c487c76 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/privacypreference/PrivacyPreference.php @@ -0,0 +1,81 @@ +preference; + + } + + /** + * The method to set the value to preference + * @param Preference $preference An instance of Preference + */ + public function setPreference(Preference $preference) + { + $this->preference=$preference; + $this->keyModified['preference'] = 1; + + } + + /** + * The method to get the config + * @return Config An instance of Config + */ + public function getConfig() + { + return $this->config; + + } + + /** + * The method to set the value to config + * @param Config $config An instance of Config + */ + public function setConfig(Config $config) + { + $this->config=$config; + $this->keyModified['config'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/privacypreference/Section.php b/versions/5.0.0/src/com/zoho/crm/api/privacypreference/Section.php new file mode 100644 index 0000000..648c4c1 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/privacypreference/Section.php @@ -0,0 +1,147 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the tooltip + * @return string A string representing the tooltip + */ + public function getTooltip() + { + return $this->tooltip; + + } + + /** + * The method to set the value to tooltip + * @param string $tooltip A string + */ + public function setTooltip(string $tooltip) + { + $this->tooltip=$tooltip; + $this->keyModified['tooltip'] = 1; + + } + + /** + * The method to get the showType + * @return string A string representing the showType + */ + public function getShowType() + { + return $this->showType; + + } + + /** + * The method to set the value to showType + * @param string $showType A string + */ + public function setShowType(string $showType) + { + $this->showType=$showType; + $this->keyModified['show_type'] = 1; + + } + + /** + * The method to get the title + * @return string A string representing the title + */ + public function getTitle() + { + return $this->title; + + } + + /** + * The method to set the value to title + * @param string $title A string + */ + public function setTitle(string $title) + { + $this->title=$title; + $this->keyModified['title'] = 1; + + } + + /** + * The method to get the options + * @return array A array representing the options + */ + public function getOptions() + { + return $this->options; + + } + + /** + * The method to set the value to options + * @param array $options A array + */ + public function setOptions(array $options) + { + $this->options=$options; + $this->keyModified['options'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/privacypreference/Tpt.php b/versions/5.0.0/src/com/zoho/crm/api/privacypreference/Tpt.php new file mode 100644 index 0000000..3f9fcdc --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/privacypreference/Tpt.php @@ -0,0 +1,103 @@ +isenabled; + + } + + /** + * The method to set the value to isenabled + * @param string $isenabled A string + */ + public function setIsenabled(string $isenabled) + { + $this->isenabled=$isenabled; + $this->keyModified['isEnabled'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the issupported + * @return string A string representing the issupported + */ + public function getIssupported() + { + return $this->issupported; + + } + + /** + * The method to set the value to issupported + * @param string $issupported A string + */ + public function setIssupported(string $issupported) + { + $this->issupported=$issupported; + $this->keyModified['isSupported'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/privacypreference/Wrapper.php b/versions/5.0.0/src/com/zoho/crm/api/privacypreference/Wrapper.php new file mode 100644 index 0000000..8895a44 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/privacypreference/Wrapper.php @@ -0,0 +1,59 @@ +privacypreference; + + } + + /** + * The method to set the value to privacypreference + * @param array $privacypreference A array + */ + public function setPrivacypreference(array $privacypreference) + { + $this->privacypreference=$privacypreference; + $this->keyModified['privacyPreference'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/profiles/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/profiles/APIException.php new file mode 100644 index 0000000..5fcc1a9 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/profiles/APIException.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/profiles/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/profiles/ActionHandler.php new file mode 100644 index 0000000..d2e3f7c --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/profiles/ActionHandler.php @@ -0,0 +1,7 @@ +profiles; + + } + + /** + * The method to set the value to profiles + * @param array $profiles A array + */ + public function setProfiles(array $profiles) + { + $this->profiles=$profiles; + $this->keyModified['profiles'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/profiles/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/profiles/BodyWrapper.php new file mode 100644 index 0000000..bde28c3 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/profiles/BodyWrapper.php @@ -0,0 +1,59 @@ +profiles; + + } + + /** + * The method to set the value to profiles + * @param array $profiles A array + */ + public function setProfiles(array $profiles) + { + $this->profiles=$profiles; + $this->keyModified['profiles'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/profiles/Category.php b/versions/5.0.0/src/com/zoho/crm/api/profiles/Category.php new file mode 100644 index 0000000..27720c9 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/profiles/Category.php @@ -0,0 +1,7 @@ +displayLabel; + + } + + /** + * The method to set the value to displayLabel + * @param string $displayLabel A string + */ + public function setDisplayLabel(string $displayLabel) + { + $this->displayLabel=$displayLabel; + $this->keyModified['display_label'] = 1; + + } + + /** + * The method to get the permissionsDetails + * @return array A array representing the permissionsDetails + */ + public function getPermissionsDetails() + { + return $this->permissionsDetails; + + } + + /** + * The method to set the value to permissionsDetails + * @param array $permissionsDetails A array + */ + public function setPermissionsDetails(array $permissionsDetails) + { + $this->permissionsDetails=$permissionsDetails; + $this->keyModified['permissions_details'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the module + * @return string A string representing the module + */ + public function getModule() + { + return $this->module; + + } + + /** + * The method to set the value to module + * @param string $module A string + */ + public function setModule(string $module) + { + $this->module=$module; + $this->keyModified['module'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/profiles/CategoryOthers.php b/versions/5.0.0/src/com/zoho/crm/api/profiles/CategoryOthers.php new file mode 100644 index 0000000..57f0940 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/profiles/CategoryOthers.php @@ -0,0 +1,103 @@ +displayLabel; + + } + + /** + * The method to set the value to displayLabel + * @param string $displayLabel A string + */ + public function setDisplayLabel(string $displayLabel) + { + $this->displayLabel=$displayLabel; + $this->keyModified['display_label'] = 1; + + } + + /** + * The method to get the permissionsDetails + * @return array A array representing the permissionsDetails + */ + public function getPermissionsDetails() + { + return $this->permissionsDetails; + + } + + /** + * The method to set the value to permissionsDetails + * @param array $permissionsDetails A array + */ + public function setPermissionsDetails(array $permissionsDetails) + { + $this->permissionsDetails=$permissionsDetails; + $this->keyModified['permissions_details'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/profiles/DefaultView.php b/versions/5.0.0/src/com/zoho/crm/api/profiles/DefaultView.php new file mode 100644 index 0000000..a5028f6 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/profiles/DefaultView.php @@ -0,0 +1,103 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the type + * @return string A string representing the type + */ + public function getType() + { + return $this->type; + + } + + /** + * The method to set the value to type + * @param string $type A string + */ + public function setType(string $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/profiles/DeleteProfileParam.php b/versions/5.0.0/src/com/zoho/crm/api/profiles/DeleteProfileParam.php new file mode 100644 index 0000000..d0acff0 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/profiles/DeleteProfileParam.php @@ -0,0 +1,14 @@ +licenseLimit; + + } + + /** + * The method to set the value to licenseLimit + * @param int $licenseLimit A int + */ + public function setLicenseLimit(int $licenseLimit) + { + $this->licenseLimit=$licenseLimit; + $this->keyModified['license_limit'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/profiles/MinifiedProfile.php b/versions/5.0.0/src/com/zoho/crm/api/profiles/MinifiedProfile.php new file mode 100644 index 0000000..578d6cb --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/profiles/MinifiedProfile.php @@ -0,0 +1,103 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the delete + * @return bool A bool representing the delete + */ + public function getDelete() + { + return $this->delete; + + } + + /** + * The method to set the value to delete + * @param bool $delete A bool + */ + public function setDelete(bool $delete) + { + $this->delete=$delete; + $this->keyModified['_delete'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/profiles/PermissionDetail.php b/versions/5.0.0/src/com/zoho/crm/api/profiles/PermissionDetail.php new file mode 100644 index 0000000..55aa66f --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/profiles/PermissionDetail.php @@ -0,0 +1,191 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the enabled + * @return bool A bool representing the enabled + */ + public function getEnabled() + { + return $this->enabled; + + } + + /** + * The method to set the value to enabled + * @param bool $enabled A bool + */ + public function setEnabled(bool $enabled) + { + $this->enabled=$enabled; + $this->keyModified['enabled'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the displayLabel + * @return string A string representing the displayLabel + */ + public function getDisplayLabel() + { + return $this->displayLabel; + + } + + /** + * The method to set the value to displayLabel + * @param string $displayLabel A string + */ + public function setDisplayLabel(string $displayLabel) + { + $this->displayLabel=$displayLabel; + $this->keyModified['display_label'] = 1; + + } + + /** + * The method to get the customizable + * @return bool A bool representing the customizable + */ + public function getCustomizable() + { + return $this->customizable; + + } + + /** + * The method to set the value to customizable + * @param bool $customizable A bool + */ + public function setCustomizable(bool $customizable) + { + $this->customizable=$customizable; + $this->keyModified['customizable'] = 1; + + } + + /** + * The method to get the parentPermissions + * @return array A array representing the parentPermissions + */ + public function getParentPermissions() + { + return $this->parentPermissions; + + } + + /** + * The method to set the value to parentPermissions + * @param array $parentPermissions A array + */ + public function setParentPermissions(array $parentPermissions) + { + $this->parentPermissions=$parentPermissions; + $this->keyModified['parent_permissions'] = 1; + + } + + /** + * The method to get the module + * @return string A string representing the module + */ + public function getModule() + { + return $this->module; + + } + + /** + * The method to set the value to module + * @param string $module A string + */ + public function setModule(string $module) + { + $this->module=$module; + $this->keyModified['module'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/profiles/Profile.php b/versions/5.0.0/src/com/zoho/crm/api/profiles/Profile.php new file mode 100644 index 0000000..f48b7b4 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/profiles/Profile.php @@ -0,0 +1,413 @@ +defaultview; + + } + + /** + * The method to set the value to defaultview + * @param DefaultView $defaultview An instance of DefaultView + */ + public function setDefaultview(DefaultView $defaultview) + { + $this->defaultview=$defaultview; + $this->keyModified['_default_view'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the description + * @return string A string representing the description + */ + public function getDescription() + { + return $this->description; + + } + + /** + * The method to set the value to description + * @param string $description A string + */ + public function setDescription(string $description) + { + $this->description=$description; + $this->keyModified['description'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the default + * @return bool A bool representing the default + */ + public function getDefault() + { + return $this->default; + + } + + /** + * The method to set the value to default + * @param bool $default A bool + */ + public function setDefault(bool $default) + { + $this->default=$default; + $this->keyModified['default'] = 1; + + } + + /** + * The method to get the delete + * @return bool A bool representing the delete + */ + public function getDelete() + { + return $this->delete; + + } + + /** + * The method to set the value to delete + * @param bool $delete A bool + */ + public function setDelete(bool $delete) + { + $this->delete=$delete; + $this->keyModified['_delete'] = 1; + + } + + /** + * The method to get the permissionType + * @return string A string representing the permissionType + */ + public function getPermissionType() + { + return $this->permissionType; + + } + + /** + * The method to set the value to permissionType + * @param string $permissionType A string + */ + public function setPermissionType(string $permissionType) + { + $this->permissionType=$permissionType; + $this->keyModified['permission_type'] = 1; + + } + + /** + * The method to get the custom + * @return bool A bool representing the custom + */ + public function getCustom() + { + return $this->custom; + + } + + /** + * The method to set the value to custom + * @param bool $custom A bool + */ + public function setCustom(bool $custom) + { + $this->custom=$custom; + $this->keyModified['custom'] = 1; + + } + + /** + * The method to get the displayLabel + * @return string A string representing the displayLabel + */ + public function getDisplayLabel() + { + return $this->displayLabel; + + } + + /** + * The method to set the value to displayLabel + * @param string $displayLabel A string + */ + public function setDisplayLabel(string $displayLabel) + { + $this->displayLabel=$displayLabel; + $this->keyModified['display_label'] = 1; + + } + + /** + * The method to get the type + * @return Choice An instance of Choice + */ + public function getType() + { + return $this->type; + + } + + /** + * The method to set the value to type + * @param Choice $type An instance of Choice + */ + public function setType(Choice $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to get the permissionsDetails + * @return array A array representing the permissionsDetails + */ + public function getPermissionsDetails() + { + return $this->permissionsDetails; + + } + + /** + * The method to set the value to permissionsDetails + * @param array $permissionsDetails A array + */ + public function setPermissionsDetails(array $permissionsDetails) + { + $this->permissionsDetails=$permissionsDetails; + $this->keyModified['permissions_details'] = 1; + + } + + /** + * The method to get the sections + * @return array A array representing the sections + */ + public function getSections() + { + return $this->sections; + + } + + /** + * The method to set the value to sections + * @param array $sections A array + */ + public function setSections(array $sections) + { + $this->sections=$sections; + $this->keyModified['sections'] = 1; + + } + + /** + * The method to get the createdTime + * @return \DateTime An instance of \DateTime + */ + public function getCreatedTime() + { + return $this->createdTime; + + } + + /** + * The method to set the value to createdTime + * @param \DateTime $createdTime An instance of \DateTime + */ + public function setCreatedTime(\DateTime $createdTime) + { + $this->createdTime=$createdTime; + $this->keyModified['created_time'] = 1; + + } + + /** + * The method to get the modifiedTime + * @return \DateTime An instance of \DateTime + */ + public function getModifiedTime() + { + return $this->modifiedTime; + + } + + /** + * The method to set the value to modifiedTime + * @param \DateTime $modifiedTime An instance of \DateTime + */ + public function setModifiedTime(\DateTime $modifiedTime) + { + $this->modifiedTime=$modifiedTime; + $this->keyModified['modified_time'] = 1; + + } + + /** + * The method to get the modifiedBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getModifiedBy() + { + return $this->modifiedBy; + + } + + /** + * The method to set the value to modifiedBy + * @param MinifiedUser $modifiedBy An instance of MinifiedUser + */ + public function setModifiedBy(MinifiedUser $modifiedBy) + { + $this->modifiedBy=$modifiedBy; + $this->keyModified['modified_by'] = 1; + + } + + /** + * The method to get the category + * @return bool A bool representing the category + */ + public function getCategory() + { + return $this->category; + + } + + /** + * The method to set the value to category + * @param bool $category A bool + */ + public function setCategory(bool $category) + { + $this->category=$category; + $this->keyModified['category'] = 1; + + } + + /** + * The method to get the createdBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getCreatedBy() + { + return $this->createdBy; + + } + + /** + * The method to set the value to createdBy + * @param MinifiedUser $createdBy An instance of MinifiedUser + */ + public function setCreatedBy(MinifiedUser $createdBy) + { + $this->createdBy=$createdBy; + $this->keyModified['created_by'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/profiles/ProfilesOperations.php b/versions/5.0.0/src/com/zoho/crm/api/profiles/ProfilesOperations.php new file mode 100644 index 0000000..7a562e0 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/profiles/ProfilesOperations.php @@ -0,0 +1,113 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to clone profiles + * @param string $id A string + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function cloneProfiles(string $id, BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/profiles/'); + $apiPath=$apiPath.(strval($id)); + $apiPath=$apiPath.('/actions/clone'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to update profile + * @param string $id A string + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updateProfile(string $id, BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/profiles/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get profile + * @param string $id A string + * @return APIResponse An instance of APIResponse + */ + public function getProfile(string $id) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/profiles/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to delete profile + * @param string $id A string + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function deleteProfile(string $id, ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/profiles/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setCategoryMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/profiles/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/profiles/ResponseHandler.php new file mode 100644 index 0000000..d15f1cf --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/profiles/ResponseHandler.php @@ -0,0 +1,7 @@ +profiles; + + } + + /** + * The method to set the value to profiles + * @param array $profiles A array + */ + public function setProfiles(array $profiles) + { + $this->profiles=$profiles; + $this->keyModified['profiles'] = 1; + + } + + /** + * The method to get the info + * @return Info An instance of Info + */ + public function getInfo() + { + return $this->info; + + } + + /** + * The method to set the value to info + * @param Info $info An instance of Info + */ + public function setInfo(Info $info) + { + $this->info=$info; + $this->keyModified['info'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/profiles/Section.php b/versions/5.0.0/src/com/zoho/crm/api/profiles/Section.php new file mode 100644 index 0000000..36c3c56 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/profiles/Section.php @@ -0,0 +1,81 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the categories + * @return array A array representing the categories + */ + public function getCategories() + { + return $this->categories; + + } + + /** + * The method to set the value to categories + * @param array $categories A array + */ + public function setCategories(array $categories) + { + $this->categories=$categories; + $this->keyModified['categories'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/profiles/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/profiles/SuccessResponse.php new file mode 100644 index 0000000..06e805d --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/profiles/SuccessResponse.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/record/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/record/APIException.php new file mode 100644 index 0000000..32464d6 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/record/APIException.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/record/Accounts.php b/versions/5.0.0/src/com/zoho/crm/api/record/Accounts.php new file mode 100644 index 0000000..1b5f7d8 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/record/Accounts.php @@ -0,0 +1,227 @@ +data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/record/Appointments__s.php b/versions/5.0.0/src/com/zoho/crm/api/record/Appointments__s.php new file mode 100644 index 0000000..78885cd --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/record/Appointments__s.php @@ -0,0 +1,182 @@ +data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to get the trigger + * @return array A array representing the trigger + */ + public function getTrigger() + { + return $this->trigger; + + } + + /** + * The method to set the value to trigger + * @param array $trigger A array + */ + public function setTrigger(array $trigger) + { + $this->trigger=$trigger; + $this->keyModified['trigger'] = 1; + + } + + /** + * The method to get the process + * @return array A array representing the process + */ + public function getProcess() + { + return $this->process; + + } + + /** + * The method to set the value to process + * @param array $process A array + */ + public function setProcess(array $process) + { + $this->process=$process; + $this->keyModified['process'] = 1; + + } + + /** + * The method to get the duplicateCheckFields + * @return array A array representing the duplicateCheckFields + */ + public function getDuplicateCheckFields() + { + return $this->duplicateCheckFields; + + } + + /** + * The method to set the value to duplicateCheckFields + * @param array $duplicateCheckFields A array + */ + public function setDuplicateCheckFields(array $duplicateCheckFields) + { + $this->duplicateCheckFields=$duplicateCheckFields; + $this->keyModified['duplicate_check_fields'] = 1; + + } + + /** + * The method to get the wfTrigger + * @return string A string representing the wfTrigger + */ + public function getWfTrigger() + { + return $this->wfTrigger; + + } + + /** + * The method to set the value to wfTrigger + * @param string $wfTrigger A string + */ + public function setWfTrigger(string $wfTrigger) + { + $this->wfTrigger=$wfTrigger; + $this->keyModified['wf_trigger'] = 1; + + } + + /** + * The method to get the larId + * @return string A string representing the larId + */ + public function getLarId() + { + return $this->larId; + + } + + /** + * The method to set the value to larId + * @param string $larId A string + */ + public function setLarId(string $larId) + { + $this->larId=$larId; + $this->keyModified['lar_id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/record/Calls.php b/versions/5.0.0/src/com/zoho/crm/api/record/Calls.php new file mode 100644 index 0000000..26f4db8 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/record/Calls.php @@ -0,0 +1,141 @@ +commentedBy; + + } + + /** + * The method to set the value to commentedBy + * @param string $commentedBy A string + */ + public function setCommentedBy(string $commentedBy) + { + $this->commentedBy=$commentedBy; + $this->keyModified['commented_by'] = 1; + + } + + /** + * The method to get the commentedTime + * @return \DateTime An instance of \DateTime + */ + public function getCommentedTime() + { + return $this->commentedTime; + + } + + /** + * The method to set the value to commentedTime + * @param \DateTime $commentedTime An instance of \DateTime + */ + public function setCommentedTime(\DateTime $commentedTime) + { + $this->commentedTime=$commentedTime; + $this->keyModified['commented_time'] = 1; + + } + + /** + * The method to get the commentContent + * @return string A string representing the commentContent + */ + public function getCommentContent() + { + return $this->commentContent; + + } + + /** + * The method to set the value to commentContent + * @param string $commentContent A string + */ + public function setCommentContent(string $commentContent) + { + $this->commentContent=$commentContent; + $this->keyModified['comment_content'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/record/Consent.php b/versions/5.0.0/src/com/zoho/crm/api/record/Consent.php new file mode 100644 index 0000000..2554c77 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/record/Consent.php @@ -0,0 +1,351 @@ +getKeyValue('Owner'); + + } + + /** + * The method to set the value to owner + * @param MinifiedUser $owner An instance of MinifiedUser + */ + public function setOwner(MinifiedUser $owner) + { + $this->addKeyValue('Owner', $owner); + + } + + /** + * The method to get the contactThroughEmail + * @return bool A bool representing the contactThroughEmail + */ + public function getContactThroughEmail() + { + return $this->getKeyValue('Contact_Through_Email'); + + } + + /** + * The method to set the value to contactThroughEmail + * @param bool $contactThroughEmail A bool + */ + public function setContactThroughEmail(bool $contactThroughEmail) + { + $this->addKeyValue('Contact_Through_Email', $contactThroughEmail); + + } + + /** + * The method to get the contactThroughSocial + * @return bool A bool representing the contactThroughSocial + */ + public function getContactThroughSocial() + { + return $this->getKeyValue('Contact_Through_Social'); + + } + + /** + * The method to set the value to contactThroughSocial + * @param bool $contactThroughSocial A bool + */ + public function setContactThroughSocial(bool $contactThroughSocial) + { + $this->addKeyValue('Contact_Through_Social', $contactThroughSocial); + + } + + /** + * The method to get the contactThroughSurvey + * @return bool A bool representing the contactThroughSurvey + */ + public function getContactThroughSurvey() + { + return $this->getKeyValue('Contact_Through_Survey'); + + } + + /** + * The method to set the value to contactThroughSurvey + * @param bool $contactThroughSurvey A bool + */ + public function setContactThroughSurvey(bool $contactThroughSurvey) + { + $this->addKeyValue('Contact_Through_Survey', $contactThroughSurvey); + + } + + /** + * The method to get the contactThroughPhone + * @return bool A bool representing the contactThroughPhone + */ + public function getContactThroughPhone() + { + return $this->getKeyValue('Contact_Through_Phone'); + + } + + /** + * The method to set the value to contactThroughPhone + * @param bool $contactThroughPhone A bool + */ + public function setContactThroughPhone(bool $contactThroughPhone) + { + $this->addKeyValue('Contact_Through_Phone', $contactThroughPhone); + + } + + /** + * The method to get the mailSentTime + * @return \DateTime An instance of \DateTime + */ + public function getMailSentTime() + { + return $this->getKeyValue('Mail_Sent_Time'); + + } + + /** + * The method to set the value to mailSentTime + * @param \DateTime $mailSentTime An instance of \DateTime + */ + public function setMailSentTime(\DateTime $mailSentTime) + { + $this->addKeyValue('Mail_Sent_Time', $mailSentTime); + + } + + /** + * The method to get the consentDate + * @return \DateTime An instance of \DateTime + */ + public function getConsentDate() + { + return $this->getKeyValue('Consent_Date'); + + } + + /** + * The method to set the value to consentDate + * @param \DateTime $consentDate An instance of \DateTime + */ + public function setConsentDate(\DateTime $consentDate) + { + $this->addKeyValue('Consent_Date', $consentDate); + + } + + /** + * The method to get the consentRemarks + * @return string A string representing the consentRemarks + */ + public function getConsentRemarks() + { + return $this->getKeyValue('Consent_Remarks'); + + } + + /** + * The method to set the value to consentRemarks + * @param string $consentRemarks A string + */ + public function setConsentRemarks(string $consentRemarks) + { + $this->addKeyValue('Consent_Remarks', $consentRemarks); + + } + + /** + * The method to get the consentThrough + * @return string A string representing the consentThrough + */ + public function getConsentThrough() + { + return $this->getKeyValue('Consent_Through'); + + } + + /** + * The method to set the value to consentThrough + * @param string $consentThrough A string + */ + public function setConsentThrough(string $consentThrough) + { + $this->addKeyValue('Consent_Through', $consentThrough); + + } + + /** + * The method to get the dataProcessingBasis + * @return string A string representing the dataProcessingBasis + */ + public function getDataProcessingBasis() + { + return $this->getKeyValue('Data_Processing_Basis'); + + } + + /** + * The method to set the value to dataProcessingBasis + * @param string $dataProcessingBasis A string + */ + public function setDataProcessingBasis(string $dataProcessingBasis) + { + $this->addKeyValue('Data_Processing_Basis', $dataProcessingBasis); + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->getKeyValue('id'); + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->addKeyValue('id', $id); + + } + + /** + * The method to get the createdBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getCreatedBy() + { + return $this->getKeyValue('Created_By'); + + } + + /** + * The method to set the value to createdBy + * @param MinifiedUser $createdBy An instance of MinifiedUser + */ + public function setCreatedBy(MinifiedUser $createdBy) + { + $this->addKeyValue('Created_By', $createdBy); + + } + + /** + * The method to get the createdTime + * @return \DateTime An instance of \DateTime + */ + public function getCreatedTime() + { + return $this->getKeyValue('Created_Time'); + + } + + /** + * The method to set the value to createdTime + * @param \DateTime $createdTime An instance of \DateTime + */ + public function setCreatedTime(\DateTime $createdTime) + { + $this->addKeyValue('Created_Time', $createdTime); + + } + + /** + * The method to get the modifiedBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getModifiedBy() + { + return $this->getKeyValue('Modified_By'); + + } + + /** + * The method to set the value to modifiedBy + * @param MinifiedUser $modifiedBy An instance of MinifiedUser + */ + public function setModifiedBy(MinifiedUser $modifiedBy) + { + $this->addKeyValue('Modified_By', $modifiedBy); + + } + + /** + * The method to get the modifiedTime + * @return \DateTime An instance of \DateTime + */ + public function getModifiedTime() + { + return $this->getKeyValue('Modified_Time'); + + } + + /** + * The method to set the value to modifiedTime + * @param \DateTime $modifiedTime An instance of \DateTime + */ + public function setModifiedTime(\DateTime $modifiedTime) + { + $this->addKeyValue('Modified_Time', $modifiedTime); + + } + + /** + * The method to get the tag + * @return array A array representing the tag + */ + public function getTag() + { + return $this->getKeyValue('Tag'); + + } + + /** + * The method to set the value to tag + * @param array $tag A array + */ + public function setTag(array $tag) + { + $this->addKeyValue('Tag', $tag); + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->getKeyValue('name'); + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->addKeyValue('name', $name); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/record/Consents.php b/versions/5.0.0/src/com/zoho/crm/api/record/Consents.php new file mode 100644 index 0000000..9eb60ca --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/record/Consents.php @@ -0,0 +1,95 @@ +count; + + } + + /** + * The method to set the value to count + * @param string $count A string + */ + public function setCount(string $count) + { + $this->count=$count; + $this->keyModified['count'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/record/CreateRecordsHeader.php b/versions/5.0.0/src/com/zoho/crm/api/record/CreateRecordsHeader.php new file mode 100644 index 0000000..698a1e1 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/record/CreateRecordsHeader.php @@ -0,0 +1,14 @@ +comparator; + + } + + /** + * The method to set the value to comparator + * @param Choice $comparator An instance of Choice + */ + public function setComparator(Choice $comparator) + { + $this->comparator=$comparator; + $this->keyModified['comparator'] = 1; + + } + + /** + * The method to get the field + * @return string A string representing the field + */ + public function getField() + { + return $this->field; + + } + + /** + * The method to set the value to field + * @param string $field A string + */ + public function setField(string $field) + { + $this->field=$field; + $this->keyModified['field'] = 1; + + } + + /** + * The method to get the value + */ + public function getValue() + { + return $this->value; + + } + + /** + * The method to set the value to value + * @param + */ + public function setValue( $value) + { + $this->value=$value; + $this->keyModified['value'] = 1; + + } + + /** + * The method to get the groupOperator + * @return Choice An instance of Choice + */ + public function getGroupOperator() + { + return $this->groupOperator; + + } + + /** + * The method to set the value to groupOperator + * @param Choice $groupOperator An instance of Choice + */ + public function setGroupOperator(Choice $groupOperator) + { + $this->groupOperator=$groupOperator; + $this->keyModified['group_operator'] = 1; + + } + + /** + * The method to get the group + * @return array A array representing the group + */ + public function getGroup() + { + return $this->group; + + } + + /** + * The method to set the value to group + * @param array $group A array + */ + public function setGroup(array $group) + { + $this->group=$group; + $this->keyModified['group'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/record/Data_Enrichment_Stats__s.php b/versions/5.0.0/src/com/zoho/crm/api/record/Data_Enrichment_Stats__s.php new file mode 100644 index 0000000..9735db6 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/record/Data_Enrichment_Stats__s.php @@ -0,0 +1,44 @@ +deletedBy; + + } + + /** + * The method to set the value to deletedBy + * @param MinifiedUser $deletedBy An instance of MinifiedUser + */ + public function setDeletedBy(MinifiedUser $deletedBy) + { + $this->deletedBy=$deletedBy; + $this->keyModified['deleted_by'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the displayName + * @return string A string representing the displayName + */ + public function getDisplayName() + { + return $this->displayName; + + } + + /** + * The method to set the value to displayName + * @param string $displayName A string + */ + public function setDisplayName(string $displayName) + { + $this->displayName=$displayName; + $this->keyModified['display_name'] = 1; + + } + + /** + * The method to get the type + * @return string A string representing the type + */ + public function getType() + { + return $this->type; + + } + + /** + * The method to set the value to type + * @param string $type A string + */ + public function setType(string $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to get the createdBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getCreatedBy() + { + return $this->createdBy; + + } + + /** + * The method to set the value to createdBy + * @param MinifiedUser $createdBy An instance of MinifiedUser + */ + public function setCreatedBy(MinifiedUser $createdBy) + { + $this->createdBy=$createdBy; + $this->keyModified['created_by'] = 1; + + } + + /** + * The method to get the deletedTime + * @return \DateTime An instance of \DateTime + */ + public function getDeletedTime() + { + return $this->deletedTime; + + } + + /** + * The method to set the value to deletedTime + * @param \DateTime $deletedTime An instance of \DateTime + */ + public function setDeletedTime(\DateTime $deletedTime) + { + $this->deletedTime=$deletedTime; + $this->keyModified['deleted_time'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/record/DeletedRecordsHandler.php b/versions/5.0.0/src/com/zoho/crm/api/record/DeletedRecordsHandler.php new file mode 100644 index 0000000..3b099fe --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/record/DeletedRecordsHandler.php @@ -0,0 +1,7 @@ +data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to get the info + * @return Info An instance of Info + */ + public function getInfo() + { + return $this->info; + + } + + /** + * The method to set the value to info + * @param Info $info An instance of Info + */ + public function setInfo(Info $info) + { + $this->info=$info; + $this->keyModified['info'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/record/DownloadHandler.php b/versions/5.0.0/src/com/zoho/crm/api/record/DownloadHandler.php new file mode 100644 index 0000000..d39f029 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/record/DownloadHandler.php @@ -0,0 +1,7 @@ +owner; + + } + + /** + * The method to set the value to owner + * @param MinifiedUser $owner An instance of MinifiedUser + */ + public function setOwner(MinifiedUser $owner) + { + $this->owner=$owner; + $this->keyModified['Owner'] = 1; + + } + + /** + * The method to get the module + * @return MinifiedModule An instance of MinifiedModule + */ + public function getModule() + { + return $this->module; + + } + + /** + * The method to set the value to module + * @param MinifiedModule $module An instance of MinifiedModule + */ + public function setModule(MinifiedModule $module) + { + $this->module=$module; + $this->keyModified['module'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/record/Events.php b/versions/5.0.0/src/com/zoho/crm/api/record/Events.php new file mode 100644 index 0000000..454c796 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/record/Events.php @@ -0,0 +1,174 @@ +apiName=$apiName; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/record/FileBodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/record/FileBodyWrapper.php new file mode 100644 index 0000000..a72399a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/record/FileBodyWrapper.php @@ -0,0 +1,60 @@ +file; + + } + + /** + * The method to set the value to file + * @param StreamWrapper $file An instance of StreamWrapper + */ + public function setFile(StreamWrapper $file) + { + $this->file=$file; + $this->keyModified['file'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/record/FileDetails.php b/versions/5.0.0/src/com/zoho/crm/api/record/FileDetails.php new file mode 100644 index 0000000..b9c0392 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/record/FileDetails.php @@ -0,0 +1,258 @@ +createdTimeS; + + } + + /** + * The method to set the value to createdTimeS + * @param \DateTime $createdTimeS An instance of \DateTime + */ + public function setCreatedTimeS(\DateTime $createdTimeS) + { + $this->createdTimeS=$createdTimeS; + $this->keyModified['Created_Time__s'] = 1; + + } + + /** + * The method to get the fileNameS + * @return string A string representing the fileNameS + */ + public function getFileNameS() + { + return $this->fileNameS; + + } + + /** + * The method to set the value to fileNameS + * @param string $fileNameS A string + */ + public function setFileNameS(string $fileNameS) + { + $this->fileNameS=$fileNameS; + $this->keyModified['File_Name__s'] = 1; + + } + + /** + * The method to get the modifiedTimeS + * @return \DateTime An instance of \DateTime + */ + public function getModifiedTimeS() + { + return $this->modifiedTimeS; + + } + + /** + * The method to set the value to modifiedTimeS + * @param \DateTime $modifiedTimeS An instance of \DateTime + */ + public function setModifiedTimeS(\DateTime $modifiedTimeS) + { + $this->modifiedTimeS=$modifiedTimeS; + $this->keyModified['Modified_Time__s'] = 1; + + } + + /** + * The method to get the createdByS + * @return MinifiedUser An instance of MinifiedUser + */ + public function getCreatedByS() + { + return $this->createdByS; + + } + + /** + * The method to set the value to createdByS + * @param MinifiedUser $createdByS An instance of MinifiedUser + */ + public function setCreatedByS(MinifiedUser $createdByS) + { + $this->createdByS=$createdByS; + $this->keyModified['Created_By__s'] = 1; + + } + + /** + * The method to get the sizeS + * @return string A string representing the sizeS + */ + public function getSizeS() + { + return $this->sizeS; + + } + + /** + * The method to set the value to sizeS + * @param string $sizeS A string + */ + public function setSizeS(string $sizeS) + { + $this->sizeS=$sizeS; + $this->keyModified['Size__s'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the ownerS + * @return MinifiedUser An instance of MinifiedUser + */ + public function getOwnerS() + { + return $this->ownerS; + + } + + /** + * The method to set the value to ownerS + * @param MinifiedUser $ownerS An instance of MinifiedUser + */ + public function setOwnerS(MinifiedUser $ownerS) + { + $this->ownerS=$ownerS; + $this->keyModified['Owner__s'] = 1; + + } + + /** + * The method to get the modifiedByS + * @return MinifiedUser An instance of MinifiedUser + */ + public function getModifiedByS() + { + return $this->modifiedByS; + + } + + /** + * The method to set the value to modifiedByS + * @param MinifiedUser $modifiedByS An instance of MinifiedUser + */ + public function setModifiedByS(MinifiedUser $modifiedByS) + { + $this->modifiedByS=$modifiedByS; + $this->keyModified['Modified_By__s'] = 1; + + } + + /** + * The method to get the fileIdS + * @return string A string representing the fileIdS + */ + public function getFileIdS() + { + return $this->fileIdS; + + } + + /** + * The method to set the value to fileIdS + * @param string $fileIdS A string + */ + public function setFileIdS(string $fileIdS) + { + $this->fileIdS=$fileIdS; + $this->keyModified['File_Id__s'] = 1; + + } + + /** + * The method to get the delete + * @return string A string representing the delete + */ + public function getDelete() + { + return $this->delete; + + } + + /** + * The method to set the value to delete + * @param string $delete A string + */ + public function setDelete($delete) + { + $this->delete=$delete; + $this->keyModified['_delete'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/record/FileHandler.php b/versions/5.0.0/src/com/zoho/crm/api/record/FileHandler.php new file mode 100644 index 0000000..9111905 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/record/FileHandler.php @@ -0,0 +1,7 @@ +previewIdS; + + } + + /** + * The method to set the value to previewIdS + * @param string $previewIdS A string + */ + public function setPreviewIdS(string $previewIdS) + { + $this->previewIdS=$previewIdS; + $this->keyModified['Preview_Id__s'] = 1; + + } + + /** + * The method to get the fileNameS + * @return string A string representing the fileNameS + */ + public function getFileNameS() + { + return $this->fileNameS; + + } + + /** + * The method to set the value to fileNameS + * @param string $fileNameS A string + */ + public function setFileNameS(string $fileNameS) + { + $this->fileNameS=$fileNameS; + $this->keyModified['File_Name__s'] = 1; + + } + + /** + * The method to get the descriptionS + * @return string A string representing the descriptionS + */ + public function getDescriptionS() + { + return $this->descriptionS; + + } + + /** + * The method to set the value to descriptionS + * @param string $descriptionS A string + */ + public function setDescriptionS(string $descriptionS) + { + $this->descriptionS=$descriptionS; + $this->keyModified['Description__s'] = 1; + + } + + /** + * The method to get the sizeS + * @return string A string representing the sizeS + */ + public function getSizeS() + { + return $this->sizeS; + + } + + /** + * The method to set the value to sizeS + * @param string $sizeS A string + */ + public function setSizeS(string $sizeS) + { + $this->sizeS=$sizeS; + $this->keyModified['Size__s'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the sequenceNumberS + * @return string A string representing the sequenceNumberS + */ + public function getSequenceNumberS() + { + return $this->sequenceNumberS; + + } + + /** + * The method to set the value to sequenceNumberS + * @param string $sequenceNumberS A string + */ + public function setSequenceNumberS(string $sequenceNumberS) + { + $this->sequenceNumberS=$sequenceNumberS; + $this->keyModified['Sequence_Number__s'] = 1; + + } + + /** + * The method to get the stateS + * @return string A string representing the stateS + */ + public function getStateS() + { + return $this->stateS; + + } + + /** + * The method to set the value to stateS + * @param string $stateS A string + */ + public function setStateS(string $stateS) + { + $this->stateS=$stateS; + $this->keyModified['State__s'] = 1; + + } + + /** + * The method to get the fileIdS + * @return string A string representing the fileIdS + */ + public function getFileIdS() + { + return $this->fileIdS; + + } + + /** + * The method to set the value to fileIdS + * @param string $fileIdS A string + */ + public function setFileIdS(string $fileIdS) + { + $this->fileIdS=$fileIdS; + $this->keyModified['File_Id__s'] = 1; + + } + + /** + * The method to get the delete + * @return string A string representing the delete + */ + public function getDelete() + { + return $this->delete; + + } + + /** + * The method to set the value to delete + * @param string $delete A string + */ + public function setDelete($delete) + { + $this->delete=$delete; + $this->keyModified['_delete'] = 1; + + } + + /** + * The method to get the createdTimeS + * @return \DateTime An instance of \DateTime + */ + public function getCreatedTimeS() + { + return $this->createdTimeS; + + } + + /** + * The method to set the value to createdTimeS + * @param \DateTime $createdTimeS An instance of \DateTime + */ + public function setCreatedTimeS(\DateTime $createdTimeS) + { + $this->createdTimeS=$createdTimeS; + $this->keyModified['Created_Time__s'] = 1; + + } + + /** + * The method to get the modifiedTimeS + * @return \DateTime An instance of \DateTime + */ + public function getModifiedTimeS() + { + return $this->modifiedTimeS; + + } + + /** + * The method to set the value to modifiedTimeS + * @param \DateTime $modifiedTimeS An instance of \DateTime + */ + public function setModifiedTimeS(\DateTime $modifiedTimeS) + { + $this->modifiedTimeS=$modifiedTimeS; + $this->keyModified['Modified_Time__s'] = 1; + + } + + /** + * The method to get the createdByS + * @return MinifiedUser An instance of MinifiedUser + */ + public function getCreatedByS() + { + return $this->createdByS; + + } + + /** + * The method to set the value to createdByS + * @param MinifiedUser $createdByS An instance of MinifiedUser + */ + public function setCreatedByS(MinifiedUser $createdByS) + { + $this->createdByS=$createdByS; + $this->keyModified['Created_By__s'] = 1; + + } + + /** + * The method to get the ownerS + * @return MinifiedUser An instance of MinifiedUser + */ + public function getOwnerS() + { + return $this->ownerS; + + } + + /** + * The method to set the value to ownerS + * @param MinifiedUser $ownerS An instance of MinifiedUser + */ + public function setOwnerS(MinifiedUser $ownerS) + { + $this->ownerS=$ownerS; + $this->keyModified['Owner__s'] = 1; + + } + + /** + * The method to get the modifiedByS + * @return MinifiedUser An instance of MinifiedUser + */ + public function getModifiedByS() + { + return $this->modifiedByS; + + } + + /** + * The method to set the value to modifiedByS + * @param MinifiedUser $modifiedByS An instance of MinifiedUser + */ + public function setModifiedByS(MinifiedUser $modifiedByS) + { + $this->modifiedByS=$modifiedByS; + $this->keyModified['Modified_By__s'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/record/Info.php b/versions/5.0.0/src/com/zoho/crm/api/record/Info.php new file mode 100644 index 0000000..99f72d6 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/record/Info.php @@ -0,0 +1,279 @@ +call; + + } + + /** + * The method to set the value to call + * @param bool $call A bool + */ + public function setCall(bool $call) + { + $this->call=$call; + $this->keyModified['call'] = 1; + + } + + /** + * The method to get the perPage + * @return int A int representing the perPage + */ + public function getPerPage() + { + return $this->perPage; + + } + + /** + * The method to set the value to perPage + * @param int $perPage A int + */ + public function setPerPage(int $perPage) + { + $this->perPage=$perPage; + $this->keyModified['per_page'] = 1; + + } + + /** + * The method to get the nextPageToken + * @return string A string representing the nextPageToken + */ + public function getNextPageToken() + { + return $this->nextPageToken; + + } + + /** + * The method to set the value to nextPageToken + * @param string $nextPageToken A string + */ + public function setNextPageToken(string $nextPageToken) + { + $this->nextPageToken=$nextPageToken; + $this->keyModified['next_page_token'] = 1; + + } + + /** + * The method to get the count + * @return int A int representing the count + */ + public function getCount() + { + return $this->count; + + } + + /** + * The method to set the value to count + * @param int $count A int + */ + public function setCount(int $count) + { + $this->count=$count; + $this->keyModified['count'] = 1; + + } + + /** + * The method to get the page + * @return int A int representing the page + */ + public function getPage() + { + return $this->page; + + } + + /** + * The method to set the value to page + * @param int $page A int + */ + public function setPage(int $page) + { + $this->page=$page; + $this->keyModified['page'] = 1; + + } + + /** + * The method to get the previousPageToken + * @return string A string representing the previousPageToken + */ + public function getPreviousPageToken() + { + return $this->previousPageToken; + + } + + /** + * The method to set the value to previousPageToken + * @param string $previousPageToken A string + */ + public function setPreviousPageToken(string $previousPageToken) + { + $this->previousPageToken=$previousPageToken; + $this->keyModified['previous_page_token'] = 1; + + } + + /** + * The method to get the pageTokenExpiry + * @return \DateTime An instance of \DateTime + */ + public function getPageTokenExpiry() + { + return $this->pageTokenExpiry; + + } + + /** + * The method to set the value to pageTokenExpiry + * @param \DateTime $pageTokenExpiry An instance of \DateTime + */ + public function setPageTokenExpiry(\DateTime $pageTokenExpiry) + { + $this->pageTokenExpiry=$pageTokenExpiry; + $this->keyModified['page_token_expiry'] = 1; + + } + + /** + * The method to get the email + * @return bool A bool representing the email + */ + public function getEmail() + { + return $this->email; + + } + + /** + * The method to set the value to email + * @param bool $email A bool + */ + public function setEmail(bool $email) + { + $this->email=$email; + $this->keyModified['email'] = 1; + + } + + /** + * The method to get the moreRecords + * @return bool A bool representing the moreRecords + */ + public function getMoreRecords() + { + return $this->moreRecords; + + } + + /** + * The method to set the value to moreRecords + * @param bool $moreRecords A bool + */ + public function setMoreRecords(bool $moreRecords) + { + $this->moreRecords=$moreRecords; + $this->keyModified['more_records'] = 1; + + } + + /** + * The method to get the sortBy + * @return string A string representing the sortBy + */ + public function getSortBy() + { + return $this->sortBy; + + } + + /** + * The method to set the value to sortBy + * @param string $sortBy A string + */ + public function setSortBy(string $sortBy) + { + $this->sortBy=$sortBy; + $this->keyModified['sort_by'] = 1; + + } + + /** + * The method to get the sortOrder + * @return string A string representing the sortOrder + */ + public function getSortOrder() + { + return $this->sortOrder; + + } + + /** + * The method to set the value to sortOrder + * @param string $sortOrder A string + */ + public function setSortOrder(string $sortOrder) + { + $this->sortOrder=$sortOrder; + $this->keyModified['sort_order'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/record/Invoices.php b/versions/5.0.0/src/com/zoho/crm/api/record/Invoices.php new file mode 100644 index 0000000..ecc55c8 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/record/Invoices.php @@ -0,0 +1,211 @@ +getKeyValue('Product_Code'); + + } + + /** + * The method to set the value to productCode + * @param string $productCode A string + */ + public function setProductCode(string $productCode) + { + $this->addKeyValue('Product_Code', $productCode); + + } + + /** + * The method to get the currency + * @return string A string representing the currency + */ + public function getCurrency() + { + return $this->getKeyValue('Currency'); + + } + + /** + * The method to set the value to currency + * @param string $currency A string + */ + public function setCurrency(string $currency) + { + $this->addKeyValue('Currency', $currency); + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->getKeyValue('name'); + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->addKeyValue('name', $name); + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->getKeyValue('id'); + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->addKeyValue('id', $id); + + } + + /** + * The method to get the createdBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getCreatedBy() + { + return $this->getKeyValue('Created_By'); + + } + + /** + * The method to set the value to createdBy + * @param MinifiedUser $createdBy An instance of MinifiedUser + */ + public function setCreatedBy(MinifiedUser $createdBy) + { + $this->addKeyValue('Created_By', $createdBy); + + } + + /** + * The method to get the createdTime + * @return \DateTime An instance of \DateTime + */ + public function getCreatedTime() + { + return $this->getKeyValue('Created_Time'); + + } + + /** + * The method to set the value to createdTime + * @param \DateTime $createdTime An instance of \DateTime + */ + public function setCreatedTime(\DateTime $createdTime) + { + $this->addKeyValue('Created_Time', $createdTime); + + } + + /** + * The method to get the modifiedBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getModifiedBy() + { + return $this->getKeyValue('Modified_By'); + + } + + /** + * The method to set the value to modifiedBy + * @param MinifiedUser $modifiedBy An instance of MinifiedUser + */ + public function setModifiedBy(MinifiedUser $modifiedBy) + { + $this->addKeyValue('Modified_By', $modifiedBy); + + } + + /** + * The method to get the modifiedTime + * @return \DateTime An instance of \DateTime + */ + public function getModifiedTime() + { + return $this->getKeyValue('Modified_Time'); + + } + + /** + * The method to set the value to modifiedTime + * @param \DateTime $modifiedTime An instance of \DateTime + */ + public function setModifiedTime(\DateTime $modifiedTime) + { + $this->addKeyValue('Modified_Time', $modifiedTime); + + } + + /** + * The method to get the tag + * @return array A array representing the tag + */ + public function getTag() + { + return $this->getKeyValue('Tag'); + + } + + /** + * The method to set the value to tag + * @param array $tag A array + */ + public function setTag(array $tag) + { + $this->addKeyValue('Tag', $tag); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/record/LineTax.php b/versions/5.0.0/src/com/zoho/crm/api/record/LineTax.php new file mode 100644 index 0000000..2fa408f --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/record/LineTax.php @@ -0,0 +1,147 @@ +percentage; + + } + + /** + * The method to set the value to percentage + * @param float $percentage A float + */ + public function setPercentage(float $percentage) + { + $this->percentage=$percentage; + $this->keyModified['percentage'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the value + * @return float A float representing the value + */ + public function getValue() + { + return $this->value; + + } + + /** + * The method to set the value to value + * @param float $value A float + */ + public function setValue(float $value) + { + $this->value=$value; + $this->keyModified['value'] = 1; + + } + + /** + * The method to get the displayName + * @return string A string representing the displayName + */ + public function getDisplayName() + { + return $this->displayName; + + } + + /** + * The method to set the value to displayName + * @param string $displayName A string + */ + public function setDisplayName(string $displayName) + { + $this->displayName=$displayName; + $this->keyModified['display_name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/record/MassUpdate.php b/versions/5.0.0/src/com/zoho/crm/api/record/MassUpdate.php new file mode 100644 index 0000000..8ee8f03 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/record/MassUpdate.php @@ -0,0 +1,148 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['Status'] = 1; + + } + + /** + * The method to get the failedCount + * @return int A int representing the failedCount + */ + public function getFailedCount() + { + return $this->failedCount; + + } + + /** + * The method to set the value to failedCount + * @param int $failedCount A int + */ + public function setFailedCount(int $failedCount) + { + $this->failedCount=$failedCount; + $this->keyModified['Failed_Count'] = 1; + + } + + /** + * The method to get the updatedCount + * @return int A int representing the updatedCount + */ + public function getUpdatedCount() + { + return $this->updatedCount; + + } + + /** + * The method to set the value to updatedCount + * @param int $updatedCount A int + */ + public function setUpdatedCount(int $updatedCount) + { + $this->updatedCount=$updatedCount; + $this->keyModified['Updated_Count'] = 1; + + } + + /** + * The method to get the notUpdatedCount + * @return int A int representing the notUpdatedCount + */ + public function getNotUpdatedCount() + { + return $this->notUpdatedCount; + + } + + /** + * The method to set the value to notUpdatedCount + * @param int $notUpdatedCount A int + */ + public function setNotUpdatedCount(int $notUpdatedCount) + { + $this->notUpdatedCount=$notUpdatedCount; + $this->keyModified['Not_Updated_Count'] = 1; + + } + + /** + * The method to get the totalCount + * @return int A int representing the totalCount + */ + public function getTotalCount() + { + return $this->totalCount; + + } + + /** + * The method to set the value to totalCount + * @param int $totalCount A int + */ + public function setTotalCount(int $totalCount) + { + $this->totalCount=$totalCount; + $this->keyModified['Total_Count'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/record/MassUpdateActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/record/MassUpdateActionHandler.php new file mode 100644 index 0000000..6d8a93c --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/record/MassUpdateActionHandler.php @@ -0,0 +1,7 @@ +data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/record/MassUpdateBodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/record/MassUpdateBodyWrapper.php new file mode 100644 index 0000000..43c2f8b --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/record/MassUpdateBodyWrapper.php @@ -0,0 +1,169 @@ +data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to get the cvid + * @return string A string representing the cvid + */ + public function getCvid() + { + return $this->cvid; + + } + + /** + * The method to set the value to cvid + * @param string $cvid A string + */ + public function setCvid(string $cvid) + { + $this->cvid=$cvid; + $this->keyModified['cvid'] = 1; + + } + + /** + * The method to get the ids + * @return array A array representing the ids + */ + public function getIds() + { + return $this->ids; + + } + + /** + * The method to set the value to ids + * @param array $ids A array + */ + public function setIds(array $ids) + { + $this->ids=$ids; + $this->keyModified['ids'] = 1; + + } + + /** + * The method to get the territory + * @return MassUpdateTerritory An instance of MassUpdateTerritory + */ + public function getTerritory() + { + return $this->territory; + + } + + /** + * The method to set the value to territory + * @param MassUpdateTerritory $territory An instance of MassUpdateTerritory + */ + public function setTerritory(MassUpdateTerritory $territory) + { + $this->territory=$territory; + $this->keyModified['territory'] = 1; + + } + + /** + * The method to get the overWrite + * @return bool A bool representing the overWrite + */ + public function getOverWrite() + { + return $this->overWrite; + + } + + /** + * The method to set the value to overWrite + * @param bool $overWrite A bool + */ + public function setOverWrite(bool $overWrite) + { + $this->overWrite=$overWrite; + $this->keyModified['over_write'] = 1; + + } + + /** + * The method to get the criteria + * @return array A array representing the criteria + */ + public function getCriteria() + { + return $this->criteria; + + } + + /** + * The method to set the value to criteria + * @param array $criteria A array + */ + public function setCriteria(array $criteria) + { + $this->criteria=$criteria; + $this->keyModified['criteria'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/record/MassUpdateResponse.php b/versions/5.0.0/src/com/zoho/crm/api/record/MassUpdateResponse.php new file mode 100644 index 0000000..4f19939 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/record/MassUpdateResponse.php @@ -0,0 +1,7 @@ +data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/record/MassUpdateSuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/record/MassUpdateSuccessResponse.php new file mode 100644 index 0000000..fcec7a8 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/record/MassUpdateSuccessResponse.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/record/MassUpdateTerritory.php b/versions/5.0.0/src/com/zoho/crm/api/record/MassUpdateTerritory.php new file mode 100644 index 0000000..df09377 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/record/MassUpdateTerritory.php @@ -0,0 +1,81 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the includeChild + * @return bool A bool representing the includeChild + */ + public function getIncludeChild() + { + return $this->includeChild; + + } + + /** + * The method to set the value to includeChild + * @param bool $includeChild A bool + */ + public function setIncludeChild(bool $includeChild) + { + $this->includeChild=$includeChild; + $this->keyModified['include_child'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/record/MultiSelectLookup.php b/versions/5.0.0/src/com/zoho/crm/api/record/MultiSelectLookup.php new file mode 100644 index 0000000..699be27 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/record/MultiSelectLookup.php @@ -0,0 +1,103 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the fieldname + * @return array A array representing the fieldname + */ + public function getFieldname() + { + return $this->fieldname; + + } + + /** + * The method to set the value to fieldname + * @param array $fieldname A array + */ + public function setFieldname(array $fieldname) + { + $this->fieldname=$fieldname; + $this->keyModified['fieldName'] = 1; + + } + + /** + * The method to get the hasMore + * @return array A array representing the hasMore + */ + public function getHasMore() + { + return $this->hasMore; + + } + + /** + * The method to set the value to hasMore + * @param array $hasMore A array + */ + public function setHasMore(array $hasMore) + { + $this->hasMore=$hasMore; + $this->keyModified['$has_more'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/record/MultiSelectPicklist.php b/versions/5.0.0/src/com/zoho/crm/api/record/MultiSelectPicklist.php new file mode 100644 index 0000000..9624331 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/record/MultiSelectPicklist.php @@ -0,0 +1,81 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the fieldname + * @return array A array representing the fieldname + */ + public function getFieldname() + { + return $this->fieldname; + + } + + /** + * The method to set the value to fieldname + * @param array $fieldname A array + */ + public function setFieldname(array $fieldname) + { + $this->fieldname=$fieldname; + $this->keyModified['fieldName'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/record/Notes.php b/versions/5.0.0/src/com/zoho/crm/api/record/Notes.php new file mode 100644 index 0000000..d09c029 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/record/Notes.php @@ -0,0 +1,66 @@ +getKeyValue('name'); + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->addKeyValue('name', $name); + + } + + /** + * The method to get the email + * @return string A string representing the email + */ + public function getEmail() + { + return $this->getKeyValue('Email'); + + } + + /** + * The method to set the value to email + * @param string $email A string + */ + public function setEmail(string $email) + { + $this->addKeyValue('Email', $email); + + } + + /** + * The method to get the invited + * @return bool A bool representing the invited + */ + public function getInvited() + { + return $this->getKeyValue('invited'); + + } + + /** + * The method to set the value to invited + * @param bool $invited A bool + */ + public function setInvited(bool $invited) + { + $this->addKeyValue('invited', $invited); + + } + + /** + * The method to get the type + * @return string A string representing the type + */ + public function getType() + { + return $this->getKeyValue('type'); + + } + + /** + * The method to set the value to type + * @param string $type A string + */ + public function setType(string $type) + { + $this->addKeyValue('type', $type); + + } + + /** + * The method to get the participant + * @return string A string representing the participant + */ + public function getParticipant() + { + return $this->getKeyValue('participant'); + + } + + /** + * The method to set the value to participant + * @param string $participant A string + */ + public function setParticipant(string $participant) + { + $this->addKeyValue('participant', $participant); + + } + + /** + * The method to get the status + * @return string A string representing the status + */ + public function getStatus() + { + return $this->getKeyValue('status'); + + } + + /** + * The method to set the value to status + * @param string $status A string + */ + public function setStatus(string $status) + { + $this->addKeyValue('status', $status); + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->getKeyValue('id'); + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->addKeyValue('id', $id); + + } + + /** + * The method to get the createdBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getCreatedBy() + { + return $this->getKeyValue('Created_By'); + + } + + /** + * The method to set the value to createdBy + * @param MinifiedUser $createdBy An instance of MinifiedUser + */ + public function setCreatedBy(MinifiedUser $createdBy) + { + $this->addKeyValue('Created_By', $createdBy); + + } + + /** + * The method to get the createdTime + * @return \DateTime An instance of \DateTime + */ + public function getCreatedTime() + { + return $this->getKeyValue('Created_Time'); + + } + + /** + * The method to set the value to createdTime + * @param \DateTime $createdTime An instance of \DateTime + */ + public function setCreatedTime(\DateTime $createdTime) + { + $this->addKeyValue('Created_Time', $createdTime); + + } + + /** + * The method to get the modifiedBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getModifiedBy() + { + return $this->getKeyValue('Modified_By'); + + } + + /** + * The method to set the value to modifiedBy + * @param MinifiedUser $modifiedBy An instance of MinifiedUser + */ + public function setModifiedBy(MinifiedUser $modifiedBy) + { + $this->addKeyValue('Modified_By', $modifiedBy); + + } + + /** + * The method to get the modifiedTime + * @return \DateTime An instance of \DateTime + */ + public function getModifiedTime() + { + return $this->getKeyValue('Modified_Time'); + + } + + /** + * The method to set the value to modifiedTime + * @param \DateTime $modifiedTime An instance of \DateTime + */ + public function setModifiedTime(\DateTime $modifiedTime) + { + $this->addKeyValue('Modified_Time', $modifiedTime); + + } + + /** + * The method to get the tag + * @return array A array representing the tag + */ + public function getTag() + { + return $this->getKeyValue('Tag'); + + } + + /** + * The method to set the value to tag + * @param array $tag A array + */ + public function setTag(array $tag) + { + $this->addKeyValue('Tag', $tag); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/record/PriceBook.php b/versions/5.0.0/src/com/zoho/crm/api/record/PriceBook.php new file mode 100644 index 0000000..7fa6e3e --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/record/PriceBook.php @@ -0,0 +1,151 @@ +getKeyValue('name'); + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->addKeyValue('name', $name); + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->getKeyValue('id'); + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->addKeyValue('id', $id); + + } + + /** + * The method to get the createdBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getCreatedBy() + { + return $this->getKeyValue('Created_By'); + + } + + /** + * The method to set the value to createdBy + * @param MinifiedUser $createdBy An instance of MinifiedUser + */ + public function setCreatedBy(MinifiedUser $createdBy) + { + $this->addKeyValue('Created_By', $createdBy); + + } + + /** + * The method to get the createdTime + * @return \DateTime An instance of \DateTime + */ + public function getCreatedTime() + { + return $this->getKeyValue('Created_Time'); + + } + + /** + * The method to set the value to createdTime + * @param \DateTime $createdTime An instance of \DateTime + */ + public function setCreatedTime(\DateTime $createdTime) + { + $this->addKeyValue('Created_Time', $createdTime); + + } + + /** + * The method to get the modifiedBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getModifiedBy() + { + return $this->getKeyValue('Modified_By'); + + } + + /** + * The method to set the value to modifiedBy + * @param MinifiedUser $modifiedBy An instance of MinifiedUser + */ + public function setModifiedBy(MinifiedUser $modifiedBy) + { + $this->addKeyValue('Modified_By', $modifiedBy); + + } + + /** + * The method to get the modifiedTime + * @return \DateTime An instance of \DateTime + */ + public function getModifiedTime() + { + return $this->getKeyValue('Modified_Time'); + + } + + /** + * The method to set the value to modifiedTime + * @param \DateTime $modifiedTime An instance of \DateTime + */ + public function setModifiedTime(\DateTime $modifiedTime) + { + $this->addKeyValue('Modified_Time', $modifiedTime); + + } + + /** + * The method to get the tag + * @return array A array representing the tag + */ + public function getTag() + { + return $this->getKeyValue('Tag'); + + } + + /** + * The method to set the value to tag + * @param array $tag A array + */ + public function setTag(array $tag) + { + $this->addKeyValue('Tag', $tag); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/record/Price_Books.php b/versions/5.0.0/src/com/zoho/crm/api/record/Price_Books.php new file mode 100644 index 0000000..b0d652b --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/record/Price_Books.php @@ -0,0 +1,81 @@ +getKeyValue('to_range'); + + } + + /** + * The method to set the value to toRange + * @param float $toRange A float + */ + public function setToRange(float $toRange) + { + $this->addKeyValue('to_range', $toRange); + + } + + /** + * The method to get the discount + * @return float A float representing the discount + */ + public function getDiscount() + { + return $this->getKeyValue('discount'); + + } + + /** + * The method to set the value to discount + * @param float $discount A float + */ + public function setDiscount(float $discount) + { + $this->addKeyValue('discount', $discount); + + } + + /** + * The method to get the fromRange + * @return float A float representing the fromRange + */ + public function getFromRange() + { + return $this->getKeyValue('from_range'); + + } + + /** + * The method to set the value to fromRange + * @param float $fromRange A float + */ + public function setFromRange(float $fromRange) + { + $this->addKeyValue('from_range', $fromRange); + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->getKeyValue('id'); + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->addKeyValue('id', $id); + + } + + /** + * The method to get the createdBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getCreatedBy() + { + return $this->getKeyValue('Created_By'); + + } + + /** + * The method to set the value to createdBy + * @param MinifiedUser $createdBy An instance of MinifiedUser + */ + public function setCreatedBy(MinifiedUser $createdBy) + { + $this->addKeyValue('Created_By', $createdBy); + + } + + /** + * The method to get the createdTime + * @return \DateTime An instance of \DateTime + */ + public function getCreatedTime() + { + return $this->getKeyValue('Created_Time'); + + } + + /** + * The method to set the value to createdTime + * @param \DateTime $createdTime An instance of \DateTime + */ + public function setCreatedTime(\DateTime $createdTime) + { + $this->addKeyValue('Created_Time', $createdTime); + + } + + /** + * The method to get the modifiedBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getModifiedBy() + { + return $this->getKeyValue('Modified_By'); + + } + + /** + * The method to set the value to modifiedBy + * @param MinifiedUser $modifiedBy An instance of MinifiedUser + */ + public function setModifiedBy(MinifiedUser $modifiedBy) + { + $this->addKeyValue('Modified_By', $modifiedBy); + + } + + /** + * The method to get the modifiedTime + * @return \DateTime An instance of \DateTime + */ + public function getModifiedTime() + { + return $this->getKeyValue('Modified_Time'); + + } + + /** + * The method to set the value to modifiedTime + * @param \DateTime $modifiedTime An instance of \DateTime + */ + public function setModifiedTime(\DateTime $modifiedTime) + { + $this->addKeyValue('Modified_Time', $modifiedTime); + + } + + /** + * The method to get the tag + * @return array A array representing the tag + */ + public function getTag() + { + return $this->getKeyValue('Tag'); + + } + + /** + * The method to set the value to tag + * @param array $tag A array + */ + public function setTag(array $tag) + { + $this->addKeyValue('Tag', $tag); + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->getKeyValue('name'); + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->addKeyValue('name', $name); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/record/Products.php b/versions/5.0.0/src/com/zoho/crm/api/record/Products.php new file mode 100644 index 0000000..d17c7d6 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/record/Products.php @@ -0,0 +1,167 @@ +getKeyValue('id'); + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->addKeyValue('id', $id); + + } + + /** + * The method to get the createdBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getCreatedBy() + { + return $this->getKeyValue('Created_By'); + + } + + /** + * The method to set the value to createdBy + * @param MinifiedUser $createdBy An instance of MinifiedUser + */ + public function setCreatedBy(MinifiedUser $createdBy) + { + $this->addKeyValue('Created_By', $createdBy); + + } + + /** + * The method to get the createdTime + * @return \DateTime An instance of \DateTime + */ + public function getCreatedTime() + { + return $this->getKeyValue('Created_Time'); + + } + + /** + * The method to set the value to createdTime + * @param \DateTime $createdTime An instance of \DateTime + */ + public function setCreatedTime(\DateTime $createdTime) + { + $this->addKeyValue('Created_Time', $createdTime); + + } + + /** + * The method to get the modifiedBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getModifiedBy() + { + return $this->getKeyValue('Modified_By'); + + } + + /** + * The method to set the value to modifiedBy + * @param MinifiedUser $modifiedBy An instance of MinifiedUser + */ + public function setModifiedBy(MinifiedUser $modifiedBy) + { + $this->addKeyValue('Modified_By', $modifiedBy); + + } + + /** + * The method to get the modifiedTime + * @return \DateTime An instance of \DateTime + */ + public function getModifiedTime() + { + return $this->getKeyValue('Modified_Time'); + + } + + /** + * The method to set the value to modifiedTime + * @param \DateTime $modifiedTime An instance of \DateTime + */ + public function setModifiedTime(\DateTime $modifiedTime) + { + $this->addKeyValue('Modified_Time', $modifiedTime); + + } + + /** + * The method to get the tag + * @return array A array representing the tag + */ + public function getTag() + { + return $this->getKeyValue('Tag'); + + } + + /** + * The method to set the value to tag + * @param array $tag A array + */ + public function setTag(array $tag) + { + $this->addKeyValue('Tag', $tag); + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->getKeyValue('name'); + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->addKeyValue('name', $name); + + } + + /** + * The method to add field value + * @param Field $field An instance of Field + * @param + */ + public function addFieldValue(Field $field, $value) + { + $this->addKeyValue($field->getAPIName(), $value); + + } + + /** + * The method to add key value + * @param string $apiName A string + * @param + */ + public function addKeyValue(string $apiName, $value) + { + $this->keyValues[$apiName] = $value; + $this->keyModified[$apiName] = 1; + + } + + /** + * The method to get key value + * @param string $apiName A string + */ + public function getKeyValue(string $apiName) + { + if(((array_key_exists($apiName, $this->keyValues)))) + { + return $this->keyValues[$apiName]; + + } + return null; + + } + + /** + * The method to get key values + * @return array A array representing the keyValues + */ + public function getKeyValues() + { + return $this->keyValues; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/record/RecordCountParam.php b/versions/5.0.0/src/com/zoho/crm/api/record/RecordCountParam.php new file mode 100644 index 0000000..27e5030 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/record/RecordCountParam.php @@ -0,0 +1,29 @@ +moduleAPIName=$moduleAPIName; + + } + + /** + * The method to get record + * @param string $id A string + * @param ParameterMap $paramInstance An instance of ParameterMap + * @param HeaderMap $headerInstance An instance of HeaderMap + * @return APIResponse An instance of APIResponse + */ + public function getRecord(string $id, ParameterMap $paramInstance=null, HeaderMap $headerInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleAPIName)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + $handlerInstance->setHeader($headerInstance); + $handlerInstance->setModuleAPIName($this->moduleAPIName); + Utility::getFields($this->moduleAPIName, $handlerInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to update record + * @param string $id A string + * @param BodyWrapper $request An instance of BodyWrapper + * @param HeaderMap $headerInstance An instance of HeaderMap + * @return APIResponse An instance of APIResponse + */ + public function updateRecord(string $id, BodyWrapper $request, HeaderMap $headerInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleAPIName)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + $handlerInstance->setHeader($headerInstance); + $handlerInstance->setModuleAPIName($this->moduleAPIName); + Utility::getFields($this->moduleAPIName, $handlerInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to delete record + * @param string $id A string + * @param ParameterMap $paramInstance An instance of ParameterMap + * @param HeaderMap $headerInstance An instance of HeaderMap + * @return APIResponse An instance of APIResponse + */ + public function deleteRecord(string $id, ParameterMap $paramInstance=null, HeaderMap $headerInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleAPIName)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setCategoryMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setParam($paramInstance); + $handlerInstance->setHeader($headerInstance); + Utility::getFields($this->moduleAPIName, $handlerInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get records + * @param ParameterMap $paramInstance An instance of ParameterMap + * @param HeaderMap $headerInstance An instance of HeaderMap + * @return APIResponse An instance of APIResponse + */ + public function getRecords(ParameterMap $paramInstance=null, HeaderMap $headerInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleAPIName)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + $handlerInstance->setHeader($headerInstance); + $handlerInstance->setModuleAPIName($this->moduleAPIName); + Utility::getFields($this->moduleAPIName, $handlerInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to create records + * @param BodyWrapper $request An instance of BodyWrapper + * @param HeaderMap $headerInstance An instance of HeaderMap + * @return APIResponse An instance of APIResponse + */ + public function createRecords(BodyWrapper $request, HeaderMap $headerInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleAPIName)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setHeader($headerInstance); + $handlerInstance->setModuleAPIName($this->moduleAPIName); + Utility::getFields($this->moduleAPIName, $handlerInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to update records + * @param BodyWrapper $request An instance of BodyWrapper + * @param HeaderMap $headerInstance An instance of HeaderMap + * @return APIResponse An instance of APIResponse + */ + public function updateRecords(BodyWrapper $request, HeaderMap $headerInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleAPIName)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setHeader($headerInstance); + $handlerInstance->setModuleAPIName($this->moduleAPIName); + Utility::getFields($this->moduleAPIName, $handlerInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to delete records + * @param ParameterMap $paramInstance An instance of ParameterMap + * @param HeaderMap $headerInstance An instance of HeaderMap + * @return APIResponse An instance of APIResponse + */ + public function deleteRecords(ParameterMap $paramInstance=null, HeaderMap $headerInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleAPIName)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setCategoryMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setParam($paramInstance); + $handlerInstance->setHeader($headerInstance); + Utility::getFields($this->moduleAPIName, $handlerInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to upsert records + * @param BodyWrapper $request An instance of BodyWrapper + * @param HeaderMap $headerInstance An instance of HeaderMap + * @return APIResponse An instance of APIResponse + */ + public function upsertRecords(BodyWrapper $request, HeaderMap $headerInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleAPIName)); + $apiPath=$apiPath.('/upsert'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_ACTION); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setHeader($headerInstance); + $handlerInstance->setModuleAPIName($this->moduleAPIName); + Utility::getFields($this->moduleAPIName, $handlerInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get deleted records + * @param ParameterMap $paramInstance An instance of ParameterMap + * @param HeaderMap $headerInstance An instance of HeaderMap + * @return APIResponse An instance of APIResponse + */ + public function getDeletedRecords(ParameterMap $paramInstance=null, HeaderMap $headerInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleAPIName)); + $apiPath=$apiPath.('/deleted'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + $handlerInstance->setHeader($headerInstance); + Utility::getFields($this->moduleAPIName, $handlerInstance); + return $handlerInstance->apiCall(DeletedRecordsHandler::class, 'application/json'); + + } + + /** + * The method to search records + * @param ParameterMap $paramInstance An instance of ParameterMap + * @param HeaderMap $headerInstance An instance of HeaderMap + * @return APIResponse An instance of APIResponse + */ + public function searchRecords(ParameterMap $paramInstance=null, HeaderMap $headerInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleAPIName)); + $apiPath=$apiPath.('/search'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + $handlerInstance->setHeader($headerInstance); + $handlerInstance->setModuleAPIName($this->moduleAPIName); + Utility::getFields($this->moduleAPIName, $handlerInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to get photo + * @param string $id A string + * @return APIResponse An instance of APIResponse + */ + public function getPhoto(string $id) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleAPIName)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($id)); + $apiPath=$apiPath.('/photo'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + Utility::getFields($this->moduleAPIName, $handlerInstance); + return $handlerInstance->apiCall(DownloadHandler::class, 'application/x-download'); + + } + + /** + * The method to upload photo + * @param string $id A string + * @param FileBodyWrapper $request An instance of FileBodyWrapper + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function uploadPhoto(string $id, FileBodyWrapper $request, ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleAPIName)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($id)); + $apiPath=$apiPath.('/photo'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('multipart/form-data'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + $handlerInstance->setParam($paramInstance); + Utility::getFields($this->moduleAPIName, $handlerInstance); + Utility::verifyPhotoSupport($this->moduleAPIName); + return $handlerInstance->apiCall(FileHandler::class, 'application/json'); + + } + + /** + * The method to delete photo + * @param string $id A string + * @return APIResponse An instance of APIResponse + */ + public function deletePhoto(string $id) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleAPIName)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($id)); + $apiPath=$apiPath.('/photo'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setCategoryMethod(Constants::REQUEST_METHOD_DELETE); + Utility::getFields($this->moduleAPIName, $handlerInstance); + return $handlerInstance->apiCall(FileHandler::class, 'application/json'); + + } + + /** + * The method to mass update records + * @param MassUpdateBodyWrapper $request An instance of MassUpdateBodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function massUpdateRecords(MassUpdateBodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleAPIName)); + $apiPath=$apiPath.('/actions/mass_update'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + $handlerInstance->setModuleAPIName($this->moduleAPIName); + Utility::getFields($this->moduleAPIName, $handlerInstance); + return $handlerInstance->apiCall(MassUpdateActionHandler::class, 'application/json'); + + } + + /** + * The method to get mass update status + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function getMassUpdateStatus(ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleAPIName)); + $apiPath=$apiPath.('/actions/mass_update'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + Utility::getFields($this->moduleAPIName, $handlerInstance); + return $handlerInstance->apiCall(MassUpdateResponseHandler::class, 'application/json'); + + } + + /** + * The method to assign territories to multiple records + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function assignTerritoriesToMultipleRecords(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleAPIName)); + $apiPath=$apiPath.('/actions/assign_territories'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + $handlerInstance->setModuleAPIName($this->moduleAPIName); + Utility::getFields($this->moduleAPIName, $handlerInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to assign territory to record + * @param string $id A string + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function assignTerritoryToRecord(string $id, BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleAPIName)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($id)); + $apiPath=$apiPath.('/actions/assign_territories'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + $handlerInstance->setModuleAPIName($this->moduleAPIName); + Utility::getFields($this->moduleAPIName, $handlerInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to remove territories from multiple records + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function removeTerritoriesFromMultipleRecords(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleAPIName)); + $apiPath=$apiPath.('/actions/remove_territories'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + $handlerInstance->setModuleAPIName($this->moduleAPIName); + Utility::getFields($this->moduleAPIName, $handlerInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to remove territories from record + * @param string $id A string + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function removeTerritoriesFromRecord(string $id, BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleAPIName)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($id)); + $apiPath=$apiPath.('/actions/remove_territories'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + $handlerInstance->setModuleAPIName($this->moduleAPIName); + Utility::getFields($this->moduleAPIName, $handlerInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to record count + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function recordCount(ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleAPIName)); + $apiPath=$apiPath.('/actions/count'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(CountHandler::class, 'application/json'); + + } + + /** + * The method to get record using external id + * @param string $externalFieldValue A string + * @param ParameterMap $paramInstance An instance of ParameterMap + * @param HeaderMap $headerInstance An instance of HeaderMap + * @return APIResponse An instance of APIResponse + */ + public function getRecordUsingExternalId(string $externalFieldValue, ParameterMap $paramInstance=null, HeaderMap $headerInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleAPIName)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($externalFieldValue)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + $handlerInstance->setHeader($headerInstance); + $handlerInstance->setModuleAPIName($this->moduleAPIName); + Utility::getFields($this->moduleAPIName, $handlerInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to update record using external id + * @param string $externalFieldValue A string + * @param BodyWrapper $request An instance of BodyWrapper + * @param HeaderMap $headerInstance An instance of HeaderMap + * @return APIResponse An instance of APIResponse + */ + public function updateRecordUsingExternalId(string $externalFieldValue, BodyWrapper $request, HeaderMap $headerInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleAPIName)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($externalFieldValue)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + $handlerInstance->setHeader($headerInstance); + $handlerInstance->setModuleAPIName($this->moduleAPIName); + Utility::getFields($this->moduleAPIName, $handlerInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to delete record using external id + * @param string $externalFieldValue A string + * @param ParameterMap $paramInstance An instance of ParameterMap + * @param HeaderMap $headerInstance An instance of HeaderMap + * @return APIResponse An instance of APIResponse + */ + public function deleteRecordUsingExternalId(string $externalFieldValue, ParameterMap $paramInstance=null, HeaderMap $headerInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleAPIName)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($externalFieldValue)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setCategoryMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setParam($paramInstance); + $handlerInstance->setHeader($headerInstance); + Utility::getFields($this->moduleAPIName, $handlerInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/record/RecurringActivity.php b/versions/5.0.0/src/com/zoho/crm/api/record/RecurringActivity.php new file mode 100644 index 0000000..f5affd9 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/record/RecurringActivity.php @@ -0,0 +1,81 @@ +rrule; + + } + + /** + * The method to set the value to rrule + * @param string $rrule A string + */ + public function setRrule(string $rrule) + { + $this->rrule=$rrule; + $this->keyModified['RRULE'] = 1; + + } + + /** + * The method to get the exdate + * @return string A string representing the exdate + */ + public function getExdate() + { + return $this->exdate; + + } + + /** + * The method to set the value to exdate + * @param string $exdate A string + */ + public function setExdate(string $exdate) + { + $this->exdate=$exdate; + $this->keyModified['EXDATE'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/record/RemindAt.php b/versions/5.0.0/src/com/zoho/crm/api/record/RemindAt.php new file mode 100644 index 0000000..59f8189 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/record/RemindAt.php @@ -0,0 +1,59 @@ +alarm; + + } + + /** + * The method to set the value to alarm + * @param string $alarm A string + */ + public function setAlarm(string $alarm) + { + $this->alarm=$alarm; + $this->keyModified['ALARM'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/record/Reminder.php b/versions/5.0.0/src/com/zoho/crm/api/record/Reminder.php new file mode 100644 index 0000000..d23097e --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/record/Reminder.php @@ -0,0 +1,103 @@ +period; + + } + + /** + * The method to set the value to period + * @param string $period A string + */ + public function setPeriod(string $period) + { + $this->period=$period; + $this->keyModified['period'] = 1; + + } + + /** + * The method to get the unit + * @return int A int representing the unit + */ + public function getUnit() + { + return $this->unit; + + } + + /** + * The method to set the value to unit + * @param int $unit A int + */ + public function setUnit(int $unit) + { + $this->unit=$unit; + $this->keyModified['unit'] = 1; + + } + + /** + * The method to get the time + * @return string A string representing the time + */ + public function getTime() + { + return $this->time; + + } + + /** + * The method to set the value to time + * @param string $time A string + */ + public function setTime(string $time) + { + $this->time=$time; + $this->keyModified['time'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/record/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/record/ResponseHandler.php new file mode 100644 index 0000000..813cecb --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/record/ResponseHandler.php @@ -0,0 +1,7 @@ +data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to get the info + * @return Info An instance of Info + */ + public function getInfo() + { + return $this->info; + + } + + /** + * The method to set the value to info + * @param Info $info An instance of Info + */ + public function setInfo(Info $info) + { + $this->info=$info; + $this->keyModified['info'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/record/Sales_Orders.php b/versions/5.0.0/src/com/zoho/crm/api/record/Sales_Orders.php new file mode 100644 index 0000000..5bba5a1 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/record/Sales_Orders.php @@ -0,0 +1,221 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the duplicateField + * @return string A string representing the duplicateField + */ + public function getDuplicateField() + { + return $this->duplicateField; + + } + + /** + * The method to set the value to duplicateField + * @param string $duplicateField A string + */ + public function setDuplicateField(string $duplicateField) + { + $this->duplicateField=$duplicateField; + $this->keyModified['duplicate_field'] = 1; + + } + + /** + * The method to get the action + * @return Choice An instance of Choice + */ + public function getAction() + { + return $this->action; + + } + + /** + * The method to set the value to action + * @param Choice $action An instance of Choice + */ + public function setAction(Choice $action) + { + $this->action=$action; + $this->keyModified['action'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/record/Tasks.php b/versions/5.0.0/src/com/zoho/crm/api/record/Tasks.php new file mode 100644 index 0000000..6567556 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/record/Tasks.php @@ -0,0 +1,113 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the value + * @return string A string representing the value + */ + public function getValue() + { + return $this->value; + + } + + /** + * The method to set the value to value + * @param string $value A string + */ + public function setValue(string $value) + { + $this->value=$value; + $this->keyModified['value'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/record/Territory.php b/versions/5.0.0/src/com/zoho/crm/api/record/Territory.php new file mode 100644 index 0000000..ef1cb05 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/record/Territory.php @@ -0,0 +1,148 @@ +assigned; + + } + + /** + * The method to set the value to assigned + * @param string $assigned A string + */ + public function setAssigned(string $assigned) + { + $this->assigned=$assigned; + $this->keyModified['$assigned'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['Name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the assignedTime + * @return \DateTime An instance of \DateTime + */ + public function getAssignedTime() + { + return $this->assignedTime; + + } + + /** + * The method to set the value to assignedTime + * @param \DateTime $assignedTime An instance of \DateTime + */ + public function setAssignedTime(\DateTime $assignedTime) + { + $this->assignedTime=$assignedTime; + $this->keyModified['$assigned_time'] = 1; + + } + + /** + * The method to get the assignedBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getAssignedBy() + { + return $this->assignedBy; + + } + + /** + * The method to set the value to assignedBy + * @param MinifiedUser $assignedBy An instance of MinifiedUser + */ + public function setAssignedBy(MinifiedUser $assignedBy) + { + $this->assignedBy=$assignedBy; + $this->keyModified['$assigned_by'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/record/TimeRange.php b/versions/5.0.0/src/com/zoho/crm/api/record/TimeRange.php new file mode 100644 index 0000000..d01e38f --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/record/TimeRange.php @@ -0,0 +1,81 @@ +from; + + } + + /** + * The method to set the value to from + * @param string $from A string + */ + public function setFrom(string $from) + { + $this->from=$from; + $this->keyModified['From'] = 1; + + } + + /** + * The method to get the to + * @return string A string representing the to + */ + public function getTo() + { + return $this->to; + + } + + /** + * The method to set the value to to + * @param string $to A string + */ + public function setTo(string $to) + { + $this->to=$to; + $this->keyModified['To'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/record/UpdateRecordHeader.php b/versions/5.0.0/src/com/zoho/crm/api/record/UpdateRecordHeader.php new file mode 100644 index 0000000..998d93a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/record/UpdateRecordHeader.php @@ -0,0 +1,14 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/record/Wizard.php b/versions/5.0.0/src/com/zoho/crm/api/record/Wizard.php new file mode 100644 index 0000000..c5ec415 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/record/Wizard.php @@ -0,0 +1,81 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/recordlocking/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/recordlocking/APIException.php new file mode 100644 index 0000000..4e7089e --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/recordlocking/APIException.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/recordlocking/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/recordlocking/ActionHandler.php new file mode 100644 index 0000000..b6f6e33 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/recordlocking/ActionHandler.php @@ -0,0 +1,7 @@ +data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/recordlocking/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/recordlocking/BodyWrapper.php new file mode 100644 index 0000000..07a9bf1 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/recordlocking/BodyWrapper.php @@ -0,0 +1,59 @@ +data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/recordlocking/GetRecordLockingInformationParam.php b/versions/5.0.0/src/com/zoho/crm/api/recordlocking/GetRecordLockingInformationParam.php new file mode 100644 index 0000000..5308218 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/recordlocking/GetRecordLockingInformationParam.php @@ -0,0 +1,14 @@ +call; + + } + + /** + * The method to set the value to call + * @param bool $call A bool + */ + public function setCall(bool $call) + { + $this->call=$call; + $this->keyModified['call'] = 1; + + } + + /** + * The method to get the perPage + * @return int A int representing the perPage + */ + public function getPerPage() + { + return $this->perPage; + + } + + /** + * The method to set the value to perPage + * @param int $perPage A int + */ + public function setPerPage(int $perPage) + { + $this->perPage=$perPage; + $this->keyModified['per_page'] = 1; + + } + + /** + * The method to get the nextPageToken + * @return string A string representing the nextPageToken + */ + public function getNextPageToken() + { + return $this->nextPageToken; + + } + + /** + * The method to set the value to nextPageToken + * @param string $nextPageToken A string + */ + public function setNextPageToken(string $nextPageToken) + { + $this->nextPageToken=$nextPageToken; + $this->keyModified['next_page_token'] = 1; + + } + + /** + * The method to get the count + * @return int A int representing the count + */ + public function getCount() + { + return $this->count; + + } + + /** + * The method to set the value to count + * @param int $count A int + */ + public function setCount(int $count) + { + $this->count=$count; + $this->keyModified['count'] = 1; + + } + + /** + * The method to get the page + * @return int A int representing the page + */ + public function getPage() + { + return $this->page; + + } + + /** + * The method to set the value to page + * @param int $page A int + */ + public function setPage(int $page) + { + $this->page=$page; + $this->keyModified['page'] = 1; + + } + + /** + * The method to get the previousPageToken + * @return string A string representing the previousPageToken + */ + public function getPreviousPageToken() + { + return $this->previousPageToken; + + } + + /** + * The method to set the value to previousPageToken + * @param string $previousPageToken A string + */ + public function setPreviousPageToken(string $previousPageToken) + { + $this->previousPageToken=$previousPageToken; + $this->keyModified['previous_page_token'] = 1; + + } + + /** + * The method to get the pageTokenExpiry + * @return \DateTime An instance of \DateTime + */ + public function getPageTokenExpiry() + { + return $this->pageTokenExpiry; + + } + + /** + * The method to set the value to pageTokenExpiry + * @param \DateTime $pageTokenExpiry An instance of \DateTime + */ + public function setPageTokenExpiry(\DateTime $pageTokenExpiry) + { + $this->pageTokenExpiry=$pageTokenExpiry; + $this->keyModified['page_token_expiry'] = 1; + + } + + /** + * The method to get the email + * @return bool A bool representing the email + */ + public function getEmail() + { + return $this->email; + + } + + /** + * The method to set the value to email + * @param bool $email A bool + */ + public function setEmail(bool $email) + { + $this->email=$email; + $this->keyModified['email'] = 1; + + } + + /** + * The method to get the moreRecords + * @return bool A bool representing the moreRecords + */ + public function getMoreRecords() + { + return $this->moreRecords; + + } + + /** + * The method to set the value to moreRecords + * @param bool $moreRecords A bool + */ + public function setMoreRecords(bool $moreRecords) + { + $this->moreRecords=$moreRecords; + $this->keyModified['more_records'] = 1; + + } + + /** + * The method to get the sortBy + * @return string A string representing the sortBy + */ + public function getSortBy() + { + return $this->sortBy; + + } + + /** + * The method to set the value to sortBy + * @param string $sortBy A string + */ + public function setSortBy(string $sortBy) + { + $this->sortBy=$sortBy; + $this->keyModified['sort_by'] = 1; + + } + + /** + * The method to get the sortOrder + * @return string A string representing the sortOrder + */ + public function getSortOrder() + { + return $this->sortOrder; + + } + + /** + * The method to set the value to sortOrder + * @param string $sortOrder A string + */ + public function setSortOrder(string $sortOrder) + { + $this->sortOrder=$sortOrder; + $this->keyModified['sort_order'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/recordlocking/LockRecord.php b/versions/5.0.0/src/com/zoho/crm/api/recordlocking/LockRecord.php new file mode 100644 index 0000000..3210da8 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/recordlocking/LockRecord.php @@ -0,0 +1,59 @@ +lockedReasonS; + + } + + /** + * The method to set the value to lockedReasonS + * @param string $lockedReasonS A string + */ + public function setLockedReasonS(string $lockedReasonS) + { + $this->lockedReasonS=$lockedReasonS; + $this->keyModified['Locked_Reason__s'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/recordlocking/LockedForS.php b/versions/5.0.0/src/com/zoho/crm/api/recordlocking/LockedForS.php new file mode 100644 index 0000000..1c9b740 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/recordlocking/LockedForS.php @@ -0,0 +1,103 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the module + * @return array A array representing the module + */ + public function getModule() + { + return $this->module; + + } + + /** + * The method to set the value to module + * @param array $module A array + */ + public function setModule(array $module) + { + $this->module=$module; + $this->keyModified['module'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/recordlocking/RecordLock.php b/versions/5.0.0/src/com/zoho/crm/api/recordlocking/RecordLock.php new file mode 100644 index 0000000..6eb8bad --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/recordlocking/RecordLock.php @@ -0,0 +1,293 @@ +getKeyValue('lock_source__s'); + + } + + /** + * The method to set the value to lockSourceS + * @param Choice $lockSourceS An instance of Choice + */ + public function setLockSourceS(Choice $lockSourceS) + { + $this->addKeyValue('lock_source__s', $lockSourceS); + + } + + /** + * The method to get the lockedByS + * @return MinifiedUser An instance of MinifiedUser + */ + public function getLockedByS() + { + return $this->getKeyValue('locked_by__s'); + + } + + /** + * The method to set the value to lockedByS + * @param MinifiedUser $lockedByS An instance of MinifiedUser + */ + public function setLockedByS(MinifiedUser $lockedByS) + { + $this->addKeyValue('locked_by__s', $lockedByS); + + } + + /** + * The method to get the lockedForS + * @return LockedForS An instance of LockedForS + */ + public function getLockedForS() + { + return $this->getKeyValue('locked_for_s'); + + } + + /** + * The method to set the value to lockedForS + * @param LockedForS $lockedForS An instance of LockedForS + */ + public function setLockedForS(LockedForS $lockedForS) + { + $this->addKeyValue('locked_for_s', $lockedForS); + + } + + /** + * The method to get the lockedReasonS + * @return string A string representing the lockedReasonS + */ + public function getLockedReasonS() + { + return $this->getKeyValue('locked_reason__s'); + + } + + /** + * The method to set the value to lockedReasonS + * @param string $lockedReasonS A string + */ + public function setLockedReasonS(string $lockedReasonS) + { + $this->addKeyValue('locked_reason__s', $lockedReasonS); + + } + + /** + * The method to get the lockedTimeS + * @return string A string representing the lockedTimeS + */ + public function getLockedTimeS() + { + return $this->getKeyValue('Locked_time__s'); + + } + + /** + * The method to set the value to lockedTimeS + * @param string $lockedTimeS A string + */ + public function setLockedTimeS(string $lockedTimeS) + { + $this->addKeyValue('Locked_time__s', $lockedTimeS); + + } + + /** + * The method to get the recordLockingConfigurationIdS + * @return string A string representing the recordLockingConfigurationIdS + */ + public function getRecordLockingConfigurationIdS() + { + return $this->getKeyValue('record_locking_configuration_id__s'); + + } + + /** + * The method to set the value to recordLockingConfigurationIdS + * @param string $recordLockingConfigurationIdS A string + */ + public function setRecordLockingConfigurationIdS(string $recordLockingConfigurationIdS) + { + $this->addKeyValue('record_locking_configuration_id__s', $recordLockingConfigurationIdS); + + } + + /** + * The method to get the recordLockingRuleIdS + * @return string A string representing the recordLockingRuleIdS + */ + public function getRecordLockingRuleIdS() + { + return $this->getKeyValue('record_locking_rule_id__s'); + + } + + /** + * The method to set the value to recordLockingRuleIdS + * @param string $recordLockingRuleIdS A string + */ + public function setRecordLockingRuleIdS(string $recordLockingRuleIdS) + { + $this->addKeyValue('record_locking_rule_id__s', $recordLockingRuleIdS); + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->getKeyValue('id'); + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->addKeyValue('id', $id); + + } + + /** + * The method to get the createdBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getCreatedBy() + { + return $this->getKeyValue('Created_By'); + + } + + /** + * The method to set the value to createdBy + * @param MinifiedUser $createdBy An instance of MinifiedUser + */ + public function setCreatedBy(MinifiedUser $createdBy) + { + $this->addKeyValue('Created_By', $createdBy); + + } + + /** + * The method to get the createdTime + * @return \DateTime An instance of \DateTime + */ + public function getCreatedTime() + { + return $this->getKeyValue('Created_Time'); + + } + + /** + * The method to set the value to createdTime + * @param \DateTime $createdTime An instance of \DateTime + */ + public function setCreatedTime(\DateTime $createdTime) + { + $this->addKeyValue('Created_Time', $createdTime); + + } + + /** + * The method to get the modifiedBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getModifiedBy() + { + return $this->getKeyValue('Modified_By'); + + } + + /** + * The method to set the value to modifiedBy + * @param MinifiedUser $modifiedBy An instance of MinifiedUser + */ + public function setModifiedBy(MinifiedUser $modifiedBy) + { + $this->addKeyValue('Modified_By', $modifiedBy); + + } + + /** + * The method to get the modifiedTime + * @return \DateTime An instance of \DateTime + */ + public function getModifiedTime() + { + return $this->getKeyValue('Modified_Time'); + + } + + /** + * The method to set the value to modifiedTime + * @param \DateTime $modifiedTime An instance of \DateTime + */ + public function setModifiedTime(\DateTime $modifiedTime) + { + $this->addKeyValue('Modified_Time', $modifiedTime); + + } + + /** + * The method to get the tag + * @return array A array representing the tag + */ + public function getTag() + { + return $this->getKeyValue('Tag'); + + } + + /** + * The method to set the value to tag + * @param array $tag A array + */ + public function setTag(array $tag) + { + $this->addKeyValue('Tag', $tag); + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->getKeyValue('name'); + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->addKeyValue('name', $name); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/recordlocking/RecordLockingOperations.php b/versions/5.0.0/src/com/zoho/crm/api/recordlocking/RecordLockingOperations.php new file mode 100644 index 0000000..4098a2f --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/recordlocking/RecordLockingOperations.php @@ -0,0 +1,157 @@ +recordId=$recordId; + $this->moduleName=$moduleName; + + } + + /** + * The method to get record locking informations + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function getRecordLockingInformations(ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleName)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($this->recordId)); + $apiPath=$apiPath.('/Locking_Information__s'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + $handlerInstance->setModuleAPIName("Locking_Information__s"); + Utility::getFields("Locking_Information__s", $handlerInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to lock records + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function lockRecords(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleName)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($this->recordId)); + $apiPath=$apiPath.('/Locking_Information__s'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + $handlerInstance->setModuleAPIName("Locking_Information__s"); + Utility::getFields("Locking_Information__s", $handlerInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get record locking information + * @param string $lockId A string + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function getRecordLockingInformation(string $lockId, ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleName)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($this->recordId)); + $apiPath=$apiPath.('/Locking_Information__s/'); + $apiPath=$apiPath.(strval($lockId)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + $handlerInstance->setModuleAPIName("Locking_Information__s"); + Utility::getFields("Locking_Information__s", $handlerInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to update record locking information + * @param string $lockId A string + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updateRecordLockingInformation(string $lockId, BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleName)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($this->recordId)); + $apiPath=$apiPath.('/Locking_Information__s/'); + $apiPath=$apiPath.(strval($lockId)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + $handlerInstance->setModuleAPIName("Locking_Information__s"); + Utility::getFields("Locking_Information__s", $handlerInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to unlock record + * @param string $lockId A string + * @return APIResponse An instance of APIResponse + */ + public function unlockRecord(string $lockId) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleName)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($this->recordId)); + $apiPath=$apiPath.('/Locking_Information__s/'); + $apiPath=$apiPath.(strval($lockId)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setCategoryMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setModuleAPIName("Locking_Information__s"); + Utility::getFields("Locking_Information__s", $handlerInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/recordlocking/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/recordlocking/ResponseHandler.php new file mode 100644 index 0000000..9d9b0d5 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/recordlocking/ResponseHandler.php @@ -0,0 +1,7 @@ +data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to get the info + * @return Info An instance of Info + */ + public function getInfo() + { + return $this->info; + + } + + /** + * The method to set the value to info + * @param Info $info An instance of Info + */ + public function setInfo(Info $info) + { + $this->info=$info; + $this->keyModified['info'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/recordlocking/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/recordlocking/SuccessResponse.php new file mode 100644 index 0000000..8281d8a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/recordlocking/SuccessResponse.php @@ -0,0 +1,170 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the duplicateField + * @return string A string representing the duplicateField + */ + public function getDuplicateField() + { + return $this->duplicateField; + + } + + /** + * The method to set the value to duplicateField + * @param string $duplicateField A string + */ + public function setDuplicateField(string $duplicateField) + { + $this->duplicateField=$duplicateField; + $this->keyModified['duplicate_field'] = 1; + + } + + /** + * The method to get the action + * @return Choice An instance of Choice + */ + public function getAction() + { + return $this->action; + + } + + /** + * The method to set the value to action + * @param Choice $action An instance of Choice + */ + public function setAction(Choice $action) + { + $this->action=$action; + $this->keyModified['action'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/recordlockingconfiguration/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/recordlockingconfiguration/APIException.php new file mode 100644 index 0000000..f55dc83 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/recordlockingconfiguration/APIException.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/recordlockingconfiguration/ActionResponse.php b/versions/5.0.0/src/com/zoho/crm/api/recordlockingconfiguration/ActionResponse.php new file mode 100644 index 0000000..f5eeb98 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/recordlockingconfiguration/ActionResponse.php @@ -0,0 +1,7 @@ +recordLockingConfigurations; + + } + + /** + * The method to set the value to recordLockingConfigurations + * @param array $recordLockingConfigurations A array + */ + public function setRecordLockingConfigurations(array $recordLockingConfigurations) + { + $this->recordLockingConfigurations=$recordLockingConfigurations; + $this->keyModified['record_locking_configurations'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/recordlockingconfiguration/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/recordlockingconfiguration/BodyWrapper.php new file mode 100644 index 0000000..afb8077 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/recordlockingconfiguration/BodyWrapper.php @@ -0,0 +1,59 @@ +recordLockingConfigurations; + + } + + /** + * The method to set the value to recordLockingConfigurations + * @param array $recordLockingConfigurations A array + */ + public function setRecordLockingConfigurations(array $recordLockingConfigurations) + { + $this->recordLockingConfigurations=$recordLockingConfigurations; + $this->keyModified['record_locking_configurations'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/recordlockingconfiguration/Criteria.php b/versions/5.0.0/src/com/zoho/crm/api/recordlockingconfiguration/Criteria.php new file mode 100644 index 0000000..41e4f3e --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/recordlockingconfiguration/Criteria.php @@ -0,0 +1,146 @@ +comparator; + + } + + /** + * The method to set the value to comparator + * @param string $comparator A string + */ + public function setComparator(string $comparator) + { + $this->comparator=$comparator; + $this->keyModified['comparator'] = 1; + + } + + /** + * The method to get the field + * @return Field An instance of Field + */ + public function getField() + { + return $this->field; + + } + + /** + * The method to set the value to field + * @param Field $field An instance of Field + */ + public function setField(Field $field) + { + $this->field=$field; + $this->keyModified['field'] = 1; + + } + + /** + * The method to get the value + */ + public function getValue() + { + return $this->value; + + } + + /** + * The method to set the value to value + * @param + */ + public function setValue( $value) + { + $this->value=$value; + $this->keyModified['value'] = 1; + + } + + /** + * The method to get the groupOperator + * @return string A string representing the groupOperator + */ + public function getGroupOperator() + { + return $this->groupOperator; + + } + + /** + * The method to set the value to groupOperator + * @param string $groupOperator A string + */ + public function setGroupOperator(string $groupOperator) + { + $this->groupOperator=$groupOperator; + $this->keyModified['group_operator'] = 1; + + } + + /** + * The method to get the group + * @return array A array representing the group + */ + public function getGroup() + { + return $this->group; + + } + + /** + * The method to set the value to group + * @param array $group A array + */ + public function setGroup(array $group) + { + $this->group=$group; + $this->keyModified['group'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/recordlockingconfiguration/Dependee.php b/versions/5.0.0/src/com/zoho/crm/api/recordlockingconfiguration/Dependee.php new file mode 100644 index 0000000..f32cecb --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/recordlockingconfiguration/Dependee.php @@ -0,0 +1,81 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the jsonPath + * @return string A string representing the jsonPath + */ + public function getJsonPath() + { + return $this->jsonPath; + + } + + /** + * The method to set the value to jsonPath + * @param string $jsonPath A string + */ + public function setJsonPath(string $jsonPath) + { + $this->jsonPath=$jsonPath; + $this->keyModified['json_path'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/recordlockingconfiguration/Field.php b/versions/5.0.0/src/com/zoho/crm/api/recordlockingconfiguration/Field.php new file mode 100644 index 0000000..203140d --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/recordlockingconfiguration/Field.php @@ -0,0 +1,81 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/recordlockingconfiguration/LockExcludedProfile.php b/versions/5.0.0/src/com/zoho/crm/api/recordlockingconfiguration/LockExcludedProfile.php new file mode 100644 index 0000000..253e42c --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/recordlockingconfiguration/LockExcludedProfile.php @@ -0,0 +1,81 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/recordlockingconfiguration/LockingRules.php b/versions/5.0.0/src/com/zoho/crm/api/recordlockingconfiguration/LockingRules.php new file mode 100644 index 0000000..d90fec9 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/recordlockingconfiguration/LockingRules.php @@ -0,0 +1,125 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the lockExistingRecords + * @return bool A bool representing the lockExistingRecords + */ + public function getLockExistingRecords() + { + return $this->lockExistingRecords; + + } + + /** + * The method to set the value to lockExistingRecords + * @param bool $lockExistingRecords A bool + */ + public function setLockExistingRecords(bool $lockExistingRecords) + { + $this->lockExistingRecords=$lockExistingRecords; + $this->keyModified['lock_existing_records'] = 1; + + } + + /** + * The method to get the criteria + * @return Criteria An instance of Criteria + */ + public function getCriteria() + { + return $this->criteria; + + } + + /** + * The method to set the value to criteria + * @param Criteria $criteria An instance of Criteria + */ + public function setCriteria(Criteria $criteria) + { + $this->criteria=$criteria; + $this->keyModified['criteria'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/recordlockingconfiguration/RecordLock.php b/versions/5.0.0/src/com/zoho/crm/api/recordlockingconfiguration/RecordLock.php new file mode 100644 index 0000000..e13e1b6 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/recordlockingconfiguration/RecordLock.php @@ -0,0 +1,392 @@ +createdTime; + + } + + /** + * The method to set the value to createdTime + * @param \DateTime $createdTime An instance of \DateTime + */ + public function setCreatedTime(\DateTime $createdTime) + { + $this->createdTime=$createdTime; + $this->keyModified['created_time'] = 1; + + } + + /** + * The method to get the lockedFor + * @return string A string representing the lockedFor + */ + public function getLockedFor() + { + return $this->lockedFor; + + } + + /** + * The method to set the value to lockedFor + * @param string $lockedFor A string + */ + public function setLockedFor(string $lockedFor) + { + $this->lockedFor=$lockedFor; + $this->keyModified['locked_for'] = 1; + + } + + /** + * The method to get the excludedFields + * @return array A array representing the excludedFields + */ + public function getExcludedFields() + { + return $this->excludedFields; + + } + + /** + * The method to set the value to excludedFields + * @param array $excludedFields A array + */ + public function setExcludedFields(array $excludedFields) + { + $this->excludedFields=$excludedFields; + $this->keyModified['excluded_fields'] = 1; + + } + + /** + * The method to get the createdBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getCreatedBy() + { + return $this->createdBy; + + } + + /** + * The method to set the value to createdBy + * @param MinifiedUser $createdBy An instance of MinifiedUser + */ + public function setCreatedBy(MinifiedUser $createdBy) + { + $this->createdBy=$createdBy; + $this->keyModified['created_by'] = 1; + + } + + /** + * The method to get the featureType + * @return string A string representing the featureType + */ + public function getFeatureType() + { + return $this->featureType; + + } + + /** + * The method to set the value to featureType + * @param string $featureType A string + */ + public function setFeatureType(string $featureType) + { + $this->featureType=$featureType; + $this->keyModified['feature_type'] = 1; + + } + + /** + * The method to get the lockingRules + * @return array A array representing the lockingRules + */ + public function getLockingRules() + { + return $this->lockingRules; + + } + + /** + * The method to set the value to lockingRules + * @param array $lockingRules A array + */ + public function setLockingRules(array $lockingRules) + { + $this->lockingRules=$lockingRules; + $this->keyModified['locking_rules'] = 1; + + } + + /** + * The method to get the restrictedActions + * @return array A array representing the restrictedActions + */ + public function getRestrictedActions() + { + return $this->restrictedActions; + + } + + /** + * The method to set the value to restrictedActions + * @param array $restrictedActions A array + */ + public function setRestrictedActions(array $restrictedActions) + { + $this->restrictedActions=$restrictedActions; + $this->keyModified['restricted_actions'] = 1; + + } + + /** + * The method to get the lockForPortalUsers + * @return bool A bool representing the lockForPortalUsers + */ + public function getLockForPortalUsers() + { + return $this->lockForPortalUsers; + + } + + /** + * The method to set the value to lockForPortalUsers + * @param bool $lockForPortalUsers A bool + */ + public function setLockForPortalUsers(bool $lockForPortalUsers) + { + $this->lockForPortalUsers=$lockForPortalUsers; + $this->keyModified['lock_for_portal_users'] = 1; + + } + + /** + * The method to get the modifiedTime + * @return \DateTime An instance of \DateTime + */ + public function getModifiedTime() + { + return $this->modifiedTime; + + } + + /** + * The method to set the value to modifiedTime + * @param \DateTime $modifiedTime An instance of \DateTime + */ + public function setModifiedTime(\DateTime $modifiedTime) + { + $this->modifiedTime=$modifiedTime; + $this->keyModified['modified_time'] = 1; + + } + + /** + * The method to get the restrictedCommunications + * @return array A array representing the restrictedCommunications + */ + public function getRestrictedCommunications() + { + return $this->restrictedCommunications; + + } + + /** + * The method to set the value to restrictedCommunications + * @param array $restrictedCommunications A array + */ + public function setRestrictedCommunications(array $restrictedCommunications) + { + $this->restrictedCommunications=$restrictedCommunications; + $this->keyModified['restricted_communications'] = 1; + + } + + /** + * The method to get the systemDefined + * @return bool A bool representing the systemDefined + */ + public function getSystemDefined() + { + return $this->systemDefined; + + } + + /** + * The method to set the value to systemDefined + * @param bool $systemDefined A bool + */ + public function setSystemDefined(bool $systemDefined) + { + $this->systemDefined=$systemDefined; + $this->keyModified['system_defined'] = 1; + + } + + /** + * The method to get the modifiedBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getModifiedBy() + { + return $this->modifiedBy; + + } + + /** + * The method to set the value to modifiedBy + * @param MinifiedUser $modifiedBy An instance of MinifiedUser + */ + public function setModifiedBy(MinifiedUser $modifiedBy) + { + $this->modifiedBy=$modifiedBy; + $this->keyModified['modified_by'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the lockType + * @return Choice An instance of Choice + */ + public function getLockType() + { + return $this->lockType; + + } + + /** + * The method to set the value to lockType + * @param Choice $lockType An instance of Choice + */ + public function setLockType(Choice $lockType) + { + $this->lockType=$lockType; + $this->keyModified['lock_type'] = 1; + + } + + /** + * The method to get the restrictedCustomButtons + * @return array A array representing the restrictedCustomButtons + */ + public function getRestrictedCustomButtons() + { + return $this->restrictedCustomButtons; + + } + + /** + * The method to set the value to restrictedCustomButtons + * @param array $restrictedCustomButtons A array + */ + public function setRestrictedCustomButtons(array $restrictedCustomButtons) + { + $this->restrictedCustomButtons=$restrictedCustomButtons; + $this->keyModified['restricted_custom_buttons'] = 1; + + } + + /** + * The method to get the lockExcludedProfiles + * @return array A array representing the lockExcludedProfiles + */ + public function getLockExcludedProfiles() + { + return $this->lockExcludedProfiles; + + } + + /** + * The method to set the value to lockExcludedProfiles + * @param array $lockExcludedProfiles A array + */ + public function setLockExcludedProfiles(array $lockExcludedProfiles) + { + $this->lockExcludedProfiles=$lockExcludedProfiles; + $this->keyModified['lock_excluded_profiles'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/recordlockingconfiguration/ResponseWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/recordlockingconfiguration/ResponseWrapper.php new file mode 100644 index 0000000..2f6a054 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/recordlockingconfiguration/ResponseWrapper.php @@ -0,0 +1,59 @@ +recordLockingConfigurations; + + } + + /** + * The method to set the value to recordLockingConfigurations + * @param array $recordLockingConfigurations A array + */ + public function setRecordLockingConfigurations(array $recordLockingConfigurations) + { + $this->recordLockingConfigurations=$recordLockingConfigurations; + $this->keyModified['record_locking_configurations'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/recordlockingconfiguration/RestrictedCustomButton.php b/versions/5.0.0/src/com/zoho/crm/api/recordlockingconfiguration/RestrictedCustomButton.php new file mode 100644 index 0000000..8c19790 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/recordlockingconfiguration/RestrictedCustomButton.php @@ -0,0 +1,81 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/recordlockingconfiguration/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/recordlockingconfiguration/SuccessResponse.php new file mode 100644 index 0000000..5711c71 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/recordlockingconfiguration/SuccessResponse.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/relatedlists/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/relatedlists/APIException.php new file mode 100644 index 0000000..efcd983 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/relatedlists/APIException.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/relatedlists/Field.php b/versions/5.0.0/src/com/zoho/crm/api/relatedlists/Field.php new file mode 100644 index 0000000..bf40585 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/relatedlists/Field.php @@ -0,0 +1,81 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/relatedlists/GetRelatedListParam.php b/versions/5.0.0/src/com/zoho/crm/api/relatedlists/GetRelatedListParam.php new file mode 100644 index 0000000..521a2e0 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/relatedlists/GetRelatedListParam.php @@ -0,0 +1,14 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/relatedlists/RelatedList.php b/versions/5.0.0/src/com/zoho/crm/api/relatedlists/RelatedList.php new file mode 100644 index 0000000..eb55497 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/relatedlists/RelatedList.php @@ -0,0 +1,433 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the sequenceNumber + * @return string A string representing the sequenceNumber + */ + public function getSequenceNumber() + { + return $this->sequenceNumber; + + } + + /** + * The method to set the value to sequenceNumber + * @param string $sequenceNumber A string + */ + public function setSequenceNumber(string $sequenceNumber) + { + $this->sequenceNumber=$sequenceNumber; + $this->keyModified['sequence_number'] = 1; + + } + + /** + * The method to get the displayLabel + * @return string A string representing the displayLabel + */ + public function getDisplayLabel() + { + return $this->displayLabel; + + } + + /** + * The method to set the value to displayLabel + * @param string $displayLabel A string + */ + public function setDisplayLabel(string $displayLabel) + { + $this->displayLabel=$displayLabel; + $this->keyModified['display_label'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the module + * @return ModuleMap An instance of ModuleMap + */ + public function getModule() + { + return $this->module; + + } + + /** + * The method to set the value to module + * @param ModuleMap $module An instance of ModuleMap + */ + public function setModule(ModuleMap $module) + { + $this->module=$module; + $this->keyModified['module'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the action + * @return string A string representing the action + */ + public function getAction() + { + return $this->action; + + } + + /** + * The method to set the value to action + * @param string $action A string + */ + public function setAction(string $action) + { + $this->action=$action; + $this->keyModified['action'] = 1; + + } + + /** + * The method to get the href + * @return string A string representing the href + */ + public function getHref() + { + return $this->href; + + } + + /** + * The method to set the value to href + * @param string $href A string + */ + public function setHref(string $href) + { + $this->href=$href; + $this->keyModified['href'] = 1; + + } + + /** + * The method to get the type + * @return string A string representing the type + */ + public function getType() + { + return $this->type; + + } + + /** + * The method to set the value to type + * @param string $type A string + */ + public function setType(string $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to get the connectedmodule + * @return string A string representing the connectedmodule + */ + public function getConnectedmodule() + { + return $this->connectedmodule; + + } + + /** + * The method to set the value to connectedmodule + * @param string $connectedmodule A string + */ + public function setConnectedmodule(string $connectedmodule) + { + $this->connectedmodule=$connectedmodule; + $this->keyModified['connectedmodule'] = 1; + + } + + /** + * The method to get the linkingmodule + * @return string A string representing the linkingmodule + */ + public function getLinkingmodule() + { + return $this->linkingmodule; + + } + + /** + * The method to set the value to linkingmodule + * @param string $linkingmodule A string + */ + public function setLinkingmodule(string $linkingmodule) + { + $this->linkingmodule=$linkingmodule; + $this->keyModified['linkingmodule'] = 1; + + } + + /** + * The method to get the visible + * @return bool A bool representing the visible + */ + public function getVisible() + { + return $this->visible; + + } + + /** + * The method to set the value to visible + * @param bool $visible A bool + */ + public function setVisible(bool $visible) + { + $this->visible=$visible; + $this->keyModified['visible'] = 1; + + } + + /** + * The method to get the customizeSort + * @return bool A bool representing the customizeSort + */ + public function getCustomizeSort() + { + return $this->customizeSort; + + } + + /** + * The method to set the value to customizeSort + * @param bool $customizeSort A bool + */ + public function setCustomizeSort(bool $customizeSort) + { + $this->customizeSort=$customizeSort; + $this->keyModified['customize_sort'] = 1; + + } + + /** + * The method to get the customizeFields + * @return bool A bool representing the customizeFields + */ + public function getCustomizeFields() + { + return $this->customizeFields; + + } + + /** + * The method to set the value to customizeFields + * @param bool $customizeFields A bool + */ + public function setCustomizeFields(bool $customizeFields) + { + $this->customizeFields=$customizeFields; + $this->keyModified['customize_fields'] = 1; + + } + + /** + * The method to get the customizeDisplayLabel + * @return bool A bool representing the customizeDisplayLabel + */ + public function getCustomizeDisplayLabel() + { + return $this->customizeDisplayLabel; + + } + + /** + * The method to set the value to customizeDisplayLabel + * @param bool $customizeDisplayLabel A bool + */ + public function setCustomizeDisplayLabel(bool $customizeDisplayLabel) + { + $this->customizeDisplayLabel=$customizeDisplayLabel; + $this->keyModified['customize_display_label'] = 1; + + } + + /** + * The method to get the sortBy + * @return Field An instance of Field + */ + public function getSortBy() + { + return $this->sortBy; + + } + + /** + * The method to set the value to sortBy + * @param Field $sortBy An instance of Field + */ + public function setSortBy(Field $sortBy) + { + $this->sortBy=$sortBy; + $this->keyModified['sort_by'] = 1; + + } + + /** + * The method to get the sortOrder + * @return string A string representing the sortOrder + */ + public function getSortOrder() + { + return $this->sortOrder; + + } + + /** + * The method to set the value to sortOrder + * @param string $sortOrder A string + */ + public function setSortOrder(string $sortOrder) + { + $this->sortOrder=$sortOrder; + $this->keyModified['sort_order'] = 1; + + } + + /** + * The method to get the fields + * @return array A array representing the fields + */ + public function getFields() + { + return $this->fields; + + } + + /** + * The method to set the value to fields + * @param array $fields A array + */ + public function setFields(array $fields) + { + $this->fields=$fields; + $this->keyModified['fields'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/relatedlists/RelatedListsOperations.php b/versions/5.0.0/src/com/zoho/crm/api/relatedlists/RelatedListsOperations.php new file mode 100644 index 0000000..8d8e78a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/relatedlists/RelatedListsOperations.php @@ -0,0 +1,65 @@ +layoutId=$layoutId; + + } + + /** + * The method to get related lists + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function getRelatedLists(ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/related_lists'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->addParam(new Param('layout_id', 'com.zoho.crm.api.RelatedLists.GetRelatedListsParam'), $this->layoutId); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to get related list + * @param string $id A string + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function getRelatedList(string $id, ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/related_lists/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->addParam(new Param('layout_id', 'com.zoho.crm.api.RelatedLists.GetRelatedListParam'), $this->layoutId); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/relatedlists/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/relatedlists/ResponseHandler.php new file mode 100644 index 0000000..d5b39a4 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/relatedlists/ResponseHandler.php @@ -0,0 +1,7 @@ +relatedLists; + + } + + /** + * The method to set the value to relatedLists + * @param array $relatedLists A array + */ + public function setRelatedLists(array $relatedLists) + { + $this->relatedLists=$relatedLists; + $this->keyModified['related_lists'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/relatedrecords/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/relatedrecords/APIException.php new file mode 100644 index 0000000..da76728 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/relatedrecords/APIException.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/relatedrecords/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/relatedrecords/ActionHandler.php new file mode 100644 index 0000000..3d11156 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/relatedrecords/ActionHandler.php @@ -0,0 +1,7 @@ +data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/relatedrecords/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/relatedrecords/BodyWrapper.php new file mode 100644 index 0000000..8e0780a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/relatedrecords/BodyWrapper.php @@ -0,0 +1,60 @@ +data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/relatedrecords/DeleteRelatedRecordUsingExternalIDHeader.php b/versions/5.0.0/src/com/zoho/crm/api/relatedrecords/DeleteRelatedRecordUsingExternalIDHeader.php new file mode 100644 index 0000000..5f5f02d --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/relatedrecords/DeleteRelatedRecordUsingExternalIDHeader.php @@ -0,0 +1,14 @@ +file; + + } + + /** + * The method to set the value to file + * @param StreamWrapper $file An instance of StreamWrapper + */ + public function setFile(StreamWrapper $file) + { + $this->file=$file; + $this->keyModified['file'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/relatedrecords/GetDeletedParentRecordsRelatedRecordParam.php b/versions/5.0.0/src/com/zoho/crm/api/relatedrecords/GetDeletedParentRecordsRelatedRecordParam.php new file mode 100644 index 0000000..749a2ae --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/relatedrecords/GetDeletedParentRecordsRelatedRecordParam.php @@ -0,0 +1,29 @@ +relatedListAPIName=$relatedListAPIName; + $this->moduleAPIName=$moduleAPIName; + + } + + /** + * The method to get related records + * @param string $recordId A string + * @param ParameterMap $paramInstance An instance of ParameterMap + * @param HeaderMap $headerInstance An instance of HeaderMap + * @return APIResponse An instance of APIResponse + */ + public function getRelatedRecords(string $recordId, ParameterMap $paramInstance=null, HeaderMap $headerInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleAPIName)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($recordId)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($this->relatedListAPIName)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + $handlerInstance->setHeader($headerInstance); + Utility::getRelatedLists($this->relatedListAPIName, $this->moduleAPIName, $handlerInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to update related records + * @param string $recordId A string + * @param BodyWrapper $request An instance of BodyWrapper + * @param HeaderMap $headerInstance An instance of HeaderMap + * @return APIResponse An instance of APIResponse + */ + public function updateRelatedRecords(string $recordId, BodyWrapper $request, HeaderMap $headerInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleAPIName)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($recordId)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($this->relatedListAPIName)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setHeader($headerInstance); + Utility::getRelatedLists($this->relatedListAPIName, $this->moduleAPIName, $handlerInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to delink records + * @param string $recordId A string + * @param ParameterMap $paramInstance An instance of ParameterMap + * @param HeaderMap $headerInstance An instance of HeaderMap + * @return APIResponse An instance of APIResponse + */ + public function delinkRecords(string $recordId, ParameterMap $paramInstance=null, HeaderMap $headerInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleAPIName)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($recordId)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($this->relatedListAPIName)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setCategoryMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setParam($paramInstance); + $handlerInstance->setHeader($headerInstance); + Utility::getFields($this->moduleAPIName, $handlerInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get related records using external id + * @param string $externalValue A string + * @param ParameterMap $paramInstance An instance of ParameterMap + * @param HeaderMap $headerInstance An instance of HeaderMap + * @return APIResponse An instance of APIResponse + */ + public function getRelatedRecordsUsingExternalId(string $externalValue, ParameterMap $paramInstance=null, HeaderMap $headerInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleAPIName)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($externalValue)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($this->relatedListAPIName)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + $handlerInstance->setHeader($headerInstance); + Utility::getRelatedLists($this->relatedListAPIName, $this->moduleAPIName, $handlerInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to update related records using external id + * @param string $externalValue A string + * @param BodyWrapper $request An instance of BodyWrapper + * @param HeaderMap $headerInstance An instance of HeaderMap + * @return APIResponse An instance of APIResponse + */ + public function updateRelatedRecordsUsingExternalId(string $externalValue, BodyWrapper $request, HeaderMap $headerInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleAPIName)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($externalValue)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($this->relatedListAPIName)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setHeader($headerInstance); + Utility::getRelatedLists($this->relatedListAPIName, $this->moduleAPIName, $handlerInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to delete related records using external id + * @param string $externalValue A string + * @param ParameterMap $paramInstance An instance of ParameterMap + * @param HeaderMap $headerInstance An instance of HeaderMap + * @return APIResponse An instance of APIResponse + */ + public function deleteRelatedRecordsUsingExternalId(string $externalValue, ParameterMap $paramInstance=null, HeaderMap $headerInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleAPIName)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($externalValue)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($this->relatedListAPIName)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setCategoryMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setParam($paramInstance); + $handlerInstance->setHeader($headerInstance); + Utility::getRelatedLists($this->relatedListAPIName, $this->moduleAPIName, $handlerInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get related record + * @param string $relatedRecordId A string + * @param string $recordId A string + * @param ParameterMap $paramInstance An instance of ParameterMap + * @param HeaderMap $headerInstance An instance of HeaderMap + * @return APIResponse An instance of APIResponse + */ + public function getRelatedRecord(string $relatedRecordId, string $recordId, ParameterMap $paramInstance=null, HeaderMap $headerInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleAPIName)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($recordId)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($this->relatedListAPIName)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($relatedRecordId)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + $handlerInstance->setHeader($headerInstance); + Utility::getRelatedLists($this->relatedListAPIName, $this->moduleAPIName, $handlerInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to update related record + * @param string $relatedRecordId A string + * @param string $recordId A string + * @param BodyWrapper $request An instance of BodyWrapper + * @param HeaderMap $headerInstance An instance of HeaderMap + * @return APIResponse An instance of APIResponse + */ + public function updateRelatedRecord(string $relatedRecordId, string $recordId, BodyWrapper $request, HeaderMap $headerInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleAPIName)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($recordId)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($this->relatedListAPIName)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($relatedRecordId)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + $handlerInstance->setHeader($headerInstance); + Utility::getRelatedLists($this->relatedListAPIName, $this->moduleAPIName, $handlerInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to delink record + * @param string $relatedRecordId A string + * @param string $recordId A string + * @param HeaderMap $headerInstance An instance of HeaderMap + * @return APIResponse An instance of APIResponse + */ + public function delinkRecord(string $relatedRecordId, string $recordId, HeaderMap $headerInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleAPIName)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($recordId)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($this->relatedListAPIName)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($relatedRecordId)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setCategoryMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setHeader($headerInstance); + Utility::getFields($this->moduleAPIName, $handlerInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get related record using external id + * @param string $externalFieldValue A string + * @param string $externalValue A string + * @param ParameterMap $paramInstance An instance of ParameterMap + * @param HeaderMap $headerInstance An instance of HeaderMap + * @return APIResponse An instance of APIResponse + */ + public function getRelatedRecordUsingExternalId(string $externalFieldValue, string $externalValue, ParameterMap $paramInstance=null, HeaderMap $headerInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleAPIName)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($externalValue)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($this->relatedListAPIName)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($externalFieldValue)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + $handlerInstance->setHeader($headerInstance); + Utility::getRelatedLists($this->relatedListAPIName, $this->moduleAPIName, $handlerInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to update related record using external id + * @param string $externalFieldValue A string + * @param string $externalValue A string + * @param BodyWrapper $request An instance of BodyWrapper + * @param HeaderMap $headerInstance An instance of HeaderMap + * @return APIResponse An instance of APIResponse + */ + public function updateRelatedRecordUsingExternalId(string $externalFieldValue, string $externalValue, BodyWrapper $request, HeaderMap $headerInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleAPIName)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($externalValue)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($this->relatedListAPIName)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($externalFieldValue)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + $handlerInstance->setHeader($headerInstance); + Utility::getRelatedLists($this->relatedListAPIName, $this->moduleAPIName, $handlerInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to delete related record using external id + * @param string $externalFieldValue A string + * @param string $externalValue A string + * @param HeaderMap $headerInstance An instance of HeaderMap + * @return APIResponse An instance of APIResponse + */ + public function deleteRelatedRecordUsingExternalId(string $externalFieldValue, string $externalValue, HeaderMap $headerInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleAPIName)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($externalValue)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($this->relatedListAPIName)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($externalFieldValue)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setCategoryMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setHeader($headerInstance); + Utility::getRelatedLists($this->relatedListAPIName, $this->moduleAPIName, $handlerInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get deleted parent records related record + * @param string $recordId A string + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function getDeletedParentRecordsRelatedRecord(string $recordId, ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleAPIName)); + $apiPath=$apiPath.('/deleted/'); + $apiPath=$apiPath.(strval($recordId)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($this->relatedListAPIName)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + Utility::getRelatedLists($this->relatedListAPIName, $this->moduleAPIName, $handlerInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/relatedrecords/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/relatedrecords/ResponseHandler.php new file mode 100644 index 0000000..5cbae04 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/relatedrecords/ResponseHandler.php @@ -0,0 +1,7 @@ +data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to get the info + * @return Info An instance of Info + */ + public function getInfo() + { + return $this->info; + + } + + /** + * The method to set the value to info + * @param Info $info An instance of Info + */ + public function setInfo(Info $info) + { + $this->info=$info; + $this->keyModified['info'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/relatedrecords/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/relatedrecords/SuccessResponse.php new file mode 100644 index 0000000..1257568 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/relatedrecords/SuccessResponse.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/relatedrecords/UpdateRelatedRecordHeader.php b/versions/5.0.0/src/com/zoho/crm/api/relatedrecords/UpdateRelatedRecordHeader.php new file mode 100644 index 0000000..5e96d1e --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/relatedrecords/UpdateRelatedRecordHeader.php @@ -0,0 +1,14 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/reschedulehistory/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/reschedulehistory/ActionHandler.php new file mode 100644 index 0000000..1a97337 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/reschedulehistory/ActionHandler.php @@ -0,0 +1,7 @@ +data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/reschedulehistory/AppointmentName.php b/versions/5.0.0/src/com/zoho/crm/api/reschedulehistory/AppointmentName.php new file mode 100644 index 0000000..c906175 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/reschedulehistory/AppointmentName.php @@ -0,0 +1,81 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/reschedulehistory/Approval.php b/versions/5.0.0/src/com/zoho/crm/api/reschedulehistory/Approval.php new file mode 100644 index 0000000..4b6fd97 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/reschedulehistory/Approval.php @@ -0,0 +1,125 @@ +delegate; + + } + + /** + * The method to set the value to delegate + * @param bool $delegate A bool + */ + public function setDelegate(bool $delegate) + { + $this->delegate=$delegate; + $this->keyModified['delegate'] = 1; + + } + + /** + * The method to get the approve + * @return bool A bool representing the approve + */ + public function getApprove() + { + return $this->approve; + + } + + /** + * The method to set the value to approve + * @param bool $approve A bool + */ + public function setApprove(bool $approve) + { + $this->approve=$approve; + $this->keyModified['approve'] = 1; + + } + + /** + * The method to get the reject + * @return bool A bool representing the reject + */ + public function getReject() + { + return $this->reject; + + } + + /** + * The method to set the value to reject + * @param bool $reject A bool + */ + public function setReject(bool $reject) + { + $this->reject=$reject; + $this->keyModified['reject'] = 1; + + } + + /** + * The method to get the resubmit + * @return bool A bool representing the resubmit + */ + public function getResubmit() + { + return $this->resubmit; + + } + + /** + * The method to set the value to resubmit + * @param bool $resubmit A bool + */ + public function setResubmit(bool $resubmit) + { + $this->resubmit=$resubmit; + $this->keyModified['resubmit'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/reschedulehistory/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/reschedulehistory/BodyWrapper.php new file mode 100644 index 0000000..8459102 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/reschedulehistory/BodyWrapper.php @@ -0,0 +1,59 @@ +data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/reschedulehistory/GetAppointmentRescheduledHistoryParam.php b/versions/5.0.0/src/com/zoho/crm/api/reschedulehistory/GetAppointmentRescheduledHistoryParam.php new file mode 100644 index 0000000..d35fabd --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/reschedulehistory/GetAppointmentRescheduledHistoryParam.php @@ -0,0 +1,14 @@ +perPage; + + } + + /** + * The method to set the value to perPage + * @param int $perPage A int + */ + public function setPerPage(int $perPage) + { + $this->perPage=$perPage; + $this->keyModified['per_page'] = 1; + + } + + /** + * The method to get the nextPageToken + * @return string A string representing the nextPageToken + */ + public function getNextPageToken() + { + return $this->nextPageToken; + + } + + /** + * The method to set the value to nextPageToken + * @param string $nextPageToken A string + */ + public function setNextPageToken(string $nextPageToken) + { + $this->nextPageToken=$nextPageToken; + $this->keyModified['next_page_token'] = 1; + + } + + /** + * The method to get the count + * @return int A int representing the count + */ + public function getCount() + { + return $this->count; + + } + + /** + * The method to set the value to count + * @param int $count A int + */ + public function setCount(int $count) + { + $this->count=$count; + $this->keyModified['count'] = 1; + + } + + /** + * The method to get the page + * @return int A int representing the page + */ + public function getPage() + { + return $this->page; + + } + + /** + * The method to set the value to page + * @param int $page A int + */ + public function setPage(int $page) + { + $this->page=$page; + $this->keyModified['page'] = 1; + + } + + /** + * The method to get the previousPageToken + * @return string A string representing the previousPageToken + */ + public function getPreviousPageToken() + { + return $this->previousPageToken; + + } + + /** + * The method to set the value to previousPageToken + * @param string $previousPageToken A string + */ + public function setPreviousPageToken(string $previousPageToken) + { + $this->previousPageToken=$previousPageToken; + $this->keyModified['previous_page_token'] = 1; + + } + + /** + * The method to get the pageTokenExpiry + * @return \DateTime An instance of \DateTime + */ + public function getPageTokenExpiry() + { + return $this->pageTokenExpiry; + + } + + /** + * The method to set the value to pageTokenExpiry + * @param \DateTime $pageTokenExpiry An instance of \DateTime + */ + public function setPageTokenExpiry(\DateTime $pageTokenExpiry) + { + $this->pageTokenExpiry=$pageTokenExpiry; + $this->keyModified['page_token_expiry'] = 1; + + } + + /** + * The method to get the moreRecords + * @return bool A bool representing the moreRecords + */ + public function getMoreRecords() + { + return $this->moreRecords; + + } + + /** + * The method to set the value to moreRecords + * @param bool $moreRecords A bool + */ + public function setMoreRecords(bool $moreRecords) + { + $this->moreRecords=$moreRecords; + $this->keyModified['more_records'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/reschedulehistory/RescheduleHistory.php b/versions/5.0.0/src/com/zoho/crm/api/reschedulehistory/RescheduleHistory.php new file mode 100644 index 0000000..8dfe1c7 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/reschedulehistory/RescheduleHistory.php @@ -0,0 +1,631 @@ +currencySymbol; + + } + + /** + * The method to set the value to currencySymbol + * @param string $currencySymbol A string + */ + public function setCurrencySymbol(string $currencySymbol) + { + $this->currencySymbol=$currencySymbol; + $this->keyModified['$currency_symbol'] = 1; + + } + + /** + * The method to get the rescheduledTo + * @return \DateTime An instance of \DateTime + */ + public function getRescheduledTo() + { + return $this->rescheduledTo; + + } + + /** + * The method to set the value to rescheduledTo + * @param \DateTime $rescheduledTo An instance of \DateTime + */ + public function setRescheduledTo(\DateTime $rescheduledTo) + { + $this->rescheduledTo=$rescheduledTo; + $this->keyModified['Rescheduled_To'] = 1; + + } + + /** + * The method to get the reviewProcess + * @return bool A bool representing the reviewProcess + */ + public function getReviewProcess() + { + return $this->reviewProcess; + + } + + /** + * The method to set the value to reviewProcess + * @param bool $reviewProcess A bool + */ + public function setReviewProcess(bool $reviewProcess) + { + $this->reviewProcess=$reviewProcess; + $this->keyModified['$review_process'] = 1; + + } + + /** + * The method to get the rescheduleReason + * @return string A string representing the rescheduleReason + */ + public function getRescheduleReason() + { + return $this->rescheduleReason; + + } + + /** + * The method to set the value to rescheduleReason + * @param string $rescheduleReason A string + */ + public function setRescheduleReason(string $rescheduleReason) + { + $this->rescheduleReason=$rescheduleReason; + $this->keyModified['Reschedule_Reason'] = 1; + + } + + /** + * The method to get the sharingPermission + * @return string A string representing the sharingPermission + */ + public function getSharingPermission() + { + return $this->sharingPermission; + + } + + /** + * The method to set the value to sharingPermission + * @param string $sharingPermission A string + */ + public function setSharingPermission(string $sharingPermission) + { + $this->sharingPermission=$sharingPermission; + $this->keyModified['$sharing_permission'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['Name'] = 1; + + } + + /** + * The method to get the modifiedBy + * @return User An instance of User + */ + public function getModifiedBy() + { + return $this->modifiedBy; + + } + + /** + * The method to set the value to modifiedBy + * @param User $modifiedBy An instance of User + */ + public function setModifiedBy(User $modifiedBy) + { + $this->modifiedBy=$modifiedBy; + $this->keyModified['Modified_By'] = 1; + + } + + /** + * The method to get the review + * @return bool A bool representing the review + */ + public function getReview() + { + return $this->review; + + } + + /** + * The method to set the value to review + * @param bool $review A bool + */ + public function setReview(bool $review) + { + $this->review=$review; + $this->keyModified['$review'] = 1; + + } + + /** + * The method to get the rescheduledBy + * @return User An instance of User + */ + public function getRescheduledBy() + { + return $this->rescheduledBy; + + } + + /** + * The method to set the value to rescheduledBy + * @param User $rescheduledBy An instance of User + */ + public function setRescheduledBy(User $rescheduledBy) + { + $this->rescheduledBy=$rescheduledBy; + $this->keyModified['Rescheduled_By'] = 1; + + } + + /** + * The method to get the state + * @return string A string representing the state + */ + public function getState() + { + return $this->state; + + } + + /** + * The method to set the value to state + * @param string $state A string + */ + public function setState(string $state) + { + $this->state=$state; + $this->keyModified['$state'] = 1; + + } + + /** + * The method to get the canvasId + * @return string A string representing the canvasId + */ + public function getCanvasId() + { + return $this->canvasId; + + } + + /** + * The method to set the value to canvasId + * @param string $canvasId A string + */ + public function setCanvasId(string $canvasId) + { + $this->canvasId=$canvasId; + $this->keyModified['$canvas_id'] = 1; + + } + + /** + * The method to get the processFlow + * @return bool A bool representing the processFlow + */ + public function getProcessFlow() + { + return $this->processFlow; + + } + + /** + * The method to set the value to processFlow + * @param bool $processFlow A bool + */ + public function setProcessFlow(bool $processFlow) + { + $this->processFlow=$processFlow; + $this->keyModified['$process_flow'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the rescheduledTime + * @return \DateTime An instance of \DateTime + */ + public function getRescheduledTime() + { + return $this->rescheduledTime; + + } + + /** + * The method to set the value to rescheduledTime + * @param \DateTime $rescheduledTime An instance of \DateTime + */ + public function setRescheduledTime(\DateTime $rescheduledTime) + { + $this->rescheduledTime=$rescheduledTime; + $this->keyModified['Rescheduled_Time'] = 1; + + } + + /** + * The method to get the ziaVisions + * @return bool A bool representing the ziaVisions + */ + public function getZiaVisions() + { + return $this->ziaVisions; + + } + + /** + * The method to set the value to ziaVisions + * @param bool $ziaVisions A bool + */ + public function setZiaVisions(bool $ziaVisions) + { + $this->ziaVisions=$ziaVisions; + $this->keyModified['$zia_visions'] = 1; + + } + + /** + * The method to get the approved + * @return bool A bool representing the approved + */ + public function getApproved() + { + return $this->approved; + + } + + /** + * The method to set the value to approved + * @param bool $approved A bool + */ + public function setApproved(bool $approved) + { + $this->approved=$approved; + $this->keyModified['$approved'] = 1; + + } + + /** + * The method to get the modifiedTime + * @return \DateTime An instance of \DateTime + */ + public function getModifiedTime() + { + return $this->modifiedTime; + + } + + /** + * The method to set the value to modifiedTime + * @param \DateTime $modifiedTime An instance of \DateTime + */ + public function setModifiedTime(\DateTime $modifiedTime) + { + $this->modifiedTime=$modifiedTime; + $this->keyModified['Modified_Time'] = 1; + + } + + /** + * The method to get the approval + * @return Approval An instance of Approval + */ + public function getApproval() + { + return $this->approval; + + } + + /** + * The method to set the value to approval + * @param Approval $approval An instance of Approval + */ + public function setApproval(Approval $approval) + { + $this->approval=$approval; + $this->keyModified['$approval'] = 1; + + } + + /** + * The method to get the createdTime + * @return \DateTime An instance of \DateTime + */ + public function getCreatedTime() + { + return $this->createdTime; + + } + + /** + * The method to set the value to createdTime + * @param \DateTime $createdTime An instance of \DateTime + */ + public function setCreatedTime(\DateTime $createdTime) + { + $this->createdTime=$createdTime; + $this->keyModified['Created_Time'] = 1; + + } + + /** + * The method to get the rescheduledFrom + * @return \DateTime An instance of \DateTime + */ + public function getRescheduledFrom() + { + return $this->rescheduledFrom; + + } + + /** + * The method to set the value to rescheduledFrom + * @param \DateTime $rescheduledFrom An instance of \DateTime + */ + public function setRescheduledFrom(\DateTime $rescheduledFrom) + { + $this->rescheduledFrom=$rescheduledFrom; + $this->keyModified['Rescheduled_From'] = 1; + + } + + /** + * The method to get the appointmentName + * @return AppointmentName An instance of AppointmentName + */ + public function getAppointmentName() + { + return $this->appointmentName; + + } + + /** + * The method to set the value to appointmentName + * @param AppointmentName $appointmentName An instance of AppointmentName + */ + public function setAppointmentName(AppointmentName $appointmentName) + { + $this->appointmentName=$appointmentName; + $this->keyModified['Appointment_Name'] = 1; + + } + + /** + * The method to get the editable + * @return bool A bool representing the editable + */ + public function getEditable() + { + return $this->editable; + + } + + /** + * The method to set the value to editable + * @param bool $editable A bool + */ + public function setEditable(bool $editable) + { + $this->editable=$editable; + $this->keyModified['$editable'] = 1; + + } + + /** + * The method to get the orchestration + * @return bool A bool representing the orchestration + */ + public function getOrchestration() + { + return $this->orchestration; + + } + + /** + * The method to set the value to orchestration + * @param bool $orchestration A bool + */ + public function setOrchestration(bool $orchestration) + { + $this->orchestration=$orchestration; + $this->keyModified['$orchestration'] = 1; + + } + + /** + * The method to get the inMerge + * @return bool A bool representing the inMerge + */ + public function getInMerge() + { + return $this->inMerge; + + } + + /** + * The method to set the value to inMerge + * @param bool $inMerge A bool + */ + public function setInMerge(bool $inMerge) + { + $this->inMerge=$inMerge; + $this->keyModified['$in_merge'] = 1; + + } + + /** + * The method to get the createdBy + * @return User An instance of User + */ + public function getCreatedBy() + { + return $this->createdBy; + + } + + /** + * The method to set the value to createdBy + * @param User $createdBy An instance of User + */ + public function setCreatedBy(User $createdBy) + { + $this->createdBy=$createdBy; + $this->keyModified['Created_By'] = 1; + + } + + /** + * The method to get the approvalState + * @return string A string representing the approvalState + */ + public function getApprovalState() + { + return $this->approvalState; + + } + + /** + * The method to set the value to approvalState + * @param string $approvalState A string + */ + public function setApprovalState(string $approvalState) + { + $this->approvalState=$approvalState; + $this->keyModified['$approval_state'] = 1; + + } + + /** + * The method to get the rescheduleNote + * @return string A string representing the rescheduleNote + */ + public function getRescheduleNote() + { + return $this->rescheduleNote; + + } + + /** + * The method to set the value to rescheduleNote + * @param string $rescheduleNote A string + */ + public function setRescheduleNote(string $rescheduleNote) + { + $this->rescheduleNote=$rescheduleNote; + $this->keyModified['Reschedule_Note'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/reschedulehistory/RescheduleHistoryOperations.php b/versions/5.0.0/src/com/zoho/crm/api/reschedulehistory/RescheduleHistoryOperations.php new file mode 100644 index 0000000..43f3e44 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/reschedulehistory/RescheduleHistoryOperations.php @@ -0,0 +1,130 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to update appointments rescheduled history + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updateAppointmentsRescheduledHistory(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/Appointments_Rescheduled_History__s'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get appointments rescheduled history + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function getAppointmentsRescheduledHistory(ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/Appointments_Rescheduled_History__s'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to update appointment rescheduled history + * @param string $id A string + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updateAppointmentRescheduledHistory(string $id, BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/Appointments_Rescheduled_History__s/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get appointment rescheduled history + * @param string $id A string + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function getAppointmentRescheduledHistory(string $id, ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/Appointments_Rescheduled_History__s/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to delete appointments rescheduled history + * @param string $id A string + * @return APIResponse An instance of APIResponse + */ + public function deleteAppointmentsRescheduledHistory(string $id) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/Appointments_Rescheduled_History__s/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setCategoryMethod(Constants::REQUEST_METHOD_DELETE); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/reschedulehistory/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/reschedulehistory/ResponseHandler.php new file mode 100644 index 0000000..f429535 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/reschedulehistory/ResponseHandler.php @@ -0,0 +1,7 @@ +data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to get the info + * @return Info An instance of Info + */ + public function getInfo() + { + return $this->info; + + } + + /** + * The method to set the value to info + * @param Info $info An instance of Info + */ + public function setInfo(Info $info) + { + $this->info=$info; + $this->keyModified['info'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/reschedulehistory/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/reschedulehistory/SuccessResponse.php new file mode 100644 index 0000000..973fc06 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/reschedulehistory/SuccessResponse.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/reschedulehistory/User.php b/versions/5.0.0/src/com/zoho/crm/api/reschedulehistory/User.php new file mode 100644 index 0000000..a26d9c0 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/reschedulehistory/User.php @@ -0,0 +1,103 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the email + * @return string A string representing the email + */ + public function getEmail() + { + return $this->email; + + } + + /** + * The method to set the value to email + * @param string $email A string + */ + public function setEmail(string $email) + { + $this->email=$email; + $this->keyModified['email'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/roles/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/roles/APIException.php new file mode 100644 index 0000000..72f9d07 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/roles/APIException.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/roles/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/roles/ActionHandler.php new file mode 100644 index 0000000..782fb61 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/roles/ActionHandler.php @@ -0,0 +1,7 @@ +roles; + + } + + /** + * The method to set the value to roles + * @param array $roles A array + */ + public function setRoles(array $roles) + { + $this->roles=$roles; + $this->keyModified['roles'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/roles/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/roles/BodyWrapper.php new file mode 100644 index 0000000..5741e6d --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/roles/BodyWrapper.php @@ -0,0 +1,59 @@ +roles; + + } + + /** + * The method to set the value to roles + * @param array $roles A array + */ + public function setRoles(array $roles) + { + $this->roles=$roles; + $this->keyModified['roles'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/roles/DeleteRoleParam.php b/versions/5.0.0/src/com/zoho/crm/api/roles/DeleteRoleParam.php new file mode 100644 index 0000000..f8611e9 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/roles/DeleteRoleParam.php @@ -0,0 +1,14 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/roles/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/roles/ResponseHandler.php new file mode 100644 index 0000000..8a66523 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/roles/ResponseHandler.php @@ -0,0 +1,7 @@ +roles; + + } + + /** + * The method to set the value to roles + * @param array $roles A array + */ + public function setRoles(array $roles) + { + $this->roles=$roles; + $this->keyModified['roles'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/roles/Role.php b/versions/5.0.0/src/com/zoho/crm/api/roles/Role.php new file mode 100644 index 0000000..58fd1db --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/roles/Role.php @@ -0,0 +1,302 @@ +displayLabel; + + } + + /** + * The method to set the value to displayLabel + * @param string $displayLabel A string + */ + public function setDisplayLabel(string $displayLabel) + { + $this->displayLabel=$displayLabel; + $this->keyModified['display_label'] = 1; + + } + + /** + * The method to get the forecastManager + * @return ReportingTo An instance of ReportingTo + */ + public function getForecastManager() + { + return $this->forecastManager; + + } + + /** + * The method to set the value to forecastManager + * @param ReportingTo $forecastManager An instance of ReportingTo + */ + public function setForecastManager(ReportingTo $forecastManager) + { + $this->forecastManager=$forecastManager; + $this->keyModified['forecast_manager'] = 1; + + } + + /** + * The method to get the reportingTo + * @return ReportingTo An instance of ReportingTo + */ + public function getReportingTo() + { + return $this->reportingTo; + + } + + /** + * The method to set the value to reportingTo + * @param ReportingTo $reportingTo An instance of ReportingTo + */ + public function setReportingTo(ReportingTo $reportingTo) + { + $this->reportingTo=$reportingTo; + $this->keyModified['reporting_to'] = 1; + + } + + /** + * The method to get the shareWithPeers + * @return bool A bool representing the shareWithPeers + */ + public function getShareWithPeers() + { + return $this->shareWithPeers; + + } + + /** + * The method to set the value to shareWithPeers + * @param bool $shareWithPeers A bool + */ + public function setShareWithPeers(bool $shareWithPeers) + { + $this->shareWithPeers=$shareWithPeers; + $this->keyModified['share_with_peers'] = 1; + + } + + /** + * The method to get the description + * @return string A string representing the description + */ + public function getDescription() + { + return $this->description; + + } + + /** + * The method to set the value to description + * @param string $description A string + */ + public function setDescription(string $description) + { + $this->description=$description; + $this->keyModified['description'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the createdByS + * @return MinifiedUser An instance of MinifiedUser + */ + public function getCreatedByS() + { + return $this->createdByS; + + } + + /** + * The method to set the value to createdByS + * @param MinifiedUser $createdByS An instance of MinifiedUser + */ + public function setCreatedByS(MinifiedUser $createdByS) + { + $this->createdByS=$createdByS; + $this->keyModified['created_by__s'] = 1; + + } + + /** + * The method to get the modifiedByS + * @return MinifiedUser An instance of MinifiedUser + */ + public function getModifiedByS() + { + return $this->modifiedByS; + + } + + /** + * The method to set the value to modifiedByS + * @param MinifiedUser $modifiedByS An instance of MinifiedUser + */ + public function setModifiedByS(MinifiedUser $modifiedByS) + { + $this->modifiedByS=$modifiedByS; + $this->keyModified['modified_by__s'] = 1; + + } + + /** + * The method to get the modifiedTimeS + * @return \DateTime An instance of \DateTime + */ + public function getModifiedTimeS() + { + return $this->modifiedTimeS; + + } + + /** + * The method to set the value to modifiedTimeS + * @param \DateTime $modifiedTimeS An instance of \DateTime + */ + public function setModifiedTimeS(\DateTime $modifiedTimeS) + { + $this->modifiedTimeS=$modifiedTimeS; + $this->keyModified['modified_time__s'] = 1; + + } + + /** + * The method to get the createdTimeS + * @return \DateTime An instance of \DateTime + */ + public function getCreatedTimeS() + { + return $this->createdTimeS; + + } + + /** + * The method to set the value to createdTimeS + * @param \DateTime $createdTimeS An instance of \DateTime + */ + public function setCreatedTimeS(\DateTime $createdTimeS) + { + $this->createdTimeS=$createdTimeS; + $this->keyModified['created_time__s'] = 1; + + } + + /** + * The method to get the adminUser + * @return bool A bool representing the adminUser + */ + public function getAdminUser() + { + return $this->adminUser; + + } + + /** + * The method to set the value to adminUser + * @param bool $adminUser A bool + */ + public function setAdminUser(bool $adminUser) + { + $this->adminUser=$adminUser; + $this->keyModified['admin_user'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/roles/RolesOperations.php b/versions/5.0.0/src/com/zoho/crm/api/roles/RolesOperations.php new file mode 100644 index 0000000..eedbae6 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/roles/RolesOperations.php @@ -0,0 +1,129 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to create roles + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function createRoles(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/roles'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to update roles + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updateRoles(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/roles'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get role + * @param string $roleId A string + * @return APIResponse An instance of APIResponse + */ + public function getRole(string $roleId) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/roles/'); + $apiPath=$apiPath.(strval($roleId)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to update role + * @param string $roleId A string + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updateRole(string $roleId, BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/roles/'); + $apiPath=$apiPath.(strval($roleId)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to delete role + * @param string $roleId A string + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function deleteRole(string $roleId, ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/roles/'); + $apiPath=$apiPath.(strval($roleId)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setCategoryMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/roles/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/roles/SuccessResponse.php new file mode 100644 index 0000000..0f866b9 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/roles/SuccessResponse.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/scoringrules/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/scoringrules/APIException.php new file mode 100644 index 0000000..94d466d --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/scoringrules/APIException.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/scoringrules/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/scoringrules/ActionHandler.php new file mode 100644 index 0000000..aeb5811 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/scoringrules/ActionHandler.php @@ -0,0 +1,7 @@ +scoringRules; + + } + + /** + * The method to set the value to scoringRules + * @param array $scoringRules A array + */ + public function setScoringRules(array $scoringRules) + { + $this->scoringRules=$scoringRules; + $this->keyModified['scoring_rules'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/scoringrules/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/scoringrules/BodyWrapper.php new file mode 100644 index 0000000..15ae839 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/scoringrules/BodyWrapper.php @@ -0,0 +1,59 @@ +scoringRules; + + } + + /** + * The method to set the value to scoringRules + * @param array $scoringRules A array + */ + public function setScoringRules(array $scoringRules) + { + $this->scoringRules=$scoringRules; + $this->keyModified['scoring_rules'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/scoringrules/Criteria.php b/versions/5.0.0/src/com/zoho/crm/api/scoringrules/Criteria.php new file mode 100644 index 0000000..ad67f8c --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/scoringrules/Criteria.php @@ -0,0 +1,146 @@ +comparator; + + } + + /** + * The method to set the value to comparator + * @param string $comparator A string + */ + public function setComparator(string $comparator) + { + $this->comparator=$comparator; + $this->keyModified['comparator'] = 1; + + } + + /** + * The method to get the field + * @return Field An instance of Field + */ + public function getField() + { + return $this->field; + + } + + /** + * The method to set the value to field + * @param Field $field An instance of Field + */ + public function setField(Field $field) + { + $this->field=$field; + $this->keyModified['field'] = 1; + + } + + /** + * The method to get the value + */ + public function getValue() + { + return $this->value; + + } + + /** + * The method to set the value to value + * @param + */ + public function setValue( $value) + { + $this->value=$value; + $this->keyModified['value'] = 1; + + } + + /** + * The method to get the groupOperator + * @return string A string representing the groupOperator + */ + public function getGroupOperator() + { + return $this->groupOperator; + + } + + /** + * The method to set the value to groupOperator + * @param string $groupOperator A string + */ + public function setGroupOperator(string $groupOperator) + { + $this->groupOperator=$groupOperator; + $this->keyModified['group_operator'] = 1; + + } + + /** + * The method to get the group + * @return array A array representing the group + */ + public function getGroup() + { + return $this->group; + + } + + /** + * The method to set the value to group + * @param array $group A array + */ + public function setGroup(array $group) + { + $this->group=$group; + $this->keyModified['group'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/scoringrules/DeleteScoringRulesParam.php b/versions/5.0.0/src/com/zoho/crm/api/scoringrules/DeleteScoringRulesParam.php new file mode 100644 index 0000000..0e8e028 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/scoringrules/DeleteScoringRulesParam.php @@ -0,0 +1,14 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the jsonPath + * @return string A string representing the jsonPath + */ + public function getJsonPath() + { + return $this->jsonPath; + + } + + /** + * The method to set the value to jsonPath + * @param string $jsonPath A string + */ + public function setJsonPath(string $jsonPath) + { + $this->jsonPath=$jsonPath; + $this->keyModified['json_path'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/scoringrules/Field.php b/versions/5.0.0/src/com/zoho/crm/api/scoringrules/Field.php new file mode 100644 index 0000000..7bc28c9 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/scoringrules/Field.php @@ -0,0 +1,81 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/scoringrules/FieldRule.php b/versions/5.0.0/src/com/zoho/crm/api/scoringrules/FieldRule.php new file mode 100644 index 0000000..5a66a83 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/scoringrules/FieldRule.php @@ -0,0 +1,103 @@ +score; + + } + + /** + * The method to set the value to score + * @param int $score A int + */ + public function setScore(int $score) + { + $this->score=$score; + $this->keyModified['score'] = 1; + + } + + /** + * The method to get the criteria + * @return Criteria An instance of Criteria + */ + public function getCriteria() + { + return $this->criteria; + + } + + /** + * The method to set the value to criteria + * @param Criteria $criteria An instance of Criteria + */ + public function setCriteria(Criteria $criteria) + { + $this->criteria=$criteria; + $this->keyModified['criteria'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/scoringrules/GetScoringRuleParam.php b/versions/5.0.0/src/com/zoho/crm/api/scoringrules/GetScoringRuleParam.php new file mode 100644 index 0000000..fb296b1 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/scoringrules/GetScoringRuleParam.php @@ -0,0 +1,25 @@ +call; + + } + + /** + * The method to set the value to call + * @param bool $call A bool + */ + public function setCall(bool $call) + { + $this->call=$call; + $this->keyModified['call'] = 1; + + } + + /** + * The method to get the perPage + * @return int A int representing the perPage + */ + public function getPerPage() + { + return $this->perPage; + + } + + /** + * The method to set the value to perPage + * @param int $perPage A int + */ + public function setPerPage(int $perPage) + { + $this->perPage=$perPage; + $this->keyModified['per_page'] = 1; + + } + + /** + * The method to get the nextPageToken + * @return string A string representing the nextPageToken + */ + public function getNextPageToken() + { + return $this->nextPageToken; + + } + + /** + * The method to set the value to nextPageToken + * @param string $nextPageToken A string + */ + public function setNextPageToken(string $nextPageToken) + { + $this->nextPageToken=$nextPageToken; + $this->keyModified['next_page_token'] = 1; + + } + + /** + * The method to get the count + * @return int A int representing the count + */ + public function getCount() + { + return $this->count; + + } + + /** + * The method to set the value to count + * @param int $count A int + */ + public function setCount(int $count) + { + $this->count=$count; + $this->keyModified['count'] = 1; + + } + + /** + * The method to get the page + * @return int A int representing the page + */ + public function getPage() + { + return $this->page; + + } + + /** + * The method to set the value to page + * @param int $page A int + */ + public function setPage(int $page) + { + $this->page=$page; + $this->keyModified['page'] = 1; + + } + + /** + * The method to get the previousPageToken + * @return string A string representing the previousPageToken + */ + public function getPreviousPageToken() + { + return $this->previousPageToken; + + } + + /** + * The method to set the value to previousPageToken + * @param string $previousPageToken A string + */ + public function setPreviousPageToken(string $previousPageToken) + { + $this->previousPageToken=$previousPageToken; + $this->keyModified['previous_page_token'] = 1; + + } + + /** + * The method to get the pageTokenExpiry + * @return \DateTime An instance of \DateTime + */ + public function getPageTokenExpiry() + { + return $this->pageTokenExpiry; + + } + + /** + * The method to set the value to pageTokenExpiry + * @param \DateTime $pageTokenExpiry An instance of \DateTime + */ + public function setPageTokenExpiry(\DateTime $pageTokenExpiry) + { + $this->pageTokenExpiry=$pageTokenExpiry; + $this->keyModified['page_token_expiry'] = 1; + + } + + /** + * The method to get the email + * @return bool A bool representing the email + */ + public function getEmail() + { + return $this->email; + + } + + /** + * The method to set the value to email + * @param bool $email A bool + */ + public function setEmail(bool $email) + { + $this->email=$email; + $this->keyModified['email'] = 1; + + } + + /** + * The method to get the moreRecords + * @return bool A bool representing the moreRecords + */ + public function getMoreRecords() + { + return $this->moreRecords; + + } + + /** + * The method to set the value to moreRecords + * @param bool $moreRecords A bool + */ + public function setMoreRecords(bool $moreRecords) + { + $this->moreRecords=$moreRecords; + $this->keyModified['more_records'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/scoringrules/Layout.php b/versions/5.0.0/src/com/zoho/crm/api/scoringrules/Layout.php new file mode 100644 index 0000000..874e381 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/scoringrules/Layout.php @@ -0,0 +1,81 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/scoringrules/LayoutRequestWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/scoringrules/LayoutRequestWrapper.php new file mode 100644 index 0000000..9c96559 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/scoringrules/LayoutRequestWrapper.php @@ -0,0 +1,59 @@ +layout; + + } + + /** + * The method to set the value to layout + * @param Layout $layout An instance of Layout + */ + public function setLayout(Layout $layout) + { + $this->layout=$layout; + $this->keyModified['layout'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/scoringrules/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/scoringrules/ResponseHandler.php new file mode 100644 index 0000000..fef5d82 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/scoringrules/ResponseHandler.php @@ -0,0 +1,7 @@ +scoringRules; + + } + + /** + * The method to set the value to scoringRules + * @param array $scoringRules A array + */ + public function setScoringRules(array $scoringRules) + { + $this->scoringRules=$scoringRules; + $this->keyModified['scoring_rules'] = 1; + + } + + /** + * The method to get the info + * @return Info An instance of Info + */ + public function getInfo() + { + return $this->info; + + } + + /** + * The method to set the value to info + * @param Info $info An instance of Info + */ + public function setInfo(Info $info) + { + $this->info=$info; + $this->keyModified['info'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/scoringrules/RoleRequestWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/scoringrules/RoleRequestWrapper.php new file mode 100644 index 0000000..7d1d8e1 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/scoringrules/RoleRequestWrapper.php @@ -0,0 +1,59 @@ +scoringRules; + + } + + /** + * The method to set the value to scoringRules + * @param array $scoringRules A array + */ + public function setScoringRules(array $scoringRules) + { + $this->scoringRules=$scoringRules; + $this->keyModified['scoring_rules'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/scoringrules/ScoringRule.php b/versions/5.0.0/src/com/zoho/crm/api/scoringrules/ScoringRule.php new file mode 100644 index 0000000..1f35b5f --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/scoringrules/ScoringRule.php @@ -0,0 +1,303 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the description + * @return string A string representing the description + */ + public function getDescription() + { + return $this->description; + + } + + /** + * The method to set the value to description + * @param string $description A string + */ + public function setDescription(string $description) + { + $this->description=$description; + $this->keyModified['description'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the layout + * @return Layout An instance of Layout + */ + public function getLayout() + { + return $this->layout; + + } + + /** + * The method to set the value to layout + * @param Layout $layout An instance of Layout + */ + public function setLayout(Layout $layout) + { + $this->layout=$layout; + $this->keyModified['layout'] = 1; + + } + + /** + * The method to get the createdTime + * @return string A string representing the createdTime + */ + public function getCreatedTime() + { + return $this->createdTime; + + } + + /** + * The method to set the value to createdTime + * @param string $createdTime A string + */ + public function setCreatedTime(string $createdTime) + { + $this->createdTime=$createdTime; + $this->keyModified['created_time'] = 1; + + } + + /** + * The method to get the modifiedTime + * @return string A string representing the modifiedTime + */ + public function getModifiedTime() + { + return $this->modifiedTime; + + } + + /** + * The method to set the value to modifiedTime + * @param string $modifiedTime A string + */ + public function setModifiedTime(string $modifiedTime) + { + $this->modifiedTime=$modifiedTime; + $this->keyModified['modified_time'] = 1; + + } + + /** + * The method to get the module + * @return Modules An instance of Modules + */ + public function getModule() + { + return $this->module; + + } + + /** + * The method to set the value to module + * @param Modules $module An instance of Modules + */ + public function setModule(Modules $module) + { + $this->module=$module; + $this->keyModified['module'] = 1; + + } + + /** + * The method to get the modifiedBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getModifiedBy() + { + return $this->modifiedBy; + + } + + /** + * The method to set the value to modifiedBy + * @param MinifiedUser $modifiedBy An instance of MinifiedUser + */ + public function setModifiedBy(MinifiedUser $modifiedBy) + { + $this->modifiedBy=$modifiedBy; + $this->keyModified['modified_by'] = 1; + + } + + /** + * The method to get the active + * @return bool A bool representing the active + */ + public function getActive() + { + return $this->active; + + } + + /** + * The method to set the value to active + * @param bool $active A bool + */ + public function setActive(bool $active) + { + $this->active=$active; + $this->keyModified['active'] = 1; + + } + + /** + * The method to get the createdBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getCreatedBy() + { + return $this->createdBy; + + } + + /** + * The method to set the value to createdBy + * @param MinifiedUser $createdBy An instance of MinifiedUser + */ + public function setCreatedBy(MinifiedUser $createdBy) + { + $this->createdBy=$createdBy; + $this->keyModified['created_by'] = 1; + + } + + /** + * The method to get the fieldRules + * @return array A array representing the fieldRules + */ + public function getFieldRules() + { + return $this->fieldRules; + + } + + /** + * The method to set the value to fieldRules + * @param array $fieldRules A array + */ + public function setFieldRules(array $fieldRules) + { + $this->fieldRules=$fieldRules; + $this->keyModified['field_rules'] = 1; + + } + + /** + * The method to get the signalRules + * @return array A array representing the signalRules + */ + public function getSignalRules() + { + return $this->signalRules; + + } + + /** + * The method to set the value to signalRules + * @param array $signalRules A array + */ + public function setSignalRules(array $signalRules) + { + $this->signalRules=$signalRules; + $this->keyModified['signal_rules'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/scoringrules/ScoringRulesOperations.php b/versions/5.0.0/src/com/zoho/crm/api/scoringrules/ScoringRulesOperations.php new file mode 100644 index 0000000..18cd0ec --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/scoringrules/ScoringRulesOperations.php @@ -0,0 +1,251 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get scoring rules + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function getScoringRules(ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/automation/scoring_rules'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to update scoring rules + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updateScoringRules(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/automation/scoring_rules'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to delete scoring rules + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function deleteScoringRules(ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/automation/scoring_rules'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setCategoryMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to update scoring rule + * @param string $id A string + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updateScoringRule(string $id, BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/automation/scoring_rules/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get scoring rule + * @param string $module A string + * @param string $id A string + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function getScoringRule(string $module, string $id, ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/automation/scoring_rules/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to delete scoring rule + * @param string $id A string + * @return APIResponse An instance of APIResponse + */ + public function deleteScoringRule(string $id) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/automation/scoring_rules/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setCategoryMethod(Constants::REQUEST_METHOD_DELETE); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to activate scoring rule + * @param string $id A string + * @return APIResponse An instance of APIResponse + */ + public function activateScoringRule(string $id) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/automation/scoring_rules/'); + $apiPath=$apiPath.(strval($id)); + $apiPath=$apiPath.('/actions/activate'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_ACTION); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to deactivate scoring rule + * @param string $id A string + * @return APIResponse An instance of APIResponse + */ + public function deactivateScoringRule(string $id) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/automation/scoring_rules/'); + $apiPath=$apiPath.(strval($id)); + $apiPath=$apiPath.('/actions/activate'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_ACTION); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to clone scoring rule + * @param string $id A string + * @return APIResponse An instance of APIResponse + */ + public function cloneScoringRule(string $id) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/automation/scoring_rules/'); + $apiPath=$apiPath.(strval($id)); + $apiPath=$apiPath.('/actions/clone'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_ACTION); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to scoring rule execution using layout id + * @param string $module A string + * @param LayoutRequestWrapper $request An instance of LayoutRequestWrapper + * @return APIResponse An instance of APIResponse + */ + public function scoringRuleExecutionUsingLayoutId(string $module, LayoutRequestWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($module)); + $apiPath=$apiPath.('/actions/run_scoring_rules'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_ACTION); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to scoring rule execution using rule ids + * @param string $module A string + * @param RoleRequestWrapper $request An instance of RoleRequestWrapper + * @return APIResponse An instance of APIResponse + */ + public function scoringRuleExecutionUsingRuleIds(string $module, RoleRequestWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($module)); + $apiPath=$apiPath.('/actions/run_scoring_rules'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_ACTION); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/scoringrules/Signal.php b/versions/5.0.0/src/com/zoho/crm/api/scoringrules/Signal.php new file mode 100644 index 0000000..9214ba0 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/scoringrules/Signal.php @@ -0,0 +1,81 @@ +namespace; + + } + + /** + * The method to set the value to namespace + * @param string $namespace A string + */ + public function setNamespace(string $namespace) + { + $this->namespace=$namespace; + $this->keyModified['namespace'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/scoringrules/SignalRule.php b/versions/5.0.0/src/com/zoho/crm/api/scoringrules/SignalRule.php new file mode 100644 index 0000000..9e1a29a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/scoringrules/SignalRule.php @@ -0,0 +1,103 @@ +score; + + } + + /** + * The method to set the value to score + * @param int $score A int + */ + public function setScore(int $score) + { + $this->score=$score; + $this->keyModified['score'] = 1; + + } + + /** + * The method to get the signal + * @return Signal An instance of Signal + */ + public function getSignal() + { + return $this->signal; + + } + + /** + * The method to set the value to signal + * @param Signal $signal An instance of Signal + */ + public function setSignal(Signal $signal) + { + $this->signal=$signal; + $this->keyModified['signal'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/scoringrules/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/scoringrules/SuccessResponse.php new file mode 100644 index 0000000..32b5424 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/scoringrules/SuccessResponse.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/sendmail/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/sendmail/APIException.php new file mode 100644 index 0000000..b4f35e6 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/sendmail/APIException.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/sendmail/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/sendmail/ActionHandler.php new file mode 100644 index 0000000..25a34b2 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/sendmail/ActionHandler.php @@ -0,0 +1,7 @@ +data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/sendmail/Attachment.php b/versions/5.0.0/src/com/zoho/crm/api/sendmail/Attachment.php new file mode 100644 index 0000000..06da034 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/sendmail/Attachment.php @@ -0,0 +1,59 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/sendmail/BlockedEmailAddress.php b/versions/5.0.0/src/com/zoho/crm/api/sendmail/BlockedEmailAddress.php new file mode 100644 index 0000000..958e5c7 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/sendmail/BlockedEmailAddress.php @@ -0,0 +1,81 @@ +email; + + } + + /** + * The method to set the value to email + * @param string $email A string + */ + public function setEmail(string $email) + { + $this->email=$email; + $this->keyModified['email'] = 1; + + } + + /** + * The method to get the reason + * @return string A string representing the reason + */ + public function getReason() + { + return $this->reason; + + } + + /** + * The method to set the value to reason + * @param string $reason A string + */ + public function setReason(string $reason) + { + $this->reason=$reason; + $this->keyModified['reason'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/sendmail/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/sendmail/BodyWrapper.php new file mode 100644 index 0000000..955d102 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/sendmail/BodyWrapper.php @@ -0,0 +1,59 @@ +data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/sendmail/Cc.php b/versions/5.0.0/src/com/zoho/crm/api/sendmail/Cc.php new file mode 100644 index 0000000..316a24b --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/sendmail/Cc.php @@ -0,0 +1,81 @@ +userName; + + } + + /** + * The method to set the value to userName + * @param string $userName A string + */ + public function setUserName(string $userName) + { + $this->userName=$userName; + $this->keyModified['user_name'] = 1; + + } + + /** + * The method to get the email + * @return string A string representing the email + */ + public function getEmail() + { + return $this->email; + + } + + /** + * The method to set the value to email + * @param string $email A string + */ + public function setEmail(string $email) + { + $this->email=$email; + $this->keyModified['email'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/sendmail/Data.php b/versions/5.0.0/src/com/zoho/crm/api/sendmail/Data.php new file mode 100644 index 0000000..752e2fb --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/sendmail/Data.php @@ -0,0 +1,412 @@ +from; + + } + + /** + * The method to set the value to from + * @param From $from An instance of From + */ + public function setFrom(From $from) + { + $this->from=$from; + $this->keyModified['from'] = 1; + + } + + /** + * The method to get the to + * @return array A array representing the to + */ + public function getTo() + { + return $this->to; + + } + + /** + * The method to set the value to to + * @param array $to A array + */ + public function setTo(array $to) + { + $this->to=$to; + $this->keyModified['to'] = 1; + + } + + /** + * The method to get the cc + * @return array A array representing the cc + */ + public function getCc() + { + return $this->cc; + + } + + /** + * The method to set the value to cc + * @param array $cc A array + */ + public function setCc(array $cc) + { + $this->cc=$cc; + $this->keyModified['cc'] = 1; + + } + + /** + * The method to get the bcc + * @return array A array representing the bcc + */ + public function getBcc() + { + return $this->bcc; + + } + + /** + * The method to set the value to bcc + * @param array $bcc A array + */ + public function setBcc(array $bcc) + { + $this->bcc=$bcc; + $this->keyModified['bcc'] = 1; + + } + + /** + * The method to get the replyTo + * @return To An instance of To + */ + public function getReplyTo() + { + return $this->replyTo; + + } + + /** + * The method to set the value to replyTo + * @param To $replyTo An instance of To + */ + public function setReplyTo(To $replyTo) + { + $this->replyTo=$replyTo; + $this->keyModified['reply_to'] = 1; + + } + + /** + * The method to get the orgEmail + * @return bool A bool representing the orgEmail + */ + public function getOrgEmail() + { + return $this->orgEmail; + + } + + /** + * The method to set the value to orgEmail + * @param bool $orgEmail A bool + */ + public function setOrgEmail(bool $orgEmail) + { + $this->orgEmail=$orgEmail; + $this->keyModified['org_email'] = 1; + + } + + /** + * The method to get the scheduledTime + * @return \DateTime An instance of \DateTime + */ + public function getScheduledTime() + { + return $this->scheduledTime; + + } + + /** + * The method to set the value to scheduledTime + * @param \DateTime $scheduledTime An instance of \DateTime + */ + public function setScheduledTime(\DateTime $scheduledTime) + { + $this->scheduledTime=$scheduledTime; + $this->keyModified['scheduled_time'] = 1; + + } + + /** + * The method to get the mailFormat + * @return Choice An instance of Choice + */ + public function getMailFormat() + { + return $this->mailFormat; + + } + + /** + * The method to set the value to mailFormat + * @param Choice $mailFormat An instance of Choice + */ + public function setMailFormat(Choice $mailFormat) + { + $this->mailFormat=$mailFormat; + $this->keyModified['mail_format'] = 1; + + } + + /** + * The method to get the consentEmail + * @return bool A bool representing the consentEmail + */ + public function getConsentEmail() + { + return $this->consentEmail; + + } + + /** + * The method to set the value to consentEmail + * @param bool $consentEmail A bool + */ + public function setConsentEmail(bool $consentEmail) + { + $this->consentEmail=$consentEmail; + $this->keyModified['consent_email'] = 1; + + } + + /** + * The method to get the content + * @return string A string representing the content + */ + public function getContent() + { + return $this->content; + + } + + /** + * The method to set the value to content + * @param string $content A string + */ + public function setContent(string $content) + { + $this->content=$content; + $this->keyModified['content'] = 1; + + } + + /** + * The method to get the subject + * @return string A string representing the subject + */ + public function getSubject() + { + return $this->subject; + + } + + /** + * The method to set the value to subject + * @param string $subject A string + */ + public function setSubject(string $subject) + { + $this->subject=$subject; + $this->keyModified['subject'] = 1; + + } + + /** + * The method to get the inReplyTo + * @return InReplyTo An instance of InReplyTo + */ + public function getInReplyTo() + { + return $this->inReplyTo; + + } + + /** + * The method to set the value to inReplyTo + * @param InReplyTo $inReplyTo An instance of InReplyTo + */ + public function setInReplyTo(InReplyTo $inReplyTo) + { + $this->inReplyTo=$inReplyTo; + $this->keyModified['in_reply_to'] = 1; + + } + + /** + * The method to get the template + * @return Template An instance of Template + */ + public function getTemplate() + { + return $this->template; + + } + + /** + * The method to set the value to template + * @param Template $template An instance of Template + */ + public function setTemplate(Template $template) + { + $this->template=$template; + $this->keyModified['template'] = 1; + + } + + /** + * The method to get the inventoryDetails + * @return InventoryDetails An instance of InventoryDetails + */ + public function getInventoryDetails() + { + return $this->inventoryDetails; + + } + + /** + * The method to set the value to inventoryDetails + * @param InventoryDetails $inventoryDetails An instance of InventoryDetails + */ + public function setInventoryDetails(InventoryDetails $inventoryDetails) + { + $this->inventoryDetails=$inventoryDetails; + $this->keyModified['inventory_details'] = 1; + + } + + /** + * The method to get the dataSubjectRequest + * @return DataSubjectRequest An instance of DataSubjectRequest + */ + public function getDataSubjectRequest() + { + return $this->dataSubjectRequest; + + } + + /** + * The method to set the value to dataSubjectRequest + * @param DataSubjectRequest $dataSubjectRequest An instance of DataSubjectRequest + */ + public function setDataSubjectRequest(DataSubjectRequest $dataSubjectRequest) + { + $this->dataSubjectRequest=$dataSubjectRequest; + $this->keyModified['data_subject_request'] = 1; + + } + + /** + * The method to get the attachments + * @return array A array representing the attachments + */ + public function getAttachments() + { + return $this->attachments; + + } + + /** + * The method to set the value to attachments + * @param array $attachments A array + */ + public function setAttachments(array $attachments) + { + $this->attachments=$attachments; + $this->keyModified['attachments'] = 1; + + } + + /** + * The method to get the linkedRecord + * @return LinkedRecord An instance of LinkedRecord + */ + public function getLinkedRecord() + { + return $this->linkedRecord; + + } + + /** + * The method to set the value to linkedRecord + * @param LinkedRecord $linkedRecord An instance of LinkedRecord + */ + public function setLinkedRecord(LinkedRecord $linkedRecord) + { + $this->linkedRecord=$linkedRecord; + $this->keyModified['linked_record'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/sendmail/DataSubjectRequest.php b/versions/5.0.0/src/com/zoho/crm/api/sendmail/DataSubjectRequest.php new file mode 100644 index 0000000..7cc8657 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/sendmail/DataSubjectRequest.php @@ -0,0 +1,81 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the type + * @return string A string representing the type + */ + public function getType() + { + return $this->type; + + } + + /** + * The method to set the value to type + * @param string $type A string + */ + public function setType(string $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/sendmail/From.php b/versions/5.0.0/src/com/zoho/crm/api/sendmail/From.php new file mode 100644 index 0000000..d3806c7 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/sendmail/From.php @@ -0,0 +1,81 @@ +userName; + + } + + /** + * The method to set the value to userName + * @param string $userName A string + */ + public function setUserName(string $userName) + { + $this->userName=$userName; + $this->keyModified['user_name'] = 1; + + } + + /** + * The method to get the email + * @return string A string representing the email + */ + public function getEmail() + { + return $this->email; + + } + + /** + * The method to set the value to email + * @param string $email A string + */ + public function setEmail(string $email) + { + $this->email=$email; + $this->keyModified['email'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/sendmail/InReplyTo.php b/versions/5.0.0/src/com/zoho/crm/api/sendmail/InReplyTo.php new file mode 100644 index 0000000..fdbf7fe --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/sendmail/InReplyTo.php @@ -0,0 +1,81 @@ +messageId; + + } + + /** + * The method to set the value to messageId + * @param string $messageId A string + */ + public function setMessageId(string $messageId) + { + $this->messageId=$messageId; + $this->keyModified['message_id'] = 1; + + } + + /** + * The method to get the owner + * @return Owner An instance of Owner + */ + public function getOwner() + { + return $this->owner; + + } + + /** + * The method to set the value to owner + * @param Owner $owner An instance of Owner + */ + public function setOwner(Owner $owner) + { + $this->owner=$owner; + $this->keyModified['owner'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/sendmail/InventoryDetails.php b/versions/5.0.0/src/com/zoho/crm/api/sendmail/InventoryDetails.php new file mode 100644 index 0000000..2490795 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/sendmail/InventoryDetails.php @@ -0,0 +1,59 @@ +inventoryTemplate; + + } + + /** + * The method to set the value to inventoryTemplate + * @param InventoryTemplate $inventoryTemplate An instance of InventoryTemplate + */ + public function setInventoryTemplate(InventoryTemplate $inventoryTemplate) + { + $this->inventoryTemplate=$inventoryTemplate; + $this->keyModified['inventory_template'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/sendmail/InventoryTemplate.php b/versions/5.0.0/src/com/zoho/crm/api/sendmail/InventoryTemplate.php new file mode 100644 index 0000000..3ea9050 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/sendmail/InventoryTemplate.php @@ -0,0 +1,81 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/sendmail/LinkedModule.php b/versions/5.0.0/src/com/zoho/crm/api/sendmail/LinkedModule.php new file mode 100644 index 0000000..66c4d24 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/sendmail/LinkedModule.php @@ -0,0 +1,81 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/sendmail/LinkedRecord.php b/versions/5.0.0/src/com/zoho/crm/api/sendmail/LinkedRecord.php new file mode 100644 index 0000000..1f45be0 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/sendmail/LinkedRecord.php @@ -0,0 +1,103 @@ +module; + + } + + /** + * The method to set the value to module + * @param LinkedModule $module An instance of LinkedModule + */ + public function setModule(LinkedModule $module) + { + $this->module=$module; + $this->keyModified['module'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/sendmail/Owner.php b/versions/5.0.0/src/com/zoho/crm/api/sendmail/Owner.php new file mode 100644 index 0000000..37c95c8 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/sendmail/Owner.php @@ -0,0 +1,81 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/sendmail/SendMailOperations.php b/versions/5.0.0/src/com/zoho/crm/api/sendmail/SendMailOperations.php new file mode 100644 index 0000000..92fb817 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/sendmail/SendMailOperations.php @@ -0,0 +1,50 @@ +id=$id; + $this->modulename=$modulename; + + } + + /** + * The method to send mail + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function sendMail(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->modulename)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($this->id)); + $apiPath=$apiPath.('/actions/send_mail'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/sendmail/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/sendmail/SuccessResponse.php new file mode 100644 index 0000000..547674e --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/sendmail/SuccessResponse.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/sendmail/Template.php b/versions/5.0.0/src/com/zoho/crm/api/sendmail/Template.php new file mode 100644 index 0000000..5004123 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/sendmail/Template.php @@ -0,0 +1,7 @@ +userName; + + } + + /** + * The method to set the value to userName + * @param string $userName A string + */ + public function setUserName(string $userName) + { + $this->userName=$userName; + $this->keyModified['user_name'] = 1; + + } + + /** + * The method to get the email + * @return string A string representing the email + */ + public function getEmail() + { + return $this->email; + + } + + /** + * The method to set the value to email + * @param string $email A string + */ + public function setEmail(string $email) + { + $this->email=$email; + $this->keyModified['email'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/servicepreference/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/servicepreference/APIException.php new file mode 100644 index 0000000..4dd4251 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/servicepreference/APIException.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/servicepreference/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/servicepreference/ActionHandler.php new file mode 100644 index 0000000..b07b9df --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/servicepreference/ActionHandler.php @@ -0,0 +1,7 @@ +servicePreferences; + + } + + /** + * The method to set the value to servicePreferences + * @param ActionResponse $servicePreferences An instance of ActionResponse + */ + public function setServicePreferences(ActionResponse $servicePreferences) + { + $this->servicePreferences=$servicePreferences; + $this->keyModified['service_preferences'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/servicepreference/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/servicepreference/BodyWrapper.php new file mode 100644 index 0000000..e8617c0 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/servicepreference/BodyWrapper.php @@ -0,0 +1,59 @@ +servicePreferences; + + } + + /** + * The method to set the value to servicePreferences + * @param ServicePreference $servicePreferences An instance of ServicePreference + */ + public function setServicePreferences(ServicePreference $servicePreferences) + { + $this->servicePreferences=$servicePreferences; + $this->keyModified['service_preferences'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/servicepreference/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/servicepreference/ResponseHandler.php new file mode 100644 index 0000000..84d8b8c --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/servicepreference/ResponseHandler.php @@ -0,0 +1,7 @@ +servicePreferences; + + } + + /** + * The method to set the value to servicePreferences + * @param ServicePreference $servicePreferences An instance of ServicePreference + */ + public function setServicePreferences(ServicePreference $servicePreferences) + { + $this->servicePreferences=$servicePreferences; + $this->keyModified['service_preferences'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/servicepreference/ServicePreference.php b/versions/5.0.0/src/com/zoho/crm/api/servicepreference/ServicePreference.php new file mode 100644 index 0000000..9edb782 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/servicepreference/ServicePreference.php @@ -0,0 +1,59 @@ +jobSheetEnabled; + + } + + /** + * The method to set the value to jobSheetEnabled + * @param bool $jobSheetEnabled A bool + */ + public function setJobSheetEnabled(bool $jobSheetEnabled) + { + $this->jobSheetEnabled=$jobSheetEnabled; + $this->keyModified['job_sheet_enabled'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/servicepreference/ServicePreferenceOperations.php b/versions/5.0.0/src/com/zoho/crm/api/servicepreference/ServicePreferenceOperations.php new file mode 100644 index 0000000..81ac785 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/servicepreference/ServicePreferenceOperations.php @@ -0,0 +1,47 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to update service preference + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updateServicePreference(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/service_preferences'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/servicepreference/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/servicepreference/SuccessResponse.php new file mode 100644 index 0000000..1155eb6 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/servicepreference/SuccessResponse.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/sharerecords/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/sharerecords/APIException.php new file mode 100644 index 0000000..28db02f --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/sharerecords/APIException.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/sharerecords/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/sharerecords/ActionHandler.php new file mode 100644 index 0000000..d489e0a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/sharerecords/ActionHandler.php @@ -0,0 +1,7 @@ +share; + + } + + /** + * The method to set the value to share + * @param array $share A array + */ + public function setShare(array $share) + { + $this->share=$share; + $this->keyModified['share'] = 1; + + } + + /** + * The method to get the notify + * @return bool A bool representing the notify + */ + public function getNotify() + { + return $this->notify; + + } + + /** + * The method to set the value to notify + * @param bool $notify A bool + */ + public function setNotify(bool $notify) + { + $this->notify=$notify; + $this->keyModified['notify'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/sharerecords/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/sharerecords/BodyWrapper.php new file mode 100644 index 0000000..02287da --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/sharerecords/BodyWrapper.php @@ -0,0 +1,103 @@ +share; + + } + + /** + * The method to set the value to share + * @param array $share A array + */ + public function setShare(array $share) + { + $this->share=$share; + $this->keyModified['share'] = 1; + + } + + /** + * The method to get the notifyOnCompletion + * @return bool A bool representing the notifyOnCompletion + */ + public function getNotifyOnCompletion() + { + return $this->notifyOnCompletion; + + } + + /** + * The method to set the value to notifyOnCompletion + * @param bool $notifyOnCompletion A bool + */ + public function setNotifyOnCompletion(bool $notifyOnCompletion) + { + $this->notifyOnCompletion=$notifyOnCompletion; + $this->keyModified['notify_on_completion'] = 1; + + } + + /** + * The method to get the notify + * @return bool A bool representing the notify + */ + public function getNotify() + { + return $this->notify; + + } + + /** + * The method to set the value to notify + * @param bool $notify A bool + */ + public function setNotify(bool $notify) + { + $this->notify=$notify; + $this->keyModified['notify'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/sharerecords/DeleteActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/sharerecords/DeleteActionHandler.php new file mode 100644 index 0000000..c774388 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/sharerecords/DeleteActionHandler.php @@ -0,0 +1,7 @@ +share; + + } + + /** + * The method to set the value to share + * @param DeleteActionResponse $share An instance of DeleteActionResponse + */ + public function setShare(DeleteActionResponse $share) + { + $this->share=$share; + $this->keyModified['share'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/sharerecords/Dependee.php b/versions/5.0.0/src/com/zoho/crm/api/sharerecords/Dependee.php new file mode 100644 index 0000000..4fc8428 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/sharerecords/Dependee.php @@ -0,0 +1,81 @@ +jsonPath; + + } + + /** + * The method to set the value to jsonPath + * @param string $jsonPath A string + */ + public function setJsonPath(string $jsonPath) + { + $this->jsonPath=$jsonPath; + $this->keyModified['json_path'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/sharerecords/GetSharedRecordDetailsParam.php b/versions/5.0.0/src/com/zoho/crm/api/sharerecords/GetSharedRecordDetailsParam.php new file mode 100644 index 0000000..55fd43a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/sharerecords/GetSharedRecordDetailsParam.php @@ -0,0 +1,19 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/sharerecords/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/sharerecords/ResponseHandler.php new file mode 100644 index 0000000..5ca5cbf --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/sharerecords/ResponseHandler.php @@ -0,0 +1,7 @@ +share; + + } + + /** + * The method to set the value to share + * @param array $share A array + */ + public function setShare(array $share) + { + $this->share=$share; + $this->keyModified['share'] = 1; + + } + + /** + * The method to get the shareableUser + * @return array A array representing the shareableUser + */ + public function getShareableUser() + { + return $this->shareableUser; + + } + + /** + * The method to set the value to shareableUser + * @param array $shareableUser A array + */ + public function setShareableUser(array $shareableUser) + { + $this->shareableUser=$shareableUser; + $this->keyModified['shareable_user'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/sharerecords/ShareRecord.php b/versions/5.0.0/src/com/zoho/crm/api/sharerecords/ShareRecord.php new file mode 100644 index 0000000..fedda3e --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/sharerecords/ShareRecord.php @@ -0,0 +1,215 @@ +sharedWith; + + } + + /** + * The method to set the value to sharedWith + * @param Users $sharedWith An instance of Users + */ + public function setSharedWith(Users $sharedWith) + { + $this->sharedWith=$sharedWith; + $this->keyModified['shared_with'] = 1; + + } + + /** + * The method to get the shareRelatedRecords + * @return bool A bool representing the shareRelatedRecords + */ + public function getShareRelatedRecords() + { + return $this->shareRelatedRecords; + + } + + /** + * The method to set the value to shareRelatedRecords + * @param bool $shareRelatedRecords A bool + */ + public function setShareRelatedRecords(bool $shareRelatedRecords) + { + $this->shareRelatedRecords=$shareRelatedRecords; + $this->keyModified['share_related_records'] = 1; + + } + + /** + * The method to get the sharedThrough + * @return SharedThrough An instance of SharedThrough + */ + public function getSharedThrough() + { + return $this->sharedThrough; + + } + + /** + * The method to set the value to sharedThrough + * @param SharedThrough $sharedThrough An instance of SharedThrough + */ + public function setSharedThrough(SharedThrough $sharedThrough) + { + $this->sharedThrough=$sharedThrough; + $this->keyModified['shared_through'] = 1; + + } + + /** + * The method to get the sharedTime + * @return \DateTime An instance of \DateTime + */ + public function getSharedTime() + { + return $this->sharedTime; + + } + + /** + * The method to set the value to sharedTime + * @param \DateTime $sharedTime An instance of \DateTime + */ + public function setSharedTime(\DateTime $sharedTime) + { + $this->sharedTime=$sharedTime; + $this->keyModified['shared_time'] = 1; + + } + + /** + * The method to get the permission + * @return string A string representing the permission + */ + public function getPermission() + { + return $this->permission; + + } + + /** + * The method to set the value to permission + * @param string $permission A string + */ + public function setPermission(string $permission) + { + $this->permission=$permission; + $this->keyModified['permission'] = 1; + + } + + /** + * The method to get the sharedBy + * @return Users An instance of Users + */ + public function getSharedBy() + { + return $this->sharedBy; + + } + + /** + * The method to set the value to sharedBy + * @param Users $sharedBy An instance of Users + */ + public function setSharedBy(Users $sharedBy) + { + $this->sharedBy=$sharedBy; + $this->keyModified['shared_by'] = 1; + + } + + /** + * The method to get the user + * @return Users An instance of Users + */ + public function getUser() + { + return $this->user; + + } + + /** + * The method to set the value to user + * @param Users $user An instance of Users + */ + public function setUser(Users $user) + { + $this->user=$user; + $this->keyModified['user'] = 1; + + } + + /** + * The method to get the type + * @return Choice An instance of Choice + */ + public function getType() + { + return $this->type; + + } + + /** + * The method to set the value to type + * @param Choice $type An instance of Choice + */ + public function setType(Choice $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/sharerecords/ShareRecordsOperations.php b/versions/5.0.0/src/com/zoho/crm/api/sharerecords/ShareRecordsOperations.php new file mode 100644 index 0000000..fb6f522 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/sharerecords/ShareRecordsOperations.php @@ -0,0 +1,118 @@ +recordId=$recordId; + $this->moduleAPIName=$moduleAPIName; + + } + + /** + * The method to get shared record details + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function getSharedRecordDetails(ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleAPIName)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($this->recordId)); + $apiPath=$apiPath.('/actions/share'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to share record + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function shareRecord(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleAPIName)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($this->recordId)); + $apiPath=$apiPath.('/actions/share'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to update share permissions + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updateSharePermissions(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleAPIName)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($this->recordId)); + $apiPath=$apiPath.('/actions/share'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to revoke shared record + * @return APIResponse An instance of APIResponse + */ + public function revokeSharedRecord() + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->moduleAPIName)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($this->recordId)); + $apiPath=$apiPath.('/actions/share'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setCategoryMethod(Constants::REQUEST_METHOD_DELETE); + return $handlerInstance->apiCall(DeleteActionHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/sharerecords/SharedThrough.php b/versions/5.0.0/src/com/zoho/crm/api/sharerecords/SharedThrough.php new file mode 100644 index 0000000..9823463 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/sharerecords/SharedThrough.php @@ -0,0 +1,125 @@ +module; + + } + + /** + * The method to set the value to module + * @param Module $module An instance of Module + */ + public function setModule(Module $module) + { + $this->module=$module; + $this->keyModified['module'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the entityName + * @return string A string representing the entityName + */ + public function getEntityName() + { + return $this->entityName; + + } + + /** + * The method to set the value to entityName + * @param string $entityName A string + */ + public function setEntityName(string $entityName) + { + $this->entityName=$entityName; + $this->keyModified['entity_name'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/sharerecords/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/sharerecords/SuccessResponse.php new file mode 100644 index 0000000..c1f070d --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/sharerecords/SuccessResponse.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/shifthours/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/shifthours/APIException.php new file mode 100644 index 0000000..67c68e1 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/shifthours/APIException.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/shifthours/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/shifthours/ActionHandler.php new file mode 100644 index 0000000..3f68b24 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/shifthours/ActionHandler.php @@ -0,0 +1,7 @@ +shiftHours; + + } + + /** + * The method to set the value to shiftHours + * @param array $shiftHours A array + */ + public function setShiftHours(array $shiftHours) + { + $this->shiftHours=$shiftHours; + $this->keyModified['shift_hours'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/shifthours/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/shifthours/BodyWrapper.php new file mode 100644 index 0000000..c062c9f --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/shifthours/BodyWrapper.php @@ -0,0 +1,59 @@ +shiftHours; + + } + + /** + * The method to set the value to shiftHours + * @param array $shiftHours A array + */ + public function setShiftHours(array $shiftHours) + { + $this->shiftHours=$shiftHours; + $this->keyModified['shift_hours'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/shifthours/BreakCustomTiming.php b/versions/5.0.0/src/com/zoho/crm/api/shifthours/BreakCustomTiming.php new file mode 100644 index 0000000..12dc775 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/shifthours/BreakCustomTiming.php @@ -0,0 +1,81 @@ +days; + + } + + /** + * The method to set the value to days + * @param string $days A string + */ + public function setDays(string $days) + { + $this->days=$days; + $this->keyModified['days'] = 1; + + } + + /** + * The method to get the breakTiming + * @return array A array representing the breakTiming + */ + public function getBreakTiming() + { + return $this->breakTiming; + + } + + /** + * The method to set the value to breakTiming + * @param array $breakTiming A array + */ + public function setBreakTiming(array $breakTiming) + { + $this->breakTiming=$breakTiming; + $this->keyModified['break_timing'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/shifthours/BreakHours.php b/versions/5.0.0/src/com/zoho/crm/api/shifthours/BreakHours.php new file mode 100644 index 0000000..5dd9b10 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/shifthours/BreakHours.php @@ -0,0 +1,147 @@ +breakDays; + + } + + /** + * The method to set the value to breakDays + * @param array $breakDays A array + */ + public function setBreakDays(array $breakDays) + { + $this->breakDays=$breakDays; + $this->keyModified['break_days'] = 1; + + } + + /** + * The method to get the sameAsEveryday + * @return bool A bool representing the sameAsEveryday + */ + public function getSameAsEveryday() + { + return $this->sameAsEveryday; + + } + + /** + * The method to set the value to sameAsEveryday + * @param bool $sameAsEveryday A bool + */ + public function setSameAsEveryday(bool $sameAsEveryday) + { + $this->sameAsEveryday=$sameAsEveryday; + $this->keyModified['same_as_everyday'] = 1; + + } + + /** + * The method to get the dailyTiming + * @return array A array representing the dailyTiming + */ + public function getDailyTiming() + { + return $this->dailyTiming; + + } + + /** + * The method to set the value to dailyTiming + * @param array $dailyTiming A array + */ + public function setDailyTiming(array $dailyTiming) + { + $this->dailyTiming=$dailyTiming; + $this->keyModified['daily_timing'] = 1; + + } + + /** + * The method to get the customTiming + * @return array A array representing the customTiming + */ + public function getCustomTiming() + { + return $this->customTiming; + + } + + /** + * The method to set the value to customTiming + * @param array $customTiming A array + */ + public function setCustomTiming(array $customTiming) + { + $this->customTiming=$customTiming; + $this->keyModified['custom_timing'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/shifthours/CreateShiftsHoursHeader.php b/versions/5.0.0/src/com/zoho/crm/api/shifthours/CreateShiftsHoursHeader.php new file mode 100644 index 0000000..3b0f232 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/shifthours/CreateShiftsHoursHeader.php @@ -0,0 +1,7 @@ +date; + + } + + /** + * The method to set the value to date + * @param \DateTime $date An instance of \DateTime + */ + public function setDate(\DateTime $date) + { + $this->date=$date; + $this->keyModified['date'] = 1; + + } + + /** + * The method to get the year + * @return int A int representing the year + */ + public function getYear() + { + return $this->year; + + } + + /** + * The method to set the value to year + * @param int $year A int + */ + public function setYear(int $year) + { + $this->year=$year; + $this->keyModified['year'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/shifthours/MandatoryDetails.php b/versions/5.0.0/src/com/zoho/crm/api/shifthours/MandatoryDetails.php new file mode 100644 index 0000000..a0c3897 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/shifthours/MandatoryDetails.php @@ -0,0 +1,81 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the jsonPath + * @return string A string representing the jsonPath + */ + public function getJsonPath() + { + return $this->jsonPath; + + } + + /** + * The method to set the value to jsonPath + * @param string $jsonPath A string + */ + public function setJsonPath(string $jsonPath) + { + $this->jsonPath=$jsonPath; + $this->keyModified['json_path'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/shifthours/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/shifthours/ResponseHandler.php new file mode 100644 index 0000000..5ccf316 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/shifthours/ResponseHandler.php @@ -0,0 +1,7 @@ +shiftHours; + + } + + /** + * The method to set the value to shiftHours + * @param array $shiftHours A array + */ + public function setShiftHours(array $shiftHours) + { + $this->shiftHours=$shiftHours; + $this->keyModified['shift_hours'] = 1; + + } + + /** + * The method to get the shiftCount + * @return ShiftCount An instance of ShiftCount + */ + public function getShiftCount() + { + return $this->shiftCount; + + } + + /** + * The method to set the value to shiftCount + * @param ShiftCount $shiftCount An instance of ShiftCount + */ + public function setShiftCount(ShiftCount $shiftCount) + { + $this->shiftCount=$shiftCount; + $this->keyModified['shift_count'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/shifthours/Role.php b/versions/5.0.0/src/com/zoho/crm/api/shifthours/Role.php new file mode 100644 index 0000000..6e7015c --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/shifthours/Role.php @@ -0,0 +1,81 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/shifthours/ShiftCount.php b/versions/5.0.0/src/com/zoho/crm/api/shifthours/ShiftCount.php new file mode 100644 index 0000000..27861f8 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/shifthours/ShiftCount.php @@ -0,0 +1,81 @@ +totalShiftWithUser; + + } + + /** + * The method to set the value to totalShiftWithUser + * @param int $totalShiftWithUser A int + */ + public function setTotalShiftWithUser(int $totalShiftWithUser) + { + $this->totalShiftWithUser=$totalShiftWithUser; + $this->keyModified['total_shift_with_user'] = 1; + + } + + /** + * The method to get the totalShift + * @return int A int representing the totalShift + */ + public function getTotalShift() + { + return $this->totalShift; + + } + + /** + * The method to set the value to totalShift + * @param int $totalShift A int + */ + public function setTotalShift(int $totalShift) + { + $this->totalShift=$totalShift; + $this->keyModified['total_shift'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/shifthours/ShiftCustomTiming.php b/versions/5.0.0/src/com/zoho/crm/api/shifthours/ShiftCustomTiming.php new file mode 100644 index 0000000..d8c2be4 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/shifthours/ShiftCustomTiming.php @@ -0,0 +1,81 @@ +days; + + } + + /** + * The method to set the value to days + * @param string $days A string + */ + public function setDays(string $days) + { + $this->days=$days; + $this->keyModified['days'] = 1; + + } + + /** + * The method to get the shiftTiming + * @return array A array representing the shiftTiming + */ + public function getShiftTiming() + { + return $this->shiftTiming; + + } + + /** + * The method to set the value to shiftTiming + * @param array $shiftTiming A array + */ + public function setShiftTiming(array $shiftTiming) + { + $this->shiftTiming=$shiftTiming; + $this->keyModified['shift_timing'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/shifthours/ShiftHours.php b/versions/5.0.0/src/com/zoho/crm/api/shifthours/ShiftHours.php new file mode 100644 index 0000000..23e927d --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/shifthours/ShiftHours.php @@ -0,0 +1,279 @@ +sameAsEveryday; + + } + + /** + * The method to set the value to sameAsEveryday + * @param bool $sameAsEveryday A bool + */ + public function setSameAsEveryday(bool $sameAsEveryday) + { + $this->sameAsEveryday=$sameAsEveryday; + $this->keyModified['same_as_everyday'] = 1; + + } + + /** + * The method to get the shiftDays + * @return array A array representing the shiftDays + */ + public function getShiftDays() + { + return $this->shiftDays; + + } + + /** + * The method to set the value to shiftDays + * @param array $shiftDays A array + */ + public function setShiftDays(array $shiftDays) + { + $this->shiftDays=$shiftDays; + $this->keyModified['shift_days'] = 1; + + } + + /** + * The method to get the dailyTiming + * @return array A array representing the dailyTiming + */ + public function getDailyTiming() + { + return $this->dailyTiming; + + } + + /** + * The method to set the value to dailyTiming + * @param array $dailyTiming A array + */ + public function setDailyTiming(array $dailyTiming) + { + $this->dailyTiming=$dailyTiming; + $this->keyModified['daily_timing'] = 1; + + } + + /** + * The method to get the customTiming + * @return array A array representing the customTiming + */ + public function getCustomTiming() + { + return $this->customTiming; + + } + + /** + * The method to set the value to customTiming + * @param array $customTiming A array + */ + public function setCustomTiming(array $customTiming) + { + $this->customTiming=$customTiming; + $this->keyModified['custom_timing'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the breakHours + * @return array A array representing the breakHours + */ + public function getBreakHours() + { + return $this->breakHours; + + } + + /** + * The method to set the value to breakHours + * @param array $breakHours A array + */ + public function setBreakHours(array $breakHours) + { + $this->breakHours=$breakHours; + $this->keyModified['break_hours'] = 1; + + } + + /** + * The method to get the users + * @return array A array representing the users + */ + public function getUsers() + { + return $this->users; + + } + + /** + * The method to set the value to users + * @param array $users A array + */ + public function setUsers(array $users) + { + $this->users=$users; + $this->keyModified['users'] = 1; + + } + + /** + * The method to get the holidays + * @return array A array representing the holidays + */ + public function getHolidays() + { + return $this->holidays; + + } + + /** + * The method to set the value to holidays + * @param array $holidays A array + */ + public function setHolidays(array $holidays) + { + $this->holidays=$holidays; + $this->keyModified['holidays'] = 1; + + } + + /** + * The method to get the usersCount + * @return int A int representing the usersCount + */ + public function getUsersCount() + { + return $this->usersCount; + + } + + /** + * The method to set the value to usersCount + * @param int $usersCount A int + */ + public function setUsersCount(int $usersCount) + { + $this->usersCount=$usersCount; + $this->keyModified['users_count'] = 1; + + } + + /** + * The method to get the timezone + * @return \DateTimeZone An instance of \DateTimeZone + */ + public function getTimezone() + { + return $this->timezone; + + } + + /** + * The method to set the value to timezone + * @param \DateTimeZone $timezone An instance of \DateTimeZone + */ + public function setTimezone(\DateTimeZone $timezone) + { + $this->timezone=$timezone; + $this->keyModified['timezone'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/shifthours/ShiftHoursOperations.php b/versions/5.0.0/src/com/zoho/crm/api/shifthours/ShiftHoursOperations.php new file mode 100644 index 0000000..acbd397 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/shifthours/ShiftHoursOperations.php @@ -0,0 +1,144 @@ +xCrmOrg=$xCrmOrg; + + } + + /** + * The method to get shift hours + * @return APIResponse An instance of APIResponse + */ + public function getShiftHours() + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/business_hours/shift_hours'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->addHeader(new Header('X-CRM-ORG', 'com.zoho.crm.api.ShiftHours.GetShiftHoursHeader'), $this->xCrmOrg); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to create shifts hours + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function createShiftsHours(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/business_hours/shift_hours'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + $handlerInstance->addHeader(new Header('X-CRM-ORG', 'com.zoho.crm.api.ShiftHours.CreateShiftsHoursHeader'), $this->xCrmOrg); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to update shift hours + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updateShiftHours(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/business_hours/shift_hours'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + $handlerInstance->addHeader(new Header('X-CRM-ORG', 'com.zoho.crm.api.ShiftHours.UpdateShiftHoursHeader'), $this->xCrmOrg); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get shift hour + * @param string $shiftId A string + * @return APIResponse An instance of APIResponse + */ + public function getShiftHour(string $shiftId) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/business_hours/shift_hours/'); + $apiPath=$apiPath.(strval($shiftId)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->addHeader(new Header('X-CRM-ORG', 'com.zoho.crm.api.ShiftHours.GetShiftHourHeader'), $this->xCrmOrg); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to update shift hour + * @param string $shiftId A string + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updateShiftHour(string $shiftId, BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/business_hours/shift_hours/'); + $apiPath=$apiPath.(strval($shiftId)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + $handlerInstance->addHeader(new Header('X-CRM-ORG', 'com.zoho.crm.api.ShiftHours.UpdateShiftHourHeader'), $this->xCrmOrg); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to delete shift hour + * @param string $shiftId A string + * @return APIResponse An instance of APIResponse + */ + public function deleteShiftHour(string $shiftId) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/business_hours/shift_hours/'); + $apiPath=$apiPath.(strval($shiftId)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setCategoryMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->addHeader(new Header('X-CRM-ORG', 'com.zoho.crm.api.ShiftHours.DeleteShiftHourHeader'), $this->xCrmOrg); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/shifthours/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/shifthours/SuccessResponse.php new file mode 100644 index 0000000..aa5549d --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/shifthours/SuccessResponse.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/shifthours/UpdateShiftHourHeader.php b/versions/5.0.0/src/com/zoho/crm/api/shifthours/UpdateShiftHourHeader.php new file mode 100644 index 0000000..bf34154 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/shifthours/UpdateShiftHourHeader.php @@ -0,0 +1,7 @@ +role; + + } + + /** + * The method to set the value to role + * @param Role $role An instance of Role + */ + public function setRole(Role $role) + { + $this->role=$role; + $this->keyModified['role'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the email + * @return string A string representing the email + */ + public function getEmail() + { + return $this->email; + + } + + /** + * The method to set the value to email + * @param string $email A string + */ + public function setEmail(string $email) + { + $this->email=$email; + $this->keyModified['email'] = 1; + + } + + /** + * The method to get the zuid + * @return string A string representing the zuid + */ + public function getZuid() + { + return $this->zuid; + + } + + /** + * The method to set the value to zuid + * @param string $zuid A string + */ + public function setZuid(string $zuid) + { + $this->zuid=$zuid; + $this->keyModified['zuid'] = 1; + + } + + /** + * The method to get the effectiveFrom + * @return \DateTime An instance of \DateTime + */ + public function getEffectiveFrom() + { + return $this->effectiveFrom; + + } + + /** + * The method to set the value to effectiveFrom + * @param \DateTime $effectiveFrom An instance of \DateTime + */ + public function setEffectiveFrom(\DateTime $effectiveFrom) + { + $this->effectiveFrom=$effectiveFrom; + $this->keyModified['effective_from'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/tags/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/tags/APIException.php new file mode 100644 index 0000000..1774e6d --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/tags/APIException.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/tags/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/tags/ActionHandler.php new file mode 100644 index 0000000..ffd4ac4 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/tags/ActionHandler.php @@ -0,0 +1,7 @@ +tags; + + } + + /** + * The method to set the value to tags + * @param array $tags A array + */ + public function setTags(array $tags) + { + $this->tags=$tags; + $this->keyModified['tags'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/tags/AddTagsParam.php b/versions/5.0.0/src/com/zoho/crm/api/tags/AddTagsParam.php new file mode 100644 index 0000000..bc59da3 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/tags/AddTagsParam.php @@ -0,0 +1,14 @@ +type; + + } + + /** + * The method to set the value to type + * @param string $type A string + */ + public function setType(string $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to get the resources + * @return array A array representing the resources + */ + public function getResources() + { + return $this->resources; + + } + + /** + * The method to set the value to resources + * @param array $resources A array + */ + public function setResources(array $resources) + { + $this->resources=$resources; + $this->keyModified['resources'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/tags/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/tags/BodyWrapper.php new file mode 100644 index 0000000..deed797 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/tags/BodyWrapper.php @@ -0,0 +1,59 @@ +tags; + + } + + /** + * The method to set the value to tags + * @param array $tags A array + */ + public function setTags(array $tags) + { + $this->tags=$tags; + $this->keyModified['tags'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/tags/ConflictWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/tags/ConflictWrapper.php new file mode 100644 index 0000000..3755089 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/tags/ConflictWrapper.php @@ -0,0 +1,59 @@ +conflictId; + + } + + /** + * The method to set the value to conflictId + * @param string $conflictId A string + */ + public function setConflictId(string $conflictId) + { + $this->conflictId=$conflictId; + $this->keyModified['conflict_id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/tags/CountResponseWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/tags/CountResponseWrapper.php new file mode 100644 index 0000000..963f3f2 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/tags/CountResponseWrapper.php @@ -0,0 +1,59 @@ +count; + + } + + /** + * The method to set the value to count + * @param string $count A string + */ + public function setCount(string $count) + { + $this->count=$count; + $this->keyModified['count'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/tags/CreateTagsParam.php b/versions/5.0.0/src/com/zoho/crm/api/tags/CreateTagsParam.php new file mode 100644 index 0000000..07780f8 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/tags/CreateTagsParam.php @@ -0,0 +1,14 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the jsonPath + * @return string A string representing the jsonPath + */ + public function getJsonPath() + { + return $this->jsonPath; + + } + + /** + * The method to set the value to jsonPath + * @param string $jsonPath A string + */ + public function setJsonPath(string $jsonPath) + { + $this->jsonPath=$jsonPath; + $this->keyModified['json_path'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/tags/ExistingTag.php b/versions/5.0.0/src/com/zoho/crm/api/tags/ExistingTag.php new file mode 100644 index 0000000..de2d985 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/tags/ExistingTag.php @@ -0,0 +1,81 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/tags/ExistingTagRequestWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/tags/ExistingTagRequestWrapper.php new file mode 100644 index 0000000..3cb21c3 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/tags/ExistingTagRequestWrapper.php @@ -0,0 +1,81 @@ +tags; + + } + + /** + * The method to set the value to tags + * @param array $tags A array + */ + public function setTags(array $tags) + { + $this->tags=$tags; + $this->keyModified['tags'] = 1; + + } + + /** + * The method to get the ids + * @return array A array representing the ids + */ + public function getIds() + { + return $this->ids; + + } + + /** + * The method to set the value to ids + * @param array $ids A array + */ + public function setIds(array $ids) + { + $this->ids=$ids; + $this->keyModified['ids'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/tags/GetRecordCountForTagParam.php b/versions/5.0.0/src/com/zoho/crm/api/tags/GetRecordCountForTagParam.php new file mode 100644 index 0000000..5e1bcce --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/tags/GetRecordCountForTagParam.php @@ -0,0 +1,14 @@ +count; + + } + + /** + * The method to set the value to count + * @param int $count A int + */ + public function setCount(int $count) + { + $this->count=$count; + $this->keyModified['count'] = 1; + + } + + /** + * The method to get the allowedCount + * @return int A int representing the allowedCount + */ + public function getAllowedCount() + { + return $this->allowedCount; + + } + + /** + * The method to set the value to allowedCount + * @param int $allowedCount A int + */ + public function setAllowedCount(int $allowedCount) + { + $this->allowedCount=$allowedCount; + $this->keyModified['allowed_count'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/tags/MergeWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/tags/MergeWrapper.php new file mode 100644 index 0000000..b0c08e2 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/tags/MergeWrapper.php @@ -0,0 +1,59 @@ +tags; + + } + + /** + * The method to set the value to tags + * @param array $tags A array + */ + public function setTags(array $tags) + { + $this->tags=$tags; + $this->keyModified['tags'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/tags/NewTagRequestWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/tags/NewTagRequestWrapper.php new file mode 100644 index 0000000..cac2849 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/tags/NewTagRequestWrapper.php @@ -0,0 +1,103 @@ +tags; + + } + + /** + * The method to set the value to tags + * @param array $tags A array + */ + public function setTags(array $tags) + { + $this->tags=$tags; + $this->keyModified['tags'] = 1; + + } + + /** + * The method to get the overWrite + * @return bool A bool representing the overWrite + */ + public function getOverWrite() + { + return $this->overWrite; + + } + + /** + * The method to set the value to overWrite + * @param bool $overWrite A bool + */ + public function setOverWrite(bool $overWrite) + { + $this->overWrite=$overWrite; + $this->keyModified['over_write'] = 1; + + } + + /** + * The method to get the ids + * @return array A array representing the ids + */ + public function getIds() + { + return $this->ids; + + } + + /** + * The method to set the value to ids + * @param array $ids A array + */ + public function setIds(array $ids) + { + $this->ids=$ids; + $this->keyModified['ids'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/tags/RecordActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/tags/RecordActionHandler.php new file mode 100644 index 0000000..6499e08 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/tags/RecordActionHandler.php @@ -0,0 +1,7 @@ +data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } + + /** + * The method to get the wfScheduler + * @return bool A bool representing the wfScheduler + */ + public function getWfScheduler() + { + return $this->wfScheduler; + + } + + /** + * The method to set the value to wfScheduler + * @param bool $wfScheduler A bool + */ + public function setWfScheduler(bool $wfScheduler) + { + $this->wfScheduler=$wfScheduler; + $this->keyModified['wf_scheduler'] = 1; + + } + + /** + * The method to get the successCount + * @return string A string representing the successCount + */ + public function getSuccessCount() + { + return $this->successCount; + + } + + /** + * The method to set the value to successCount + * @param string $successCount A string + */ + public function setSuccessCount(string $successCount) + { + $this->successCount=$successCount; + $this->keyModified['success_count'] = 1; + + } + + /** + * The method to get the lockedCount + * @return string A string representing the lockedCount + */ + public function getLockedCount() + { + return $this->lockedCount; + + } + + /** + * The method to set the value to lockedCount + * @param string $lockedCount A string + */ + public function setLockedCount(string $lockedCount) + { + $this->lockedCount=$lockedCount; + $this->keyModified['locked_count'] = 1; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/tags/RecordDetailTag.php b/versions/5.0.0/src/com/zoho/crm/api/tags/RecordDetailTag.php new file mode 100644 index 0000000..922f478 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/tags/RecordDetailTag.php @@ -0,0 +1,103 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the colorCode + * @return string A string representing the colorCode + */ + public function getColorCode() + { + return $this->colorCode; + + } + + /** + * The method to set the value to colorCode + * @param string $colorCode A string + */ + public function setColorCode(string $colorCode) + { + $this->colorCode=$colorCode; + $this->keyModified['color_code'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/tags/RecordSuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/tags/RecordSuccessResponse.php new file mode 100644 index 0000000..12547af --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/tags/RecordSuccessResponse.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/tags/RemoveTagsFromMultipleRecordsParam.php b/versions/5.0.0/src/com/zoho/crm/api/tags/RemoveTagsFromMultipleRecordsParam.php new file mode 100644 index 0000000..c6c9d27 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/tags/RemoveTagsFromMultipleRecordsParam.php @@ -0,0 +1,14 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/tags/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/tags/ResponseHandler.php new file mode 100644 index 0000000..0f5b08e --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/tags/ResponseHandler.php @@ -0,0 +1,7 @@ +tags; + + } + + /** + * The method to set the value to tags + * @param array $tags A array + */ + public function setTags(array $tags) + { + $this->tags=$tags; + $this->keyModified['tags'] = 1; + + } + + /** + * The method to get the info + * @return Info An instance of Info + */ + public function getInfo() + { + return $this->info; + + } + + /** + * The method to set the value to info + * @param Info $info An instance of Info + */ + public function setInfo(Info $info) + { + $this->info=$info; + $this->keyModified['info'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/tags/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/tags/SuccessResponse.php new file mode 100644 index 0000000..9989b2a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/tags/SuccessResponse.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/tags/SuccessWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/tags/SuccessWrapper.php new file mode 100644 index 0000000..722c316 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/tags/SuccessWrapper.php @@ -0,0 +1,59 @@ +tags; + + } + + /** + * The method to set the value to tags + * @param array $tags A array + */ + public function setTags(array $tags) + { + $this->tags=$tags; + $this->keyModified['tags'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/tags/Tag.php b/versions/5.0.0/src/com/zoho/crm/api/tags/Tag.php new file mode 100644 index 0000000..76f7660 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/tags/Tag.php @@ -0,0 +1,193 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the colorCode + * @return Choice An instance of Choice + */ + public function getColorCode() + { + return $this->colorCode; + + } + + /** + * The method to set the value to colorCode + * @param Choice $colorCode An instance of Choice + */ + public function setColorCode(Choice $colorCode) + { + $this->colorCode=$colorCode; + $this->keyModified['color_code'] = 1; + + } + + /** + * The method to get the createdTime + * @return \DateTime An instance of \DateTime + */ + public function getCreatedTime() + { + return $this->createdTime; + + } + + /** + * The method to set the value to createdTime + * @param \DateTime $createdTime An instance of \DateTime + */ + public function setCreatedTime(\DateTime $createdTime) + { + $this->createdTime=$createdTime; + $this->keyModified['created_time'] = 1; + + } + + /** + * The method to get the modifiedTime + * @return \DateTime An instance of \DateTime + */ + public function getModifiedTime() + { + return $this->modifiedTime; + + } + + /** + * The method to set the value to modifiedTime + * @param \DateTime $modifiedTime An instance of \DateTime + */ + public function setModifiedTime(\DateTime $modifiedTime) + { + $this->modifiedTime=$modifiedTime; + $this->keyModified['modified_time'] = 1; + + } + + /** + * The method to get the modifiedBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getModifiedBy() + { + return $this->modifiedBy; + + } + + /** + * The method to set the value to modifiedBy + * @param MinifiedUser $modifiedBy An instance of MinifiedUser + */ + public function setModifiedBy(MinifiedUser $modifiedBy) + { + $this->modifiedBy=$modifiedBy; + $this->keyModified['modified_by'] = 1; + + } + + /** + * The method to get the createdBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getCreatedBy() + { + return $this->createdBy; + + } + + /** + * The method to set the value to createdBy + * @param MinifiedUser $createdBy An instance of MinifiedUser + */ + public function setCreatedBy(MinifiedUser $createdBy) + { + $this->createdBy=$createdBy; + $this->keyModified['created_by'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/tags/TagsOperations.php b/versions/5.0.0/src/com/zoho/crm/api/tags/TagsOperations.php new file mode 100644 index 0000000..6c26c69 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/tags/TagsOperations.php @@ -0,0 +1,264 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to create tags + * @param BodyWrapper $request An instance of BodyWrapper + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function createTags(BodyWrapper $request, ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/tags'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to update tags + * @param BodyWrapper $request An instance of BodyWrapper + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function updateTags(BodyWrapper $request, ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/tags'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to update tag + * @param string $id A string + * @param BodyWrapper $request An instance of BodyWrapper + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function updateTag(string $id, BodyWrapper $request, ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/tags/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to delete tag + * @param string $id A string + * @return APIResponse An instance of APIResponse + */ + public function deleteTag(string $id) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/tags/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setCategoryMethod(Constants::REQUEST_METHOD_DELETE); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to merge tags + * @param string $id A string + * @param MergeWrapper $request An instance of MergeWrapper + * @return APIResponse An instance of APIResponse + */ + public function mergeTags(string $id, MergeWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/tags/'); + $apiPath=$apiPath.(strval($id)); + $apiPath=$apiPath.('/actions/merge'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to add tags + * @param string $recordId A string + * @param string $moduleAPIName A string + * @param NewTagRequestWrapper $request An instance of NewTagRequestWrapper + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function addTags(string $recordId, string $moduleAPIName, NewTagRequestWrapper $request, ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($moduleAPIName)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($recordId)); + $apiPath=$apiPath.('/actions/add_tags'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(RecordActionHandler::class, 'application/json'); + + } + + /** + * The method to remove tags + * @param string $recordId A string + * @param string $moduleAPIName A string + * @param ExistingTagRequestWrapper $request An instance of ExistingTagRequestWrapper + * @return APIResponse An instance of APIResponse + */ + public function removeTags(string $recordId, string $moduleAPIName, ExistingTagRequestWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($moduleAPIName)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($recordId)); + $apiPath=$apiPath.('/actions/remove_tags'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(RecordActionHandler::class, 'application/json'); + + } + + /** + * The method to add tags to multiple records + * @param string $moduleAPIName A string + * @param NewTagRequestWrapper $request An instance of NewTagRequestWrapper + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function addTagsToMultipleRecords(string $moduleAPIName, NewTagRequestWrapper $request, ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($moduleAPIName)); + $apiPath=$apiPath.('/actions/add_tags'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(RecordActionHandler::class, 'application/json'); + + } + + /** + * The method to remove tags from multiple records + * @param string $moduleAPIName A string + * @param ExistingTagRequestWrapper $request An instance of ExistingTagRequestWrapper + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function removeTagsFromMultipleRecords(string $moduleAPIName, ExistingTagRequestWrapper $request, ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($moduleAPIName)); + $apiPath=$apiPath.('/actions/remove_tags'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(RecordActionHandler::class, 'application/json'); + + } + + /** + * The method to get record count for tag + * @param string $id A string + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function getRecordCountForTag(string $id, ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/tags/'); + $apiPath=$apiPath.(strval($id)); + $apiPath=$apiPath.('/actions/records_count'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/tags/UpdateTagParam.php b/versions/5.0.0/src/com/zoho/crm/api/tags/UpdateTagParam.php new file mode 100644 index 0000000..358e048 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/tags/UpdateTagParam.php @@ -0,0 +1,14 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/taxes/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/taxes/ActionHandler.php new file mode 100644 index 0000000..b6116a4 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/taxes/ActionHandler.php @@ -0,0 +1,7 @@ +orgTaxes; + + } + + /** + * The method to set the value to orgTaxes + * @param ActionResponse $orgTaxes An instance of ActionResponse + */ + public function setOrgTaxes(ActionResponse $orgTaxes) + { + $this->orgTaxes=$orgTaxes; + $this->keyModified['org_taxes'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/taxes/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/taxes/BodyWrapper.php new file mode 100644 index 0000000..a17a02b --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/taxes/BodyWrapper.php @@ -0,0 +1,59 @@ +orgTaxes; + + } + + /** + * The method to set the value to orgTaxes + * @param OrgTax $orgTaxes An instance of OrgTax + */ + public function setOrgTaxes(OrgTax $orgTaxes) + { + $this->orgTaxes=$orgTaxes; + $this->keyModified['org_taxes'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/taxes/ExpectedField.php b/versions/5.0.0/src/com/zoho/crm/api/taxes/ExpectedField.php new file mode 100644 index 0000000..87cf0d4 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/taxes/ExpectedField.php @@ -0,0 +1,81 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the jsonPath + * @return string A string representing the jsonPath + */ + public function getJsonPath() + { + return $this->jsonPath; + + } + + /** + * The method to set the value to jsonPath + * @param string $jsonPath A string + */ + public function setJsonPath(string $jsonPath) + { + $this->jsonPath=$jsonPath; + $this->keyModified['json_path'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/taxes/OrgTax.php b/versions/5.0.0/src/com/zoho/crm/api/taxes/OrgTax.php new file mode 100644 index 0000000..2aa126d --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/taxes/OrgTax.php @@ -0,0 +1,81 @@ +taxes; + + } + + /** + * The method to set the value to taxes + * @param array $taxes A array + */ + public function setTaxes(array $taxes) + { + $this->taxes=$taxes; + $this->keyModified['taxes'] = 1; + + } + + /** + * The method to get the preference + * @return Preference An instance of Preference + */ + public function getPreference() + { + return $this->preference; + + } + + /** + * The method to set the value to preference + * @param Preference $preference An instance of Preference + */ + public function setPreference(Preference $preference) + { + $this->preference=$preference; + $this->keyModified['preference'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/taxes/Preference.php b/versions/5.0.0/src/com/zoho/crm/api/taxes/Preference.php new file mode 100644 index 0000000..721c240 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/taxes/Preference.php @@ -0,0 +1,81 @@ +autoPopulateTax; + + } + + /** + * The method to set the value to autoPopulateTax + * @param bool $autoPopulateTax A bool + */ + public function setAutoPopulateTax(bool $autoPopulateTax) + { + $this->autoPopulateTax=$autoPopulateTax; + $this->keyModified['auto_populate_tax'] = 1; + + } + + /** + * The method to get the modifyTaxRates + * @return bool A bool representing the modifyTaxRates + */ + public function getModifyTaxRates() + { + return $this->modifyTaxRates; + + } + + /** + * The method to set the value to modifyTaxRates + * @param bool $modifyTaxRates A bool + */ + public function setModifyTaxRates(bool $modifyTaxRates) + { + $this->modifyTaxRates=$modifyTaxRates; + $this->keyModified['modify_tax_rates'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/taxes/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/taxes/ResponseHandler.php new file mode 100644 index 0000000..c644c78 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/taxes/ResponseHandler.php @@ -0,0 +1,7 @@ +orgTaxes; + + } + + /** + * The method to set the value to orgTaxes + * @param OrgTax $orgTaxes An instance of OrgTax + */ + public function setOrgTaxes(OrgTax $orgTaxes) + { + $this->orgTaxes=$orgTaxes; + $this->keyModified['org_taxes'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/taxes/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/taxes/SuccessResponse.php new file mode 100644 index 0000000..1ebee09 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/taxes/SuccessResponse.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/taxes/Tax.php b/versions/5.0.0/src/com/zoho/crm/api/taxes/Tax.php new file mode 100644 index 0000000..592fdb5 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/taxes/Tax.php @@ -0,0 +1,169 @@ +displayLabel; + + } + + /** + * The method to set the value to displayLabel + * @param string $displayLabel A string + */ + public function setDisplayLabel(string $displayLabel) + { + $this->displayLabel=$displayLabel; + $this->keyModified['display_label'] = 1; + + } + + /** + * The method to get the sequenceNumber + * @return int A int representing the sequenceNumber + */ + public function getSequenceNumber() + { + return $this->sequenceNumber; + + } + + /** + * The method to set the value to sequenceNumber + * @param int $sequenceNumber A int + */ + public function setSequenceNumber(int $sequenceNumber) + { + $this->sequenceNumber=$sequenceNumber; + $this->keyModified['sequence_number'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the value + * @return float A float representing the value + */ + public function getValue() + { + return $this->value; + + } + + /** + * The method to set the value to value + * @param float $value A float + */ + public function setValue(float $value) + { + $this->value=$value; + $this->keyModified['value'] = 1; + + } + + /** + * The method to get the delete + * @return bool A bool representing the delete + */ + public function getDelete() + { + return $this->delete; + + } + + /** + * The method to set the value to delete + * @param bool $delete A bool + */ + public function setDelete($delete) + { + $this->delete=$delete; + $this->keyModified['_delete'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/taxes/TaxesOperations.php b/versions/5.0.0/src/com/zoho/crm/api/taxes/TaxesOperations.php new file mode 100644 index 0000000..67c0855 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/taxes/TaxesOperations.php @@ -0,0 +1,65 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to update taxes + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updateTaxes(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/org/taxes'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get tax + * @param string $id A string + * @return APIResponse An instance of APIResponse + */ + public function getTax(string $id) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/org/taxes/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/templates/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/templates/APIException.php new file mode 100644 index 0000000..35e1352 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/templates/APIException.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/templates/Folder.php b/versions/5.0.0/src/com/zoho/crm/api/templates/Folder.php new file mode 100644 index 0000000..ca09d12 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/templates/Folder.php @@ -0,0 +1,81 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/templates/Templates.php b/versions/5.0.0/src/com/zoho/crm/api/templates/Templates.php new file mode 100644 index 0000000..fbecd28 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/templates/Templates.php @@ -0,0 +1,257 @@ +folder; + + } + + /** + * The method to set the value to folder + * @param Folder $folder An instance of Folder + */ + public function setFolder(Folder $folder) + { + $this->folder=$folder; + $this->keyModified['folder'] = 1; + + } + + /** + * The method to get the modifiedBy + * @return Folder An instance of Folder + */ + public function getModifiedBy() + { + return $this->modifiedBy; + + } + + /** + * The method to set the value to modifiedBy + * @param Folder $modifiedBy An instance of Folder + */ + public function setModifiedBy(Folder $modifiedBy) + { + $this->modifiedBy=$modifiedBy; + $this->keyModified['modified_by'] = 1; + + } + + /** + * The method to get the module + * @return string A string representing the module + */ + public function getModule() + { + return $this->module; + + } + + /** + * The method to set the value to module + * @param string $module A string + */ + public function setModule(string $module) + { + $this->module=$module; + $this->keyModified['module'] = 1; + + } + + /** + * The method to get the modifiedTime + * @return \DateTime An instance of \DateTime + */ + public function getModifiedTime() + { + return $this->modifiedTime; + + } + + /** + * The method to set the value to modifiedTime + * @param \DateTime $modifiedTime An instance of \DateTime + */ + public function setModifiedTime(\DateTime $modifiedTime) + { + $this->modifiedTime=$modifiedTime; + $this->keyModified['modified_time'] = 1; + + } + + /** + * The method to get the subject + * @return string A string representing the subject + */ + public function getSubject() + { + return $this->subject; + + } + + /** + * The method to set the value to subject + * @param string $subject A string + */ + public function setSubject(string $subject) + { + $this->subject=$subject; + $this->keyModified['subject'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the consentLinked + * @return bool A bool representing the consentLinked + */ + public function getConsentLinked() + { + return $this->consentLinked; + + } + + /** + * The method to set the value to consentLinked + * @param bool $consentLinked A bool + */ + public function setConsentLinked(bool $consentLinked) + { + $this->consentLinked=$consentLinked; + $this->keyModified['consent_linked'] = 1; + + } + + /** + * The method to get the favourite + * @return bool A bool representing the favourite + */ + public function getFavourite() + { + return $this->favourite; + + } + + /** + * The method to set the value to favourite + * @param bool $favourite A bool + */ + public function setFavourite(bool $favourite) + { + $this->favourite=$favourite; + $this->keyModified['favourite'] = 1; + + } + + /** + * The method to get the attachmentPresent + * @return bool A bool representing the attachmentPresent + */ + public function getAttachmentPresent() + { + return $this->attachmentPresent; + + } + + /** + * The method to set the value to attachmentPresent + * @param bool $attachmentPresent A bool + */ + public function setAttachmentPresent(bool $attachmentPresent) + { + $this->attachmentPresent=$attachmentPresent; + $this->keyModified['attachment_present'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/templates/Wrapper.php b/versions/5.0.0/src/com/zoho/crm/api/templates/Wrapper.php new file mode 100644 index 0000000..e76eb3f --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/templates/Wrapper.php @@ -0,0 +1,59 @@ +templates; + + } + + /** + * The method to set the value to templates + * @param array $templates A array + */ + public function setTemplates(array $templates) + { + $this->templates=$templates; + $this->keyModified['templates'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/territories/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/territories/APIException.php new file mode 100644 index 0000000..274fbbd --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/territories/APIException.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/territories/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/territories/ActionHandler.php new file mode 100644 index 0000000..0bee16e --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/territories/ActionHandler.php @@ -0,0 +1,7 @@ +territories; + + } + + /** + * The method to set the value to territories + * @param array $territories A array + */ + public function setTerritories(array $territories) + { + $this->territories=$territories; + $this->keyModified['territories'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/territories/AssociatedUsersCount.php b/versions/5.0.0/src/com/zoho/crm/api/territories/AssociatedUsersCount.php new file mode 100644 index 0000000..35dac48 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/territories/AssociatedUsersCount.php @@ -0,0 +1,81 @@ +count; + + } + + /** + * The method to set the value to count + * @param string $count A string + */ + public function setCount(string $count) + { + $this->count=$count; + $this->keyModified['count'] = 1; + + } + + /** + * The method to get the territory + * @return MinifiedTerritory An instance of MinifiedTerritory + */ + public function getTerritory() + { + return $this->territory; + + } + + /** + * The method to set the value to territory + * @param MinifiedTerritory $territory An instance of MinifiedTerritory + */ + public function setTerritory(MinifiedTerritory $territory) + { + $this->territory=$territory; + $this->keyModified['territory'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/territories/AssociatedUsersCountWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/territories/AssociatedUsersCountWrapper.php new file mode 100644 index 0000000..8e14d0d --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/territories/AssociatedUsersCountWrapper.php @@ -0,0 +1,81 @@ +associatedUsersCount; + + } + + /** + * The method to set the value to associatedUsersCount + * @param array $associatedUsersCount A array + */ + public function setAssociatedUsersCount(array $associatedUsersCount) + { + $this->associatedUsersCount=$associatedUsersCount; + $this->keyModified['associated_users_count'] = 1; + + } + + /** + * The method to get the info + * @return Info An instance of Info + */ + public function getInfo() + { + return $this->info; + + } + + /** + * The method to set the value to info + * @param Info $info An instance of Info + */ + public function setInfo(Info $info) + { + $this->info=$info; + $this->keyModified['info'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/territories/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/territories/BodyWrapper.php new file mode 100644 index 0000000..b600a1e --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/territories/BodyWrapper.php @@ -0,0 +1,59 @@ +territories; + + } + + /** + * The method to set the value to territories + * @param array $territories A array + */ + public function setTerritories(array $territories) + { + $this->territories=$territories; + $this->keyModified['territories'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/territories/Criteria.php b/versions/5.0.0/src/com/zoho/crm/api/territories/Criteria.php new file mode 100644 index 0000000..00e45f5 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/territories/Criteria.php @@ -0,0 +1,146 @@ +comparator; + + } + + /** + * The method to set the value to comparator + * @param string $comparator A string + */ + public function setComparator(string $comparator) + { + $this->comparator=$comparator; + $this->keyModified['comparator'] = 1; + + } + + /** + * The method to get the field + * @return Field An instance of Field + */ + public function getField() + { + return $this->field; + + } + + /** + * The method to set the value to field + * @param Field $field An instance of Field + */ + public function setField(Field $field) + { + $this->field=$field; + $this->keyModified['field'] = 1; + + } + + /** + * The method to get the value + */ + public function getValue() + { + return $this->value; + + } + + /** + * The method to set the value to value + * @param + */ + public function setValue( $value) + { + $this->value=$value; + $this->keyModified['value'] = 1; + + } + + /** + * The method to get the groupOperator + * @return string A string representing the groupOperator + */ + public function getGroupOperator() + { + return $this->groupOperator; + + } + + /** + * The method to set the value to groupOperator + * @param string $groupOperator A string + */ + public function setGroupOperator(string $groupOperator) + { + $this->groupOperator=$groupOperator; + $this->keyModified['group_operator'] = 1; + + } + + /** + * The method to get the group + * @return array A array representing the group + */ + public function getGroup() + { + return $this->group; + + } + + /** + * The method to set the value to group + * @param array $group A array + */ + public function setGroup(array $group) + { + $this->group=$group; + $this->keyModified['group'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/territories/DeleteTerritoriesParam.php b/versions/5.0.0/src/com/zoho/crm/api/territories/DeleteTerritoriesParam.php new file mode 100644 index 0000000..4869142 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/territories/DeleteTerritoriesParam.php @@ -0,0 +1,19 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the deletedTime + * @return \DateTime An instance of \DateTime + */ + public function getDeletedTime() + { + return $this->deletedTime; + + } + + /** + * The method to set the value to deletedTime + * @param \DateTime $deletedTime An instance of \DateTime + */ + public function setDeletedTime(\DateTime $deletedTime) + { + $this->deletedTime=$deletedTime; + $this->keyModified['deleted_time'] = 1; + + } + + /** + * The method to get the deletedBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getDeletedBy() + { + return $this->deletedBy; + + } + + /** + * The method to set the value to deletedBy + * @param MinifiedUser $deletedBy An instance of MinifiedUser + */ + public function setDeletedBy(MinifiedUser $deletedBy) + { + $this->deletedBy=$deletedBy; + $this->keyModified['deleted_by'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/territories/DeletedAssociatedWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/territories/DeletedAssociatedWrapper.php new file mode 100644 index 0000000..b2f958c --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/territories/DeletedAssociatedWrapper.php @@ -0,0 +1,81 @@ +territories; + + } + + /** + * The method to set the value to territories + * @param array $territories A array + */ + public function setTerritories(array $territories) + { + $this->territories=$territories; + $this->keyModified['territories'] = 1; + + } + + /** + * The method to get the info + * @return Info An instance of Info + */ + public function getInfo() + { + return $this->info; + + } + + /** + * The method to set the value to info + * @param Info $info An instance of Info + */ + public function setInfo(Info $info) + { + $this->info=$info; + $this->keyModified['info'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/territories/Field.php b/versions/5.0.0/src/com/zoho/crm/api/territories/Field.php new file mode 100644 index 0000000..e74e71a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/territories/Field.php @@ -0,0 +1,81 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/territories/GetChildTerritoryParam.php b/versions/5.0.0/src/com/zoho/crm/api/territories/GetChildTerritoryParam.php new file mode 100644 index 0000000..494236b --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/territories/GetChildTerritoryParam.php @@ -0,0 +1,14 @@ +perPage; + + } + + /** + * The method to set the value to perPage + * @param int $perPage A int + */ + public function setPerPage(int $perPage) + { + $this->perPage=$perPage; + $this->keyModified['per_page'] = 1; + + } + + /** + * The method to get the count + * @return int A int representing the count + */ + public function getCount() + { + return $this->count; + + } + + /** + * The method to set the value to count + * @param int $count A int + */ + public function setCount(int $count) + { + $this->count=$count; + $this->keyModified['count'] = 1; + + } + + /** + * The method to get the page + * @return int A int representing the page + */ + public function getPage() + { + return $this->page; + + } + + /** + * The method to set the value to page + * @param int $page A int + */ + public function setPage(int $page) + { + $this->page=$page; + $this->keyModified['page'] = 1; + + } + + /** + * The method to get the moreRecords + * @return bool A bool representing the moreRecords + */ + public function getMoreRecords() + { + return $this->moreRecords; + + } + + /** + * The method to set the value to moreRecords + * @param bool $moreRecords A bool + */ + public function setMoreRecords(bool $moreRecords) + { + $this->moreRecords=$moreRecords; + $this->keyModified['more_records'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/territories/Manager.php b/versions/5.0.0/src/com/zoho/crm/api/territories/Manager.php new file mode 100644 index 0000000..2556799 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/territories/Manager.php @@ -0,0 +1,81 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/territories/MinifiedTerritory.php b/versions/5.0.0/src/com/zoho/crm/api/territories/MinifiedTerritory.php new file mode 100644 index 0000000..b65b461 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/territories/MinifiedTerritory.php @@ -0,0 +1,103 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the subordinates + * @return bool A bool representing the subordinates + */ + public function getSubordinates() + { + return $this->subordinates; + + } + + /** + * The method to set the value to subordinates + * @param bool $subordinates A bool + */ + public function setSubordinates(bool $subordinates) + { + $this->subordinates=$subordinates; + $this->keyModified['subordinates'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/territories/ReportingTo.php b/versions/5.0.0/src/com/zoho/crm/api/territories/ReportingTo.php new file mode 100644 index 0000000..8f3e031 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/territories/ReportingTo.php @@ -0,0 +1,81 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/territories/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/territories/ResponseHandler.php new file mode 100644 index 0000000..f0a8cc8 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/territories/ResponseHandler.php @@ -0,0 +1,7 @@ +territories; + + } + + /** + * The method to set the value to territories + * @param array $territories A array + */ + public function setTerritories(array $territories) + { + $this->territories=$territories; + $this->keyModified['territories'] = 1; + + } + + /** + * The method to get the info + * @return Info An instance of Info + */ + public function getInfo() + { + return $this->info; + + } + + /** + * The method to set the value to info + * @param Info $info An instance of Info + */ + public function setInfo(Info $info) + { + $this->info=$info; + $this->keyModified['info'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/territories/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/territories/SuccessResponse.php new file mode 100644 index 0000000..9c9f5a7 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/territories/SuccessResponse.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/territories/Territories.php b/versions/5.0.0/src/com/zoho/crm/api/territories/Territories.php new file mode 100644 index 0000000..e41fb2e --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/territories/Territories.php @@ -0,0 +1,325 @@ +createdTime; + + } + + /** + * The method to set the value to createdTime + * @param \DateTime $createdTime An instance of \DateTime + */ + public function setCreatedTime(\DateTime $createdTime) + { + $this->createdTime=$createdTime; + $this->keyModified['created_time'] = 1; + + } + + /** + * The method to get the modifiedTime + * @return \DateTime An instance of \DateTime + */ + public function getModifiedTime() + { + return $this->modifiedTime; + + } + + /** + * The method to set the value to modifiedTime + * @param \DateTime $modifiedTime An instance of \DateTime + */ + public function setModifiedTime(\DateTime $modifiedTime) + { + $this->modifiedTime=$modifiedTime; + $this->keyModified['modified_time'] = 1; + + } + + /** + * The method to get the manager + * @return Manager An instance of Manager + */ + public function getManager() + { + return $this->manager; + + } + + /** + * The method to set the value to manager + * @param Manager $manager An instance of Manager + */ + public function setManager(Manager $manager) + { + $this->manager=$manager; + $this->keyModified['manager'] = 1; + + } + + /** + * The method to get the reportingTo + * @return ReportingTo An instance of ReportingTo + */ + public function getReportingTo() + { + return $this->reportingTo; + + } + + /** + * The method to set the value to reportingTo + * @param ReportingTo $reportingTo An instance of ReportingTo + */ + public function setReportingTo(ReportingTo $reportingTo) + { + $this->reportingTo=$reportingTo; + $this->keyModified['reporting_to'] = 1; + + } + + /** + * The method to get the permissionType + * @return Choice An instance of Choice + */ + public function getPermissionType() + { + return $this->permissionType; + + } + + /** + * The method to set the value to permissionType + * @param Choice $permissionType An instance of Choice + */ + public function setPermissionType(Choice $permissionType) + { + $this->permissionType=$permissionType; + $this->keyModified['permission_type'] = 1; + + } + + /** + * The method to get the modifiedBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getModifiedBy() + { + return $this->modifiedBy; + + } + + /** + * The method to set the value to modifiedBy + * @param MinifiedUser $modifiedBy An instance of MinifiedUser + */ + public function setModifiedBy(MinifiedUser $modifiedBy) + { + $this->modifiedBy=$modifiedBy; + $this->keyModified['modified_by'] = 1; + + } + + /** + * The method to get the description + * @return string A string representing the description + */ + public function getDescription() + { + return $this->description; + + } + + /** + * The method to set the value to description + * @param string $description A string + */ + public function setDescription(string $description) + { + $this->description=$description; + $this->keyModified['description'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the createdBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getCreatedBy() + { + return $this->createdBy; + + } + + /** + * The method to set the value to createdBy + * @param MinifiedUser $createdBy An instance of MinifiedUser + */ + public function setCreatedBy(MinifiedUser $createdBy) + { + $this->createdBy=$createdBy; + $this->keyModified['created_by'] = 1; + + } + + /** + * The method to get the accountRuleCriteria + * @return Criteria An instance of Criteria + */ + public function getAccountRuleCriteria() + { + return $this->accountRuleCriteria; + + } + + /** + * The method to set the value to accountRuleCriteria + * @param Criteria $accountRuleCriteria An instance of Criteria + */ + public function setAccountRuleCriteria(Criteria $accountRuleCriteria) + { + $this->accountRuleCriteria=$accountRuleCriteria; + $this->keyModified['account_rule_criteria'] = 1; + + } + + /** + * The method to get the dealRuleCriteria + * @return Criteria An instance of Criteria + */ + public function getDealRuleCriteria() + { + return $this->dealRuleCriteria; + + } + + /** + * The method to set the value to dealRuleCriteria + * @param Criteria $dealRuleCriteria An instance of Criteria + */ + public function setDealRuleCriteria(Criteria $dealRuleCriteria) + { + $this->dealRuleCriteria=$dealRuleCriteria; + $this->keyModified['deal_rule_criteria'] = 1; + + } + + /** + * The method to get the leadRuleCriteria + * @return Criteria An instance of Criteria + */ + public function getLeadRuleCriteria() + { + return $this->leadRuleCriteria; + + } + + /** + * The method to set the value to leadRuleCriteria + * @param Criteria $leadRuleCriteria An instance of Criteria + */ + public function setLeadRuleCriteria(Criteria $leadRuleCriteria) + { + $this->leadRuleCriteria=$leadRuleCriteria; + $this->keyModified['lead_rule_criteria'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/territories/TerritoriesOperations.php b/versions/5.0.0/src/com/zoho/crm/api/territories/TerritoriesOperations.php new file mode 100644 index 0000000..a64bb81 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/territories/TerritoriesOperations.php @@ -0,0 +1,226 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to create territories + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function createTerritories(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/territories'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to update territories + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updateTerritories(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/territories'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to delete territories + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function deleteTerritories(ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/territories'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setCategoryMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get territory + * @param string $id A string + * @return APIResponse An instance of APIResponse + */ + public function getTerritory(string $id) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/territories/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to update territory + * @param string $id A string + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updateTerritory(string $id, BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/territories/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to delete territory + * @param string $id A string + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function deleteTerritory(string $id, ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/territories/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setCategoryMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get child territory + * @param string $id A string + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function getChildTerritory(string $id, ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/territories/'); + $apiPath=$apiPath.(strval($id)); + $apiPath=$apiPath.('/__child_territories'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to get associated user count + * @return APIResponse An instance of APIResponse + */ + public function getAssociatedUserCount() + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/territories/actions/associated_users_count'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to transfer and delete territory + * @param string $id A string + * @param TransferBodyWrapper $request An instance of TransferBodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function transferAndDeleteTerritory(string $id, TransferBodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/territories/'); + $apiPath=$apiPath.(strval($id)); + $apiPath=$apiPath.('/actions/transfer_and_delete'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to transfer and delete territories + * @param TransferBodyWrapper $request An instance of TransferBodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function transferAndDeleteTerritories(TransferBodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/territories/actions/transfer_and_delete'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/territories/TransferBodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/territories/TransferBodyWrapper.php new file mode 100644 index 0000000..9663d53 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/territories/TransferBodyWrapper.php @@ -0,0 +1,59 @@ +territories; + + } + + /** + * The method to set the value to territories + * @param array $territories A array + */ + public function setTerritories(array $territories) + { + $this->territories=$territories; + $this->keyModified['territories'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/territories/TransferTerritory.php b/versions/5.0.0/src/com/zoho/crm/api/territories/TransferTerritory.php new file mode 100644 index 0000000..42bbf0c --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/territories/TransferTerritory.php @@ -0,0 +1,103 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the transferToId + * @return string A string representing the transferToId + */ + public function getTransferToId() + { + return $this->transferToId; + + } + + /** + * The method to set the value to transferToId + * @param string $transferToId A string + */ + public function setTransferToId(string $transferToId) + { + $this->transferToId=$transferToId; + $this->keyModified['transfer_to_id'] = 1; + + } + + /** + * The method to get the deletePreviousForecasts + * @return bool A bool representing the deletePreviousForecasts + */ + public function getDeletePreviousForecasts() + { + return $this->deletePreviousForecasts; + + } + + /** + * The method to set the value to deletePreviousForecasts + * @param bool $deletePreviousForecasts A bool + */ + public function setDeletePreviousForecasts(bool $deletePreviousForecasts) + { + $this->deletePreviousForecasts=$deletePreviousForecasts; + $this->keyModified['delete_previous_forecasts'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/territoryusers/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/territoryusers/APIException.php new file mode 100644 index 0000000..e4d6c93 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/territoryusers/APIException.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/territoryusers/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/territoryusers/ActionHandler.php new file mode 100644 index 0000000..8e8357a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/territoryusers/ActionHandler.php @@ -0,0 +1,7 @@ +users; + + } + + /** + * The method to set the value to users + * @param array $users A array + */ + public function setUsers(array $users) + { + $this->users=$users; + $this->keyModified['users'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/territoryusers/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/territoryusers/BodyWrapper.php new file mode 100644 index 0000000..33b1609 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/territoryusers/BodyWrapper.php @@ -0,0 +1,60 @@ +users; + + } + + /** + * The method to set the value to users + * @param array $users A array + */ + public function setUsers(array $users) + { + $this->users=$users; + $this->keyModified['users'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/territoryusers/DeassociateTerritoryUsersParam.php b/versions/5.0.0/src/com/zoho/crm/api/territoryusers/DeassociateTerritoryUsersParam.php new file mode 100644 index 0000000..f4c6c11 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/territoryusers/DeassociateTerritoryUsersParam.php @@ -0,0 +1,14 @@ +perPage; + + } + + /** + * The method to set the value to perPage + * @param int $perPage A int + */ + public function setPerPage(int $perPage) + { + $this->perPage=$perPage; + $this->keyModified['per_page'] = 1; + + } + + /** + * The method to get the count + * @return int A int representing the count + */ + public function getCount() + { + return $this->count; + + } + + /** + * The method to set the value to count + * @param int $count A int + */ + public function setCount(int $count) + { + $this->count=$count; + $this->keyModified['count'] = 1; + + } + + /** + * The method to get the page + * @return int A int representing the page + */ + public function getPage() + { + return $this->page; + + } + + /** + * The method to set the value to page + * @param int $page A int + */ + public function setPage(int $page) + { + $this->page=$page; + $this->keyModified['page'] = 1; + + } + + /** + * The method to get the moreRecords + * @return bool A bool representing the moreRecords + */ + public function getMoreRecords() + { + return $this->moreRecords; + + } + + /** + * The method to set the value to moreRecords + * @param bool $moreRecords A bool + */ + public function setMoreRecords(bool $moreRecords) + { + $this->moreRecords=$moreRecords; + $this->keyModified['more_records'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/territoryusers/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/territoryusers/ResponseHandler.php new file mode 100644 index 0000000..d2bb84f --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/territoryusers/ResponseHandler.php @@ -0,0 +1,7 @@ +users; + + } + + /** + * The method to set the value to users + * @param array $users A array + */ + public function setUsers(array $users) + { + $this->users=$users; + $this->keyModified['users'] = 1; + + } + + /** + * The method to get the info + * @return Info An instance of Info + */ + public function getInfo() + { + return $this->info; + + } + + /** + * The method to set the value to info + * @param Info $info An instance of Info + */ + public function setInfo(Info $info) + { + $this->info=$info; + $this->keyModified['info'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/territoryusers/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/territoryusers/SuccessResponse.php new file mode 100644 index 0000000..4b33fbd --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/territoryusers/SuccessResponse.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/territoryusers/TerritoryUsersOperations.php b/versions/5.0.0/src/com/zoho/crm/api/territoryusers/TerritoryUsersOperations.php new file mode 100644 index 0000000..df0297c --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/territoryusers/TerritoryUsersOperations.php @@ -0,0 +1,139 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to update territory users + * @param string $territory A string + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updateTerritoryUsers(string $territory, BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/territories/'); + $apiPath=$apiPath.(strval($territory)); + $apiPath=$apiPath.('/users'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to deassociate territory users + * @param string $territory A string + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function deassociateTerritoryUsers(string $territory, ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/territories/'); + $apiPath=$apiPath.(strval($territory)); + $apiPath=$apiPath.('/users'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setCategoryMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get territory user + * @param string $user A string + * @param string $territory A string + * @return APIResponse An instance of APIResponse + */ + public function getTerritoryUser(string $user, string $territory) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/territories/'); + $apiPath=$apiPath.(strval($territory)); + $apiPath=$apiPath.('/users/'); + $apiPath=$apiPath.(strval($user)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to update territory user + * @param string $user A string + * @param string $territory A string + * @return APIResponse An instance of APIResponse + */ + public function updateTerritoryUser(string $user, string $territory) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/territories/'); + $apiPath=$apiPath.(strval($territory)); + $apiPath=$apiPath.('/users/'); + $apiPath=$apiPath.(strval($user)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_ACTION); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to deassociate territory user + * @param string $user A string + * @param string $territory A string + * @return APIResponse An instance of APIResponse + */ + public function deassociateTerritoryUser(string $user, string $territory) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/territories/'); + $apiPath=$apiPath.(strval($territory)); + $apiPath=$apiPath.('/users/'); + $apiPath=$apiPath.(strval($user)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setCategoryMethod(Constants::REQUEST_METHOD_DELETE); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/timelines/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/timelines/APIException.php new file mode 100644 index 0000000..b3a5040 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/timelines/APIException.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/timelines/AutomationDetail.php b/versions/5.0.0/src/com/zoho/crm/api/timelines/AutomationDetail.php new file mode 100644 index 0000000..fbb91fb --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/timelines/AutomationDetail.php @@ -0,0 +1,103 @@ +type; + + } + + /** + * The method to set the value to type + * @param string $type A string + */ + public function setType(string $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to get the rule + * @return NameIdStructure An instance of NameIdStructure + */ + public function getRule() + { + return $this->rule; + + } + + /** + * The method to set the value to rule + * @param NameIdStructure $rule An instance of NameIdStructure + */ + public function setRule(NameIdStructure $rule) + { + $this->rule=$rule; + $this->keyModified['rule'] = 1; + + } + + /** + * The method to get the pathfinder + * @return PathFinder An instance of PathFinder + */ + public function getPathfinder() + { + return $this->pathfinder; + + } + + /** + * The method to set the value to pathfinder + * @param PathFinder $pathfinder An instance of PathFinder + */ + public function setPathfinder(PathFinder $pathfinder) + { + $this->pathfinder=$pathfinder; + $this->keyModified['pathfinder'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/timelines/FieldHistory.php b/versions/5.0.0/src/com/zoho/crm/api/timelines/FieldHistory.php new file mode 100644 index 0000000..55b75b5 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/timelines/FieldHistory.php @@ -0,0 +1,191 @@ +dataType; + + } + + /** + * The method to set the value to dataType + * @param string $dataType A string + */ + public function setDataType(string $dataType) + { + $this->dataType=$dataType; + $this->keyModified['data_type'] = 1; + + } + + /** + * The method to get the enableColourCode + * @return bool A bool representing the enableColourCode + */ + public function getEnableColourCode() + { + return $this->enableColourCode; + + } + + /** + * The method to set the value to enableColourCode + * @param bool $enableColourCode A bool + */ + public function setEnableColourCode(bool $enableColourCode) + { + $this->enableColourCode=$enableColourCode; + $this->keyModified['enable_colour_code'] = 1; + + } + + /** + * The method to get the pickListValues + * @return array A array representing the pickListValues + */ + public function getPickListValues() + { + return $this->pickListValues; + + } + + /** + * The method to set the value to pickListValues + * @param array $pickListValues A array + */ + public function setPickListValues(array $pickListValues) + { + $this->pickListValues=$pickListValues; + $this->keyModified['pick_list_values'] = 1; + + } + + /** + * The method to get the fieldLabel + * @return string A string representing the fieldLabel + */ + public function getFieldLabel() + { + return $this->fieldLabel; + + } + + /** + * The method to set the value to fieldLabel + * @param string $fieldLabel A string + */ + public function setFieldLabel(string $fieldLabel) + { + $this->fieldLabel=$fieldLabel; + $this->keyModified['field_label'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the value + * @return FieldHistoryValue An instance of FieldHistoryValue + */ + public function getValue() + { + return $this->value; + + } + + /** + * The method to set the value to value + * @param FieldHistoryValue $value An instance of FieldHistoryValue + */ + public function setValue(FieldHistoryValue $value) + { + $this->value=$value; + $this->keyModified['_value'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/timelines/FieldHistoryValue.php b/versions/5.0.0/src/com/zoho/crm/api/timelines/FieldHistoryValue.php new file mode 100644 index 0000000..6814559 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/timelines/FieldHistoryValue.php @@ -0,0 +1,81 @@ +new; + + } + + /** + * The method to set the value to new + * @param string $new A string + */ + public function setNew(string $new) + { + $this->new=$new; + $this->keyModified['new'] = 1; + + } + + /** + * The method to get the old + * @return string A string representing the old + */ + public function getOld() + { + return $this->old; + + } + + /** + * The method to set the value to old + * @param string $old A string + */ + public function setOld(string $old) + { + $this->old=$old; + $this->keyModified['old'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/timelines/GetTimelinesParam.php b/versions/5.0.0/src/com/zoho/crm/api/timelines/GetTimelinesParam.php new file mode 100644 index 0000000..b8ce3bf --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/timelines/GetTimelinesParam.php @@ -0,0 +1,55 @@ +perPage; + + } + + /** + * The method to set the value to perPage + * @param int $perPage A int + */ + public function setPerPage(int $perPage) + { + $this->perPage=$perPage; + $this->keyModified['per_page'] = 1; + + } + + /** + * The method to get the page + * @return int A int representing the page + */ + public function getPage() + { + return $this->page; + + } + + /** + * The method to set the value to page + * @param int $page A int + */ + public function setPage(int $page) + { + $this->page=$page; + $this->keyModified['page'] = 1; + + } + + /** + * The method to get the count + * @return int A int representing the count + */ + public function getCount() + { + return $this->count; + + } + + /** + * The method to set the value to count + * @param int $count A int + */ + public function setCount(int $count) + { + $this->count=$count; + $this->keyModified['count'] = 1; + + } + + /** + * The method to get the moreRecords + * @return bool A bool representing the moreRecords + */ + public function getMoreRecords() + { + return $this->moreRecords; + + } + + /** + * The method to set the value to moreRecords + * @param bool $moreRecords A bool + */ + public function setMoreRecords(bool $moreRecords) + { + $this->moreRecords=$moreRecords; + $this->keyModified['more_records'] = 1; + + } + + /** + * The method to get the nextPageToken + * @return string A string representing the nextPageToken + */ + public function getNextPageToken() + { + return $this->nextPageToken; + + } + + /** + * The method to set the value to nextPageToken + * @param string $nextPageToken A string + */ + public function setNextPageToken(string $nextPageToken) + { + $this->nextPageToken=$nextPageToken; + $this->keyModified['next_page_token'] = 1; + + } + + /** + * The method to get the previousPageToken + * @return string A string representing the previousPageToken + */ + public function getPreviousPageToken() + { + return $this->previousPageToken; + + } + + /** + * The method to set the value to previousPageToken + * @param string $previousPageToken A string + */ + public function setPreviousPageToken(string $previousPageToken) + { + $this->previousPageToken=$previousPageToken; + $this->keyModified['previous_page_token'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/timelines/Module.php b/versions/5.0.0/src/com/zoho/crm/api/timelines/Module.php new file mode 100644 index 0000000..ddc09e7 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/timelines/Module.php @@ -0,0 +1,81 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/timelines/NameIdStructure.php b/versions/5.0.0/src/com/zoho/crm/api/timelines/NameIdStructure.php new file mode 100644 index 0000000..bcf4b73 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/timelines/NameIdStructure.php @@ -0,0 +1,81 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/timelines/PathFinder.php b/versions/5.0.0/src/com/zoho/crm/api/timelines/PathFinder.php new file mode 100644 index 0000000..5a32fec --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/timelines/PathFinder.php @@ -0,0 +1,103 @@ +processEntry; + + } + + /** + * The method to set the value to processEntry + * @param bool $processEntry A bool + */ + public function setProcessEntry(bool $processEntry) + { + $this->processEntry=$processEntry; + $this->keyModified['process_entry'] = 1; + + } + + /** + * The method to get the processExit + * @return bool A bool representing the processExit + */ + public function getProcessExit() + { + return $this->processExit; + + } + + /** + * The method to set the value to processExit + * @param bool $processExit A bool + */ + public function setProcessExit(bool $processExit) + { + $this->processExit=$processExit; + $this->keyModified['process_exit'] = 1; + + } + + /** + * The method to get the state + * @return State An instance of State + */ + public function getState() + { + return $this->state; + + } + + /** + * The method to set the value to state + * @param State $state An instance of State + */ + public function setState(State $state) + { + $this->state=$state; + $this->keyModified['state'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/timelines/PicklistDetail.php b/versions/5.0.0/src/com/zoho/crm/api/timelines/PicklistDetail.php new file mode 100644 index 0000000..2f87490 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/timelines/PicklistDetail.php @@ -0,0 +1,169 @@ +displayValue; + + } + + /** + * The method to set the value to displayValue + * @param string $displayValue A string + */ + public function setDisplayValue(string $displayValue) + { + $this->displayValue=$displayValue; + $this->keyModified['display_value'] = 1; + + } + + /** + * The method to get the sequenceNumber + * @return int A int representing the sequenceNumber + */ + public function getSequenceNumber() + { + return $this->sequenceNumber; + + } + + /** + * The method to set the value to sequenceNumber + * @param int $sequenceNumber A int + */ + public function setSequenceNumber(int $sequenceNumber) + { + $this->sequenceNumber=$sequenceNumber; + $this->keyModified['sequence_number'] = 1; + + } + + /** + * The method to get the colourCode + * @return string A string representing the colourCode + */ + public function getColourCode() + { + return $this->colourCode; + + } + + /** + * The method to set the value to colourCode + * @param string $colourCode A string + */ + public function setColourCode(string $colourCode) + { + $this->colourCode=$colourCode; + $this->keyModified['colour_code'] = 1; + + } + + /** + * The method to get the actualValue + * @return string A string representing the actualValue + */ + public function getActualValue() + { + return $this->actualValue; + + } + + /** + * The method to set the value to actualValue + * @param string $actualValue A string + */ + public function setActualValue(string $actualValue) + { + $this->actualValue=$actualValue; + $this->keyModified['actual_value'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the type + * @return string A string representing the type + */ + public function getType() + { + return $this->type; + + } + + /** + * The method to set the value to type + * @param string $type A string + */ + public function setType(string $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/timelines/Record.php b/versions/5.0.0/src/com/zoho/crm/api/timelines/Record.php new file mode 100644 index 0000000..d557f9b --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/timelines/Record.php @@ -0,0 +1,103 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the module + * @return Module An instance of Module + */ + public function getModule() + { + return $this->module; + + } + + /** + * The method to set the value to module + * @param Module $module An instance of Module + */ + public function setModule(Module $module) + { + $this->module=$module; + $this->keyModified['module'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/timelines/RelatedRecord.php b/versions/5.0.0/src/com/zoho/crm/api/timelines/RelatedRecord.php new file mode 100644 index 0000000..3cd67cb --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/timelines/RelatedRecord.php @@ -0,0 +1,103 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the module + * @return NameIdStructure An instance of NameIdStructure + */ + public function getModule() + { + return $this->module; + + } + + /** + * The method to set the value to module + * @param NameIdStructure $module An instance of NameIdStructure + */ + public function setModule(NameIdStructure $module) + { + $this->module=$module; + $this->keyModified['module'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/timelines/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/timelines/ResponseHandler.php new file mode 100644 index 0000000..ba1a053 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/timelines/ResponseHandler.php @@ -0,0 +1,7 @@ +timeline; + + } + + /** + * The method to set the value to timeline + * @param array $timeline A array + */ + public function setTimeline(array $timeline) + { + $this->timeline=$timeline; + $this->keyModified['__timeline'] = 1; + + } + + /** + * The method to get the info + * @return Info An instance of Info + */ + public function getInfo() + { + return $this->info; + + } + + /** + * The method to set the value to info + * @param Info $info An instance of Info + */ + public function setInfo(Info $info) + { + $this->info=$info; + $this->keyModified['info'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/timelines/State.php b/versions/5.0.0/src/com/zoho/crm/api/timelines/State.php new file mode 100644 index 0000000..0c2c5b0 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/timelines/State.php @@ -0,0 +1,125 @@ +triggerType; + + } + + /** + * The method to set the value to triggerType + * @param string $triggerType A string + */ + public function setTriggerType(string $triggerType) + { + $this->triggerType=$triggerType; + $this->keyModified['trigger_type'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the isLastState + * @return bool A bool representing the isLastState + */ + public function getIsLastState() + { + return $this->isLastState; + + } + + /** + * The method to set the value to isLastState + * @param bool $isLastState A bool + */ + public function setIsLastState(bool $isLastState) + { + $this->isLastState=$isLastState; + $this->keyModified['is_last_state'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/timelines/Timeline.php b/versions/5.0.0/src/com/zoho/crm/api/timelines/Timeline.php new file mode 100644 index 0000000..93922e3 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/timelines/Timeline.php @@ -0,0 +1,279 @@ +auditedTime; + + } + + /** + * The method to set the value to auditedTime + * @param \DateTime $auditedTime An instance of \DateTime + */ + public function setAuditedTime(\DateTime $auditedTime) + { + $this->auditedTime=$auditedTime; + $this->keyModified['audited_time'] = 1; + + } + + /** + * The method to get the action + * @return string A string representing the action + */ + public function getAction() + { + return $this->action; + + } + + /** + * The method to set the value to action + * @param string $action A string + */ + public function setAction(string $action) + { + $this->action=$action; + $this->keyModified['action'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the source + * @return string A string representing the source + */ + public function getSource() + { + return $this->source; + + } + + /** + * The method to set the value to source + * @param string $source A string + */ + public function setSource(string $source) + { + $this->source=$source; + $this->keyModified['source'] = 1; + + } + + /** + * The method to get the extension + * @return string A string representing the extension + */ + public function getExtension() + { + return $this->extension; + + } + + /** + * The method to set the value to extension + * @param string $extension A string + */ + public function setExtension(string $extension) + { + $this->extension=$extension; + $this->keyModified['extension'] = 1; + + } + + /** + * The method to get the type + * @return string A string representing the type + */ + public function getType() + { + return $this->type; + + } + + /** + * The method to set the value to type + * @param string $type A string + */ + public function setType(string $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to get the doneBy + * @return NameIdStructure An instance of NameIdStructure + */ + public function getDoneBy() + { + return $this->doneBy; + + } + + /** + * The method to set the value to doneBy + * @param NameIdStructure $doneBy An instance of NameIdStructure + */ + public function setDoneBy(NameIdStructure $doneBy) + { + $this->doneBy=$doneBy; + $this->keyModified['done_by'] = 1; + + } + + /** + * The method to get the relatedRecord + * @return RelatedRecord An instance of RelatedRecord + */ + public function getRelatedRecord() + { + return $this->relatedRecord; + + } + + /** + * The method to set the value to relatedRecord + * @param RelatedRecord $relatedRecord An instance of RelatedRecord + */ + public function setRelatedRecord(RelatedRecord $relatedRecord) + { + $this->relatedRecord=$relatedRecord; + $this->keyModified['related_record'] = 1; + + } + + /** + * The method to get the automationDetails + * @return AutomationDetail An instance of AutomationDetail + */ + public function getAutomationDetails() + { + return $this->automationDetails; + + } + + /** + * The method to set the value to automationDetails + * @param AutomationDetail $automationDetails An instance of AutomationDetail + */ + public function setAutomationDetails(AutomationDetail $automationDetails) + { + $this->automationDetails=$automationDetails; + $this->keyModified['automation_details'] = 1; + + } + + /** + * The method to get the record + * @return Record An instance of Record + */ + public function getRecord() + { + return $this->record; + + } + + /** + * The method to set the value to record + * @param Record $record An instance of Record + */ + public function setRecord(Record $record) + { + $this->record=$record; + $this->keyModified['record'] = 1; + + } + + /** + * The method to get the fieldHistory + * @return array A array representing the fieldHistory + */ + public function getFieldHistory() + { + return $this->fieldHistory; + + } + + /** + * The method to set the value to fieldHistory + * @param array $fieldHistory A array + */ + public function setFieldHistory(array $fieldHistory) + { + $this->fieldHistory=$fieldHistory; + $this->keyModified['field_history'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/timelines/TimelinesOperations.php b/versions/5.0.0/src/com/zoho/crm/api/timelines/TimelinesOperations.php new file mode 100644 index 0000000..cc862c6 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/timelines/TimelinesOperations.php @@ -0,0 +1,38 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/unblockemail/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/unblockemail/APIException.php new file mode 100644 index 0000000..f7921a3 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/unblockemail/APIException.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/unblockemail/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/unblockemail/ActionHandler.php new file mode 100644 index 0000000..5d94648 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/unblockemail/ActionHandler.php @@ -0,0 +1,7 @@ +data; + + } + + /** + * The method to set the value to data + * @param array $data A array + */ + public function setData(array $data) + { + $this->data=$data; + $this->keyModified['data'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/unblockemail/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/unblockemail/BodyWrapper.php new file mode 100644 index 0000000..2b666ca --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/unblockemail/BodyWrapper.php @@ -0,0 +1,81 @@ +ids; + + } + + /** + * The method to set the value to ids + * @param array $ids A array + */ + public function setIds(array $ids) + { + $this->ids=$ids; + $this->keyModified['ids'] = 1; + + } + + /** + * The method to get the unblockFields + * @return array A array representing the unblockFields + */ + public function getUnblockFields() + { + return $this->unblockFields; + + } + + /** + * The method to set the value to unblockFields + * @param array $unblockFields A array + */ + public function setUnblockFields(array $unblockFields) + { + $this->unblockFields=$unblockFields; + $this->keyModified['unblock_fields'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/unblockemail/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/unblockemail/SuccessResponse.php new file mode 100644 index 0000000..68ece3a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/unblockemail/SuccessResponse.php @@ -0,0 +1,125 @@ +code; + + } + + /** + * The method to set the value to code + * @param string $code A string + */ + public function setCode(string $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return string A string representing the status + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param string $status A string + */ + public function setStatus(string $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/unblockemail/UnblockEmailOperations.php b/versions/5.0.0/src/com/zoho/crm/api/unblockemail/UnblockEmailOperations.php new file mode 100644 index 0000000..963aaae --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/unblockemail/UnblockEmailOperations.php @@ -0,0 +1,68 @@ +module=$module; + + } + + /** + * The method to unblock emails + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function unblockEmails(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->module)); + $apiPath=$apiPath.('/actions/unblock_email'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_ACTION); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to unblock email + * @param string $id A string + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function unblockEmail(string $id, BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/'); + $apiPath=$apiPath.(strval($this->module)); + $apiPath=$apiPath.('/'); + $apiPath=$apiPath.(strval($id)); + $apiPath=$apiPath.('/actions/unblock_email'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_ACTION); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/unsubscribelinks/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/unsubscribelinks/APIException.php new file mode 100644 index 0000000..47a9ba6 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/unsubscribelinks/APIException.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/unsubscribelinks/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/unsubscribelinks/ActionHandler.php new file mode 100644 index 0000000..17f128d --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/unsubscribelinks/ActionHandler.php @@ -0,0 +1,7 @@ +unsubscribeLinks; + + } + + /** + * The method to set the value to unsubscribeLinks + * @param array $unsubscribeLinks A array + */ + public function setUnsubscribeLinks(array $unsubscribeLinks) + { + $this->unsubscribeLinks=$unsubscribeLinks; + $this->keyModified['unsubscribe_links'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/unsubscribelinks/AssociatedPlaces.php b/versions/5.0.0/src/com/zoho/crm/api/unsubscribelinks/AssociatedPlaces.php new file mode 100644 index 0000000..4b0c900 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/unsubscribelinks/AssociatedPlaces.php @@ -0,0 +1,103 @@ +type; + + } + + /** + * The method to set the value to type + * @param string $type A string + */ + public function setType(string $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to get the resource + * @return Resource An instance of Resource + */ + public function getResource() + { + return $this->resource; + + } + + /** + * The method to set the value to resource + * @param Resource $resource An instance of Resource + */ + public function setResource(Resource $resource) + { + $this->resource=$resource; + $this->keyModified['resource'] = 1; + + } + + /** + * The method to get the details + * @return Detail An instance of Detail + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param Detail $details An instance of Detail + */ + public function setDetails(Detail $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/unsubscribelinks/AssociationDetails.php b/versions/5.0.0/src/com/zoho/crm/api/unsubscribelinks/AssociationDetails.php new file mode 100644 index 0000000..2201efc --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/unsubscribelinks/AssociationDetails.php @@ -0,0 +1,81 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the associatedPlaces + * @return array A array representing the associatedPlaces + */ + public function getAssociatedPlaces() + { + return $this->associatedPlaces; + + } + + /** + * The method to set the value to associatedPlaces + * @param array $associatedPlaces A array + */ + public function setAssociatedPlaces(array $associatedPlaces) + { + $this->associatedPlaces=$associatedPlaces; + $this->keyModified['associated_places'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/unsubscribelinks/AssociationsResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/unsubscribelinks/AssociationsResponseHandler.php new file mode 100644 index 0000000..d550db6 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/unsubscribelinks/AssociationsResponseHandler.php @@ -0,0 +1,7 @@ +associations; + + } + + /** + * The method to set the value to associations + * @param array $associations A array + */ + public function setAssociations(array $associations) + { + $this->associations=$associations; + $this->keyModified['associations'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/unsubscribelinks/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/unsubscribelinks/BodyWrapper.php new file mode 100644 index 0000000..2c44f71 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/unsubscribelinks/BodyWrapper.php @@ -0,0 +1,59 @@ +unsubscribeLinks; + + } + + /** + * The method to set the value to unsubscribeLinks + * @param array $unsubscribeLinks A array + */ + public function setUnsubscribeLinks(array $unsubscribeLinks) + { + $this->unsubscribeLinks=$unsubscribeLinks; + $this->keyModified['unsubscribe_links'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/unsubscribelinks/Detail.php b/versions/5.0.0/src/com/zoho/crm/api/unsubscribelinks/Detail.php new file mode 100644 index 0000000..3c0cde8 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/unsubscribelinks/Detail.php @@ -0,0 +1,59 @@ +module; + + } + + /** + * The method to set the value to module + * @param Module $module An instance of Module + */ + public function setModule(Module $module) + { + $this->module=$module; + $this->keyModified['module'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/unsubscribelinks/Module.php b/versions/5.0.0/src/com/zoho/crm/api/unsubscribelinks/Module.php new file mode 100644 index 0000000..7ec4969 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/unsubscribelinks/Module.php @@ -0,0 +1,81 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/unsubscribelinks/Resource.php b/versions/5.0.0/src/com/zoho/crm/api/unsubscribelinks/Resource.php new file mode 100644 index 0000000..b693252 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/unsubscribelinks/Resource.php @@ -0,0 +1,81 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/unsubscribelinks/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/unsubscribelinks/ResponseHandler.php new file mode 100644 index 0000000..dda616f --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/unsubscribelinks/ResponseHandler.php @@ -0,0 +1,7 @@ +unsubscribeLinks; + + } + + /** + * The method to set the value to unsubscribeLinks + * @param array $unsubscribeLinks A array + */ + public function setUnsubscribeLinks(array $unsubscribeLinks) + { + $this->unsubscribeLinks=$unsubscribeLinks; + $this->keyModified['unsubscribe_links'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/unsubscribelinks/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/unsubscribelinks/SuccessResponse.php new file mode 100644 index 0000000..9b17d12 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/unsubscribelinks/SuccessResponse.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/unsubscribelinks/UnsubscribeLinks.php b/versions/5.0.0/src/com/zoho/crm/api/unsubscribelinks/UnsubscribeLinks.php new file mode 100644 index 0000000..2cb553f --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/unsubscribelinks/UnsubscribeLinks.php @@ -0,0 +1,368 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the pageType + * @return Choice An instance of Choice + */ + public function getPageType() + { + return $this->pageType; + + } + + /** + * The method to set the value to pageType + * @param Choice $pageType An instance of Choice + */ + public function setPageType(Choice $pageType) + { + $this->pageType=$pageType; + $this->keyModified['page_type'] = 1; + + } + + /** + * The method to get the customLocationUrl + * @return string A string representing the customLocationUrl + */ + public function getCustomLocationUrl() + { + return $this->customLocationUrl; + + } + + /** + * The method to set the value to customLocationUrl + * @param string $customLocationUrl A string + */ + public function setCustomLocationUrl(string $customLocationUrl) + { + $this->customLocationUrl=$customLocationUrl; + $this->keyModified['custom_location_url'] = 1; + + } + + /** + * The method to get the standardPageMessage + * @return string A string representing the standardPageMessage + */ + public function getStandardPageMessage() + { + return $this->standardPageMessage; + + } + + /** + * The method to set the value to standardPageMessage + * @param string $standardPageMessage A string + */ + public function setStandardPageMessage(string $standardPageMessage) + { + $this->standardPageMessage=$standardPageMessage; + $this->keyModified['standard_page_message'] = 1; + + } + + /** + * The method to get the submissionActionType + * @return Choice An instance of Choice + */ + public function getSubmissionActionType() + { + return $this->submissionActionType; + + } + + /** + * The method to set the value to submissionActionType + * @param Choice $submissionActionType An instance of Choice + */ + public function setSubmissionActionType(Choice $submissionActionType) + { + $this->submissionActionType=$submissionActionType; + $this->keyModified['submission_action_type'] = 1; + + } + + /** + * The method to get the submissionMessage + * @return string A string representing the submissionMessage + */ + public function getSubmissionMessage() + { + return $this->submissionMessage; + + } + + /** + * The method to set the value to submissionMessage + * @param string $submissionMessage A string + */ + public function setSubmissionMessage(string $submissionMessage) + { + $this->submissionMessage=$submissionMessage; + $this->keyModified['submission_message'] = 1; + + } + + /** + * The method to get the submissionRedirectUrl + * @return string A string representing the submissionRedirectUrl + */ + public function getSubmissionRedirectUrl() + { + return $this->submissionRedirectUrl; + + } + + /** + * The method to set the value to submissionRedirectUrl + * @param string $submissionRedirectUrl A string + */ + public function setSubmissionRedirectUrl(string $submissionRedirectUrl) + { + $this->submissionRedirectUrl=$submissionRedirectUrl; + $this->keyModified['submission_redirect_url'] = 1; + + } + + /** + * The method to get the locationUrlType + * @return string A string representing the locationUrlType + */ + public function getLocationUrlType() + { + return $this->locationUrlType; + + } + + /** + * The method to set the value to locationUrlType + * @param string $locationUrlType A string + */ + public function setLocationUrlType(string $locationUrlType) + { + $this->locationUrlType=$locationUrlType; + $this->keyModified['location_url_type'] = 1; + + } + + /** + * The method to get the actionOnUnsubscribe + * @return string A string representing the actionOnUnsubscribe + */ + public function getActionOnUnsubscribe() + { + return $this->actionOnUnsubscribe; + + } + + /** + * The method to set the value to actionOnUnsubscribe + * @param string $actionOnUnsubscribe A string + */ + public function setActionOnUnsubscribe(string $actionOnUnsubscribe) + { + $this->actionOnUnsubscribe=$actionOnUnsubscribe; + $this->keyModified['action_on_unsubscribe'] = 1; + + } + + /** + * The method to get the createdBy + * @return User An instance of User + */ + public function getCreatedBy() + { + return $this->createdBy; + + } + + /** + * The method to set the value to createdBy + * @param User $createdBy An instance of User + */ + public function setCreatedBy(User $createdBy) + { + $this->createdBy=$createdBy; + $this->keyModified['created_by'] = 1; + + } + + /** + * The method to get the modifiedBy + * @return User An instance of User + */ + public function getModifiedBy() + { + return $this->modifiedBy; + + } + + /** + * The method to set the value to modifiedBy + * @param User $modifiedBy An instance of User + */ + public function setModifiedBy(User $modifiedBy) + { + $this->modifiedBy=$modifiedBy; + $this->keyModified['modified_by'] = 1; + + } + + /** + * The method to get the modifiedTime + * @return \DateTime An instance of \DateTime + */ + public function getModifiedTime() + { + return $this->modifiedTime; + + } + + /** + * The method to set the value to modifiedTime + * @param \DateTime $modifiedTime An instance of \DateTime + */ + public function setModifiedTime(\DateTime $modifiedTime) + { + $this->modifiedTime=$modifiedTime; + $this->keyModified['modified_time'] = 1; + + } + + /** + * The method to get the createdTime + * @return \DateTime An instance of \DateTime + */ + public function getCreatedTime() + { + return $this->createdTime; + + } + + /** + * The method to set the value to createdTime + * @param \DateTime $createdTime An instance of \DateTime + */ + public function setCreatedTime(\DateTime $createdTime) + { + $this->createdTime=$createdTime; + $this->keyModified['created_time'] = 1; + + } + + /** + * The method to get the landingUrl + * @return string A string representing the landingUrl + */ + public function getLandingUrl() + { + return $this->landingUrl; + + } + + /** + * The method to set the value to landingUrl + * @param string $landingUrl A string + */ + public function setLandingUrl(string $landingUrl) + { + $this->landingUrl=$landingUrl; + $this->keyModified['landing_url'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/unsubscribelinks/UnsubscribeLinksOperations.php b/versions/5.0.0/src/com/zoho/crm/api/unsubscribelinks/UnsubscribeLinksOperations.php new file mode 100644 index 0000000..391e1e3 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/unsubscribelinks/UnsubscribeLinksOperations.php @@ -0,0 +1,140 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to create unsubscribe link + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function createUnsubscribeLink(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/unsubscribe_links'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to update unsubscribe links + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updateUnsubscribeLinks(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/unsubscribe_links'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get unsubscribe link + * @param string $id A string + * @return APIResponse An instance of APIResponse + */ + public function getUnsubscribeLink(string $id) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/unsubscribe_links/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to update unsubscribe link + * @param string $id A string + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updateUnsubscribeLink(string $id, BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/unsubscribe_links/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to delete unsubscribe link + * @param string $id A string + * @return APIResponse An instance of APIResponse + */ + public function deleteUnsubscribeLink(string $id) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/unsubscribe_links/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setCategoryMethod(Constants::REQUEST_METHOD_DELETE); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get associated unsubscribe links + * @return APIResponse An instance of APIResponse + */ + public function getAssociatedUnsubscribeLinks() + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/unsubscribe_link/actions/associations'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_ACTION); + return $handlerInstance->apiCall(AssociationsResponseHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/unsubscribelinks/User.php b/versions/5.0.0/src/com/zoho/crm/api/unsubscribelinks/User.php new file mode 100644 index 0000000..b84b65d --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/unsubscribelinks/User.php @@ -0,0 +1,81 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usergroups/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/usergroups/APIException.php new file mode 100644 index 0000000..23575d6 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usergroups/APIException.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usergroups/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/usergroups/ActionHandler.php new file mode 100644 index 0000000..acffbe9 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usergroups/ActionHandler.php @@ -0,0 +1,7 @@ +userGroups; + + } + + /** + * The method to set the value to userGroups + * @param array $userGroups A array + */ + public function setUserGroups(array $userGroups) + { + $this->userGroups=$userGroups; + $this->keyModified['user_groups'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usergroups/AssociatedUser.php b/versions/5.0.0/src/com/zoho/crm/api/usergroups/AssociatedUser.php new file mode 100644 index 0000000..91c87c9 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usergroups/AssociatedUser.php @@ -0,0 +1,81 @@ +userGroup; + + } + + /** + * The method to set the value to userGroup + * @param UserGroup $userGroup An instance of UserGroup + */ + public function setUserGroup(UserGroup $userGroup) + { + $this->userGroup=$userGroup; + $this->keyModified['user_group'] = 1; + + } + + /** + * The method to get the count + * @return int A int representing the count + */ + public function getCount() + { + return $this->count; + + } + + /** + * The method to set the value to count + * @param int $count A int + */ + public function setCount(int $count) + { + $this->count=$count; + $this->keyModified['count'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usergroups/AssociatedUserCount.php b/versions/5.0.0/src/com/zoho/crm/api/usergroups/AssociatedUserCount.php new file mode 100644 index 0000000..17d7ea4 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usergroups/AssociatedUserCount.php @@ -0,0 +1,81 @@ +associatedUsersCount; + + } + + /** + * The method to set the value to associatedUsersCount + * @param array $associatedUsersCount A array + */ + public function setAssociatedUsersCount(array $associatedUsersCount) + { + $this->associatedUsersCount=$associatedUsersCount; + $this->keyModified['associated_users_count'] = 1; + + } + + /** + * The method to get the info + * @return Info An instance of Info + */ + public function getInfo() + { + return $this->info; + + } + + /** + * The method to set the value to info + * @param Info $info An instance of Info + */ + public function setInfo(Info $info) + { + $this->info=$info; + $this->keyModified['info'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usergroups/AssociationModule.php b/versions/5.0.0/src/com/zoho/crm/api/usergroups/AssociationModule.php new file mode 100644 index 0000000..cb24c45 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usergroups/AssociationModule.php @@ -0,0 +1,60 @@ +module; + + } + + /** + * The method to set the value to module + * @param MinifiedModule $module An instance of MinifiedModule + */ + public function setModule(MinifiedModule $module) + { + $this->module=$module; + $this->keyModified['module'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usergroups/AssociationResponse.php b/versions/5.0.0/src/com/zoho/crm/api/usergroups/AssociationResponse.php new file mode 100644 index 0000000..56e51ae --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usergroups/AssociationResponse.php @@ -0,0 +1,103 @@ +type; + + } + + /** + * The method to set the value to type + * @param string $type A string + */ + public function setType(string $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to get the resource + * @return Resource An instance of Resource + */ + public function getResource() + { + return $this->resource; + + } + + /** + * The method to set the value to resource + * @param Resource $resource An instance of Resource + */ + public function setResource(Resource $resource) + { + $this->resource=$resource; + $this->keyModified['resource'] = 1; + + } + + /** + * The method to get the detail + * @return AssociationModule An instance of AssociationModule + */ + public function getDetail() + { + return $this->detail; + + } + + /** + * The method to set the value to detail + * @param AssociationModule $detail An instance of AssociationModule + */ + public function setDetail(AssociationModule $detail) + { + $this->detail=$detail; + $this->keyModified['detail'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usergroups/AssociationWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/usergroups/AssociationWrapper.php new file mode 100644 index 0000000..e078e49 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usergroups/AssociationWrapper.php @@ -0,0 +1,59 @@ +associations; + + } + + /** + * The method to set the value to associations + * @param array $associations A array + */ + public function setAssociations(array $associations) + { + $this->associations=$associations; + $this->keyModified['associations'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usergroups/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/usergroups/BodyWrapper.php new file mode 100644 index 0000000..d39701b --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usergroups/BodyWrapper.php @@ -0,0 +1,59 @@ +userGroups; + + } + + /** + * The method to set the value to userGroups + * @param array $userGroups A array + */ + public function setUserGroups(array $userGroups) + { + $this->userGroups=$userGroups; + $this->keyModified['user_groups'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usergroups/GetGroupsParam.php b/versions/5.0.0/src/com/zoho/crm/api/usergroups/GetGroupsParam.php new file mode 100644 index 0000000..69b21bd --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usergroups/GetGroupsParam.php @@ -0,0 +1,29 @@ +createdBy; + + } + + /** + * The method to set the value to createdBy + * @param Owner $createdBy An instance of Owner + */ + public function setCreatedBy(Owner $createdBy) + { + $this->createdBy=$createdBy; + $this->keyModified['created_by'] = 1; + + } + + /** + * The method to get the modifiedBy + * @return Owner An instance of Owner + */ + public function getModifiedBy() + { + return $this->modifiedBy; + + } + + /** + * The method to set the value to modifiedBy + * @param Owner $modifiedBy An instance of Owner + */ + public function setModifiedBy(Owner $modifiedBy) + { + $this->modifiedBy=$modifiedBy; + $this->keyModified['modified_by'] = 1; + + } + + /** + * The method to get the modifiedTime + * @return \DateTime An instance of \DateTime + */ + public function getModifiedTime() + { + return $this->modifiedTime; + + } + + /** + * The method to set the value to modifiedTime + * @param \DateTime $modifiedTime An instance of \DateTime + */ + public function setModifiedTime(\DateTime $modifiedTime) + { + $this->modifiedTime=$modifiedTime; + $this->keyModified['modified_time'] = 1; + + } + + /** + * The method to get the createdTime + * @return \DateTime An instance of \DateTime + */ + public function getCreatedTime() + { + return $this->createdTime; + + } + + /** + * The method to set the value to createdTime + * @param \DateTime $createdTime An instance of \DateTime + */ + public function setCreatedTime(\DateTime $createdTime) + { + $this->createdTime=$createdTime; + $this->keyModified['created_time'] = 1; + + } + + /** + * The method to get the description + * @return string A string representing the description + */ + public function getDescription() + { + return $this->description; + + } + + /** + * The method to set the value to description + * @param string $description A string + */ + public function setDescription(string $description) + { + $this->description=$description; + $this->keyModified['description'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the sources + * @return array A array representing the sources + */ + public function getSources() + { + return $this->sources; + + } + + /** + * The method to set the value to sources + * @param array $sources A array + */ + public function setSources(array $sources) + { + $this->sources=$sources; + $this->keyModified['sources'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usergroups/Info.php b/versions/5.0.0/src/com/zoho/crm/api/usergroups/Info.php new file mode 100644 index 0000000..8cecf84 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usergroups/Info.php @@ -0,0 +1,125 @@ +perPage; + + } + + /** + * The method to set the value to perPage + * @param int $perPage A int + */ + public function setPerPage(int $perPage) + { + $this->perPage=$perPage; + $this->keyModified['per_page'] = 1; + + } + + /** + * The method to get the count + * @return int A int representing the count + */ + public function getCount() + { + return $this->count; + + } + + /** + * The method to set the value to count + * @param int $count A int + */ + public function setCount(int $count) + { + $this->count=$count; + $this->keyModified['count'] = 1; + + } + + /** + * The method to get the page + * @return int A int representing the page + */ + public function getPage() + { + return $this->page; + + } + + /** + * The method to set the value to page + * @param int $page A int + */ + public function setPage(int $page) + { + $this->page=$page; + $this->keyModified['page'] = 1; + + } + + /** + * The method to get the moreRecords + * @return bool A bool representing the moreRecords + */ + public function getMoreRecords() + { + return $this->moreRecords; + + } + + /** + * The method to set the value to moreRecords + * @param bool $moreRecords A bool + */ + public function setMoreRecords(bool $moreRecords) + { + $this->moreRecords=$moreRecords; + $this->keyModified['more_records'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usergroups/Jobs.php b/versions/5.0.0/src/com/zoho/crm/api/usergroups/Jobs.php new file mode 100644 index 0000000..70e73b0 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usergroups/Jobs.php @@ -0,0 +1,59 @@ +status; + + } + + /** + * The method to set the value to status + * @param string $status A string + */ + public function setStatus(string $status) + { + $this->status=$status; + $this->keyModified['Status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usergroups/JobsWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/usergroups/JobsWrapper.php new file mode 100644 index 0000000..f62a576 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usergroups/JobsWrapper.php @@ -0,0 +1,59 @@ +deletionJobs; + + } + + /** + * The method to set the value to deletionJobs + * @param array $deletionJobs A array + */ + public function setDeletionJobs(array $deletionJobs) + { + $this->deletionJobs=$deletionJobs; + $this->keyModified['deletion_jobs'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usergroups/Owner.php b/versions/5.0.0/src/com/zoho/crm/api/usergroups/Owner.php new file mode 100644 index 0000000..813ba0d --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usergroups/Owner.php @@ -0,0 +1,81 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usergroups/Resource.php b/versions/5.0.0/src/com/zoho/crm/api/usergroups/Resource.php new file mode 100644 index 0000000..930d077 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usergroups/Resource.php @@ -0,0 +1,81 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usergroups/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/usergroups/ResponseHandler.php new file mode 100644 index 0000000..bf73abb --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usergroups/ResponseHandler.php @@ -0,0 +1,7 @@ +userGroups; + + } + + /** + * The method to set the value to userGroups + * @param array $userGroups A array + */ + public function setUserGroups(array $userGroups) + { + $this->userGroups=$userGroups; + $this->keyModified['user_groups'] = 1; + + } + + /** + * The method to get the info + * @return Info An instance of Info + */ + public function getInfo() + { + return $this->info; + + } + + /** + * The method to set the value to info + * @param Info $info An instance of Info + */ + public function setInfo(Info $info) + { + $this->info=$info; + $this->keyModified['info'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usergroups/Source.php b/versions/5.0.0/src/com/zoho/crm/api/usergroups/Source.php new file mode 100644 index 0000000..ef2eca1 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usergroups/Source.php @@ -0,0 +1,81 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usergroups/Sources.php b/versions/5.0.0/src/com/zoho/crm/api/usergroups/Sources.php new file mode 100644 index 0000000..0b7d39b --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usergroups/Sources.php @@ -0,0 +1,126 @@ +type; + + } + + /** + * The method to set the value to type + * @param Choice $type An instance of Choice + */ + public function setType(Choice $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to get the source + * @return Source An instance of Source + */ + public function getSource() + { + return $this->source; + + } + + /** + * The method to set the value to source + * @param Source $source An instance of Source + */ + public function setSource(Source $source) + { + $this->source=$source; + $this->keyModified['source'] = 1; + + } + + /** + * The method to get the subordinates + * @return bool A bool representing the subordinates + */ + public function getSubordinates() + { + return $this->subordinates; + + } + + /** + * The method to set the value to subordinates + * @param bool $subordinates A bool + */ + public function setSubordinates(bool $subordinates) + { + $this->subordinates=$subordinates; + $this->keyModified['subordinates'] = 1; + + } + + /** + * The method to get the subTerritories + * @return bool A bool representing the subTerritories + */ + public function getSubTerritories() + { + return $this->subTerritories; + + } + + /** + * The method to set the value to subTerritories + * @param bool $subTerritories A bool + */ + public function setSubTerritories(bool $subTerritories) + { + $this->subTerritories=$subTerritories; + $this->keyModified['sub_territories'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usergroups/SourcesCount.php b/versions/5.0.0/src/com/zoho/crm/api/usergroups/SourcesCount.php new file mode 100644 index 0000000..755a8e9 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usergroups/SourcesCount.php @@ -0,0 +1,125 @@ +territories; + + } + + /** + * The method to set the value to territories + * @param int $territories A int + */ + public function setTerritories(int $territories) + { + $this->territories=$territories; + $this->keyModified['territories'] = 1; + + } + + /** + * The method to get the roles + * @return int A int representing the roles + */ + public function getRoles() + { + return $this->roles; + + } + + /** + * The method to set the value to roles + * @param int $roles A int + */ + public function setRoles(int $roles) + { + $this->roles=$roles; + $this->keyModified['roles'] = 1; + + } + + /** + * The method to get the groups + * @return int A int representing the groups + */ + public function getGroups() + { + return $this->groups; + + } + + /** + * The method to set the value to groups + * @param int $groups A int + */ + public function setGroups(int $groups) + { + $this->groups=$groups; + $this->keyModified['groups'] = 1; + + } + + /** + * The method to get the users + * @return Users An instance of Users + */ + public function getUsers() + { + return $this->users; + + } + + /** + * The method to set the value to users + * @param Users $users An instance of Users + */ + public function setUsers(Users $users) + { + $this->users=$users; + $this->keyModified['users'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usergroups/SourcesCountWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/usergroups/SourcesCountWrapper.php new file mode 100644 index 0000000..7f5ac1b --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usergroups/SourcesCountWrapper.php @@ -0,0 +1,59 @@ +sourcesCount; + + } + + /** + * The method to set the value to sourcesCount + * @param array $sourcesCount A array + */ + public function setSourcesCount(array $sourcesCount) + { + $this->sourcesCount=$sourcesCount; + $this->keyModified['sources_count'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usergroups/SourcesWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/usergroups/SourcesWrapper.php new file mode 100644 index 0000000..0c59e70 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usergroups/SourcesWrapper.php @@ -0,0 +1,81 @@ +sources; + + } + + /** + * The method to set the value to sources + * @param array $sources A array + */ + public function setSources(array $sources) + { + $this->sources=$sources; + $this->keyModified['sources'] = 1; + + } + + /** + * The method to get the info + * @return Info An instance of Info + */ + public function getInfo() + { + return $this->info; + + } + + /** + * The method to set the value to info + * @param Info $info An instance of Info + */ + public function setInfo(Info $info) + { + $this->info=$info; + $this->keyModified['info'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usergroups/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/usergroups/SuccessResponse.php new file mode 100644 index 0000000..4837c76 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usergroups/SuccessResponse.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usergroups/UserGroup.php b/versions/5.0.0/src/com/zoho/crm/api/usergroups/UserGroup.php new file mode 100644 index 0000000..4179b0b --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usergroups/UserGroup.php @@ -0,0 +1,81 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usergroups/UserGroupsOperations.php b/versions/5.0.0/src/com/zoho/crm/api/usergroups/UserGroupsOperations.php new file mode 100644 index 0000000..4dd2bae --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usergroups/UserGroupsOperations.php @@ -0,0 +1,204 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to create groups + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function createGroups(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/user_groups'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to update groups + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updateGroups(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/user_groups'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get group + * @param string $group A string + * @return APIResponse An instance of APIResponse + */ + public function getGroup(string $group) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/user_groups/'); + $apiPath=$apiPath.(strval($group)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to update group + * @param string $group A string + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updateGroup(string $group, BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/user_groups/'); + $apiPath=$apiPath.(strval($group)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to delete group + * @param string $group A string + * @return APIResponse An instance of APIResponse + */ + public function deleteGroup(string $group) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/user_groups/'); + $apiPath=$apiPath.(strval($group)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setCategoryMethod(Constants::REQUEST_METHOD_DELETE); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get sources + * @param string $group A string + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function getSources(string $group, ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/user_groups/'); + $apiPath=$apiPath.(strval($group)); + $apiPath=$apiPath.('/sources'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_ACTION); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to get sources count + * @param string $group A string + * @return APIResponse An instance of APIResponse + */ + public function getSourcesCount(string $group) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/user_groups/'); + $apiPath=$apiPath.(strval($group)); + $apiPath=$apiPath.('/actions/sources_count'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_ACTION); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to get associations + * @param string $group A string + * @return APIResponse An instance of APIResponse + */ + public function getAssociations(string $group) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/user_groups/'); + $apiPath=$apiPath.(strval($group)); + $apiPath=$apiPath.('/actions/associations'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_ACTION); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to get associated users count + * @return APIResponse An instance of APIResponse + */ + public function getAssociatedUsersCount() + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/user_groups/actions/associated_users_count'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_ACTION); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usergroups/Users.php b/versions/5.0.0/src/com/zoho/crm/api/usergroups/Users.php new file mode 100644 index 0000000..0cff021 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usergroups/Users.php @@ -0,0 +1,103 @@ +inactive; + + } + + /** + * The method to set the value to inactive + * @param int $inactive A int + */ + public function setInactive(int $inactive) + { + $this->inactive=$inactive; + $this->keyModified['inactive'] = 1; + + } + + /** + * The method to get the deleted + * @return int A int representing the deleted + */ + public function getDeleted() + { + return $this->deleted; + + } + + /** + * The method to set the value to deleted + * @param int $deleted A int + */ + public function setDeleted(int $deleted) + { + $this->deleted=$deleted; + $this->keyModified['deleted'] = 1; + + } + + /** + * The method to get the active + * @return int A int representing the active + */ + public function getActive() + { + return $this->active; + + } + + /** + * The method to set the value to active + * @param int $active A int + */ + public function setActive(int $active) + { + $this->active=$active; + $this->keyModified['active'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/users/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/users/APIException.php new file mode 100644 index 0000000..12bac3c --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/users/APIException.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/users/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/users/ActionHandler.php new file mode 100644 index 0000000..c491406 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/users/ActionHandler.php @@ -0,0 +1,7 @@ +users; + + } + + /** + * The method to set the value to users + * @param array $users A array + */ + public function setUsers(array $users) + { + $this->users=$users; + $this->keyModified['users'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/users/AssociatedGroup.php b/versions/5.0.0/src/com/zoho/crm/api/users/AssociatedGroup.php new file mode 100644 index 0000000..59e1f2b --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/users/AssociatedGroup.php @@ -0,0 +1,191 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the description + * @return string A string representing the description + */ + public function getDescription() + { + return $this->description; + + } + + /** + * The method to set the value to description + * @param string $description A string + */ + public function setDescription(string $description) + { + $this->description=$description; + $this->keyModified['description'] = 1; + + } + + /** + * The method to get the createdTime + * @return \DateTime An instance of \DateTime + */ + public function getCreatedTime() + { + return $this->createdTime; + + } + + /** + * The method to set the value to createdTime + * @param \DateTime $createdTime An instance of \DateTime + */ + public function setCreatedTime(\DateTime $createdTime) + { + $this->createdTime=$createdTime; + $this->keyModified['created_time'] = 1; + + } + + /** + * The method to get the modifiedTime + * @return \DateTime An instance of \DateTime + */ + public function getModifiedTime() + { + return $this->modifiedTime; + + } + + /** + * The method to set the value to modifiedTime + * @param \DateTime $modifiedTime An instance of \DateTime + */ + public function setModifiedTime(\DateTime $modifiedTime) + { + $this->modifiedTime=$modifiedTime; + $this->keyModified['modified_time'] = 1; + + } + + /** + * The method to get the createdBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getCreatedBy() + { + return $this->createdBy; + + } + + /** + * The method to set the value to createdBy + * @param MinifiedUser $createdBy An instance of MinifiedUser + */ + public function setCreatedBy(MinifiedUser $createdBy) + { + $this->createdBy=$createdBy; + $this->keyModified['created_by'] = 1; + + } + + /** + * The method to get the modifiedBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getModifiedBy() + { + return $this->modifiedBy; + + } + + /** + * The method to set the value to modifiedBy + * @param MinifiedUser $modifiedBy An instance of MinifiedUser + */ + public function setModifiedBy(MinifiedUser $modifiedBy) + { + $this->modifiedBy=$modifiedBy; + $this->keyModified['modified_by'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/users/AssociatedGroupsWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/users/AssociatedGroupsWrapper.php new file mode 100644 index 0000000..ae53a1b --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/users/AssociatedGroupsWrapper.php @@ -0,0 +1,81 @@ +userGroups; + + } + + /** + * The method to set the value to userGroups + * @param array $userGroups A array + */ + public function setUserGroups(array $userGroups) + { + $this->userGroups=$userGroups; + $this->keyModified['user_groups'] = 1; + + } + + /** + * The method to get the info + * @return Info An instance of Info + */ + public function getInfo() + { + return $this->info; + + } + + /** + * The method to set the value to info + * @param Info $info An instance of Info + */ + public function setInfo(Info $info) + { + $this->info=$info; + $this->keyModified['info'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/users/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/users/BodyWrapper.php new file mode 100644 index 0000000..ace8d0c --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/users/BodyWrapper.php @@ -0,0 +1,59 @@ +users; + + } + + /** + * The method to set the value to users + * @param array $users A array + */ + public function setUsers(array $users) + { + $this->users=$users; + $this->keyModified['users'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/users/CountHandler.php b/versions/5.0.0/src/com/zoho/crm/api/users/CountHandler.php new file mode 100644 index 0000000..2c6d535 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/users/CountHandler.php @@ -0,0 +1,7 @@ +count; + + } + + /** + * The method to set the value to count + * @param string $count A string + */ + public function setCount(string $count) + { + $this->count=$count; + $this->keyModified['count'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/users/CustomizeInfo.php b/versions/5.0.0/src/com/zoho/crm/api/users/CustomizeInfo.php new file mode 100644 index 0000000..91fafce --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/users/CustomizeInfo.php @@ -0,0 +1,165 @@ +notesDesc; + + } + + /** + * The method to set the value to notesDesc + * @param + */ + public function setNotesDesc( $notesDesc) + { + $this->notesDesc=$notesDesc; + $this->keyModified['notes_desc'] = 1; + + } + + /** + * The method to get the showRightPanel + */ + public function getShowRightPanel() + { + return $this->showRightPanel; + + } + + /** + * The method to set the value to showRightPanel + * @param + */ + public function setShowRightPanel( $showRightPanel) + { + $this->showRightPanel=$showRightPanel; + $this->keyModified['show_right_panel'] = 1; + + } + + /** + * The method to get the bcView + */ + public function getBcView() + { + return $this->bcView; + + } + + /** + * The method to set the value to bcView + * @param + */ + public function setBcView( $bcView) + { + $this->bcView=$bcView; + $this->keyModified['bc_view'] = 1; + + } + + /** + * The method to get the unpinRecentItem + */ + public function getUnpinRecentItem() + { + return $this->unpinRecentItem; + + } + + /** + * The method to set the value to unpinRecentItem + * @param + */ + public function setUnpinRecentItem( $unpinRecentItem) + { + $this->unpinRecentItem=$unpinRecentItem; + $this->keyModified['unpin_recent_item'] = 1; + + } + + /** + * The method to get the showHome + * @return bool A bool representing the showHome + */ + public function getShowHome() + { + return $this->showHome; + + } + + /** + * The method to set the value to showHome + * @param bool $showHome A bool + */ + public function setShowHome(bool $showHome) + { + $this->showHome=$showHome; + $this->keyModified['show_home'] = 1; + + } + + /** + * The method to get the showDetailView + * @return bool A bool representing the showDetailView + */ + public function getShowDetailView() + { + return $this->showDetailView; + + } + + /** + * The method to set the value to showDetailView + * @param bool $showDetailView A bool + */ + public function setShowDetailView(bool $showDetailView) + { + $this->showDetailView=$showDetailView; + $this->keyModified['show_detail_view'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/users/GetUserHeader.php b/versions/5.0.0/src/com/zoho/crm/api/users/GetUserHeader.php new file mode 100644 index 0000000..d76fb51 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/users/GetUserHeader.php @@ -0,0 +1,14 @@ +perPage; + + } + + /** + * The method to set the value to perPage + * @param int $perPage A int + */ + public function setPerPage(int $perPage) + { + $this->perPage=$perPage; + $this->keyModified['per_page'] = 1; + + } + + /** + * The method to get the count + * @return int A int representing the count + */ + public function getCount() + { + return $this->count; + + } + + /** + * The method to set the value to count + * @param int $count A int + */ + public function setCount(int $count) + { + $this->count=$count; + $this->keyModified['count'] = 1; + + } + + /** + * The method to get the page + * @return int A int representing the page + */ + public function getPage() + { + return $this->page; + + } + + /** + * The method to set the value to page + * @param int $page A int + */ + public function setPage(int $page) + { + $this->page=$page; + $this->keyModified['page'] = 1; + + } + + /** + * The method to get the moreRecords + * @return bool A bool representing the moreRecords + */ + public function getMoreRecords() + { + return $this->moreRecords; + + } + + /** + * The method to set the value to moreRecords + * @param bool $moreRecords A bool + */ + public function setMoreRecords(bool $moreRecords) + { + $this->moreRecords=$moreRecords; + $this->keyModified['more_records'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/users/MinifiedUser.php b/versions/5.0.0/src/com/zoho/crm/api/users/MinifiedUser.php new file mode 100644 index 0000000..d581bd9 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/users/MinifiedUser.php @@ -0,0 +1,103 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the email + * @return string A string representing the email + */ + public function getEmail() + { + return $this->email; + + } + + /** + * The method to set the value to email + * @param string $email A string + */ + public function setEmail(string $email) + { + $this->email=$email; + $this->keyModified['email'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/users/Owner.php b/versions/5.0.0/src/com/zoho/crm/api/users/Owner.php new file mode 100644 index 0000000..d943556 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/users/Owner.php @@ -0,0 +1,125 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the lastName + * @return string A string representing the lastName + */ + public function getLastName() + { + return $this->lastName; + + } + + /** + * The method to set the value to lastName + * @param string $lastName A string + */ + public function setLastName(string $lastName) + { + $this->lastName=$lastName; + $this->keyModified['last_name'] = 1; + + } + + /** + * The method to get the firstName + * @return string A string representing the firstName + */ + public function getFirstName() + { + return $this->firstName; + + } + + /** + * The method to set the value to firstName + * @param string $firstName A string + */ + public function setFirstName(string $firstName) + { + $this->firstName=$firstName; + $this->keyModified['first_name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/users/Profile.php b/versions/5.0.0/src/com/zoho/crm/api/users/Profile.php new file mode 100644 index 0000000..fb9ba85 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/users/Profile.php @@ -0,0 +1,81 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/users/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/users/ResponseHandler.php new file mode 100644 index 0000000..a044ce0 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/users/ResponseHandler.php @@ -0,0 +1,7 @@ +users; + + } + + /** + * The method to set the value to users + * @param array $users A array + */ + public function setUsers(array $users) + { + $this->users=$users; + $this->keyModified['users'] = 1; + + } + + /** + * The method to get the info + * @return Info An instance of Info + */ + public function getInfo() + { + return $this->info; + + } + + /** + * The method to set the value to info + * @param Info $info An instance of Info + */ + public function setInfo(Info $info) + { + $this->info=$info; + $this->keyModified['info'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/users/Role.php b/versions/5.0.0/src/com/zoho/crm/api/users/Role.php new file mode 100644 index 0000000..79ea6b0 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/users/Role.php @@ -0,0 +1,81 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/users/Shift.php b/versions/5.0.0/src/com/zoho/crm/api/users/Shift.php new file mode 100644 index 0000000..abc7908 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/users/Shift.php @@ -0,0 +1,81 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/users/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/users/SuccessResponse.php new file mode 100644 index 0000000..f9c02b2 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/users/SuccessResponse.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/users/Tab.php b/versions/5.0.0/src/com/zoho/crm/api/users/Tab.php new file mode 100644 index 0000000..0228b42 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/users/Tab.php @@ -0,0 +1,82 @@ +fontColor; + + } + + /** + * The method to set the value to fontColor + * @param Choice $fontColor An instance of Choice + */ + public function setFontColor(Choice $fontColor) + { + $this->fontColor=$fontColor; + $this->keyModified['font_color'] = 1; + + } + + /** + * The method to get the background + * @return Choice An instance of Choice + */ + public function getBackground() + { + return $this->background; + + } + + /** + * The method to set the value to background + * @param Choice $background An instance of Choice + */ + public function setBackground(Choice $background) + { + $this->background=$background; + $this->keyModified['background'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/users/Theme.php b/versions/5.0.0/src/com/zoho/crm/api/users/Theme.php new file mode 100644 index 0000000..088a30b --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/users/Theme.php @@ -0,0 +1,170 @@ +normalTab; + + } + + /** + * The method to set the value to normalTab + * @param Tab $normalTab An instance of Tab + */ + public function setNormalTab(Tab $normalTab) + { + $this->normalTab=$normalTab; + $this->keyModified['normal_tab'] = 1; + + } + + /** + * The method to get the selectedTab + * @return Tab An instance of Tab + */ + public function getSelectedTab() + { + return $this->selectedTab; + + } + + /** + * The method to set the value to selectedTab + * @param Tab $selectedTab An instance of Tab + */ + public function setSelectedTab(Tab $selectedTab) + { + $this->selectedTab=$selectedTab; + $this->keyModified['selected_tab'] = 1; + + } + + /** + * The method to get the newBackground + * @return string A string representing the newBackground + */ + public function getNewBackground() + { + return $this->newBackground; + + } + + /** + * The method to set the value to newBackground + * @param string $newBackground A string + */ + public function setNewBackground(string $newBackground) + { + $this->newBackground=$newBackground; + $this->keyModified['new_background'] = 1; + + } + + /** + * The method to get the background + * @return Choice An instance of Choice + */ + public function getBackground() + { + return $this->background; + + } + + /** + * The method to set the value to background + * @param Choice $background An instance of Choice + */ + public function setBackground(Choice $background) + { + $this->background=$background; + $this->keyModified['background'] = 1; + + } + + /** + * The method to get the screen + * @return Choice An instance of Choice + */ + public function getScreen() + { + return $this->screen; + + } + + /** + * The method to set the value to screen + * @param Choice $screen An instance of Choice + */ + public function setScreen(Choice $screen) + { + $this->screen=$screen; + $this->keyModified['screen'] = 1; + + } + + /** + * The method to get the type + * @return string A string representing the type + */ + public function getType() + { + return $this->type; + + } + + /** + * The method to set the value to type + * @param string $type A string + */ + public function setType(string $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/users/Users.php b/versions/5.0.0/src/com/zoho/crm/api/users/Users.php new file mode 100644 index 0000000..be67b52 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/users/Users.php @@ -0,0 +1,1271 @@ +getKeyValue('country'); + + } + + /** + * The method to set the value to country + * @param string $country A string + */ + public function setCountry(string $country) + { + $this->addKeyValue('country', $country); + + } + + /** + * The method to get the language + * @return string A string representing the language + */ + public function getLanguage() + { + return $this->getKeyValue('language'); + + } + + /** + * The method to set the value to language + * @param string $language A string + */ + public function setLanguage(string $language) + { + $this->addKeyValue('language', $language); + + } + + /** + * The method to get the microsoft + * @return bool A bool representing the microsoft + */ + public function getMicrosoft() + { + return $this->getKeyValue('microsoft'); + + } + + /** + * The method to set the value to microsoft + * @param bool $microsoft A bool + */ + public function setMicrosoft(bool $microsoft) + { + $this->addKeyValue('microsoft', $microsoft); + + } + + /** + * The method to get the shiftEffectiveFrom + */ + public function getShiftEffectiveFrom() + { + return $this->getKeyValue('$shift_effective_from'); + + } + + /** + * The method to set the value to shiftEffectiveFrom + * @param + */ + public function setShiftEffectiveFrom( $shiftEffectiveFrom) + { + $this->addKeyValue('$shift_effective_from', $shiftEffectiveFrom); + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->getKeyValue('id'); + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->addKeyValue('id', $id); + + } + + /** + * The method to get the state + * @return string A string representing the state + */ + public function getState() + { + return $this->getKeyValue('state'); + + } + + /** + * The method to set the value to state + * @param string $state A string + */ + public function setState(string $state) + { + $this->addKeyValue('state', $state); + + } + + /** + * The method to get the fax + * @return string A string representing the fax + */ + public function getFax() + { + return $this->getKeyValue('fax'); + + } + + /** + * The method to set the value to fax + * @param string $fax A string + */ + public function setFax(string $fax) + { + $this->addKeyValue('fax', $fax); + + } + + /** + * The method to get the countryLocale + * @return string A string representing the countryLocale + */ + public function getCountryLocale() + { + return $this->getKeyValue('country_locale'); + + } + + /** + * The method to set the value to countryLocale + * @param string $countryLocale A string + */ + public function setCountryLocale(string $countryLocale) + { + $this->addKeyValue('country_locale', $countryLocale); + + } + + /** + * The method to get the zip + * @return string A string representing the zip + */ + public function getZip() + { + return $this->getKeyValue('zip'); + + } + + /** + * The method to set the value to zip + * @param string $zip A string + */ + public function setZip(string $zip) + { + $this->addKeyValue('zip', $zip); + + } + + /** + * The method to get the createdTime + * @return \DateTime An instance of \DateTime + */ + public function getCreatedTime() + { + return $this->getKeyValue('created_time'); + + } + + /** + * The method to set the value to createdTime + * @param \DateTime $createdTime An instance of \DateTime + */ + public function setCreatedTime(\DateTime $createdTime) + { + $this->addKeyValue('created_time', $createdTime); + + } + + /** + * The method to get the timeFormat + * @return Choice An instance of Choice + */ + public function getTimeFormat() + { + return $this->getKeyValue('time_format'); + + } + + /** + * The method to set the value to timeFormat + * @param Choice $timeFormat An instance of Choice + */ + public function setTimeFormat(Choice $timeFormat) + { + $this->addKeyValue('time_format', $timeFormat); + + } + + /** + * The method to get the offset + * @return int A int representing the offset + */ + public function getOffset() + { + return $this->getKeyValue('offset'); + + } + + /** + * The method to set the value to offset + * @param int $offset A int + */ + public function setOffset(int $offset) + { + $this->addKeyValue('offset', $offset); + + } + + /** + * The method to get the imapStatus + * @return bool A bool representing the imapStatus + */ + public function getImapStatus() + { + return $this->getKeyValue('imap_status'); + + } + + /** + * The method to set the value to imapStatus + * @param bool $imapStatus A bool + */ + public function setImapStatus(bool $imapStatus) + { + $this->addKeyValue('imap_status', $imapStatus); + + } + + /** + * The method to get the imageLink + * @return string A string representing the imageLink + */ + public function getImageLink() + { + return $this->getKeyValue('image_link'); + + } + + /** + * The method to set the value to imageLink + * @param string $imageLink A string + */ + public function setImageLink(string $imageLink) + { + $this->addKeyValue('image_link', $imageLink); + + } + + /** + * The method to get the ezuid + * @return string A string representing the ezuid + */ + public function getEzuid() + { + return $this->getKeyValue('ezuid'); + + } + + /** + * The method to set the value to ezuid + * @param string $ezuid A string + */ + public function setEzuid(string $ezuid) + { + $this->addKeyValue('ezuid', $ezuid); + + } + + /** + * The method to get the profile + * @return Profile An instance of Profile + */ + public function getProfile() + { + return $this->getKeyValue('profile'); + + } + + /** + * The method to set the value to profile + * @param Profile $profile An instance of Profile + */ + public function setProfile(Profile $profile) + { + $this->addKeyValue('profile', $profile); + + } + + /** + * The method to get the role + * @return Role An instance of Role + */ + public function getRole() + { + return $this->getKeyValue('role'); + + } + + /** + * The method to set the value to role + * @param Role $role An instance of Role + */ + public function setRole(Role $role) + { + $this->addKeyValue('role', $role); + + } + + /** + * The method to get the createdBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getCreatedBy() + { + return $this->getKeyValue('created_by'); + + } + + /** + * The method to set the value to createdBy + * @param MinifiedUser $createdBy An instance of MinifiedUser + */ + public function setCreatedBy(MinifiedUser $createdBy) + { + $this->addKeyValue('created_by', $createdBy); + + } + + /** + * The method to get the fullName + * @return string A string representing the fullName + */ + public function getFullName() + { + return $this->getKeyValue('full_name'); + + } + + /** + * The method to set the value to fullName + * @param string $fullName A string + */ + public function setFullName(string $fullName) + { + $this->addKeyValue('full_name', $fullName); + + } + + /** + * The method to get the zuid + * @return string A string representing the zuid + */ + public function getZuid() + { + return $this->getKeyValue('zuid'); + + } + + /** + * The method to set the value to zuid + * @param string $zuid A string + */ + public function setZuid(string $zuid) + { + $this->addKeyValue('zuid', $zuid); + + } + + /** + * The method to get the phone + * @return string A string representing the phone + */ + public function getPhone() + { + return $this->getKeyValue('phone'); + + } + + /** + * The method to set the value to phone + * @param string $phone A string + */ + public function setPhone(string $phone) + { + $this->addKeyValue('phone', $phone); + + } + + /** + * The method to get the dob + * @return \DateTime An instance of \DateTime + */ + public function getDob() + { + return $this->getKeyValue('dob'); + + } + + /** + * The method to set the value to dob + * @param \DateTime $dob An instance of \DateTime + */ + public function setDob(\DateTime $dob) + { + $this->addKeyValue('dob', $dob); + + } + + /** + * The method to get the status + * @return string A string representing the status + */ + public function getStatus() + { + return $this->getKeyValue('status'); + + } + + /** + * The method to set the value to status + * @param string $status A string + */ + public function setStatus(string $status) + { + $this->addKeyValue('status', $status); + + } + + /** + * The method to get the customizeInfo + * @return CustomizeInfo An instance of CustomizeInfo + */ + public function getCustomizeInfo() + { + return $this->getKeyValue('customize_info'); + + } + + /** + * The method to set the value to customizeInfo + * @param CustomizeInfo $customizeInfo An instance of CustomizeInfo + */ + public function setCustomizeInfo(CustomizeInfo $customizeInfo) + { + $this->addKeyValue('customize_info', $customizeInfo); + + } + + /** + * The method to get the city + * @return string A string representing the city + */ + public function getCity() + { + return $this->getKeyValue('city'); + + } + + /** + * The method to set the value to city + * @param string $city A string + */ + public function setCity(string $city) + { + $this->addKeyValue('city', $city); + + } + + /** + * The method to get the signature + * @return string A string representing the signature + */ + public function getSignature() + { + return $this->getKeyValue('signature'); + + } + + /** + * The method to set the value to signature + * @param string $signature A string + */ + public function setSignature(string $signature) + { + $this->addKeyValue('signature', $signature); + + } + + /** + * The method to get the sortOrderPreferenceS + * @return string A string representing the sortOrderPreferenceS + */ + public function getSortOrderPreferenceS() + { + return $this->getKeyValue('sort_order_preference__s'); + + } + + /** + * The method to set the value to sortOrderPreferenceS + * @param string $sortOrderPreferenceS A string + */ + public function setSortOrderPreferenceS(string $sortOrderPreferenceS) + { + $this->addKeyValue('sort_order_preference__s', $sortOrderPreferenceS); + + } + + /** + * The method to get the category + * @return string A string representing the category + */ + public function getCategory() + { + return $this->getKeyValue('category'); + + } + + /** + * The method to set the value to category + * @param string $category A string + */ + public function setCategory(string $category) + { + $this->addKeyValue('category', $category); + + } + + /** + * The method to get the dateFormat + * @return Choice An instance of Choice + */ + public function getDateFormat() + { + return $this->getKeyValue('date_format'); + + } + + /** + * The method to set the value to dateFormat + * @param Choice $dateFormat An instance of Choice + */ + public function setDateFormat(Choice $dateFormat) + { + $this->addKeyValue('date_format', $dateFormat); + + } + + /** + * The method to get the confirm + * @return bool A bool representing the confirm + */ + public function getConfirm() + { + return $this->getKeyValue('confirm'); + + } + + /** + * The method to set the value to confirm + * @param bool $confirm A bool + */ + public function setConfirm(bool $confirm) + { + $this->addKeyValue('confirm', $confirm); + + } + + /** + * The method to get the decimalSeparator + * @return Choice An instance of Choice + */ + public function getDecimalSeparator() + { + return $this->getKeyValue('decimal_separator'); + + } + + /** + * The method to set the value to decimalSeparator + * @param Choice $decimalSeparator An instance of Choice + */ + public function setDecimalSeparator(Choice $decimalSeparator) + { + $this->addKeyValue('decimal_separator', $decimalSeparator); + + } + + /** + * The method to get the numberSeparator + * @return Choice An instance of Choice + */ + public function getNumberSeparator() + { + return $this->getKeyValue('number_separator'); + + } + + /** + * The method to set the value to numberSeparator + * @param Choice $numberSeparator An instance of Choice + */ + public function setNumberSeparator(Choice $numberSeparator) + { + $this->addKeyValue('number_separator', $numberSeparator); + + } + + /** + * The method to get the timeZone + * @return \DateTimeZone An instance of \DateTimeZone + */ + public function getTimeZone() + { + return $this->getKeyValue('time_zone'); + + } + + /** + * The method to set the value to timeZone + * @param \DateTimeZone $timeZone An instance of \DateTimeZone + */ + public function setTimeZone(\DateTimeZone $timeZone) + { + $this->addKeyValue('time_zone', $timeZone); + + } + + /** + * The method to get the lastName + * @return string A string representing the lastName + */ + public function getLastName() + { + return $this->getKeyValue('last_name'); + + } + + /** + * The method to set the value to lastName + * @param string $lastName A string + */ + public function setLastName(string $lastName) + { + $this->addKeyValue('last_name', $lastName); + + } + + /** + * The method to get the mobile + * @return string A string representing the mobile + */ + public function getMobile() + { + return $this->getKeyValue('mobile'); + + } + + /** + * The method to set the value to mobile + * @param string $mobile A string + */ + public function setMobile(string $mobile) + { + $this->addKeyValue('mobile', $mobile); + + } + + /** + * The method to get the currentShift + * @return Shift An instance of Shift + */ + public function getCurrentShift() + { + return $this->getKeyValue('$current_shift'); + + } + + /** + * The method to set the value to currentShift + * @param Shift $currentShift An instance of Shift + */ + public function setCurrentShift(Shift $currentShift) + { + $this->addKeyValue('$current_shift', $currentShift); + + } + + /** + * The method to get the reportingTo + * @return MinifiedUser An instance of MinifiedUser + */ + public function getReportingTo() + { + return $this->getKeyValue('Reporting_To'); + + } + + /** + * The method to set the value to reportingTo + * @param MinifiedUser $reportingTo An instance of MinifiedUser + */ + public function setReportingTo(MinifiedUser $reportingTo) + { + $this->addKeyValue('Reporting_To', $reportingTo); + + } + + /** + * The method to get the currency + * @return string A string representing the currency + */ + public function getCurrency() + { + return $this->getKeyValue('Currency'); + + } + + /** + * The method to set the value to currency + * @param string $currency A string + */ + public function setCurrency(string $currency) + { + $this->addKeyValue('Currency', $currency); + + } + + /** + * The method to get the nextShift + * @return Shift An instance of Shift + */ + public function getNextShift() + { + return $this->getKeyValue('$next_shift'); + + } + + /** + * The method to set the value to nextShift + * @param Shift $nextShift An instance of Shift + */ + public function setNextShift(Shift $nextShift) + { + $this->addKeyValue('$next_shift', $nextShift); + + } + + /** + * The method to get the modifiedTime + * @return \DateTime An instance of \DateTime + */ + public function getModifiedTime() + { + return $this->getKeyValue('Modified_Time'); + + } + + /** + * The method to set the value to modifiedTime + * @param \DateTime $modifiedTime An instance of \DateTime + */ + public function setModifiedTime(\DateTime $modifiedTime) + { + $this->addKeyValue('Modified_Time', $modifiedTime); + + } + + /** + * The method to get the website + * @return string A string representing the website + */ + public function getWebsite() + { + return $this->getKeyValue('website'); + + } + + /** + * The method to set the value to website + * @param string $website A string + */ + public function setWebsite(string $website) + { + $this->addKeyValue('website', $website); + + } + + /** + * The method to get the statusReasonS + * @return string A string representing the statusReasonS + */ + public function getStatusReasonS() + { + return $this->getKeyValue('status_reason__s'); + + } + + /** + * The method to set the value to statusReasonS + * @param string $statusReasonS A string + */ + public function setStatusReasonS(string $statusReasonS) + { + $this->addKeyValue('status_reason__s', $statusReasonS); + + } + + /** + * The method to get the email + * @return string A string representing the email + */ + public function getEmail() + { + return $this->getKeyValue('email'); + + } + + /** + * The method to set the value to email + * @param string $email A string + */ + public function setEmail(string $email) + { + $this->addKeyValue('email', $email); + + } + + /** + * The method to get the firstName + * @return string A string representing the firstName + */ + public function getFirstName() + { + return $this->getKeyValue('first_name'); + + } + + /** + * The method to set the value to firstName + * @param string $firstName A string + */ + public function setFirstName(string $firstName) + { + $this->addKeyValue('first_name', $firstName); + + } + + /** + * The method to get the sandboxdeveloper + * @return bool A bool representing the sandboxdeveloper + */ + public function getSandboxdeveloper() + { + return $this->getKeyValue('sandboxDeveloper'); + + } + + /** + * The method to set the value to sandboxdeveloper + * @param bool $sandboxdeveloper A bool + */ + public function setSandboxdeveloper(bool $sandboxdeveloper) + { + $this->addKeyValue('sandboxDeveloper', $sandboxdeveloper); + + } + + /** + * The method to get the alias + * @return string A string representing the alias + */ + public function getAlias() + { + return $this->getKeyValue('alias'); + + } + + /** + * The method to set the value to alias + * @param string $alias A string + */ + public function setAlias(string $alias) + { + $this->addKeyValue('alias', $alias); + + } + + /** + * The method to get the street + * @return string A string representing the street + */ + public function getStreet() + { + return $this->getKeyValue('street'); + + } + + /** + * The method to set the value to street + * @param string $street A string + */ + public function setStreet(string $street) + { + $this->addKeyValue('street', $street); + + } + + /** + * The method to get the modifiedBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getModifiedBy() + { + return $this->getKeyValue('Modified_By'); + + } + + /** + * The method to set the value to modifiedBy + * @param MinifiedUser $modifiedBy An instance of MinifiedUser + */ + public function setModifiedBy(MinifiedUser $modifiedBy) + { + $this->addKeyValue('Modified_By', $modifiedBy); + + } + + /** + * The method to get the isonline + * @return bool A bool representing the isonline + */ + public function getIsonline() + { + return $this->getKeyValue('Isonline'); + + } + + /** + * The method to set the value to isonline + * @param bool $isonline A bool + */ + public function setIsonline(bool $isonline) + { + $this->addKeyValue('Isonline', $isonline); + + } + + /** + * The method to get the locale + * @return string A string representing the locale + */ + public function getLocale() + { + return $this->getKeyValue('locale'); + + } + + /** + * The method to set the value to locale + * @param string $locale A string + */ + public function setLocale(string $locale) + { + $this->addKeyValue('locale', $locale); + + } + + /** + * The method to get the nameFormatS + * @return Choice An instance of Choice + */ + public function getNameFormatS() + { + return $this->getKeyValue('name_format__s'); + + } + + /** + * The method to set the value to nameFormatS + * @param Choice $nameFormatS An instance of Choice + */ + public function setNameFormatS(Choice $nameFormatS) + { + $this->addKeyValue('name_format__s', $nameFormatS); + + } + + /** + * The method to get the personalAccount + * @return bool A bool representing the personalAccount + */ + public function getPersonalAccount() + { + return $this->getKeyValue('personal_account'); + + } + + /** + * The method to set the value to personalAccount + * @param bool $personalAccount A bool + */ + public function setPersonalAccount(bool $personalAccount) + { + $this->addKeyValue('personal_account', $personalAccount); + + } + + /** + * The method to get the defaultTabGroup + * @return string A string representing the defaultTabGroup + */ + public function getDefaultTabGroup() + { + return $this->getKeyValue('default_tab_group'); + + } + + /** + * The method to set the value to defaultTabGroup + * @param string $defaultTabGroup A string + */ + public function setDefaultTabGroup(string $defaultTabGroup) + { + $this->addKeyValue('default_tab_group', $defaultTabGroup); + + } + + /** + * The method to get the theme + * @return Theme An instance of Theme + */ + public function getTheme() + { + return $this->getKeyValue('theme'); + + } + + /** + * The method to set the value to theme + * @param Theme $theme An instance of Theme + */ + public function setTheme(Theme $theme) + { + $this->addKeyValue('theme', $theme); + + } + + /** + * The method to get the ntcNotificationType + * @return array A array representing the ntcNotificationType + */ + public function getNtcNotificationType() + { + return $this->getKeyValue('ntc_notification_type'); + + } + + /** + * The method to set the value to ntcNotificationType + * @param array $ntcNotificationType A array + */ + public function setNtcNotificationType(array $ntcNotificationType) + { + $this->addKeyValue('ntc_notification_type', $ntcNotificationType); + + } + + /** + * The method to get the ntcEnabled + * @return bool A bool representing the ntcEnabled + */ + public function getNtcEnabled() + { + return $this->getKeyValue('ntc_enabled'); + + } + + /** + * The method to set the value to ntcEnabled + * @param bool $ntcEnabled A bool + */ + public function setNtcEnabled(bool $ntcEnabled) + { + $this->addKeyValue('ntc_enabled', $ntcEnabled); + + } + + /** + * The method to get the rtlEnabled + * @return bool A bool representing the rtlEnabled + */ + public function getRtlEnabled() + { + return $this->getKeyValue('rtl_enabled'); + + } + + /** + * The method to set the value to rtlEnabled + * @param bool $rtlEnabled A bool + */ + public function setRtlEnabled(bool $rtlEnabled) + { + $this->addKeyValue('rtl_enabled', $rtlEnabled); + + } + + /** + * The method to get the telephonyEnabled + * @return bool A bool representing the telephonyEnabled + */ + public function getTelephonyEnabled() + { + return $this->getKeyValue('telephony_enabled'); + + } + + /** + * The method to set the value to telephonyEnabled + * @param bool $telephonyEnabled A bool + */ + public function setTelephonyEnabled(bool $telephonyEnabled) + { + $this->addKeyValue('telephony_enabled', $telephonyEnabled); + + } + + /** + * The method to get the sortOrderPreference + * @return string A string representing the sortOrderPreference + */ + public function getSortOrderPreference() + { + return $this->getKeyValue('sort_order_preference'); + + } + + /** + * The method to set the value to sortOrderPreference + * @param string $sortOrderPreference A string + */ + public function setSortOrderPreference(string $sortOrderPreference) + { + $this->addKeyValue('sort_order_preference', $sortOrderPreference); + + } + + /** + * The method to get the createdBy17 + * @return MinifiedUser An instance of MinifiedUser + */ + public function getCreatedBy17() + { + return $this->getKeyValue('Created_By'); + + } + + /** + * The method to set the value to createdBy17 + * @param MinifiedUser $createdBy17 An instance of MinifiedUser + */ + public function setCreatedBy17(MinifiedUser $createdBy17) + { + $this->addKeyValue('Created_By', $createdBy17); + + } + + /** + * The method to get the createdTime9 + * @return \DateTime An instance of \DateTime + */ + public function getCreatedTime9() + { + return $this->getKeyValue('Created_Time'); + + } + + /** + * The method to set the value to createdTime9 + * @param \DateTime $createdTime9 An instance of \DateTime + */ + public function setCreatedTime9(\DateTime $createdTime9) + { + $this->addKeyValue('Created_Time', $createdTime9); + + } + + /** + * The method to get the tag + * @return array A array representing the tag + */ + public function getTag() + { + return $this->getKeyValue('Tag'); + + } + + /** + * The method to set the value to tag + * @param array $tag A array + */ + public function setTag(array $tag) + { + $this->addKeyValue('Tag', $tag); + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->getKeyValue('name'); + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->addKeyValue('name', $name); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/users/UsersCountParam.php b/versions/5.0.0/src/com/zoho/crm/api/users/UsersCountParam.php new file mode 100644 index 0000000..74a3c71 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/users/UsersCountParam.php @@ -0,0 +1,15 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + $handlerInstance->setHeader($headerInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to create users + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function createUsers(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/users'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to update users + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updateUsers(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/users'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get user + * @param string $user A string + * @param HeaderMap $headerInstance An instance of HeaderMap + * @return APIResponse An instance of APIResponse + */ + public function getUser(string $user, HeaderMap $headerInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/users/'); + $apiPath=$apiPath.(strval($user)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setHeader($headerInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to update user + * @param string $user A string + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updateUser(string $user, BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/users/'); + $apiPath=$apiPath.(strval($user)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to delete user + * @param string $user A string + * @return APIResponse An instance of APIResponse + */ + public function deleteUser(string $user) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/users/'); + $apiPath=$apiPath.(strval($user)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setCategoryMethod(Constants::REQUEST_METHOD_DELETE); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get associated groups + * @param string $user A string + * @return APIResponse An instance of APIResponse + */ + public function getAssociatedGroups(string $user) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/users/'); + $apiPath=$apiPath.(strval($user)); + $apiPath=$apiPath.('/actions/associated_groups'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to users count + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function usersCount(ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/users/actions/count'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(CountHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usersterritories/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/usersterritories/APIException.php new file mode 100644 index 0000000..a19f9a9 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usersterritories/APIException.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usersterritories/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/usersterritories/ActionHandler.php new file mode 100644 index 0000000..4cfd788 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usersterritories/ActionHandler.php @@ -0,0 +1,7 @@ +transferAndDelink; + + } + + /** + * The method to set the value to transferAndDelink + * @param array $transferAndDelink A array + */ + public function setTransferAndDelink(array $transferAndDelink) + { + $this->transferAndDelink=$transferAndDelink; + $this->keyModified['transfer_and_delink'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usersterritories/ActionWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/usersterritories/ActionWrapper.php new file mode 100644 index 0000000..3ee587d --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usersterritories/ActionWrapper.php @@ -0,0 +1,81 @@ +transferAndDelink; + + } + + /** + * The method to set the value to transferAndDelink + * @param array $transferAndDelink A array + */ + public function setTransferAndDelink(array $transferAndDelink) + { + $this->transferAndDelink=$transferAndDelink; + $this->keyModified['transfer_and_delink'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } + + /** + * The method to get the territories + * @return array A array representing the territories + */ + public function getTerritories() + { + return $this->territories; + + } + + /** + * The method to set the value to territories + * @param array $territories A array + */ + public function setTerritories(array $territories) + { + $this->territories=$territories; + $this->keyModified['territories'] = 1; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usersterritories/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/usersterritories/BodyWrapper.php new file mode 100644 index 0000000..f3487a4 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usersterritories/BodyWrapper.php @@ -0,0 +1,59 @@ +territories; + + } + + /** + * The method to set the value to territories + * @param array $territories A array + */ + public function setTerritories(array $territories) + { + $this->territories=$territories; + $this->keyModified['territories'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usersterritories/BulkValidation.php b/versions/5.0.0/src/com/zoho/crm/api/usersterritories/BulkValidation.php new file mode 100644 index 0000000..f567403 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usersterritories/BulkValidation.php @@ -0,0 +1,147 @@ +alert; + + } + + /** + * The method to set the value to alert + * @param bool $alert A bool + */ + public function setAlert(bool $alert) + { + $this->alert=$alert; + $this->keyModified['alert'] = 1; + + } + + /** + * The method to get the assignment + * @return bool A bool representing the assignment + */ + public function getAssignment() + { + return $this->assignment; + + } + + /** + * The method to set the value to assignment + * @param bool $assignment A bool + */ + public function setAssignment(bool $assignment) + { + $this->assignment=$assignment; + $this->keyModified['assignment'] = 1; + + } + + /** + * The method to get the criteria + * @return bool A bool representing the criteria + */ + public function getCriteria() + { + return $this->criteria; + + } + + /** + * The method to set the value to criteria + * @param bool $criteria A bool + */ + public function setCriteria(bool $criteria) + { + $this->criteria=$criteria; + $this->keyModified['criteria'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usersterritories/Info.php b/versions/5.0.0/src/com/zoho/crm/api/usersterritories/Info.php new file mode 100644 index 0000000..81eb3da --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usersterritories/Info.php @@ -0,0 +1,125 @@ +count; + + } + + /** + * The method to set the value to count + * @param int $count A int + */ + public function setCount(int $count) + { + $this->count=$count; + $this->keyModified['count'] = 1; + + } + + /** + * The method to get the page + * @return int A int representing the page + */ + public function getPage() + { + return $this->page; + + } + + /** + * The method to set the value to page + * @param int $page A int + */ + public function setPage(int $page) + { + $this->page=$page; + $this->keyModified['page'] = 1; + + } + + /** + * The method to get the perPage + * @return int A int representing the perPage + */ + public function getPerPage() + { + return $this->perPage; + + } + + /** + * The method to set the value to perPage + * @param int $perPage A int + */ + public function setPerPage(int $perPage) + { + $this->perPage=$perPage; + $this->keyModified['per_page'] = 1; + + } + + /** + * The method to get the moreRecords + * @return bool A bool representing the moreRecords + */ + public function getMoreRecords() + { + return $this->moreRecords; + + } + + /** + * The method to set the value to moreRecords + * @param bool $moreRecords A bool + */ + public function setMoreRecords(bool $moreRecords) + { + $this->moreRecords=$moreRecords; + $this->keyModified['more_records'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usersterritories/Manager.php b/versions/5.0.0/src/com/zoho/crm/api/usersterritories/Manager.php new file mode 100644 index 0000000..5c8b7e3 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usersterritories/Manager.php @@ -0,0 +1,81 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['Name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usersterritories/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/usersterritories/ResponseHandler.php new file mode 100644 index 0000000..bfce38f --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usersterritories/ResponseHandler.php @@ -0,0 +1,7 @@ +territories; + + } + + /** + * The method to set the value to territories + * @param array $territories A array + */ + public function setTerritories(array $territories) + { + $this->territories=$territories; + $this->keyModified['territories'] = 1; + + } + + /** + * The method to get the info + * @return Info An instance of Info + */ + public function getInfo() + { + return $this->info; + + } + + /** + * The method to set the value to info + * @param Info $info An instance of Info + */ + public function setInfo(Info $info) + { + $this->info=$info; + $this->keyModified['info'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usersterritories/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/usersterritories/SuccessResponse.php new file mode 100644 index 0000000..f1161ba --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usersterritories/SuccessResponse.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usersterritories/Territory.php b/versions/5.0.0/src/com/zoho/crm/api/usersterritories/Territory.php new file mode 100644 index 0000000..9e9afbf --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usersterritories/Territory.php @@ -0,0 +1,125 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the manager + * @return Manager An instance of Manager + */ + public function getManager() + { + return $this->manager; + + } + + /** + * The method to set the value to manager + * @param Manager $manager An instance of Manager + */ + public function setManager(Manager $manager) + { + $this->manager=$manager; + $this->keyModified['Manager'] = 1; + + } + + /** + * The method to get the reportingTo + * @return Manager An instance of Manager + */ + public function getReportingTo() + { + return $this->reportingTo; + + } + + /** + * The method to set the value to reportingTo + * @param Manager $reportingTo An instance of Manager + */ + public function setReportingTo(Manager $reportingTo) + { + $this->reportingTo=$reportingTo; + $this->keyModified['Reporting_To'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['Name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usersterritories/TransferActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/usersterritories/TransferActionHandler.php new file mode 100644 index 0000000..fc9e18f --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usersterritories/TransferActionHandler.php @@ -0,0 +1,7 @@ +transferAndDelink; + + } + + /** + * The method to set the value to transferAndDelink + * @param array $transferAndDelink A array + */ + public function setTransferAndDelink(array $transferAndDelink) + { + $this->transferAndDelink=$transferAndDelink; + $this->keyModified['transfer_and_delink'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usersterritories/TransferAndDelink.php b/versions/5.0.0/src/com/zoho/crm/api/usersterritories/TransferAndDelink.php new file mode 100644 index 0000000..7fb7470 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usersterritories/TransferAndDelink.php @@ -0,0 +1,81 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the transferToUser + * @return TransferToUser An instance of TransferToUser + */ + public function getTransferToUser() + { + return $this->transferToUser; + + } + + /** + * The method to set the value to transferToUser + * @param TransferToUser $transferToUser An instance of TransferToUser + */ + public function setTransferToUser(TransferToUser $transferToUser) + { + $this->transferToUser=$transferToUser; + $this->keyModified['transfer_to_user'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usersterritories/TransferToUser.php b/versions/5.0.0/src/com/zoho/crm/api/usersterritories/TransferToUser.php new file mode 100644 index 0000000..665785d --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usersterritories/TransferToUser.php @@ -0,0 +1,59 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usersterritories/TransferWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/usersterritories/TransferWrapper.php new file mode 100644 index 0000000..ea4e11b --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usersterritories/TransferWrapper.php @@ -0,0 +1,59 @@ +transferAndDelink; + + } + + /** + * The method to set the value to transferAndDelink + * @param array $transferAndDelink A array + */ + public function setTransferAndDelink(array $transferAndDelink) + { + $this->transferAndDelink=$transferAndDelink; + $this->keyModified['transfer_and_delink'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usersterritories/UsersTerritoriesOperations.php b/versions/5.0.0/src/com/zoho/crm/api/usersterritories/UsersTerritoriesOperations.php new file mode 100644 index 0000000..c6fa624 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usersterritories/UsersTerritoriesOperations.php @@ -0,0 +1,167 @@ +user=$user; + + } + + /** + * The method to get territories of user + * @return APIResponse An instance of APIResponse + */ + public function getTerritoriesOfUser() + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/users/'); + $apiPath=$apiPath.(strval($this->user)); + $apiPath=$apiPath.('/territories'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to associate territories to user + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function associateTerritoriesToUser(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/users/'); + $apiPath=$apiPath.(strval($this->user)); + $apiPath=$apiPath.('/territories'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get territory of user + * @param string $territory A string + * @return APIResponse An instance of APIResponse + */ + public function getTerritoryOfUser(string $territory) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/users/'); + $apiPath=$apiPath.(strval($this->user)); + $apiPath=$apiPath.('/territories/'); + $apiPath=$apiPath.(strval($territory)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to validate before transfer for all territories + * @return APIResponse An instance of APIResponse + */ + public function validateBeforeTransferForAllTerritories() + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/users/'); + $apiPath=$apiPath.(strval($this->user)); + $apiPath=$apiPath.('/territories/actions/validate_before_transfer'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_ACTION); + return $handlerInstance->apiCall(ValidationHandler::class, 'application/json'); + + } + + /** + * The method to validate before transfer + * @param string $territory A string + * @return APIResponse An instance of APIResponse + */ + public function validateBeforeTransfer(string $territory) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/users/'); + $apiPath=$apiPath.(strval($this->user)); + $apiPath=$apiPath.('/territories/'); + $apiPath=$apiPath.(strval($territory)); + $apiPath=$apiPath.('/actions/validate_before_transfer'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_ACTION); + return $handlerInstance->apiCall(ValidationHandler::class, 'application/json'); + + } + + /** + * The method to delink and transfer from all territories + * @param TransferWrapper $request An instance of TransferWrapper + * @return APIResponse An instance of APIResponse + */ + public function delinkAndTransferFromAllTerritories(TransferWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/users/'); + $apiPath=$apiPath.(strval($this->user)); + $apiPath=$apiPath.('/territories/actions/transfer_and_delink'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_ACTION); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + return $handlerInstance->apiCall(TransferActionHandler::class, 'application/json'); + + } + + /** + * The method to delink and transfer from specific territory + * @param string $territory A string + * @param TransferWrapper $request An instance of TransferWrapper + * @return APIResponse An instance of APIResponse + */ + public function delinkAndTransferFromSpecificTerritory(string $territory, TransferWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/users/'); + $apiPath=$apiPath.(strval($this->user)); + $apiPath=$apiPath.('/territories/'); + $apiPath=$apiPath.(strval($territory)); + $apiPath=$apiPath.('/actions/transfer_and_delink'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_ACTION); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + return $handlerInstance->apiCall(TransferActionHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usersterritories/Validation.php b/versions/5.0.0/src/com/zoho/crm/api/usersterritories/Validation.php new file mode 100644 index 0000000..540eecd --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usersterritories/Validation.php @@ -0,0 +1,103 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['Name'] = 1; + + } + + /** + * The method to get the records + * @return bool A bool representing the records + */ + public function getRecords() + { + return $this->records; + + } + + /** + * The method to set the value to records + * @param bool $records A bool + */ + public function setRecords(bool $records) + { + $this->records=$records; + $this->keyModified['records'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usersterritories/ValidationGroup.php b/versions/5.0.0/src/com/zoho/crm/api/usersterritories/ValidationGroup.php new file mode 100644 index 0000000..92ab2f3 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usersterritories/ValidationGroup.php @@ -0,0 +1,7 @@ +validateBeforeTransfer; + + } + + /** + * The method to set the value to validateBeforeTransfer + * @param array $validateBeforeTransfer A array + */ + public function setValidateBeforeTransfer(array $validateBeforeTransfer) + { + $this->validateBeforeTransfer=$validateBeforeTransfer; + $this->keyModified['validate_before_transfer'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/userstransferdelete/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/userstransferdelete/APIException.php new file mode 100644 index 0000000..0ebe10e --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/userstransferdelete/APIException.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/userstransferdelete/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/userstransferdelete/ActionHandler.php new file mode 100644 index 0000000..83e1f40 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/userstransferdelete/ActionHandler.php @@ -0,0 +1,7 @@ +transferAndDelete; + + } + + /** + * The method to set the value to transferAndDelete + * @param array $transferAndDelete A array + */ + public function setTransferAndDelete(array $transferAndDelete) + { + $this->transferAndDelete=$transferAndDelete; + $this->keyModified['transfer_and_delete'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/userstransferdelete/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/userstransferdelete/BodyWrapper.php new file mode 100644 index 0000000..4f69f98 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/userstransferdelete/BodyWrapper.php @@ -0,0 +1,59 @@ +transferAndDelete; + + } + + /** + * The method to set the value to transferAndDelete + * @param array $transferAndDelete A array + */ + public function setTransferAndDelete(array $transferAndDelete) + { + $this->transferAndDelete=$transferAndDelete; + $this->keyModified['transfer_and_delete'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/userstransferdelete/GetStatusParam.php b/versions/5.0.0/src/com/zoho/crm/api/userstransferdelete/GetStatusParam.php new file mode 100644 index 0000000..cd55137 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/userstransferdelete/GetStatusParam.php @@ -0,0 +1,14 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/userstransferdelete/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/userstransferdelete/ResponseHandler.php new file mode 100644 index 0000000..e2d0cc3 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/userstransferdelete/ResponseHandler.php @@ -0,0 +1,7 @@ +transferAndDelete; + + } + + /** + * The method to set the value to transferAndDelete + * @param array $transferAndDelete A array + */ + public function setTransferAndDelete(array $transferAndDelete) + { + $this->transferAndDelete=$transferAndDelete; + $this->keyModified['transfer_and_delete'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/userstransferdelete/Status.php b/versions/5.0.0/src/com/zoho/crm/api/userstransferdelete/Status.php new file mode 100644 index 0000000..3c4b32b --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/userstransferdelete/Status.php @@ -0,0 +1,59 @@ +status; + + } + + /** + * The method to set the value to status + * @param string $status A string + */ + public function setStatus(string $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/userstransferdelete/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/userstransferdelete/SuccessResponse.php new file mode 100644 index 0000000..fc6e263 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/userstransferdelete/SuccessResponse.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/userstransferdelete/Transfer.php b/versions/5.0.0/src/com/zoho/crm/api/userstransferdelete/Transfer.php new file mode 100644 index 0000000..175eab6 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/userstransferdelete/Transfer.php @@ -0,0 +1,125 @@ +records; + + } + + /** + * The method to set the value to records + * @param bool $records A bool + */ + public function setRecords(bool $records) + { + $this->records=$records; + $this->keyModified['records'] = 1; + + } + + /** + * The method to get the assignment + * @return bool A bool representing the assignment + */ + public function getAssignment() + { + return $this->assignment; + + } + + /** + * The method to set the value to assignment + * @param bool $assignment A bool + */ + public function setAssignment(bool $assignment) + { + $this->assignment=$assignment; + $this->keyModified['assignment'] = 1; + + } + + /** + * The method to get the criteria + * @return bool A bool representing the criteria + */ + public function getCriteria() + { + return $this->criteria; + + } + + /** + * The method to set the value to criteria + * @param bool $criteria A bool + */ + public function setCriteria(bool $criteria) + { + $this->criteria=$criteria; + $this->keyModified['criteria'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/userstransferdelete/TransferAndDelete.php b/versions/5.0.0/src/com/zoho/crm/api/userstransferdelete/TransferAndDelete.php new file mode 100644 index 0000000..5d9887c --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/userstransferdelete/TransferAndDelete.php @@ -0,0 +1,103 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the transfer + * @return Transfer An instance of Transfer + */ + public function getTransfer() + { + return $this->transfer; + + } + + /** + * The method to set the value to transfer + * @param Transfer $transfer An instance of Transfer + */ + public function setTransfer(Transfer $transfer) + { + $this->transfer=$transfer; + $this->keyModified['transfer'] = 1; + + } + + /** + * The method to get the moveSubordinate + * @return MoveSubordinate An instance of MoveSubordinate + */ + public function getMoveSubordinate() + { + return $this->moveSubordinate; + + } + + /** + * The method to set the value to moveSubordinate + * @param MoveSubordinate $moveSubordinate An instance of MoveSubordinate + */ + public function setMoveSubordinate(MoveSubordinate $moveSubordinate) + { + $this->moveSubordinate=$moveSubordinate; + $this->keyModified['move_subordinate'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/userstransferdelete/TransferAndDeleteByID.php b/versions/5.0.0/src/com/zoho/crm/api/userstransferdelete/TransferAndDeleteByID.php new file mode 100644 index 0000000..d0dc5a1 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/userstransferdelete/TransferAndDeleteByID.php @@ -0,0 +1,81 @@ +transfer; + + } + + /** + * The method to set the value to transfer + * @param Transfer $transfer An instance of Transfer + */ + public function setTransfer(Transfer $transfer) + { + $this->transfer=$transfer; + $this->keyModified['transfer'] = 1; + + } + + /** + * The method to get the moveSubordinate + * @return MoveSubordinate An instance of MoveSubordinate + */ + public function getMoveSubordinate() + { + return $this->moveSubordinate; + + } + + /** + * The method to set the value to moveSubordinate + * @param MoveSubordinate $moveSubordinate An instance of MoveSubordinate + */ + public function setMoveSubordinate(MoveSubordinate $moveSubordinate) + { + $this->moveSubordinate=$moveSubordinate; + $this->keyModified['move_subordinate'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/userstransferdelete/UsersTransferDeleteOperations.php b/versions/5.0.0/src/com/zoho/crm/api/userstransferdelete/UsersTransferDeleteOperations.php new file mode 100644 index 0000000..83c6685 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/userstransferdelete/UsersTransferDeleteOperations.php @@ -0,0 +1,74 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get status + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function getStatus(ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/users/actions/transfer_and_delete'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to user transfer and delete + * @param string $id A string + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function userTransferAndDelete(string $id, BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/users/'); + $apiPath=$apiPath.(strval($id)); + $apiPath=$apiPath.('/actions/transfer_and_delete'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usersunavailability/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/usersunavailability/APIException.php new file mode 100644 index 0000000..2f4081d --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usersunavailability/APIException.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usersunavailability/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/usersunavailability/ActionHandler.php new file mode 100644 index 0000000..4fbd413 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usersunavailability/ActionHandler.php @@ -0,0 +1,7 @@ +usersUnavailability; + + } + + /** + * The method to set the value to usersUnavailability + * @param array $usersUnavailability A array + */ + public function setUsersUnavailability(array $usersUnavailability) + { + $this->usersUnavailability=$usersUnavailability; + $this->keyModified['users_unavailability'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usersunavailability/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/usersunavailability/BodyWrapper.php new file mode 100644 index 0000000..cac1495 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usersunavailability/BodyWrapper.php @@ -0,0 +1,59 @@ +usersUnavailability; + + } + + /** + * The method to set the value to usersUnavailability + * @param array $usersUnavailability A array + */ + public function setUsersUnavailability(array $usersUnavailability) + { + $this->usersUnavailability=$usersUnavailability; + $this->keyModified['users_unavailability'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usersunavailability/GetUserUnavailabilityParam.php b/versions/5.0.0/src/com/zoho/crm/api/usersunavailability/GetUserUnavailabilityParam.php new file mode 100644 index 0000000..3c36a96 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usersunavailability/GetUserUnavailabilityParam.php @@ -0,0 +1,19 @@ +perPage; + + } + + /** + * The method to set the value to perPage + * @param int $perPage A int + */ + public function setPerPage(int $perPage) + { + $this->perPage=$perPage; + $this->keyModified['per_page'] = 1; + + } + + /** + * The method to get the count + * @return int A int representing the count + */ + public function getCount() + { + return $this->count; + + } + + /** + * The method to set the value to count + * @param int $count A int + */ + public function setCount(int $count) + { + $this->count=$count; + $this->keyModified['count'] = 1; + + } + + /** + * The method to get the page + * @return int A int representing the page + */ + public function getPage() + { + return $this->page; + + } + + /** + * The method to set the value to page + * @param int $page A int + */ + public function setPage(int $page) + { + $this->page=$page; + $this->keyModified['page'] = 1; + + } + + /** + * The method to get the moreRecords + * @return bool A bool representing the moreRecords + */ + public function getMoreRecords() + { + return $this->moreRecords; + + } + + /** + * The method to set the value to moreRecords + * @param bool $moreRecords A bool + */ + public function setMoreRecords(bool $moreRecords) + { + $this->moreRecords=$moreRecords; + $this->keyModified['more_records'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usersunavailability/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/usersunavailability/ResponseHandler.php new file mode 100644 index 0000000..7e98925 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usersunavailability/ResponseHandler.php @@ -0,0 +1,7 @@ +usersUnavailability; + + } + + /** + * The method to set the value to usersUnavailability + * @param array $usersUnavailability A array + */ + public function setUsersUnavailability(array $usersUnavailability) + { + $this->usersUnavailability=$usersUnavailability; + $this->keyModified['users_unavailability'] = 1; + + } + + /** + * The method to get the info + * @return Info An instance of Info + */ + public function getInfo() + { + return $this->info; + + } + + /** + * The method to set the value to info + * @param Info $info An instance of Info + */ + public function setInfo(Info $info) + { + $this->info=$info; + $this->keyModified['info'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usersunavailability/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/usersunavailability/SuccessResponse.php new file mode 100644 index 0000000..fe173ee --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usersunavailability/SuccessResponse.php @@ -0,0 +1,126 @@ +status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the code + * @return Choice An instance of Choice + */ + public function getCode() + { + return $this->code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usersunavailability/User.php b/versions/5.0.0/src/com/zoho/crm/api/usersunavailability/User.php new file mode 100644 index 0000000..8f38c75 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usersunavailability/User.php @@ -0,0 +1,103 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the zuid + * @return string A string representing the zuid + */ + public function getZuid() + { + return $this->zuid; + + } + + /** + * The method to set the value to zuid + * @param string $zuid A string + */ + public function setZuid(string $zuid) + { + $this->zuid=$zuid; + $this->keyModified['zuid'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usersunavailability/UsersUnavailability.php b/versions/5.0.0/src/com/zoho/crm/api/usersunavailability/UsersUnavailability.php new file mode 100644 index 0000000..45732fb --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usersunavailability/UsersUnavailability.php @@ -0,0 +1,257 @@ +service; + + } + + /** + * The method to set the value to service + * @param string $service A string + */ + public function setService(string $service) + { + $this->service=$service; + $this->keyModified['service'] = 1; + + } + + /** + * The method to get the title + * @return string A string representing the title + */ + public function getTitle() + { + return $this->title; + + } + + /** + * The method to set the value to title + * @param string $title A string + */ + public function setTitle(string $title) + { + $this->title=$title; + $this->keyModified['title'] = 1; + + } + + /** + * The method to get the allDay + * @return bool A bool representing the allDay + */ + public function getAllDay() + { + return $this->allDay; + + } + + /** + * The method to set the value to allDay + * @param bool $allDay A bool + */ + public function setAllDay(bool $allDay) + { + $this->allDay=$allDay; + $this->keyModified['all_day'] = 1; + + } + + /** + * The method to get the tpCalendarId + * @return string A string representing the tpCalendarId + */ + public function getTpCalendarId() + { + return $this->tpCalendarId; + + } + + /** + * The method to set the value to tpCalendarId + * @param string $tpCalendarId A string + */ + public function setTpCalendarId(string $tpCalendarId) + { + $this->tpCalendarId=$tpCalendarId; + $this->keyModified['tp_calendar_id'] = 1; + + } + + /** + * The method to get the tpEventId + * @return string A string representing the tpEventId + */ + public function getTpEventId() + { + return $this->tpEventId; + + } + + /** + * The method to set the value to tpEventId + * @param string $tpEventId A string + */ + public function setTpEventId(string $tpEventId) + { + $this->tpEventId=$tpEventId; + $this->keyModified['tp_event_id'] = 1; + + } + + /** + * The method to get the comments + * @return string A string representing the comments + */ + public function getComments() + { + return $this->comments; + + } + + /** + * The method to set the value to comments + * @param string $comments A string + */ + public function setComments(string $comments) + { + $this->comments=$comments; + $this->keyModified['comments'] = 1; + + } + + /** + * The method to get the from + * @return \DateTime An instance of \DateTime + */ + public function getFrom() + { + return $this->from; + + } + + /** + * The method to set the value to from + * @param \DateTime $from An instance of \DateTime + */ + public function setFrom(\DateTime $from) + { + $this->from=$from; + $this->keyModified['from'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the to + * @return \DateTime An instance of \DateTime + */ + public function getTo() + { + return $this->to; + + } + + /** + * The method to set the value to to + * @param \DateTime $to An instance of \DateTime + */ + public function setTo(\DateTime $to) + { + $this->to=$to; + $this->keyModified['to'] = 1; + + } + + /** + * The method to get the user + * @return User An instance of User + */ + public function getUser() + { + return $this->user; + + } + + /** + * The method to set the value to user + * @param User $user An instance of User + */ + public function setUser(User $user) + { + $this->user=$user; + $this->keyModified['user'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usersunavailability/UsersUnavailabilityOperations.php b/versions/5.0.0/src/com/zoho/crm/api/usersunavailability/UsersUnavailabilityOperations.php new file mode 100644 index 0000000..6ab632d --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usersunavailability/UsersUnavailabilityOperations.php @@ -0,0 +1,130 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to update users unavailability + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updateUsersUnavailability(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/users_unavailability'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get users unavailability + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function getUsersUnavailability(ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/users_unavailability'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to update user unavailability + * @param string $id A string + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updateUserUnavailability(string $id, BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/users_unavailability/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get user unavailability + * @param string $id A string + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function getUserUnavailability(string $id, ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/users_unavailability/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to delete user unavailability + * @param string $id A string + * @return APIResponse An instance of APIResponse + */ + public function deleteUserUnavailability(string $id) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/users_unavailability/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usertypeusers/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/usertypeusers/APIException.php new file mode 100644 index 0000000..90bbcd5 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usertypeusers/APIException.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usertypeusers/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/usertypeusers/ActionHandler.php new file mode 100644 index 0000000..19c0529 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usertypeusers/ActionHandler.php @@ -0,0 +1,7 @@ +users; + + } + + /** + * The method to set the value to users + * @param array $users A array + */ + public function setUsers(array $users) + { + $this->users=$users; + $this->keyModified['users'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usertypeusers/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/usertypeusers/BodyWrapper.php new file mode 100644 index 0000000..92da35e --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usertypeusers/BodyWrapper.php @@ -0,0 +1,59 @@ +users; + + } + + /** + * The method to set the value to users + * @param array $users A array + */ + public function setUsers(array $users) + { + $this->users=$users; + $this->keyModified['users'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usertypeusers/ChangeUsersStatusParam.php b/versions/5.0.0/src/com/zoho/crm/api/usertypeusers/ChangeUsersStatusParam.php new file mode 100644 index 0000000..77efc36 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usertypeusers/ChangeUsersStatusParam.php @@ -0,0 +1,14 @@ +perPage; + + } + + /** + * The method to set the value to perPage + * @param int $perPage A int + */ + public function setPerPage(int $perPage) + { + $this->perPage=$perPage; + $this->keyModified['per_page'] = 1; + + } + + /** + * The method to get the totalCount + * @return int A int representing the totalCount + */ + public function getTotalCount() + { + return $this->totalCount; + + } + + /** + * The method to set the value to totalCount + * @param int $totalCount A int + */ + public function setTotalCount(int $totalCount) + { + $this->totalCount=$totalCount; + $this->keyModified['total_count'] = 1; + + } + + /** + * The method to get the count + * @return int A int representing the count + */ + public function getCount() + { + return $this->count; + + } + + /** + * The method to set the value to count + * @param int $count A int + */ + public function setCount(int $count) + { + $this->count=$count; + $this->keyModified['count'] = 1; + + } + + /** + * The method to get the page + * @return int A int representing the page + */ + public function getPage() + { + return $this->page; + + } + + /** + * The method to set the value to page + * @param int $page A int + */ + public function setPage(int $page) + { + $this->page=$page; + $this->keyModified['page'] = 1; + + } + + /** + * The method to get the moreRecords + * @return bool A bool representing the moreRecords + */ + public function getMoreRecords() + { + return $this->moreRecords; + + } + + /** + * The method to set the value to moreRecords + * @param bool $moreRecords A bool + */ + public function setMoreRecords(bool $moreRecords) + { + $this->moreRecords=$moreRecords; + $this->keyModified['more_records'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usertypeusers/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/usertypeusers/ResponseHandler.php new file mode 100644 index 0000000..09d72af --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usertypeusers/ResponseHandler.php @@ -0,0 +1,7 @@ +users; + + } + + /** + * The method to set the value to users + * @param array $users A array + */ + public function setUsers(array $users) + { + $this->users=$users; + $this->keyModified['users'] = 1; + + } + + /** + * The method to get the info + * @return Info An instance of Info + */ + public function getInfo() + { + return $this->info; + + } + + /** + * The method to set the value to info + * @param Info $info An instance of Info + */ + public function setInfo(Info $info) + { + $this->info=$info; + $this->keyModified['info'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usertypeusers/StatusActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/usertypeusers/StatusActionHandler.php new file mode 100644 index 0000000..bbe5498 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usertypeusers/StatusActionHandler.php @@ -0,0 +1,7 @@ +changeStatus; + + } + + /** + * The method to set the value to changeStatus + * @param array $changeStatus A array + */ + public function setChangeStatus(array $changeStatus) + { + $this->changeStatus=$changeStatus; + $this->keyModified['change_status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usertypeusers/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/usertypeusers/SuccessResponse.php new file mode 100644 index 0000000..836d114 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usertypeusers/SuccessResponse.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usertypeusers/TransferUsersOfAUserTypeParam.php b/versions/5.0.0/src/com/zoho/crm/api/usertypeusers/TransferUsersOfAUserTypeParam.php new file mode 100644 index 0000000..3d36d0b --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usertypeusers/TransferUsersOfAUserTypeParam.php @@ -0,0 +1,19 @@ +userTypeId=$userTypeId; + $this->portalName=$portalName; + + } + + /** + * The method to get users of user type + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function getUsersOfUserType(ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/portals/'); + $apiPath=$apiPath.(strval($this->portalName)); + $apiPath=$apiPath.('/user_type/'); + $apiPath=$apiPath.(strval($this->userTypeId)); + $apiPath=$apiPath.('/users'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to delete user from the portal + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function deleteUserFromThePortal(ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/portals/'); + $apiPath=$apiPath.(strval($this->portalName)); + $apiPath=$apiPath.('/user_type/'); + $apiPath=$apiPath.(strval($this->userTypeId)); + $apiPath=$apiPath.('/users'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setCategoryMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to transfer users of a user type + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function transferUsersOfAUserType(ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/portals/'); + $apiPath=$apiPath.(strval($this->portalName)); + $apiPath=$apiPath.('/user_type/'); + $apiPath=$apiPath.(strval($this->userTypeId)); + $apiPath=$apiPath.('/users/action/transfer'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setMandatoryChecker(true); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to change users status + * @param string $userId A string + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function changeUsersStatus(string $userId, ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/portals/'); + $apiPath=$apiPath.(strval($this->portalName)); + $apiPath=$apiPath.('/user_type/'); + $apiPath=$apiPath.(strval($this->userTypeId)); + $apiPath=$apiPath.('/users/'); + $apiPath=$apiPath.(strval($userId)); + $apiPath=$apiPath.('/actions/change_status'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setMandatoryChecker(true); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(StatusActionHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/usertypeusers/Users.php b/versions/5.0.0/src/com/zoho/crm/api/usertypeusers/Users.php new file mode 100644 index 0000000..5c37735 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/usertypeusers/Users.php @@ -0,0 +1,213 @@ +personalityId; + + } + + /** + * The method to set the value to personalityId + * @param string $personalityId A string + */ + public function setPersonalityId(string $personalityId) + { + $this->personalityId=$personalityId; + $this->keyModified['personality_id'] = 1; + + } + + /** + * The method to get the confirm + * @return bool A bool representing the confirm + */ + public function getConfirm() + { + return $this->confirm; + + } + + /** + * The method to set the value to confirm + * @param bool $confirm A bool + */ + public function setConfirm(bool $confirm) + { + $this->confirm=$confirm; + $this->keyModified['confirm'] = 1; + + } + + /** + * The method to get the statusReasonS + * @return string A string representing the statusReasonS + */ + public function getStatusReasonS() + { + return $this->statusReasonS; + + } + + /** + * The method to set the value to statusReasonS + * @param string $statusReasonS A string + */ + public function setStatusReasonS(string $statusReasonS) + { + $this->statusReasonS=$statusReasonS; + $this->keyModified['status_reason__s'] = 1; + + } + + /** + * The method to get the invitedTime + * @return \DateTime An instance of \DateTime + */ + public function getInvitedTime() + { + return $this->invitedTime; + + } + + /** + * The method to set the value to invitedTime + * @param \DateTime $invitedTime An instance of \DateTime + */ + public function setInvitedTime(\DateTime $invitedTime) + { + $this->invitedTime=$invitedTime; + $this->keyModified['invited_time'] = 1; + + } + + /** + * The method to get the module + * @return string A string representing the module + */ + public function getModule() + { + return $this->module; + + } + + /** + * The method to set the value to module + * @param string $module A string + */ + public function setModule(string $module) + { + $this->module=$module; + $this->keyModified['module'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the active + * @return bool A bool representing the active + */ + public function getActive() + { + return $this->active; + + } + + /** + * The method to set the value to active + * @param bool $active A bool + */ + public function setActive(bool $active) + { + $this->active=$active; + $this->keyModified['active'] = 1; + + } + + /** + * The method to get the email + * @return string A string representing the email + */ + public function getEmail() + { + return $this->email; + + } + + /** + * The method to set the value to email + * @param string $email A string + */ + public function setEmail(string $email) + { + $this->email=$email; + $this->keyModified['email'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/util/APIHTTPConnector.php b/versions/5.0.0/src/com/zoho/crm/api/util/APIHTTPConnector.php new file mode 100755 index 0000000..e083664 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/util/APIHTTPConnector.php @@ -0,0 +1,282 @@ +contentType; + } + + /** + * This is a setter method to set the ContentType. + * @param string $contentType A String containing the ContentType. + */ + public function setContentType($contentType) + { + $this->contentType = $contentType; + } + + /** + * This is a setter method to set the API URL. + * @param string $url A string containing the API Request URL. + */ + public function setURL($url) + { + $this->url = $url; + } + + /** + * This is a setter method to set the API request method. + * @param string $httpMethod A string containing the API request method. + */ + public function setRequestMethod($httpMethod) + { + $this->requestMethod = $httpMethod; + } + + /** + * This is a getter method to get API request headers. + * @return array A array representing the API request headers. + */ + public function getHeaders() + { + return $this->headers; + } + + /** + * This is a setter method to set API request headers. + * @param array $headers A array containing the API request headers. + */ + public function setHeaders($headers) + { + $this->headers = $headers; + } + + /** + * This method to add API request header name and value. + * @param string $headerName A string containing the API request header name. + * @param string $headerValue A string containing the API request header value. + */ + public function addHeader($headerName, $headerValue) + { + $this->headers[$headerName] = $headerValue; + } + + /** + * This is a getter method to get API request parameters. + * @return array A array representing the API request parameters. + */ + public function getParams() + { + return $this->parameters; + } + + /** + * This is a setter method to set API request parameters. + * @param array $params A array containing the API request parameters. + */ + public function setParams($params) + { + $this->parameters = $params; + } + + /** + * This method to add API request param name and value. + * @param string $paramName A string containing the API request param name. + * @param string $paramValue A string containing the API request param value. + */ + public function addParam($paramName, $paramValue) + { + $this->parameters[$paramName] = $paramValue; + } + + /** + * This is a setter method to set the API request body. + * @param object $requestBody A Object containing the API request body. + */ + public function setRequestBody($requestBody) + { + $this->requestBody = $requestBody; + } + + /** + * This method makes a Zoho CRM Rest API requests + * @param Converter $converterInstance A Converter class instance to call appendToRequest method. + * @return array| null A array representing the API response. + */ + public function fireRequest($converterInstance) + { + $curl_pointer = curl_init(); + $curl_options = array(); + if (is_array($this->getParams()) && count($this->getParams()) > 0) + { + $this->setQueryParams(); + } + $curl_options[CURLOPT_URL] = $this->url; + $curl_options[CURLOPT_RETURNTRANSFER] = true; + $curl_options[CURLOPT_TIMEOUT] = Initializer::getInitializer()->getSDKConfig()->timeout(); + $curl_options[CURLOPT_CONNECTTIMEOUT] = Initializer::getInitializer()->getSDKConfig()->connectionTimeout(); + $curl_options[CURLOPT_HEADER] = 1; + $requestProxy = Initializer::getInitializer()->getRequestProxy(); + if ($requestProxy!=null) + { + $proxyHost = $requestProxy->getHost(); + $proxyPort = strval($requestProxy->getPort()); + $proxyUser = $requestProxy->getUser(); + $proxyPassword = $requestProxy->getPassword(); + $curl_options[CURLOPT_PROXY] = $proxyHost; + $curl_options[CURLOPT_PROXYPORT] = $proxyPort; + $userPass = ""; + if ($proxyUser!=null) + { + $userPass = $proxyUser; + if($proxyPassword!=null) + { + $userPass = $userPass.(":").($proxyPassword); + } + $curl_options[CURLOPT_PROXYUSERPWD] = $userPass; + } + SDKLogger::info($this->proxyLog($requestProxy)); + } + $this->getRequestObject($curl_options); + if ($this->requestBody != null) + { + $converterInstance->appendToRequest($curl_options, $this->requestBody); + } + $this->setQueryHeaders($curl_options); + if(!Initializer::getInitializer()->getSDKConfig()->isSSLVerificationEnabled()) + { + $curl_options[CURLOPT_SSL_VERIFYPEER] = false; + } + curl_setopt_array($curl_pointer, $curl_options); + SDKLogger::info($this->toString()); + $response = array(); + $response[Constants::RESPONSE] = curl_exec($curl_pointer); + if (curl_errno($curl_pointer)) + { + $response[Constants::ERROR] = curl_error($curl_pointer); + } + $response[Constants::HTTP_CODE] = curl_getinfo($curl_pointer)[Constants::HTTP_CODE]; + $header_size = curl_getinfo($curl_pointer, CURLINFO_HEADER_SIZE); + $responseHeaders = substr($response[Constants::RESPONSE], 0, $header_size); + curl_close($curl_pointer); + $responseHeaders = explode("\r\n", $responseHeaders); + $responseHeaders = array_filter($responseHeaders); + $headersArray = array(); + foreach($responseHeaders as $key => $value) + { + array_push($headersArray, preg_split('/:\s{1,}/', $value, 2)); + } + $tmp = []; + foreach($headersArray as $h) + { + $tmp[strtolower($h[0])] = isset($h[1]) ? $h[1] : $h[0]; + } + $headersArray = $tmp; $tmp = null; + $response[Constants::HEADERS] = $headersArray; + return $response; + } + + private function getRequestObject(&$curl_options) + { + switch ($this->requestMethod) + { + case Constants::REQUEST_METHOD_GET: + $curl_options[CURLOPT_CUSTOMREQUEST] = Constants::REQUEST_METHOD_GET; + break; + case Constants::REQUEST_METHOD_DELETE: + $curl_options[CURLOPT_CUSTOMREQUEST] = Constants::REQUEST_METHOD_DELETE; + break; + case Constants::REQUEST_METHOD_POST: + $curl_options[CURLOPT_CUSTOMREQUEST] = Constants::REQUEST_METHOD_POST; + $curl_options[CURLOPT_POST] = true; + break; + case Constants::REQUEST_METHOD_PUT: + $curl_options[CURLOPT_CUSTOMREQUEST] = Constants::REQUEST_METHOD_PUT; + break; + case Constants::REQUEST_METHOD_PATCH: + $curl_options[CURLOPT_CUSTOMREQUEST] = Constants::REQUEST_METHOD_PATCH; + break; + default: + break; + } + } + + private function setQueryHeaders(&$request) + { + $headersArray = array(); + if (array_key_exists(CURLOPT_HTTPHEADER, $request)) + { + $headersArray = $request[CURLOPT_HTTPHEADER]; + } + $isSet = true; + foreach ($headersArray as $key => $value) + { + if(strpos($value, Constants::CONTENT_TYPE_1) == 0 && strpos($value, Constants::CONTENT_TYPE_2) == true) + { + $isSet = false; + } + } + if($isSet && $this->contentType != null) + { + $this->headers[Constants::CONTENT_TYPE_1] = $this->contentType; + } + $headersMap = $this->headers; + if ($headersMap != null) + { + foreach ($headersMap as $key => $value) + { + $headersArray[] = $key . ":" . $value; + } + } + $request[CURLOPT_HTTPHEADER] = $headersArray; + } + + private function setQueryParams() + { + $paramsAsString = ""; + foreach ($this->parameters as $key => $value) + { + $paramsAsString = $paramsAsString . $key . "=" . urlencode($value) . "&"; + } + $paramsAsString = rtrim($paramsAsString, "&"); + $paramsAsString = str_replace(PHP_EOL, '', $paramsAsString); + $this->url = $this->url . "?" . $paramsAsString; + } + + public function toString() + { + $reqHeaders = $this->headers; + $reqHeaders[Constants::AUTHORIZATION] = Constants::CANT_DISCLOSE; + return $this->requestMethod . " - " . Constants::URL . " = ". $this->url . " , " . Constants::HEADERS . " = ". json_encode($reqHeaders, JSON_UNESCAPED_UNICODE) . " , " . Constants::PARAMS . " = " . json_encode($this->parameters, JSON_UNESCAPED_UNICODE) . "." ; + } + + public function proxyLog($requestProxy) + { + $proxyDetails = Constants::PROXY_SETTINGS.Constants::PROXY_HOST.$requestProxy->getHost()." , ".Constants::PROXY_PORT.strval($requestProxy->getPort()); + if ($requestProxy->getUser() != null) + { + $proxyDetails = $proxyDetails . " , " . Constants::PROXY_USER . $requestProxy->getUser(); + } + return $proxyDetails; + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/util/APIResponse.php b/versions/5.0.0/src/com/zoho/crm/api/util/APIResponse.php new file mode 100755 index 0000000..fb29dfb --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/util/APIResponse.php @@ -0,0 +1,63 @@ +headers = $headers; + $this->statusCode = $statusCode; + $this->object = $object; + $this->isExpected = $expectedType; + } + + /** + * This is a getter method to get API response headers. + * @return array A array representing the API response headers. + */ + public function getHeaders() + { + return $this->headers; + } + + /** + * This is a getter method to get the API response HTTP status code. + * @return string A string representing the API response HTTP status code. + */ + public function getStatusCode() + { + return $this->statusCode; + } + + /** + * This method to get an API response POJO class instance. + * @return object A POJO class instance. + */ + public function getObject() + { + return $this->object; + } + + /** + * This is a getter method to get an API response instance that is the expected type or not. + * @return boolean representing the instance is expected type or not. + */ + public function isExpected() + { + return $this->isExpected; + } +} \ No newline at end of file diff --git a/versions/5.0.0/src/com/zoho/crm/api/util/Choice.php b/versions/5.0.0/src/com/zoho/crm/api/util/Choice.php new file mode 100755 index 0000000..56271bf --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/util/Choice.php @@ -0,0 +1,17 @@ +value = $value; + } + + public function getValue() + { + return $this->value; + } +} \ No newline at end of file diff --git a/versions/5.0.0/src/com/zoho/crm/api/util/CommonAPIHandler.php b/versions/5.0.0/src/com/zoho/crm/api/util/CommonAPIHandler.php new file mode 100755 index 0000000..0dcefbd --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/util/CommonAPIHandler.php @@ -0,0 +1,442 @@ +header = new HeaderMap(); + $this->param = new ParameterMap(); + } + + /** + * This is a setter method to set an API request content type. + * @param string $contentType A string containing the API request content type. + */ + public function setContentType($contentType) + { + $this->contentType = $contentType; + } + + /** + * This is a setter method to set the API request URL. + * @param string $apiPath A string containing the API request URL. + */ + public function setAPIPath($apiPath) + { + $this->apiPath = $apiPath; + } + + /** + * This method is to add an API request parameter. + * @param string $param A Param containing the API request parameter . + * @param object $paramValue A object containing the API request parameter value. + */ + public function addParam($paramInstane, $paramValue) + { + if ($paramValue === null) + { + return; + } + if ($this->param === null) + { + $this->param = new ParameterMap(); + } + $this->param->add($paramInstane, $paramValue); + } + + /** + * This method to add an API request header. + * @param string $header A Header containing the API request header . + * @param object $headerValue A object containing the API request header value. + */ + public function addHeader($headerInstane, $headerValue) + { + if ($headerValue === null) + { + return; + } + if ($this->header === null) + { + $this->header = new HeaderMap(); + } + $this->header->add($headerInstane, $headerValue); + } + + /** + * This is a setter method to set the API request parameter map. + * @param ParameterMap $param A ParameterMap class instance containing the API request parameter. + */ + public function setParam($param) + { + if ($param === null) + { + return; + } + if($this->param->getParameterMap() !== null && count($this->param->getParameterMap()) > 0) + { + $this->param->setParameterMap(array_merge($this->param->getParameterMap(), $param->getParameterMap())); + } + else + { + $this->param = $param; + } + } + + /** + * This is a getter method to get the Zoho CRM module API name. + * @return string A String representing the Zoho CRM module API name. + */ + public function getModuleAPIName() + { + return $this->moduleAPIName; + } + + /** + * This is a setter method to set the Zoho CRM module API name. + * @param string $moduleAPIName A string containing the Zoho CRM module API name. + */ + public function setModuleAPIName($moduleAPIName) + { + $this->moduleAPIName = $moduleAPIName; + } + + /** + * This is a setter method to set the API request header map. + * @param HeaderMap $header A HeaderMap class instance containing the API request header. + */ + public function setHeader($header) + { + if ($header === null) + { + return; + } + if($this->header->getHeaderMap() !== null && count($this->header->getHeaderMap()) > 0) + { + $this->header->setHeaderMap(array_merge($this->header->getHeaderMap(), $header->getHeaderMap())); + } + else + { + $this->header = $header; + } + } + + /** + * This is a setter method to set the API request body object. + * @param object $request A object containing the API request body object. + */ + public function setRequest($request) + { + $this->request = $request; + } + + /** + * This is a setter method to set the HTTP API request method. + * @param string $httpMethod A string containing the HTTP API request method. + */ + public function setHttpMethod($httpMethod) + { + $this->httpMethod = $httpMethod; + } + + /** + * This method is used in constructing API request and response details. To make the Zoho CRM API calls. + * @param string $className A string containing the method return type. + * @param string $encodeType A String containing the expected API response content type. + * @return \com\zoho\crm\api\util\APIResponse A APIResponse representing the Zoho CRM API response instance or null. + */ + public function apiCall($className, $encodeType) + { + if(Initializer::getInitializer() === null) + { + throw new SDKException(Constants::SDK_UNINITIALIZATION_ERROR,Constants::SDK_UNINITIALIZATION_MESSAGE); + } + $connector = new APIHTTPConnector(); + try + { + $this->setAPIUrl($connector); + } + catch(SDKException $e) + { + SDKLogger::severeError(Constants::SET_API_URL_EXCEPTION, $e); + throw $e; + } + catch (\Exception $e) + { + $exception = new SDKException(null, null, null, $e); + SDKLogger::severeError(Constants::SET_API_URL_EXCEPTION, $exception); + throw $exception; + } + $connector->setRequestMethod($this->httpMethod); + $connector->setContentType($this->contentType); + if ($this->header != null && count($this->header->getHeaderMap()) > 0) + { + $connector->setHeaders($this->header->getHeaderMap()); + } + if ($this->param != null && count($this->param->getParameterMap()) > 0) + { + $connector->setParams($this->param->getParameterMap()); + } + try + { + Initializer::getInitializer()->getToken()->authenticate($connector); + } + catch (SDKException $e) + { + SDKLogger::severeError(Constants::AUTHENTICATION_EXCEPTION, $e); + throw $e; + } + catch (\Exception $e) + { + $exception = new SDKException(null, null, null, $e); + SDKLogger::severeError(Constants::AUTHENTICATION_EXCEPTION, $exception); + throw $exception; + } + $convertInstance = null; + if ($this->contentType != null && in_array(strtoupper($this->httpMethod), Constants::IS_GENERATE_REQUEST_BODY)) + { + $requestObject = null; + try + { + $convertInstance = $this->getConverterClassInstance(strtolower($this->contentType)); + $requestObject = $convertInstance->formRequest($this->request, get_class($this->request), 0, null); + } + catch (SDKException $e) + { + SDKLogger::severeError(Constants::FORM_REQUEST_EXCEPTION, $e); + throw $e; + } + catch (\Exception $e) + { + $exception = new SDKException(null, null, null, $e); + SDKLogger::severeError(Constants::FORM_REQUEST_EXCEPTION, $exception); + throw $exception; + } + $connector->setRequestBody($requestObject); + } + try + { + $connector->addHeader(Constants::ZOHO_SDK, php_uname('s') . "/" . php_uname('r') . "/" . "php-6.0/" . phpversion() . ":" . Constants::SDK_VERSION); + $response = $connector->fireRequest($convertInstance); + $statusCode = $response[Constants::HTTP_CODE]; + $headerMap = $response[Constants::HEADERS]; + $isModel = false; + $returnObject = null; + if(array_key_exists(Constants::CONTENT_TYPE, $headerMap) && !array_key_exists(Constants::ERROR, $response)) + { + $responseContentType = $headerMap[Constants::CONTENT_TYPE]; + if (strpos($responseContentType, ';') != false) + { + $splitArray = explode(';', $responseContentType); + $responseContentType = $splitArray[0]; + } + $converterInstance = $this->getConverterClassInstance(strtolower($responseContentType)); + $returnObject = $converterInstance->getWrappedResponse($response[Constants::RESPONSE], $className); + if ($returnObject !== null && ($className == get_class($returnObject) || $this->isExpectedType($returnObject, $className))) + { + $isModel = true; + } + } + else + { + if(array_key_exists(Constants::ERROR, $response)) + { + SDKLogger::severeError(Constants::API_ERROR_RESPONSE . $response[Constants::ERROR], null); + } + else + { + SDKLogger::severeError(Constants::API_ERROR_RESPONSE . json_encode($response, JSON_UNESCAPED_UNICODE), null); + } + } + return new APIResponse($headerMap, $statusCode, $returnObject, $isModel); + } + catch (SDKException $e) + { + SDKLogger::severeError(Constants::API_CALL_EXCEPTION , $e); + throw $e; + } + catch (\Exception $e) + { + $exception = new SDKException(null, null, null, $e); + SDKLogger::severeError(Constants::API_CALL_EXCEPTION, $exception); + throw $exception; + } + } + + private function isExpectedType(Model $model, string $className) + { + $implementsArray = class_implements($model); + foreach($implementsArray as $class) + { + if($class === $className) + { + return true; + } + } + return false; + } + + /** + * This method is used to get a Converter class instance. + * @param string $encodeType A string containing the API response content type. + * @return NULL|\com\zoho\crm\api\util\Converter A Converter class instance. + */ + public function getConverterClassInstance($encodeType) + { + switch ($encodeType) + { + case "application/json": + case "text/plain": + case "application/ld+json": + return new JSONConverter($this); + case "application/xml": + case "text/xml": + return new XMLConverter($this); + case "multipart/form-data": + return new FormDataConverter($this); + case "image/png": + case "image/jpeg": + case "image/gif": + case "image/tiff": + case "image/svg+xml": + case "image/bmp": + case "image/webp": + case "text/csv": + case "text/html": + case "text/css": + case "text/javascript": + case "text/calendar": + case "application/x-download": + case "application/zip": + case "application/pdf": + case "application/java-archive": + case "application/javascript": + case "application/octet-stream": + case "application/xhtml+xml": + case "application/x-bzip": + case "application/msword": + case "application/vnd.openxmlformats-officedocument.wordprocessingml.document": + case "application/gzip": + case "application/x-httpd-php": + case "application/vnd.ms-powerpoint": + case "application/vnd.rar": + case "application/x-sh": + case "application/x-tar": + case "application/vnd.ms-excel": + case "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": + case "application/x-7z-compressed": + case "audio/mpeg": + case "audio/x-ms-wma": + case "audio/vnd.rn-realaudio": + case "audio/x-wav": + case "audio/3gpp": + case "audio/3gpp2": + case "video/mpeg": + case "video/mp4": + case "video/webm": + case "video/3gpp": + case "video/3gpp2": + case "font/ttf": + return new Downloader($this); + default: + return null; + } + } + + private function setAPIUrl(APIHTTPConnector $connector) + { + $APIPath = ""; + if(strpos($this->apiPath, Constants::HTTP) !== false) + { + if(strpos($this->apiPath, Constants::CONTENT_API_URL) != false) + { + $APIPath = $APIPath . (Initializer::getInitializer()->getEnvironment()->getFileUploadUrl()); + try + { + $uri = parse_url($this->apiPath); + $APIPath = $APIPath . ($uri['path']); + } + catch (\Exception $ex) + { + $excp = new SDKException(null, null, null, $ex); + SDKLogger::severeError(Constants::INVALID_URL_ERROR, $excp); + throw $excp; + } + } + else + { + if(substr($this->apiPath, 0, 1) == "/") + { + $this->apiPath = substr($this->apiPath, 1); + } + $APIPath = $APIPath . ($this->apiPath); + } + } + else + { + $APIPath = $APIPath . (Initializer::getInitializer()->getEnvironment()->getUrl()); + $APIPath = $APIPath . ($this->apiPath); + } + $connector->setURL($APIPath); + } + + public function isMandatoryChecker() + { + return $this->mandatoryChecker; + } + + public function setMandatoryChecker($mandatoryChecker) + { + $this->mandatoryChecker = $mandatoryChecker; + } + + public function getHttpMethod() + { + return $this->httpMethod; + } + + public function getCategoryMethod() + { + return $this->categoryMethod; + } + + public function setCategoryMethod($category) + { + $this->categoryMethod = $category; + } + + public function getAPIPath() + { + return $this->apiPath; + } +} +?> \ No newline at end of file diff --git a/versions/5.0.0/src/com/zoho/crm/api/util/Constants.php b/versions/5.0.0/src/com/zoho/crm/api/util/Constants.php new file mode 100755 index 0000000..1f8a469 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/util/Constants.php @@ -0,0 +1,410 @@ + "array", "Boolean" => "boolean", "Long" => "string", "HashMap" => "array", "array" => "Map", "Map" => "array", "Float" => "double", "Date"=>"DateTime", "TimeZone"=>"DateTimeZone", "LocalTime"=>"DateTime"); + const DOUBLE_NAMESPACE = "double"; + const TIMEZONE_NAMESPACE = "TimeZone"; + const LOCALTIME_NAMESPACE = "LocalTime"; + const USER_AGENT = 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13'; + const SET_API_URL_EXCEPTION = "Exception in setting API URL"; + const AUTHENTICATION_EXCEPTION = "Exception in authenticating current request : "; + const FORM_REQUEST_EXCEPTION = "Exception in forming request body : "; + const SDK_VERSION = "5.0.0"; + const API_CALL_EXCEPTION = "Exception in current API call execution : "; + const HTTP = "http"; + const CONTENT_API_URL = "content.zohoapis.com"; + const INVALID_URL_ERROR = "Invalid URL Error"; + const FIELDS_LAST_MODIFIED_TIME = "FIELDS-LAST-MODIFIED-TIME"; + const EXCEPTION = "Exception : "; + const RECURRING_ACTIVITY_NAMESPACE = "com\\zoho\\crm\\api\\record\\RecurringActivity"; + const JSON_DETAILS_ERROR = "ERROR IN READING JSONDETAILS FILE : "; + const INITIALIZATION_ERROR = "INITIALIZATION ERROR"; + const INITIALIZATION_EXCEPTION = "Exception in initialization : "; + const SWITCH_USER_ERROR = "SWITCH_USER ERROR"; + const SWITCH_USER_EXCEPTION = "Exception in switchUser : "; + const DELETE_FIELD_FILE_ERROR = "Exception in deleting Current User Fields file : "; + const DELETE_FIELD_FILES_ERROR = "Exception in deleting all Fields files : "; + const DELETE_MODULE_FROM_FIELDFILE_ERROR = "Exception in deleting module from Fields file : "; + const IF_MODIFIED_SINCE = "If-Modified-Since"; + const MODULE_RESPONSE_WRAPPER = "com\zoho\crm\api\modules\ResponseWrapper"; + const MODULE_API_EXCEPTION = "com\zoho\crm\api\modules\APIException"; + const JSON_DETAILS_FILE_PATH = "resources/JSONDetails.json"; + const EVENTS_MODULE_PARAMS = array("startDateTime", "endDateTime"); + const USER_NOT_FOUND_ERROR = "USER NOT FOUND ERROR : "; + const USER_NOT_FOUND_ERROR_MESSAGE = "Given user not found in SDK configuration details"; + const HEADER_OR_PARAM_NAME = "HEADER OR PARAM"; + const URL = "URL"; + const PARAMS = "PARAMS"; + const PARAMETER_NULL_ERROR = "NULL PARAMETER ERROR"; + const HEADER_NULL_ERROR = "NULL HEADER ERROR"; + const PARAM_NAME_NULL_ERROR = "NULL PARAM NAME ERROR"; + const HEADER_NAME_NULL_ERROR = "NULL HEADER NAME ERROR"; + const PARAM_NAME_NULL_ERROR_MESSAGE = "Param Name MUST NOT be null"; + const HEADER_NAME_NULL_ERROR_MESSAGE = "Header Name MUST NOT be null"; + const NULL_VALUE_ERROR_MESSAGE = " MUST NOT be null"; + const PARAM_INSTANCE_NULL_ERROR = "Param Instance MUST NOT be null"; + const HEADER_INSTANCE_NULL_ERROR = "Header Instance MUST NOT be null"; + const CANT_DISCLOSE = " ## can't disclose ## "; + const INITIALIZATION_SUCCESSFUL = "Initialization successful "; + const INITIALIZATION_SWITCHED = "Initialization switched "; + const IN_ENVIRONMENT = " in Environment : "; + const FOR_EMAIL_ID = "for Email Id : "; + const REFRESH_TOKEN_MESSAGE = "Access Token has expired. Hence refreshing."; + const RESOURCE_PATH_ERROR_MESSAGE = "Resource Path MUST NOT be null/empty : "; + const RESOURCE_PATH = "EMPTY_RESOURCE_PATH"; + const API_EXCEPTION = "API_EXCEPTION"; + const UNDERSCORE = "_"; + const RELATED_LISTS = "Related_Lists"; + const HREF = "href"; + const NO_CONTENT_STATUS_CODE = "204"; + const NOT_MODIFIED_STATUS_CODE = "304"; + const ACTIVITIES = "activities"; + const REMINDER_NAMESPACE = "com\\zoho\\crm\\api\\record\\Reminder"; + const CONSENT_NAMESPACE = "com\\zoho\\crm\\api\\record\\Consent"; + const COMMENT_NAMESPACE = "com\\zoho\\crm\\api\\record\\Comment"; + const SOLUTIONS = "solutions"; + const COMMENTS = "comments"; + const PRODUCT_NAME = "Product_Name"; + const API_ERROR_RESPONSE = "Error response :"; + const CASES = "cases"; + const PRIMARY = "primary"; + const ID ="id"; + const MANDATORY_VALUE_ERROR = "MANDATORY VALUE ERROR"; + const MANDATORY_KEY_NULL_ERROR = "Null Value for mandatory key : "; + const CALLS = "Calls"; + const CALL_DURATION = "Call_Duration"; + const PRIMARY_KEY_ERROR = "Value null or missing for required key(s) : "; + const FORMULA = "formula"; + const ROLLUP_SUMMARY = "rollup_summary"; + const PICKLIST = "picklist"; + const NULL_VALUE = "null"; + const UNSUPPORTED_IN_API = "API UNSUPPORTED OPERATION"; + const UNSUPPORTED_IN_API_MESSAGE = "Operation is not supported by API"; + const USER = "\$user"; + const ENVIRONMENT = "\$environment"; + const STORE = "\$store"; + const SDK_CONFIG = "\$sdkConfig"; + const REFRESH_SINGLE_MODULE_FIELDS_ERROR = "Exception in refreshing fields of module : "; + const REFRESH_ALL_MODULE_FIELDS_ERROR = "Exception in refreshing fields of all modules : "; + const SDK_UNINITIALIZATION_ERROR = "SDK UNINITIALIZED ERROR"; + const SDK_UNINITIALIZATION_MESSAGE = "SDK is UnInitialized"; + const GIVEN_LENGTH = "given-length"; + const GIVEN_VALUE = "given-value"; + const IS_GENERATE_REQUEST_BODY = array(Constants::REQUEST_METHOD_PATCH, Constants::REQUEST_METHOD_POST, Constants::REQUEST_METHOD_PUT); + const PHOTO = "photo"; + const CRM = "crm"; + const API_VERSION = "v6"; + const PHOTO_SUPPORTED_MODULES = array("leads", "contacts", "accounts", "products", "vendors", "deals", "cases", "solutions"); + const PHOTO_UPLOAD_ERROR_MESSAGE = "The given module is not supported in API."; + const INVALID_MODULE = "INVALID_MODULE"; + const MYSQL_TABLE_NAME = "oauthtoken"; + const GET_TOKEN_BY_ID_FILE_ERROR = "Exception in getTokenById - FileStore : Given ID is invalid"; + const GENERATE_TOKEN_ID_ERROR = "Exception in generateId() - DBStore"; + const MULTI_SELECT_LOOKUP = "multiselectlookup"; + const MULTI_USER_LOOKUP = "multiuserlookup"; + const TERRITORIES = "territories"; + const GENERATED_TYPE = "generated_type"; + const GENERATED_TYPE_CUSTOM = "custom"; + const UPLOAD_PHOTO_UNSUPPORTED_ERROR = "UPLOAD PHOTO UNSUPPORTED MODULE"; + const UPLOAD_PHOTO_UNSUPPORTED_MESSAGE = "Photo Upload Operation is not supported by the module: "; + const SDK_MODULE_METADATA = "SDK-MODULE-METADATA"; + const INVALID_MODULE_API_NAME_ERROR = "INVALID MODULE API NAME ERROR"; + const PROVIDE_VALID_MODULE_API_NAME = "PROVIDE VALID MODULE API NAME: " ; + const INVALID_TOKEN_ERROR = "INVALID TOKEN ERROR" ; + const NO_ACCESS_TOKEN_ERROR = "ACCESS TOKEN IS NOT PRESENT IN RESPONSE" ; + const CLIENT_ID_NULL_ERROR_MESSAGE = "ClientID MUST NOT be null" ; + const CLIENT_SECRET_NULL_ERROR_MESSAGE = "ClientSecret MUST NOT be null" ; + const DEFAULT_MODULENAME_VS_APINAME = array("leads"=>"Leads", "contacts"=>"Contacts", "accounts"=>"Accounts", "deals"=>"Deals", "tasks"=>"Tasks", "events"=>"Events", "activities"=>"Activities", "calls"=>"Calls", "products"=>"Products", "quotes"=>"Quotes", "sales_orders"=>"Sales_Orders", "purchase_orders"=>"Purchase_Orders", "invoices"=>"Invoices", "campaigns"=>"Campaigns", "vendors"=>"Vendors", "price_books"=>"Price_Books", "cases"=>"Cases", "solutions"=>"Solutions", "visits"=>"Visits", "approvals"=>"Approvals", "notes"=>"Notes", "attachments"=>"Attachments", "actions_performed"=>"Actions_Performed"); + const TERRITORY_NAMESPACE = "com\\zoho\\crm\\api\\record\\Territory"; + const IMAGEUPLOAD_NAMESPACE = "com\\zoho\\crm\\api\\record\\ImageUpload"; + const USER_SIGNATURE_ERROR_MESSAGE = "UserSignature MUST NOT be null."; + const ENVIRONMENT_ERROR_MESSAGE = "Environment MUST NOT be null."; + const TOKEN_ERROR_MESSAGE = "Token MUST NOT be null."; + const STORE_ERROR_MESSAGE = "Store MUST NOT be null."; + const SDK_CONFIG_ERROR_MESSAGE = "sdkConfig MUST NOT be null."; + const TAX_NAMESPACE = "com\\zoho\\crm\\api\\record\\Tax"; + const LINEITEM_PRODUCT = "com\\zoho\\crm\\api\\record\\LineItemProduct"; + const PRODUCTS = "Products"; + const TAX = "TAX"; + const TERRITORY = "Territory"; + const GET_TOKEN_BY_ID_DB_ERROR = "Exception in getTokenById - DBStore : Given ID is invalid"; + const RESOURCE_PATH_INVALID_ERROR_MESSAGE = "Resource Path MUST be a valid directory."; + const USER_SIGNATURE_ERROR = "USERSIGNATURE ERROR"; + const OAUTH_MANDATORY_KEYS = ["grantToken", "refreshToken", "id", "accessToken"]; + const PHP = "php_"; + const SKIP_MODULES = array("deals"); + const OWNER_LOOKUP = "ownerlookup"; + const MULTI_MODULE_LOOKUP = "multi_module_lookup"; + const OAUTH_TOKEN_FIELDS = array("clientID", "clientSecret","refreshToken", "redirectURL", "grantToken", "accessToken", "expiresIn", "userSignature", "id"); + const AU_DATACENTER = ["https://www.zohoapis.com.au", "https://sandbox.zohoapis.com.au", "https://developer.zohoapis.com.au", "https://accounts.zoho.com.au/oauth/v2/token","au"]; + const CN_DATACENTER = ["https://www.zohoapis.com.cn", "https://sandbox.zohoapis.com.cn", "https://developer.zohoapis.com.cn", "https://accounts.zoho.com.cn/oauth/v2/token","cn"]; + const EU_DATACENTER = ["https://www.zohoapis.eu", "https://sandbox.zohoapis.eu", "https://developer.zohoapis.eu", "https://accounts.zoho.eu/oauth/v2/token","eu"]; + const IN_DATACENTER = ["https://www.zohoapis.in", "https://sandbox.zohoapis.in", "https://developer.zohoapis.in", "https://accounts.zoho.in/oauth/v2/token","in"]; + const JP_DATACENTER = ["https://www.zohoapis.jp", "https://sandbox.zohoapis.jp", "https://developer.zohoapis.jp", "https://accounts.zoho.jp/oauth/v2/token","jp"]; + const US_DATACENTER = ["https://www.zohoapis.com", "https://sandbox.zohoapis.com", "https://developer.zohoapis.com", "https://accounts.zoho.com/oauth/v2/token","us"]; + const CA_DATACENTER = ["https://www.zohoapis.ca", "https://sandbox.zohoapis.ca", "https://developer.zohoapis.ca", "https://accounts.zoho.ca/oauth/v2/token", "ca"]; + const ENVIRONMENT_ERROR = "The given DataCenter config not valid. Please check the domain URL"; + const ENVIRONMENT_ERROR_1 = "ENVIRONMENT_ERROR"; + const DATACENTER_ERROR = "DATACENTER_ERROR"; + const SANDBOX = "sandbox"; + const DEVELOPER = "developer"; + const API_DOMAIN = "api_domain"; + const ENVIRONMENT_1 = "environment"; + const ENVIRONMENT_ERROR_RESPONSE = "Exception in set the api environment."; + const REFRESH_TOKEN_ERROR = "Exception in refresh the Access token : "; + const ACCESS_TOKEN_ERROR = "Exception in generate Access token method: "; + const CURRENTUSER = "CurrentUser"; + const PARAM_EXCEPTION = "Exception in forming request Parameter : "; + const HEADER_EXCEPTION = "Exception in forming request Header : "; + const TIME_RANGE_NAMESPACE = "com\\zoho\\crm\\api\\record\\TimeRange"; + const SUB_TYPE = "sub_type"; +} +?> \ No newline at end of file diff --git a/versions/5.0.0/src/com/zoho/crm/api/util/Converter.php b/versions/5.0.0/src/com/zoho/crm/api/util/Converter.php new file mode 100755 index 0000000..735751f --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/util/Converter.php @@ -0,0 +1,334 @@ +commonAPIHandler = $commonAPIHandler; + } + + /** + * This abstract method is to process the API response. + * @param object $response A object containing the API response contents or response. + * @param string $pack A string containing the expected method return type. + * @return object A object representing the POJO class instance. + */ + public abstract function getResponse($response, $pack); + + /** + * This abstract method is to construct the API request. + * @param object $responseObject A object containing the POJO class instance. + * @param string $pack A string containing the expected method return type. + * @param integer $instanceNumber An integer containing the POJO class instance list number. + * @param array $memberDetail An array containing the member Detail + * @return object A object representing the API request body object. + */ + public abstract function formRequest($responseObject, $pack, $instanceNumber, $memberDetail=null); + + /** + * This abstract method is to construct the API request body. + * @param object $requestBase A curl instance. + * @param object $requestObject A object containing the API request body object. + */ + public abstract function appendToRequest(&$requestBase, $requestObject); + + /** + * This abstract method is to process the API response. + * @param object $response A object containing the HttpResponse class instance. + * @param $pack $pack A string containing the expected method return type. + */ + public abstract function getWrappedResponse($response, $pack); + + /** + * This method is to validate if the input values satisfy the constraints for the respective fields. + * @param string $className A string containing the class name. + * @param string $memberName A string containing the member name. + * @param array $keyDetails A array containing the key JSON details. + * @param object $value A object containing the key value. + * @param array $uniqueValuesMap A array containing the construct objects. + * @param integer $instanceNumber An integer containing the POJO class instance list number. + * @throws \com\zoho\crm\api\exception\SDKException if a problem occurs. + * @return boolean A boolean representing the key value is expected pattern, unique, length, and values. + */ + public function valueChecker($className, $memberName, $keyDetails, $value, &$uniqueValuesMap, $instanceNumber) + { + $detailsJO = array(); + $name = $keyDetails[Constants::NAME]; + $type = $keyDetails[Constants::TYPE]; + $varType = gettype($value); + $test = function ($varType, $type) { if(strtolower($varType) == strtolower($type)){return true; } return false;}; + $check = $test($varType, $type); + if(array_key_exists($type, Constants::DATA_TYPE)) + { + $type = Constants::DATA_TYPE[$type]; + if(is_array($value) && count($value) > 0 && array_key_exists(Constants::STRUCTURE_NAME, $keyDetails)) + { + $structureName = $keyDetails[Constants::STRUCTURE_NAME]; + $index = 0; + foreach($value as $data) + { + $className = get_class($data); + $check = $test($className, $structureName); + if(!$check) + { + $result = $data instanceof $structureName; + if ($result) + { + $check = true; + } + } + if(!$check) + { + $instanceNumber = $index; + $type = Constants::ARRAY_KEY . "(" . $structureName . ")"; + $varType = Constants::ARRAY_KEY . "(" . $className . ")"; + break; + } + $index ++; + } + } + else if(is_array($value) && count($value) > 0 && array_key_exists(Constants::SUB_TYPE, $keyDetails)) + { + $index = 0; + foreach($value as $data) + { + $subType = $keyDetails[Constants::SUB_TYPE]; + $sub_type = $subType[Constants::TYPE]; + $className = gettype($data); + if(strtolower($sub_type) == strtolower(Constants::OBJECT)) + { + $check = true; + } + else + { + if(array_key_exists($sub_type, Constants::DATA_TYPE)) + { + $sub_type = Constants::DATA_TYPE[$sub_type]; + if(strtolower($className) == strtolower(Constants::OBJECT)) + { + $className = get_class($data); + } + } + $check = $test($className, $sub_type); + if(!$check) + { + $result = $data instanceof $sub_type; + if ($result) + { + $check = true; + } + } + $varType = $className; + } + if(!$check) + { + $instanceNumber = $index; + $type = Constants::ARRAY_KEY . "(" . $sub_type . ")"; + $varType = Constants::ARRAY_KEY . "(" . $className . ")"; + break; + } + $index ++; + } + } + else + { + $check = $test($varType, $type); + if(!$check) + { + $result = $value instanceof $type; + if ($result) + { + $check = true; + } + } + } + } + if(strtolower($varType) == strtolower(Constants::OBJECT) || strtolower($type) == strtolower(Constants::OBJECT)) + { + if(strtolower($type) == strtolower(Constants::OBJECT)) + { + $check = true; + } + else + { + $className1 = gettype($value); + if(strtolower($className1) == strtolower(Constants::OBJECT)) + { + $className1 = get_class($value); + } + $check = $test($className1, $type); + if(!$check) + { + $result = $value instanceof $type; + if ($result) + { + $check = true; + } + } + $varType = $className1; + } + } + if (!$check && $value != null) + { + $detailsJO[Constants::FIELD] = $memberName; + $detailsJO[Constants::CLASS_KEY] = $className; + $detailsJO[Constants::INDEX] = $instanceNumber; + $detailsJO[Constants::EXPECTED_TYPE] = $type; + $detailsJO[Constants::GIVEN_TYPE] = $varType; + throw new SDKException(Constants::TYPE_ERROR, "", $detailsJO, null); + } + if(array_key_exists(Constants::VALUES, $keyDetails) && (!array_key_exists(Constants::PICKLIST, $keyDetails) || ($keyDetails[Constants::PICKLIST] && Initializer::getInitializer()->getSDKConfig()->getPickListValidation()))) + { + $valuesJA = $keyDetails[Constants::VALUES]; + if (is_array($value)) + { + $value_1 = $value; + foreach ($value_1 as $value_2) + { + if ($value_2 instanceof Choice) + { + $choice = $value_2; + $value_2 = $choice->getValue(); + } + if (!in_array($value_2, $valuesJA)) + { + $detailsJO[Constants::FIELD] = $memberName; + $detailsJO[Constants::CLASS_KEY] = $className; + $detailsJO[Constants::INDEX] = $instanceNumber; + $detailsJO[Constants::GIVEN_VALUE] = $value; + $detailsJO[Constants::ACCEPTED_VALUES] = $valuesJA; + throw new SDKException(Constants::UNACCEPTED_VALUES_ERROR, "", $detailsJO, null); + } + } + } + else + { + if ($value instanceof Choice) + { + $choice = $value; + $value = $choice->getValue(); + } + if(!in_array($value, $valuesJA)) + { + $detailsJO[Constants::FIELD] = $memberName; + $detailsJO[Constants::CLASS_KEY] = $className; + $detailsJO[Constants::INDEX] = $instanceNumber; + $detailsJO[Constants::GIVEN_VALUE] = $value; + $detailsJO[Constants::ACCEPTED_VALUES] = $valuesJA; + throw new SDKException(Constants::UNACCEPTED_VALUES_ERROR, "", $detailsJO, null); + } + } + } + if(array_key_exists(Constants::UNIQUE, $keyDetails)) + { + $valuesArray = null; + if(array_key_exists($name, $uniqueValuesMap)) + { + $valuesArray = $uniqueValuesMap[$name]; + if($valuesArray != null && in_array($value, $valuesArray)) + { + $detailsJO[Constants::FIELD] = $memberName; + $detailsJO[Constants::CLASS_KEY] = $className; + $detailsJO[Constants::FIRST_INDEX] = array_search($value, $valuesArray); + $detailsJO[Constants::NEXT_INDEX] = $instanceNumber; + throw new SDKException(Constants::UNIQUE_KEY_ERROR, "" , $detailsJO, null); + } + } + else + { + if($valuesArray == null) + { + $valuesArray = array(); + } + $valuesArray[] = $value; + $uniqueValuesMap[$name] = $valuesArray; + } + } + if(array_key_exists(Constants::MIN_LENGTH, $keyDetails) || array_key_exists(Constants::MAX_LENGTH, $keyDetails)) + { + $count = 0; + if(is_array($value)) + { + $count = count($value); + } + else + { + $count = strlen($value); + } + if(array_key_exists(Constants::MAX_LENGTH, $keyDetails) && $count > $keyDetails[Constants::MAX_LENGTH]) + { + $detailsJO[Constants::FIELD] = $memberName; + $detailsJO[Constants::CLASS_KEY] = $className; + $detailsJO[Constants::GIVEN_LENGTH] = $count; + $detailsJO[Constants::MAXIMUM_LENGTH] = $keyDetails[Constants::MAX_LENGTH]; + throw new SDKException(Constants::MAXIMUM_LENGTH_ERROR, "", $detailsJO, null); + } + if(array_key_exists(Constants::MIN_LENGTH, $keyDetails) && $count < $keyDetails[Constants::MIN_LENGTH]) + { + $detailsJO[Constants::FIELD] = $memberName; + $detailsJO[Constants::CLASS_KEY] = $className; + $detailsJO[Constants::GIVEN_LENGTH] = $count; + $detailsJO[Constants::MINIMUM_LENGTH] = $keyDetails[Constants::MIN_LENGTH]; + throw new SDKException(Constants::MINIMUM_LENGTH_ERROR, "", $detailsJO, null); + } + } + return true; + } + + public function getEncodedFileName() + { + $initializer = Initializer::getInitializer(); + $token = $initializer->getToken(); + $accessToken = ""; + $refreshToken = ""; + $tokenKey = ""; + if ($token instanceof OAuthToken) + { + $oauthToken = $token; + if($oauthToken->getUserSignature() != null) + { + $tokenKey = $oauthToken->getUserSignature()->getName(); + } + else + { + $refreshToken = $oauthToken->getRefreshToken(); + if ($refreshToken != null && strlen($refreshToken) > 0) + { + $tokenKey = substr($refreshToken, 0, strlen($refreshToken) - 32); + } + else + { + $accessToken = $oauthToken->getAccessToken(); + if ($accessToken != null && strlen($accessToken) > 0) + { + $tokenKey = substr($accessToken, 0, strlen($accessToken) - 32); + } + } + } + } + $fileName = $initializer->getEnvironment()->getUrl(); + if ($tokenKey != null && strlen($tokenKey) > 0) + { + $fileName = $fileName . $tokenKey; + } + $input = unpack('C*', mb_convert_encoding($fileName, "UTF-8")); + $str = base64_encode(implode(array_map("chr", $input))); + $path = Initializer::getInitializer()->getResourcePath() . DIRECTORY_SEPARATOR . Constants::FIELD_DETAILS_DIRECTORY; + return $path . DIRECTORY_SEPARATOR . $str . ".json"; + } +} \ No newline at end of file diff --git a/versions/5.0.0/src/com/zoho/crm/api/util/DataTypeConverter.php b/versions/5.0.0/src/com/zoho/crm/api/util/DataTypeConverter.php new file mode 100755 index 0000000..cd4439f --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/util/DataTypeConverter.php @@ -0,0 +1,134 @@ +setTimezone(new \DateTimeZone(date_default_timezone_get())); }; + $dateTimeToString = function ($obj) { return $obj->format(\Datetime::ATOM); }; + $stringToDate = function ($obj) { return date('Y-m-d', strtotime($obj)); }; + $dateToString = function ($obj) { return $obj->format('Y-m-d'); }; + $preObject = function ($obj) { return self::preConvertObjectData($obj); }; + $postObject = function ($obj) { return self::postConvertObjectData($obj); }; + $timeZonetoSting = function ($obj) { return $obj->getName(); }; + $stringtoTimeZone = function ($obj) { return new \DateTimeZone($obj); }; + $LocalTimetoSting = function ($obj) { return $obj->format("H:i"); }; + $stringtoLocalTime = function ($obj) { return \DateTime::createFromFormat("H:i", $obj); }; + self::addToMap(Constants::STRING_NAMESPACE, $string, $string); + self::addToMap(Constants::INTEGER_NAMESPACE, $integer, $integer); + self::addToMap(Constants::LONG_NAMESPACE, $long, $long); + self::addToMap(Constants::FLOAT_NAMESPACE, $float, $float); + self::addToMap(Constants::BOOLEAN_NAMESPACE, $bool, $bool); + self::addToMap(\DateTime::class, $stringToDateTime, $dateTimeToString); + self::addToMap(Constants::DATE, $stringToDate, $dateToString); + self::addToMap(Constants::OBJECT, $preObject, $postObject); + self::addToMap(Constants::DOUBLE_NAMESPACE, $double, $double); + self::addToMap(Constants::TIMEZONE_NAMESPACE, $stringtoTimeZone, $timeZonetoSting); + self::addToMap(Constants::LOCALTIME_NAMESPACE, $stringtoLocalTime, $LocalTimetoSting); + } + + static function preConvertObjectData($obj) + { + return $obj; + } + + static function postConvertObjectData($obj) + { + if(is_array($obj) && count($obj) > 0) + { + $list = array(); + foreach($obj as $data) + { + if($data instanceof \DateTime ) + { + if($data->format('H') == "00" && $data->format('i') == "00" && $data->format('s') == "00" && $data->format('u') == "000000") + { + array_push($list, DataTypeConverter::postConvert($data, "Date")); + } + else + { + array_push($list, DataTypeConverter::postConvert($data, "DateTime")); + } + } + else + { + array_push($list, $data); + } + } + return $list; + } + return $obj; + } + + /** + * This method is to add PreConverter and PostConverter instance. + * @param string $name A string containing the data type class name. + * @param object $preConverter A PreConverter interface. + * @param object $postConverter A PostConverter interface. + */ + static function addToMap($name, $preConverter, $postConverter) + { + self::$PRE_CONVERTER_MAP[$name] = $preConverter; + self::$POST_CONVERTER_MAP[$name] = $postConverter; + } + + /** + * This method is to convert JSON value to expected data value. + * @param object $obj A Object containing the JSON value. + * @param string $type A string containing the expected method return type. + * @return object containing the expected data value. + */ + static function preConvert($obj, $type) + { + self::init(); + if(array_key_exists($type, self::$PRE_CONVERTER_MAP)) + { + return self::$PRE_CONVERTER_MAP[$type]($obj); + } + return $obj; + } + + /** + * This method to convert PHP data to JSON data value. + * @param object $obj A object containing the PHP data value. + * @param string $type A string containing the expected method return type. + * @return object A object containing the expected data value. + */ + static function postConvert($obj, $type) + { + self::init(); + if(array_key_exists($type, self::$POST_CONVERTER_MAP)) + { + return self::$POST_CONVERTER_MAP[$type]($obj); + } + return $obj; + } +} \ No newline at end of file diff --git a/versions/5.0.0/src/com/zoho/crm/api/util/Downloader.php b/versions/5.0.0/src/com/zoho/crm/api/util/Downloader.php new file mode 100755 index 0000000..83fe934 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/util/Downloader.php @@ -0,0 +1,108 @@ +getResponse($responseBody, $pack); + } + + public function getResponse($response, $pack) + { + $recordJsonDetails = Initializer::$jsonDetails[$pack]; + $instance = null; + if (array_key_exists(Constants::INTERFACE_KEY, $recordJsonDetails) && $recordJsonDetails[Constants::INTERFACE_KEY] == true) // if interface + { + $classes = $recordJsonDetails[Constants::CLASSES]; + foreach($classes as $className) + { + if(strpos($className, Constants::FILEBODYWRAPPER)) + { + return $this->getResponse($response, $className); + } + } + return $instance; + } + else + { + $instance = new $pack(); + foreach ($recordJsonDetails as $memberName => $memberJsonDetails) + { + $reflector = new \ReflectionClass($instance); + $field = $reflector->getProperty($memberName); + $field->setAccessible(true); + $type = $memberJsonDetails[Constants::TYPE]; + $instanceValue = null; + if (strtolower($type) == strtolower(Constants::STREAM_WRAPPER_CLASS_PATH)) + { + $responseHeaders = $response[Constants::HEADERS]; + $responseContent = $response[Constants::CONTENT]; + $contentDisposition = ""; + if(array_key_exists(Constants::CONTENT_DISPOSITION, $responseHeaders)) + { + $contentDisposition = $responseHeaders[Constants::CONTENT_DISPOSITION]; + } + else if(array_key_exists(Constants::CONTENT_DISPOSITION1, $responseHeaders)) + { + $contentDisposition = $responseHeaders[Constants::CONTENT_DISPOSITION1]; + } + else if(array_key_exists(Constants::CONTENT_DISPOSITION2, $responseHeaders)) + { + $contentDisposition = $responseHeaders[Constants::CONTENT_DISPOSITION2]; + } + $fileName = substr($contentDisposition, strrpos($contentDisposition, "'") + 1, strlen($contentDisposition)); + if (strpos($fileName, "=") !== false) + { + $fileName = substr($fileName, strrpos($fileName, "=") + 1, strlen($fileName)); + $fileName = str_replace(array( + '\'', + '"' + ), '', $fileName); + } + $fileContent = $responseContent; + $fileInstance = new $type($fileName, $fileContent, null); + $instanceValue = $fileInstance; + $field->setValue($instance, $instanceValue); + } + } + } + return $instance; + } +} \ No newline at end of file diff --git a/versions/5.0.0/src/com/zoho/crm/api/util/FormDataConverter.php b/versions/5.0.0/src/com/zoho/crm/api/util/FormDataConverter.php new file mode 100755 index 0000000..cd24a5b --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/util/FormDataConverter.php @@ -0,0 +1,249 @@ + $memberDetail) + { + $modification = null; + if ((array_key_exists(Constants::READ_ONLY, $memberDetail) && ($memberDetail[Constants::READ_ONLY])) || ! array_key_exists(Constants::NAME, $memberDetail)) + { + continue; + } + try + { + $modification = $reflector->getMethod(Constants::IS_KEY_MODIFIED)->invoke($requestInstance, $memberDetail[Constants::NAME]); + } + catch (\Exception $ex) + { + throw new SDKException(Constants::EXCEPTION_IS_KEY_MODIFIED, null, null, $ex); + } + // check required + if ($modification == null && $modification == 0 && array_key_exists(Constants::REQUIRED, $memberDetail) && (bool) $memberDetail[Constants::REQUIRED]) + { + throw new SDKException(Constants::MANDATORY_VALUE_ERROR, Constants::MANDATORY_KEY_ERROR . $memberName); + } + $field = $reflector->getProperty($memberName); + $field->setAccessible(true); + $fieldValue = $field->getValue($requestInstance); + if ($modification != null && $modification != 0 && $fieldValue != null && $this->valueChecker(get_class($requestInstance), $memberName, $memberDetail, $fieldValue, $this->_uniqueValuesMap, $instanceNumber)) + { + $keyName = $memberDetail[Constants::NAME]; + $type = $memberDetail[Constants::TYPE]; + if ($type == Constants::LIST_NAMESPACE) + { + $request[$keyName] = $this->setJSONArray($fieldValue, $memberDetail); + } + else if ($type == Constants::MAP_NAMESPACE) + { + $request[$keyName] = $this->setJSONObject($fieldValue, $memberDetail); + } + else if (array_key_exists(Constants::STRUCTURE_NAME, $memberDetail)) + { + $request[$keyName] = $this->formRequest($fieldValue, $memberDetail[Constants::STRUCTURE_NAME], 1, $memberDetail); + } + else + { + $request[$keyName] = $fieldValue; + } + } + } + return $request; + } + + public function appendToRequest(&$requestBase, $requestObject) + { + if(is_array($requestObject)) + { + $data = array(); + foreach ($requestObject as $key => $value) + { + if(is_array($value)) + { + $keysDetail = $value; + $lineEnd = "\r\n"; + $hypen = "--"; + $date = new \DateTime(); + $data = mb_convert_encoding($lineEnd, "UTF-8"); + $current_time_long = $date->getTimestamp(); + $boundaryStart = mb_convert_encoding($hypen . (string)$current_time_long . $lineEnd, "UTF-8"); + for ($i = 0; $i < sizeof($keysDetail); $i++) + { + $fileObject = $keysDetail[$i]; + if($fileObject instanceof StreamWrapper) + { + $fileName = $fileObject->getName(); + $fileData = $fileObject->getStream(); + $data = $data . $boundaryStart; + $contentDisp = "Content-Disposition: form-data; name=\"" . $key . "\";filename=\"" . $fileName . "\"" . $lineEnd . $lineEnd; + $data = $data . mb_convert_encoding($contentDisp, "UTF-8"); + $data = $data . $fileData.mb_convert_encoding($lineEnd, "UTF-8"); + } + } + $boundaryend = $hypen . (string)$current_time_long . $hypen . $lineEnd . $lineEnd; + $data = $data . mb_convert_encoding($boundaryend, "UTF-8"); + $header = ['ENCTYPE: multipart/form-data', 'Content-Type:multipart/form-data;boundary=' . (string)$current_time_long]; + $requestBase[CURLOPT_HTTPHEADER] = $header; + } + else if($value instanceof StreamWrapper) + { + $fileName = $value->getName(); + $fileData = $value->getStream(); + $date = new \DateTime(); + $current_time_long = $date->getTimestamp(); + $lineEnd = "\r\n"; + $hypen = "--"; + $contentDisp = "Content-Disposition: form-data; name=\"" . $key . "\";filename=\"" . $fileName . "\"" . $lineEnd . $lineEnd; + $header = ['ENCTYPE: multipart/form-data', 'Content-Type:multipart/form-data;boundary=' . (string)$current_time_long]; + $data = mb_convert_encoding($lineEnd, "UTF-8"); + $boundaryStart = mb_convert_encoding($hypen . (string)$current_time_long . $lineEnd, "UTF-8"); + $data = $data . $boundaryStart; + $data = $data.mb_convert_encoding($contentDisp, "UTF-8"); + $data = $data . $fileData.mb_convert_encoding($lineEnd, "UTF-8"); + $boundaryend = $hypen . (string)$current_time_long. $hypen. $lineEnd. $lineEnd; + $data = $data.mb_convert_encoding($boundaryend, "UTF-8"); + $requestBase[CURLOPT_HTTPHEADER] = $header; + $requestBase[CURLOPT_POSTFIELDS]= $data; + } + else + { + $data[$key] = $value; + } + } + $requestBase[CURLOPT_POSTFIELDS]= $data; + } + } + public function setJSONObject($fieldValue, $memberDetail) + { + $jsonObject = array(); + if ($memberDetail == null) + { + foreach ($fieldValue as $key => $value) + { + $jsonObject[$key] = $this->redirectorForObjectToJSON($value); + } + } + else + { + $keysDetail = $memberDetail[Constants::KEYS]; + foreach ($keysDetail as $keyDetail) + { + $keyName = $keyDetail[Constants::NAME]; + $type = $keyDetail[Constants::TYPE]; + $keyValue = null; + if (array_key_exists($keyName, $fieldValue) && $fieldValue[$keyName] != null) + { + if (array_key_exists(Constants::STRUCTURE_NAME, $keyDetail)) + { + $keyValue = $this->formRequest($fieldValue[$keyName], $keyDetail[Constants::STRUCTURE_NAME], 1, $memberDetail); + } + else + { + $keyValue = $this->redirectorForObjectToJSON($fieldValue[$keyName]); + } + $varType = gettype($keyValue); + if (in_array($varType, Constants::PRIMITIVE_TYPES)) + { + $test = strcasecmp($varType, $type); + if ($test) + { + throw new SDKException(Constants::DATATYPE_VALIDATE, $keyName . " Expected datatype {$type}"); + } + } + $jsonObject[$keyName] = $keyValue; + } + } + } + return $jsonObject; + } + + public function setJSONArray($requestObjects, $memberDetail) + { + $jsonArray = array(); + if ($memberDetail == null) + { + foreach ($requestObjects as $request) + { + $jsonArray[] = $this->redirectorForObjectToJSON($request); + } + } + else + { + if (array_key_exists(Constants::STRUCTURE_NAME, $memberDetail)) + { + $instanceCount = 0; + $pack = $memberDetail[Constants::STRUCTURE_NAME]; + foreach ($requestObjects as $request) + { + $jsonArray[] = $this->formRequest($request, $pack, ++ $instanceCount, $memberDetail); + } + } + else + { + foreach ($requestObjects as $request) + { + $jsonArray[] = $this->redirectorForObjectToJSON($request); + } + } + } + return $jsonArray; + } + + public function redirectorForObjectToJSON($request) + { + $type = gettype($request); + if ($type == Constants::ARRAY_KEY) + { + foreach (array_keys($request) as $key) + { + if (gettype($key) == strtolower(Constants::STRING_NAMESPACE)) + { + $type = strtolower(Constants::MAP_NAMESPACE); + } + break; + } + if ($type == strtolower(Constants::MAP_NAMESPACE)) + { + return $this->setJSONObject($request, null); + } + else + { + return $this->setJSONArray($request, null); + } + } + else + { + return $request; + } + } + + public function getWrappedResponse($responseObject, $pack) + { + return $this->getResponse($responseObject, $pack); + } + + public function getResponse($responseJson, $pack) + { + return null; + } +} \ No newline at end of file diff --git a/versions/5.0.0/src/com/zoho/crm/api/util/HeaderParamValidator.php b/versions/5.0.0/src/com/zoho/crm/api/util/HeaderParamValidator.php new file mode 100755 index 0000000..1ca0f29 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/util/HeaderParamValidator.php @@ -0,0 +1,175 @@ +getJSONDetails(); + $className = $this->getClassName($className); + $typeDetail = array(); + if(array_key_exists($className, $json_Details)) + { + $typeDetail = $this->getKeyJSONDetails($name, $json_Details[$className]); + } + if(count($typeDetail) > 0) + { + if(!$this->checkDataType($typeDetail, $value)) + { + $detailsJO = []; + $detailsJO[Constants::HEADER_OR_PARAM_NAME] = $name; + $detailsJO[Constants::CLASS_KEY] = $className; + $type = $typeDetail[Constants::TYPE]; + if( $type == "Long") + { + $type = "String"; + } + $detailsJO[Constants::EXPECTED_TYPE] = $type; + throw new SDKException(Constants::TYPE_ERROR, null, $detailsJO, null); + } + if(array_key_exists(Constants::STRUCTURE_NAME, $typeDetail)) + { + $converter = new JSONConverter(null); + $type = gettype($value); + if ($type == Constants::ARRAY_KEY) + { + $jsonArray = []; + foreach ($value as $response) + { + $jsonArray[] = $converter->formRequest($response, $typeDetail[Constants::STRUCTURE_NAME], 0, null); + } + return $jsonArray; + } + return $converter->formRequest($value, $typeDetail[Constants::STRUCTURE_NAME], 0, null); + } + return $this->parseData($value, $typeDetail[Constants::TYPE]); + } + return $value; + } + + public function parseData($value, $type) + { + if (strtolower($type) == strtolower(Constants::MAP_NAMESPACE)) + { + $jsonObject = array(); + if (is_countable($value) && count($value) > 0) + { + foreach ($value as $key => $requestObject) + { + if (is_countable($requestObject) && count($requestObject) > 0) + { + $jsonObject[$key] = $this->parseData($requestObject, Constants::MAP_NAMESPACE); + } + else + { + $jsonObject[$key] = $this->parseData($requestObject, gettype($requestObject)); + } + } + } + return $jsonObject; + } + else if (strtolower($type) == strtolower(Constants::ARRAY_KEY)) + { + $jsonArray = array(); + if (sizeof($value) > 0) + { + foreach ($value as $requestObject) + { + if (is_countable($requestObject) && count($requestObject) > 0) + { + array_push($jsonArray, $this->parseData($requestObject, Constants::MAP_NAMESPACE)); + } + else + { + array_push($jsonArray, $this->parseData($requestObject, gettype($requestObject))); + } + } + } + return $jsonArray; + } + else if($value instanceof Choice) + { + return $value->getValue(); + } + else + { + if(strtolower($type) == strtolower(Constants::OBJECT)) + { + $type = get_class($value); + } + return DataTypeConverter::postConvert($value, $type); + } + } + + public function getJSONDetails() + { + $json_Details = Initializer::$jsonDetails; + if(is_null($json_Details)) + { + $json_Details = json_decode(file_get_contents(__DIR__ . '/../../../../../'. Constants::JSON_DETAILS_FILE_PATH), true); + Initializer::$jsonDetails = $json_Details; + } + return $json_Details; + } + + public function getClassName($className) + { + if (strpos($className, ".") !== false) + { + $classNameSpace = explode('.', $className); + $count = count($classNameSpace); + $className = ""; + for($i = 0; $i < $count - 1; $i++) + { + $className = $className . strtolower($classNameSpace[$i]) . "\\"; + } + return $className . $classNameSpace[$count - 1]; + } + return $className; + } + + public function getKeyJSONDetails($name, $json_Details) + { + foreach($json_Details as $json_Detail) + { + if(array_key_exists(Constants::NAME, $json_Detail) && strtolower($name) == strtolower($json_Detail[Constants::NAME])) + { + return $json_Detail; + } + } + } + + public function checkDataType($keyDetail, $value) + { + $type = $keyDetail[Constants::TYPE]; + $varType = gettype($value); + $test = function ($varType, $type) { if(strtolower($varType) == strtolower($type)){return true; } return false;}; + $check = $test($varType, $type); + if(array_key_exists($type, Constants::DATA_TYPE)) + { + $type = Constants::DATA_TYPE[$type]; + $check = $test($varType, $type); + } + if(strtolower($varType) == strtolower(Constants::OBJECT) || strtolower($type) == strtolower(Constants::OBJECT)) + { + if(strtolower($type) == strtolower(Constants::OBJECT)) + { + $check = true; + } + else + { + $className = get_class($value); + $check = $test($className, $type); + } + } + return $check; + } +} \ No newline at end of file diff --git a/versions/5.0.0/src/com/zoho/crm/api/util/JSONConverter.php b/versions/5.0.0/src/com/zoho/crm/api/util/JSONConverter.php new file mode 100755 index 0000000..517fd50 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/util/JSONConverter.php @@ -0,0 +1,1036 @@ +commonAPIHandler->getModuleAPIName(); + $returnJSON = $this->isRecordRequest($requestInstance, $classDetail, $instanceNumber, $memberDetail); + $this->commonAPIHandler->setModuleAPIName($moduleAPIName); + return $returnJSON; + } + else + { + return $this->isNotRecordRequest($requestInstance, $classDetail, $instanceNumber, $memberDetail); + } + } + + private function isNotRecordRequest($requestInstance, $classDetail, $instanceNumber, $classMemberDetail = null) + { + $lookUp = false; + $skipMandatory = false; + $classMemberName = null; + if ($classMemberDetail !== null) + { + if (array_key_exists(Constants::LOOKUP, $classMemberDetail)) + { + $lookUp = $classMemberDetail[Constants::LOOKUP]; + } + if (array_key_exists(Constants::SKIP_MANDATORY, $classMemberDetail)) + { + $skipMandatory = $classMemberDetail[Constants::SKIP_MANDATORY]; + } + $classMemberName = $this->buildName($classMemberDetail[Constants::NAME]); + } + $reflector = new \ReflectionClass($requestInstance); + $requestJSON = array(); + $primaryKeys = array(); + $requiredKeys = array(); + $requiredInUpdateKeys = array(); + foreach ($classDetail as $memberName => $memberDetail) + { + $modification = null; + // check and neglect read_only + if ((array_key_exists(Constants::READ_ONLY, $memberDetail) && ($memberDetail[Constants::READ_ONLY])) || !array_key_exists(Constants::NAME, $memberDetail))// read only or no keyName + { + continue; + } + $keyName = $memberDetail[Constants::NAME]; + try + { + $modification = $reflector->getMethod(Constants::IS_KEY_MODIFIED)->invoke($requestInstance, $keyName); + } + catch (\Exception $ex) + { + throw new SDKException(Constants::EXCEPTION_IS_KEY_MODIFIED, null, null, $ex); + } + if (array_key_exists(Constants::REQUIRED, $memberDetail) && $memberDetail[Constants::REQUIRED] == true) + { + $requiredKeys[$keyName] = 1; + } + if (array_key_exists(Constants::PRIMARY, $memberDetail) && $memberDetail[Constants::PRIMARY] == true && (!array_key_exists(Constants::REQUIRED_IN_UPDATE, $memberDetail) || $memberDetail[Constants::REQUIRED_IN_UPDATE])) + { + $primaryKeys[$keyName] = 1; + } + if (array_key_exists(Constants::REQUIRED_IN_UPDATE, $memberDetail) && $memberDetail[Constants::REQUIRED_IN_UPDATE] == true) + { + $requiredInUpdateKeys[$keyName] = 1; + } + $fieldValue = null; + if ($modification != null && $modification != 0 ) + { + $field = $reflector->getProperty($memberName); + $field->setAccessible(true); + $fieldValue = $field->getValue($requestInstance); + if ($fieldValue !== null) + { + if ($this->valueChecker(get_class($requestInstance), $memberName, $memberDetail, $fieldValue, $this->_uniqueValuesMap, $instanceNumber)) + { + if (array_key_exists($keyName, $requiredKeys)) + { + unset($requiredKeys[$keyName]); + } + if (array_key_exists($keyName, $primaryKeys)) + { + unset($primaryKeys[$keyName]); + } + if (array_key_exists($keyName, $requiredInUpdateKeys)) + { + unset($requiredInUpdateKeys[$keyName]); + } + } + } + $requestJSON[$keyName] = $this->setData($memberDetail, $fieldValue); + } + } + if ($skipMandatory === true || $this->checkException($classMemberName, $requestInstance, $instanceNumber, $lookUp, $requiredKeys, $primaryKeys, $requiredInUpdateKeys) === true) + { + return $requestJSON; + } + } + + public function checkException($memberName, $requestInstance, $instanceNumber, $lookup, $requiredKeys, $primaryKeys, $requiredInUpdateKeys = array()) + { + if (sizeof($requiredInUpdateKeys) > 0 && $this->commonAPIHandler->getCategoryMethod() != null && strtolower($this->commonAPIHandler->getCategoryMethod()) == strtolower(Constants::REQUEST_CATEGORY_UPDATE)) + { + $error = array(); + $error[Constants::FIELD] = $memberName; + $error[Constants::TYPE] = get_class($requestInstance); + $error[Constants::KEYS] = array_keys($requiredInUpdateKeys); + if(!is_null($instanceNumber)) + { + $error[Constants::INSTANCE_NUMBER] = $instanceNumber; + } + throw new SDKException(Constants::MANDATORY_VALUE_ERROR, Constants::MANDATORY_KEY_ERROR, $error); + } + if($this->commonAPIHandler->isMandatoryChecker() != null && $this->commonAPIHandler->isMandatoryChecker()) + { + if (strtolower($this->commonAPIHandler->getCategoryMethod()) == strtolower(Constants::REQUEST_CATEGORY_CREATE)) + { + if($lookup == true) + { + if(sizeof($primaryKeys) > 0) + { + $error = array(); + $error[Constants::FIELD] = $memberName; + $error[Constants::TYPE] = get_class($requestInstance); + $error[Constants::KEYS] = array_keys($primaryKeys); + if(!is_null($instanceNumber)) + { + $error[Constants::INSTANCE_NUMBER] = $instanceNumber; + } + throw new SDKException(Constants::MANDATORY_VALUE_ERROR, Constants::PRIMARY_KEY_ERROR ,$error); + } + } + else if(sizeof($requiredKeys) > 0) + { + $error = array(); + $error[Constants::FIELD] = $memberName; + $error[Constants::TYPE] = get_class($requestInstance); + $error[Constants::KEYS] = array_keys($requiredKeys); + if(!is_null($instanceNumber)) + { + $error[Constants::INSTANCE_NUMBER] = $instanceNumber; + } + throw new SDKException(Constants::MANDATORY_VALUE_ERROR, Constants::MANDATORY_KEY_ERROR ,$error); + } + } + if (strtolower($this->commonAPIHandler->getCategoryMethod()) == strtolower(Constants::REQUEST_CATEGORY_UPDATE) && sizeof($primaryKeys) > 0) + { + $error = array(); + $error[Constants::FIELD] = $memberName; + $error[Constants::TYPE] = get_class($requestInstance); + $error[Constants::KEYS] = array_keys($primaryKeys); + if(!is_null($instanceNumber)) + { + $error[Constants::INSTANCE_NUMBER] = $instanceNumber; + } + throw new SDKException(Constants::MANDATORY_VALUE_ERROR, Constants::PRIMARY_KEY_ERROR ,$error); + } + } + else if($lookup === true && strtolower($this->commonAPIHandler->getCategoryMethod()) == strtolower(Constants::REQUEST_CATEGORY_UPDATE)) + { + if (sizeof($primaryKeys) > 0) + { + $error = array(); + $error[Constants::FIELD] = $memberName; + $error[Constants::TYPE] = get_class($requestInstance); + $error[Constants::KEYS] = array_keys($primaryKeys); + if(!is_null($instanceNumber)) + { + $error[Constants::INSTANCE_NUMBER] = $instanceNumber; + } + throw new SDKException(Constants::MANDATORY_VALUE_ERROR, Constants::PRIMARY_KEY_ERROR ,$error); + } + } + return true; + } + + public function isRecordRequest($recordInstance, $classDetail, $instanceNumber, $memberDetail =null) + { + $lookUp = false; + $skipMandatory = false; + $classMemberName = null; + if ($memberDetail != null) + { + if (array_key_exists(Constants::LOOKUP, $memberDetail)) + { + $lookUp = $memberDetail[Constants::LOOKUP]; + } + if (array_key_exists(Constants::SKIP_MANDATORY, $memberDetail)) + { + $skipMandatory = $memberDetail[Constants::SKIP_MANDATORY]; + } + $classMemberName = $this->buildName($memberDetail[Constants::NAME]); + } + $requestJSON = array(); + $moduleDetail = array(); + $moduleAPIName = $this->commonAPIHandler->getModuleAPIName(); + if ($moduleAPIName != null) // entry + { + $this->commonAPIHandler->setModuleAPIName(null); + $moduleDetail = $this->getModuleDetailFromUserSpecJSON($moduleAPIName); + } + else // inner case + { + $moduleDetail = $classDetail; + $classDetail = Initializer::$jsonDetails[Constants::RECORD_NAMESPACE]; + }// class detail must contain record structure at this point + $cl = get_class($recordInstance); + $scl = get_parent_class($recordInstance); + if ($scl != null && $scl == Constants::RECORD_NAMESPACE) + { + $cl = $scl; + } + $reflector = new \ReflectionClass($cl); + $keyValueField = $reflector->getProperty(Constants::KEY_VALUES); + $keyValueField->setAccessible(true); + $keyModifiedField = $reflector->getProperty(Constants::KEY_MODIFIED); + $keyModifiedField->setAccessible(true); + $keyValues = $keyValueField->getValue($recordInstance); + $keyModified = $keyModifiedField->getValue($recordInstance); + $requiredKeys = array(); + $primaryKeys = array(); + if($skipMandatory !== true) + { + foreach ($moduleDetail as $keyName => $keyDetail) + { + $name = $keyDetail[Constants::NAME]; + if ($keyDetail != null && array_key_exists(Constants::REQUIRED, $keyDetail) && $keyDetail[Constants::REQUIRED] == true) + { + $requiredKeys[$name] = 1; + } + if ($keyDetail != null && array_key_exists(Constants::PRIMARY, $keyDetail) && $keyDetail[Constants::PRIMARY] == true) + { + $primaryKeys[$name] = 1; + } + } + foreach ($classDetail as $keyName => $keyDetail) + { + $name = $keyDetail[Constants::NAME]; + if (array_key_exists(Constants::REQUIRED, $keyDetail) && $keyDetail[Constants::REQUIRED] == true) + { + $requiredKeys[$name] = 1; + } + if (array_key_exists(Constants::PRIMARY, $keyDetail) && $keyDetail[Constants::PRIMARY] == true) + { + $primaryKeys[$name] = 1; + } + } + } + foreach ($keyModified as $keyName => $keyVal) + { + if ($keyVal != 1) + { + continue; + } + $keyDetail = array(); + $keyValue = array_key_exists($keyName, $keyValues) ? $keyValues[$keyName] : null; + $jsonValue = null; + if ($keyValue !== null) + { + if (array_key_exists($keyName, $requiredKeys)) + { + unset($requiredKeys[$keyName]); + } + if (array_key_exists($keyName, $primaryKeys)) + { + unset($primaryKeys[$keyName]); + } + } + $memberName = $this->buildName($keyName); + $customHandling = false; + if ($moduleDetail != null && sizeof($moduleDetail) > 0 && (array_key_exists($keyName, $moduleDetail) || array_key_exists($memberName, $moduleDetail))) + { + if (array_key_exists($keyName, $moduleDetail)) + { + $keyDetail = $moduleDetail[$keyName];// incase of user spec json + } + else + { + $keyDetail = $moduleDetail[$memberName];// json details + } + } + else if (array_key_exists($memberName, $classDetail)) + { + $keyDetail = $classDetail[$memberName]; + } + else + { + $customHandling = true; + } + + if($keyValue != null) + { + if (sizeof($keyDetail) > 0) + { + if ((array_key_exists(Constants::READ_ONLY, $keyDetail) && ($keyDetail[Constants::READ_ONLY] == true)) || ! array_key_exists(Constants::NAME, $keyDetail))// read only or no keyName + { + continue; + } + if ($this->valueChecker($cl, $memberName, $keyDetail, $keyValue, $this->_uniqueValuesMap, $instanceNumber) == true) + { + $jsonValue = $this->setData($keyDetail, $keyValue); + } + } + else + { + if ($customHandling && !(is_array($keyValue)) && !(gettype($keyValue) == Constants::MAP_NAMESPACE) && !($keyValue instanceof Choice)) + { + if ($keyValue instanceof \DateTime ) + { + if($keyValue->format('H') == "00" && $keyValue->format('i') == "00" && $keyValue->format('s') == "00" && $keyValue->format('u') == "000000") + { + $jsonValue = DataTypeConverter::postConvert($keyValue, "Date"); + } + else + { + $jsonValue = DataTypeConverter::postConvert($keyValue, "DateTime"); + } + } + if (in_array(gettype($keyValue), Constants::PRIMITIVE_TYPES)) + { + $keyDetail = json_encode(array(Constants::TYPE => gettype($keyValue))); + + $keyDetail = json_decode($keyDetail, true); + + $jsonValue = $this->setData($keyDetail, $keyValue); + } + elseif (array_key_exists(get_class($keyValue), Initializer::$jsonDetails)) + { + $keyDetail = json_encode(array(Constants::STRUCTURE_NAME => get_class($keyValue), Constants::NAME => $keyName, Constants::TYPE => get_class($keyValue))); + + $keyDetail = json_decode($keyDetail, true); + + $jsonValue = $this->setData($keyDetail, $keyValue); + } + } + else + { + if ($customHandling && gettype($keyValue) == Constants::ARRAY_KEY) + { + $isArray = true; + foreach (array_keys($keyValue) as $key) + { + if (gettype($key) == strtolower(Constants::STRING_NAMESPACE)) + { + $isArray = false; + } + break; + } + if ($isArray && array_key_exists(get_class($keyValue[0]), Initializer::$jsonDetails)) + { + $keyDetail = json_encode(array(Constants::STRUCTURE_NAME => get_class($keyValue[0]), Constants::NAME => $keyName, Constants::TYPE => get_class($keyValue[0]))); + $keyDetail = json_decode($keyDetail, true); + $jsonValue = $this->setJSONArray($keyValue, $keyDetail); + } + else + { + $jsonValue = $this->redirectorForObjectToJSON($keyValue); + } + } + else + { + $jsonValue = $this->redirectorForObjectToJSON($keyValue); + } + } + } + } + $requestJSON[$keyName] = $jsonValue; + } + if ($skipMandatory === true || $this->checkException($classMemberName, $recordInstance, $instanceNumber, $lookUp, $requiredKeys, $primaryKeys)) + { + return $requestJSON; + } + return $requestJSON; + } + + public function setData($memberDetail, $fieldValue) + { + if ($fieldValue !== null) + { + $type = $memberDetail[Constants::TYPE]; + return $this->setDataValue($type,$memberDetail, $fieldValue); + } + return null; + } + + public function setDataValue($type, $memberDetail, $fieldValue) + { + if ($type == Constants::LIST_NAMESPACE) + { + return $this->setJSONArray($fieldValue, $memberDetail); + } + else if ($type == Constants::MAP_NAMESPACE) + { + return $this->setJSONObject($fieldValue, $memberDetail); + } + else if ($type == Constants::CHOICE_NAMESPACE || (array_key_exists(Constants::STRUCTURE_NAME, $memberDetail) && $memberDetail[Constants::STRUCTURE_NAME] == Constants::CHOICE_NAMESPACE)) + { + return $fieldValue->getValue(); + } + else if (array_key_exists(Constants::STRUCTURE_NAME, $memberDetail) && array_key_exists(Constants::MODULE, $memberDetail)) + { + return $this->isRecordRequest($fieldValue, $this->getModuleDetailFromUserSpecJSON($memberDetail[Constants::MODULE]), null, $memberDetail); + } + else if (array_key_exists(Constants::STRUCTURE_NAME, $memberDetail)) + { + return $this->formRequest($fieldValue, $memberDetail[Constants::STRUCTURE_NAME], null, $memberDetail); + } + else + { + return DataTypeConverter::postConvert($fieldValue, $type); + } + } + + public function setJSONObject($requestObject, $memberDetail) + { + $jsonObject = array(); + if (sizeof($requestObject) > 0) + { + if ($memberDetail == null || ($memberDetail != null && ! array_key_exists(Constants::KEYS, $memberDetail))) + { + foreach ($requestObject as $key => $value) + { + $jsonObject[$key] = $this->redirectorForObjectToJSON($value); + } + } + else + { + if (array_key_exists(Constants::KEYS, $memberDetail)) + { + $keysDetail = $memberDetail[Constants::KEYS]; + foreach ($keysDetail as $keyDetail) + { + $keyName = $keyDetail[Constants::NAME]; + $keyValue = null; + if (array_key_exists($keyName, $requestObject) && $requestObject[$keyName] != null) + { + $keyValue = $this->setData($keyDetail, $requestObject[$keyName]); + $jsonObject[$keyName] = $keyValue; + } + } + } + } + } + return $jsonObject; + } + + public function setJSONArray($requestObjects, $memberDetail) + { + $jsonArray = array(); + if (sizeof($requestObjects) > 0) + { + if ($memberDetail == null || ($memberDetail != null && ! array_key_exists(Constants::STRUCTURE_NAME, $memberDetail))) + { + if($memberDetail != null && array_key_exists(Constants::SUB_TYPE, $memberDetail)) + { + $subType = $memberDetail[Constants::SUB_TYPE]; + $type = $subType[Constants::TYPE]; + if (strtolower($type) == strtolower(Constants::CHOICE_NAMESPACE)) + { + foreach ($requestObjects as $response) + { + $jsonArray[] = $response->getValue(); + } + } + else + { + foreach ($requestObjects as $response) + { + $jsonArray[] = $this->setDataValue($type, $memberDetail, $response); + } + } + } + else + { + foreach ($requestObjects as $request) + { + $jsonArray[] = $this->redirectorForObjectToJSON($request); + } + } + } + else + { + $pack = $memberDetail[Constants::STRUCTURE_NAME]; + if (strtolower($pack) == strtolower(Constants::CHOICE_NAMESPACE)) + { + foreach ($requestObjects as $request) + { + $jsonArray[] = $request->getValue(); + } + } + else if (array_key_exists(Constants::MODULE, $memberDetail) && $memberDetail[Constants::MODULE] != null) + { + $instanceCount = 0; + foreach ($requestObjects as $request) + { + $jsonArray[] = $this->isRecordRequest($request, $this->getModuleDetailFromUserSpecJSON($memberDetail[Constants::MODULE]), $instanceCount, $memberDetail); + $instanceCount++; + } + } + else + { + $instanceCount = 0; + foreach ($requestObjects as $request) + { + $jsonArray[] = $this->formRequest($request, $pack, $instanceCount, $memberDetail); + $instanceCount++; + } + } + } + } + return $jsonArray; + } + + public function redirectorForObjectToJSON($request) + { + $type = gettype($request); + if ($type == Constants::ARRAY_KEY) + { + foreach (array_keys($request) as $key) + { + if (gettype($key) == strtolower(Constants::STRING_NAMESPACE)) + { + $type = Constants::MAP_NAMESPACE; + } + break; + } + if ($type == Constants::MAP_NAMESPACE) + { + return $this->setJSONObject($request, null); + } + else + { + return $this->setJSONArray($request, null); + } + } + elseif ($request instanceof Choice) + { + return $request->getValue(); + } + else + { + return $request; + } + } + + public function getWrappedResponse($response, $pack) + { + list ($headers, $content) = explode("\r\n\r\n", strval($response), 2); + $responseObject = json_decode($content, true); + if ($responseObject == NULL && $content != null && $content != "{}") + { + list ($headers, $content) = explode("\r\n\r\n", $content, 2); + $responseObject = json_decode($content, true); + } + if ($responseObject != null) + { + return $this->getResponse($responseObject, $pack); + } + return null; + } + + public function getResponse($responseJson, $packageName) + { + $instance = null; + if (empty($responseJson) || $responseJson == null || $responseJson == "{}") + { + return $instance; + } + $classDetail = Initializer::$jsonDetails[$packageName]; + if (array_key_exists(Constants::INTERFACE_KEY, $classDetail) && $classDetail[Constants::INTERFACE_KEY] == true) // if interface + { + $classes = $classDetail[Constants::CLASSES]; + $instance = $this->findMatch($classes, $responseJson);// findmatch returns instance(calls getresponse() recursively) + } + else + { + $instance = new $packageName(); + if ($instance instanceof Record)// if record -> based on response json data will be assigned to field Values + { + $moduleAPIName = $this->commonAPIHandler->getModuleAPIName(); + $instance = $this->isRecordResponse($responseJson, $classDetail, $packageName); + $this->commonAPIHandler->setModuleAPIName($moduleAPIName); + } + else + { + $instance = $this->notRecordResponse($instance, $responseJson, $classDetail);// based on json details data will be assigned + } + } + return $instance; + } + + public function notRecordResponse($instance, $responseJSON, $classDetail) + { + foreach ($classDetail as $memberName => $keyDetail) + { + $keyName = array_key_exists(Constants::NAME, $keyDetail) ? $keyDetail[Constants::NAME] : null;// api-name of the member + if ($keyName != null && array_key_exists($keyName, $responseJSON) && $responseJSON[$keyName] !== null) + { + $keyData = $responseJSON[$keyName]; + $reflector = new \ReflectionClass($instance); + $member = $reflector->getProperty($memberName); + $member->setAccessible(true); + $memberValue = $this->getData($keyData, $keyDetail); + $member->setValue($instance, $memberValue); + } + } + return $instance; + } + + public function isRecordResponse($responseJSON, $classDetail, $pack) + { + $recordInstance = new $pack(); + $moduleAPIName = $this->commonAPIHandler->getModuleAPIName(); + $moduleDetail = array(); + if ($moduleAPIName != null) // entry + { + $this->commonAPIHandler->setModuleAPIName(null); + $moduleDetail = $this->getModuleDetailFromUserSpecJSON($moduleAPIName); + } + $moduleDetail = array_merge($moduleDetail, $classDetail); + $recordDetail = Initializer::$jsonDetails[Constants::RECORD_NAMESPACE]; + $cl = get_class($recordInstance); + $scl = get_parent_class($recordInstance); + if ($scl != null && $scl == Constants::RECORD_NAMESPACE) + { + $cl = $scl; + } + $reflector = new \ReflectionClass($cl); + $member = $reflector->getProperty(Constants::KEY_VALUES); + $member->setAccessible(true); + $keyValues = array(); + foreach ($responseJSON as $keyName => $keyValue) + { + $memberName = $this->buildName($keyName); + $keyDetail = array(); + if ($moduleDetail != null && sizeof($moduleDetail) > 0 && (array_key_exists($keyName, $moduleDetail) || array_key_exists($memberName, $moduleDetail))) + { + if (array_key_exists($keyName, $moduleDetail)) + { + $keyDetail = $moduleDetail[$keyName]; + } + else + { + $keyDetail = $moduleDetail[$memberName]; + } + } + else if (array_key_exists($memberName, $recordDetail)) + { + $keyDetail = $recordDetail[$memberName]; + } + $keyValue = null; + $keyData = $responseJSON[$keyName]; + if ($keyDetail != null && sizeof($keyDetail) > 0) + { + $keyName = $keyDetail[Constants::NAME]; + $keyValue = $this->getData($keyData, $keyDetail); + } + else// if not key detail + { + $keyValue = $this->redirectorForJSONToObject($keyData); + } + $keyValues[$keyName] = $keyValue; + } + $member->setValue($recordInstance, $keyValues); + return $recordInstance; + } + + public function getData($keyData, $memberDetail) + { + $memberValue = null; + if(!is_null($keyData)) + { + $type = $memberDetail[Constants::TYPE]; + $memberValue = $this->getDataValue($type, $keyData, $memberDetail); + } + return $memberValue; + } + + public function getDataValue($type, $keyData, $memberDetail) + { + $memberValue = null; + if ($type == Constants::LIST_NAMESPACE) + { + $memberValue = $this->getCollectionsData($keyData, $memberDetail); + } + else if ($type == Constants::MAP_NAMESPACE) + { + $memberValue = $this->getMapData($keyData, $memberDetail); + } + else if ($type == Constants::CHOICE_NAMESPACE || (array_key_exists(Constants::STRUCTURE_NAME, $memberDetail) && $memberDetail[Constants::STRUCTURE_NAME] == Constants::CHOICE_NAMESPACE)) + { + $memberValue = new Choice($keyData); + } + else if (array_key_exists(Constants::STRUCTURE_NAME, $memberDetail) && array_key_exists(Constants::MODULE, $memberDetail)) + { + $memberValue = $this->isRecordResponse($keyData, $this->getModuleDetailFromUserSpecJSON($memberDetail[Constants::MODULE]), $memberDetail[Constants::STRUCTURE_NAME]); + } + else if (array_key_exists(Constants::STRUCTURE_NAME, $memberDetail)) + { + $memberValue = $this->getResponse($keyData, $memberDetail[Constants::STRUCTURE_NAME]); + } + else + { + $memberValue = DataTypeConverter::preConvert($keyData, $type); + } + return $memberValue; + } + + public function getMapData($response, $memberDetail) + { + $mapInstance = array(); + if(sizeof($response) > 0) + { + if ($memberDetail == null || ($memberDetail != null && ! array_key_exists(Constants::KEYS, $memberDetail))) + { + foreach ($response as $key => $response) + { + $mapInstance[$key] = $this->redirectorForJSONToObject($response); + } + } + else// member must have keys + { + $responseKeys = array(); + if(is_array($response)) + { + foreach (array_keys($response) as $key) + { + $responseKeys[$key] = 1; + } + } + if(array_key_exists(Constants::KEYS, $memberDetail)) + { + $keysDetail = $memberDetail[Constants::KEYS]; + foreach ($keysDetail as $keyDetail) + { + $keyName = $keyDetail[Constants::NAME]; + $keyValue = null; + if(array_key_exists($keyName, $response) && $response[$keyName] != null) + { + $keyValue = $this->getData($response[$keyName], $keyDetail); + $mapInstance[$keyName] = $keyValue; + if (array_key_exists($keyName, $responseKeys)) + { + unset($responseKeys[$keyName]); + } + } + } + } + if (sizeof($responseKeys) > 0) + { + foreach ($response as $keyName => $keyValue) + { + $mapInstance[$keyName] = $keyValue; + } + } + } + } + return $mapInstance; + } + + public function getCollectionsData($responses, $memberDetail) + { + $values = array(); + if(sizeof($responses) > 0) + { + if ($memberDetail == null || ($memberDetail != null && ! array_key_exists(Constants::STRUCTURE_NAME, $memberDetail))) + { + if($memberDetail != null && array_key_exists(Constants::SUB_TYPE, $memberDetail)) + { + $subType = $memberDetail[Constants::SUB_TYPE]; + $type = $subType[Constants::TYPE]; + if ($type == Constants::CHOICE_NAMESPACE) + { + foreach ($responses as $response) + { + $values[] = new Choice($response); + } + } + else + { + foreach ($responses as $response) + { + $values[] = $this->getDataValue($type, $response, $memberDetail); + } + } + } + else + { + foreach ($responses as $response) + { + $values[] = $this->redirectorForJSONToObject($response); + } + } + } + else // need to have structure Name in memberDetail + { + $pack = $memberDetail[Constants::STRUCTURE_NAME]; + if ($pack == Constants::CHOICE_NAMESPACE) + { + foreach ($responses as $response) + { + $values[] = new Choice($response); + } + } + else if (array_key_exists(Constants::MODULE, $memberDetail) && $memberDetail[Constants::MODULE] != null) + { + foreach ($responses as $response) + { + $values[] = $this->isRecordResponse($response, $this->getModuleDetailFromUserSpecJSON($memberDetail[Constants::MODULE]), $pack); + } + } + else + { + foreach ($responses as $response) + { + $values[] = $this->getResponse($response, $pack); + } + } + } + } + return $values; + } + + public function getModuleDetailFromUserSpecJSON($module) + { + $recordFieldDetailsPath = $this->getEncodedFileName(); + $moduleDetail = Utility::getJSONObject(Initializer::getJSON($recordFieldDetailsPath), $module); + return $moduleDetail; + + } + + public function redirectorForJSONToObject($keyData) + { + $type = gettype($keyData); + if ($type == Constants::ARRAY_KEY) + { + foreach (array_keys($keyData) as $key) + { + if (gettype($key) == strtolower(Constants::STRING_NAMESPACE)) + { + $type = Constants::MAP_NAMESPACE; + } + break; + } + if ($type == Constants::MAP_NAMESPACE) + { + return $this->getMapData($keyData, null); + } + else + { + return $this->getCollectionsData($keyData, null); + } + } + else + { + return $keyData; + } + } + + public function findMatch($classes, $responseJson) + { + if(sizeof($classes) == 1) + { + return $this->getResponse($responseJson, $classes[0]); + } + $pack = ""; + $ratio = 0; + foreach ($classes as $className) + { + $matchRatio = $this->findRatio($className, $responseJson); + if ($matchRatio == 1.0) + { + $pack = $className; + $ratio = 1; + break; + } + else if ($matchRatio > $ratio) + { + $pack = $className; + $ratio = $matchRatio; + } + } + return $this->getResponse($responseJson, $pack); + } + + public function findRatio($className, $responseJson) + { + $classDetail = array(); + $classDetail = Initializer::$jsonDetails[$className]; + $totalPoints = sizeof(array_keys($classDetail)); + $matches = 0; + if ($totalPoints == 0) + { + return 0; + } + else + { + foreach ($classDetail as $memberName => $memberDetail) + { + $memberDetail = $classDetail[$memberName]; + $keyName = null; + if(array_key_exists(Constants::NAME, $memberDetail)) + { + $keyName = $memberDetail[Constants::NAME]; + } + if ($keyName != null && array_key_exists($keyName, $responseJson) && (is_array($responseJson[$keyName]) || $responseJson[$keyName] !== null)) + { + $keyData = $responseJson[$keyName]; + $type = gettype($keyData); + $structureName = null; + if(array_key_exists(Constants::STRUCTURE_NAME, $memberDetail)) + { + $structureName = $memberDetail[Constants::STRUCTURE_NAME]; + } + if ($type == Constants::ARRAY_KEY) + { + if(sizeof($keyData) > 0) + { + foreach ($keyData as $key => $value) + { + if (gettype($key) == strtolower(Constants::STRING_NAMESPACE)) + { + $type = Constants::MAP_NAMESPACE; + } + else + { + $type = Constants::LIST_NAMESPACE; + } + break; + } + } + else + { + $type = Constants::LIST_NAMESPACE; + } + } + if (strtolower($type) == strtolower($memberDetail[Constants::TYPE])) + { + $matches++; + } + else if(strtolower($keyName) == Constants::COUNT && strtolower($type) == strtolower(Constants::INTEGER_NAMESPACE)) + { + $matches++; + } + else if (strtolower($memberDetail[Constants::TYPE]) == strtolower(Constants::CHOICE_NAMESPACE)) + { + foreach ($memberDetail[Constants::VALUES] as $value) + { + if ($value == $keyData) + { + $matches ++; + break; + } + } + } + if($structureName != null && $structureName == $memberDetail[Constants::TYPE]) + { + if(array_key_exists(Constants::VALUES, $memberDetail)) + { + foreach($memberDetail[Constants::VALUES] as $value) + { + if($value == $keyData) + { + $matches ++; + break; + } + } + } + else + { + $matches ++; + } + } + } + } + } + return $matches / $totalPoints; + } + + public function buildName($memberName) + { + $name = explode("_", \strtolower($memberName)); + $sdkName = lcfirst($name[0]); + for ($nameIndex = 1; $nameIndex < count($name); $nameIndex ++) + { + $firstLetterUppercase = ""; + if(strlen(($name[$nameIndex])) > 0) + { + $firstLetterUppercase = ucfirst($name[$nameIndex]); + } + $sdkName = $sdkName . $firstLetterUppercase; + } + return $sdkName; + } +} \ No newline at end of file diff --git a/versions/5.0.0/src/com/zoho/crm/api/util/Model.php b/versions/5.0.0/src/com/zoho/crm/api/util/Model.php new file mode 100755 index 0000000..9f4a85f --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/util/Model.php @@ -0,0 +1,10 @@ +getResourcePath() . DIRECTORY_SEPARATOR . Constants::FIELD_DETAILS_DIRECTORY; + } + + /** + * The method to delete fields JSON File of the current user. + * @throws SDKException + */ + public static function deleteFieldsFile() + { + try + { + $class = new \ReflectionClass(JSONConverter::class); + $converterInstance = $class->newInstanceWithoutConstructor(); + $recordFieldDetailsPath = $converterInstance->getEncodedFileName(); + if (file_exists($recordFieldDetailsPath)) + { + unlink($recordFieldDetailsPath); + } + } + catch (\Exception $e) + { + $sdkException = new SDKException(null, null, null, $e); + SDKLogger::severeError(Constants::DELETE_FIELD_FILE_ERROR, $sdkException); + throw $sdkException; + } + } + + /** + * The method to delete all the field JSON files under resources directory. + */ + public static function deleteAllFieldFiles() + { + try + { + $recordFieldDetailsDirectory = self::getDirectory(); + $files = glob($recordFieldDetailsDirectory . '/*.json'); + // Deleting all the files in the list + foreach($files as $file) + { + if(is_file($file)) + { + unlink($file); + } + } + } + catch (\Exception $e) + { + $sdkException = new SDKException(null, null, null, $e); + SDKLogger::severeError(Constants::DELETE_FIELD_FILES_ERROR, $e); + throw $sdkException; + } + } + + /** + * The method to delete fields of the given module from the current user's fields JSON file. + * @param string $module A string representing the module. + */ + public static function deleteFields(String $module) + { + try + { + $class = new \ReflectionClass(JSONConverter::class); + $converterInstance = $class->newInstanceWithoutConstructor(); + $recordFieldDetailsPath = $converterInstance->getEncodedFileName(); + if (file_exists($recordFieldDetailsPath)) + { + $recordFieldDetailsJSON = Initializer::getJSON($recordFieldDetailsPath); + if(array_key_exists(strtolower($module), $recordFieldDetailsJSON)) + { + Utility::deleteFields($recordFieldDetailsJSON, $module); + file_put_contents($recordFieldDetailsPath, json_encode($recordFieldDetailsJSON)); + } + } + } + catch (\Exception $e) + { + throw new SDKException(null, null, null, $e); + } + } + + /** + * The method to force-refresh fields of a module. + * @param string $module A string representing the module. + * @throws SDKException + */ + public static function refreshFields(string $module) + { + try + { + self::deleteFields($module); + Utility::getFieldsInfo($module); + } + catch (SDKException $ex) + { + SDKLogger::severeError(Constants::REFRESH_SINGLE_MODULE_FIELDS_ERROR . $module, $ex); + throw $ex; + } + catch(\Exception $e) + { + $sdkException = new SDKException(null, null, null, $e); + SDKLogger::severeError(Constants::REFRESH_SINGLE_MODULE_FIELDS_ERROR . $module, $sdkException); + throw $sdkException; + } + } + + public static function refreshAllModules() + { + try + { + Utility::refreshModules(); + } + catch (SDKException $ex) + { + SDKLogger::severeError(Constants::REFRESH_ALL_MODULE_FIELDS_ERROR, $ex); + throw $ex; + } + catch(\Exception $e) + { + $sdkException = new SDKException(null, null, null, $e); + SDKLogger::severeError(Constants::REFRESH_ALL_MODULE_FIELDS_ERROR, $sdkException); + throw $sdkException; + } + } +} \ No newline at end of file diff --git a/versions/5.0.0/src/com/zoho/crm/api/util/StreamWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/util/StreamWrapper.php new file mode 100755 index 0000000..8610412 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/util/StreamWrapper.php @@ -0,0 +1,57 @@ +name = $name; + $this->stream = $stream; + if ($filepath != null) + { + if(file_exists($filepath)) + { + $file = fopen($filepath, "rb"); + $this->name = basename($filepath); + $this->stream = fread($file, filesize($filepath)); + fclose($file); + } + else + { + throw new SDKException(Constants::FILE_ERROR, Constants::FILE_DOES_NOT_EXISTS . " " . $filepath); + } + } + } + + /** + * This is a getter method to get the file name. + * @return string A string representing the file name. + */ + public function getName() + { + return $this->name; + } + + /** + * This is a getter method to get the file input stream. + * @return object A object representing the file input stream. + */ + public function getStream() + { + return $this->stream; + } +} \ No newline at end of file diff --git a/versions/5.0.0/src/com/zoho/crm/api/util/Utility.php b/versions/5.0.0/src/com/zoho/crm/api/util/Utility.php new file mode 100755 index 0000000..27698c8 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/util/Utility.php @@ -0,0 +1,1106 @@ +getSDKConfig()->getAutoRefreshFields() && !self::$newFile && !self::$getModifiedModules && (!array_key_exists(Constants::FIELDS_LAST_MODIFIED_TIME, $recordFieldDetailsJson) || self::$forceRefresh || (round(microtime(true) * 1000) - $recordFieldDetailsJson[Constants::FIELDS_LAST_MODIFIED_TIME]) > 3600000)) + { + self::$getModifiedModules = true; + $lastModifiedTime = (!self::$forceRefresh && array_key_exists(Constants::FIELDS_LAST_MODIFIED_TIME, $recordFieldDetailsJson)) ? $recordFieldDetailsJson[Constants::FIELDS_LAST_MODIFIED_TIME] : null; + self::modifyFields($recordFieldDetailsPath, $lastModifiedTime); + self::$getModifiedModules = false; + } + else if(!Initializer::getInitializer()->getSDKConfig()->getAutoRefreshFields() && self::$forceRefresh && !self::$getModifiedModules) + { + self::$getModifiedModules = true; + self::modifyFields($recordFieldDetailsPath, $lastModifiedTime); + self::$getModifiedModules = false; + } + $recordFieldDetailsJson = Initializer::getJSON($recordFieldDetailsPath); + if ($moduleAPIName == null || (array_key_exists(strtolower($moduleAPIName), $recordFieldDetailsJson) && isset($recordFieldDetailsJson[strtolower($moduleAPIName)]))) + { + return; + } + else + { + self::fillDataType(); + $recordFieldDetailsJson[strtolower($moduleAPIName)] = array(); + file_put_contents($recordFieldDetailsPath, json_encode($recordFieldDetailsJson)); + $fieldDetails = self::getFieldDetails($moduleAPIName); + $recordFieldDetailsJson = Initializer::getJSON($recordFieldDetailsPath); + $recordFieldDetailsJson[strtolower($moduleAPIName)] = $fieldDetails; + file_put_contents($recordFieldDetailsPath, json_encode($recordFieldDetailsJson)); + } + } + + private static function verifyModuleAPIName($moduleName) + { + if($moduleName != null && array_key_exists(strtolower($moduleName), Constants::DEFAULT_MODULENAME_VS_APINAME) && Constants::DEFAULT_MODULENAME_VS_APINAME[strtolower($moduleName)] != null) + { + return Constants::DEFAULT_MODULENAME_VS_APINAME[strtolower($moduleName)]; + } + $recordFieldDetailsPath = Initializer::getInitializer()->getResourcePath() . DIRECTORY_SEPARATOR . Constants::FIELD_DETAILS_DIRECTORY . DIRECTORY_SEPARATOR . self::getFileName(); + if (file_exists($recordFieldDetailsPath)) + { + $fieldsJSON = Initializer::getJSON($recordFieldDetailsPath); + if(array_key_exists(Constants::SDK_MODULE_METADATA, $fieldsJSON) && array_key_exists(strtolower($moduleName), $fieldsJSON[Constants::SDK_MODULE_METADATA])) + { + $moduleMeta = $fieldsJSON[Constants::SDK_MODULE_METADATA]; + return $moduleMeta[strtolower($moduleName)][Constants::API_NAME]; + } + } + return $moduleName; + } + + private static function setHandlerAPIPath($moduleAPIName, $handlerInstance) + { + if($handlerInstance == null) + { + return; + } + $apiPath = $handlerInstance->getAPIPath(); + if(strpos(strtolower($apiPath), strtolower($moduleAPIName)) == true) + { + $apiPathSplit = explode("/", $apiPath); + for($i = 0; $i < sizeof($apiPathSplit); $i++) + { + if(strtolower($apiPathSplit[$i]) == strtolower($moduleAPIName)) + { + $apiPathSplit[$i] = $moduleAPIName; + } + else if(array_key_exists(strtolower($apiPathSplit[$i]), Constants::DEFAULT_MODULENAME_VS_APINAME) && Constants::DEFAULT_MODULENAME_VS_APINAME[strtolower($apiPathSplit[$i])] != null) + { + $apiPathSplit[$i] = Constants::DEFAULT_MODULENAME_VS_APINAME[strtolower($apiPathSplit[$i])]; + } + } + $apiPath = join("/", $apiPathSplit); + $handlerInstance->setAPIPath($apiPath); + } + } + + /** + * This method to fetch field details of the current module for the current user and store the result in a JSON file. + * @param string $moduleAPIName A String containing the CRM module API name. + * @param string $handlerInstance A CommonAPIHandler Instance + */ + public static function getFields($moduleAPIName, $handlerInstance = null) + { + if (strpos($moduleAPIName, ",") !== false) + { + $moduleAPINames = explode(",", $moduleAPIName); + foreach($moduleAPINames as $moduleName) + { + self::$moduleAPIName = $moduleName; + self::getFieldsInfo(self::$moduleAPIName, $handlerInstance); + } + } + else + { + self::$moduleAPIName = $moduleAPIName; + self::getFieldsInfo(self::$moduleAPIName, $handlerInstance); + } + } + + /** + * This method to fetch field details of the current module for the current user and store the result in a JSON file. + * @param string $moduleAPIName A String containing the CRM module API name. + * @throws SDKException + */ + public static function getFieldsInfo($moduleAPIName, $handlerInstance = null) + { + $recordFieldDetailsPath = null; + $lastModifiedTime = null; + try + { + $resourcesPath = Initializer::getInitializer()->getResourcePath() . DIRECTORY_SEPARATOR . Constants::FIELD_DETAILS_DIRECTORY; + if (!file_exists($resourcesPath)) + { + mkdir($resourcesPath); + } + $moduleAPIName = self::verifyModuleAPIName($moduleAPIName); + self::setHandlerAPIPath($moduleAPIName, $handlerInstance); + if($handlerInstance != null && $handlerInstance->getModuleAPIName() == null && !in_array(strtolower($moduleAPIName), Constants::SKIP_MODULES)) + { + return; + } + $recordFieldDetailsPath = $resourcesPath . DIRECTORY_SEPARATOR . self::getFileName(); + if (file_exists($recordFieldDetailsPath)) + { + self::fileExistsFlow($moduleAPIName, $recordFieldDetailsPath, $lastModifiedTime); + } + else if(Initializer::getInitializer()->getSDKConfig()->getAutoRefreshFields()) + { + self::$newFile = true; + self::fillDataType(); + self::$apiSupportedModule = count(self::$apiSupportedModule) > 0 ? self::$apiSupportedModule : self::getModules(null); + $recordFieldDetailsJson = file_exists($recordFieldDetailsPath) ? Initializer::getJSON($recordFieldDetailsPath) : array(); + $recordFieldDetailsJson[Constants::FIELDS_LAST_MODIFIED_TIME] = round(microtime(true) * 1000); + if(count(self::$apiSupportedModule) > 0) + { + foreach(self::$apiSupportedModule as $module => $value) + { + if(!array_key_exists($module, $recordFieldDetailsJson)) + { + $moduleData = self::$apiSupportedModule[$module]; + $recordFieldDetailsJson[$module] = array(); + file_put_contents($recordFieldDetailsPath, json_encode($recordFieldDetailsJson));// file created with only dummy + $fieldDetails = Utility::getFieldDetails($moduleData[Constants::API_NAME]); + $recordFieldDetailsJson = Initializer::getJSON($recordFieldDetailsPath); + $recordFieldDetailsJson[$module] = $fieldDetails; + file_put_contents($recordFieldDetailsPath, json_encode($recordFieldDetailsJson));// overwrting the dummy +existing data + } + } + } + self::$newFile = false; + } + else if(self::$forceRefresh && !self::$getModifiedModules) + { + //New file - and force refresh by User + self::$getModifiedModules = true; + $recordFieldDetailsJson = array(); + file_put_contents($recordFieldDetailsPath, json_encode($recordFieldDetailsJson));// file created with only dummy + self::modifyFields($recordFieldDetailsPath, $lastModifiedTime); + self::$getModifiedModules = false; + } + else + { + Utility::fillDataType(); + $recordFieldDetailsJson = array(); + $recordFieldDetailsJson[strtolower($moduleAPIName)] = array(); + file_put_contents($recordFieldDetailsPath, json_encode($recordFieldDetailsJson)); + $fieldDetails = Utility::getFieldDetails($moduleAPIName); + $recordFieldDetailsJson = Initializer::getJSON($recordFieldDetailsPath); + $recordFieldDetailsJson[strtolower($moduleAPIName)] = $fieldDetails; + file_put_contents($recordFieldDetailsPath, json_encode($recordFieldDetailsJson)); + } + } + catch (\Exception $e) + { + if($recordFieldDetailsPath != null && file_exists($recordFieldDetailsPath)) + { + $recordFieldDetailsJson = array(); + try + { + $recordFieldDetailsJson = Initializer::getJSON($recordFieldDetailsPath); + if(array_key_exists(strtolower($moduleAPIName), $recordFieldDetailsJson)) + { + unset($recordFieldDetailsJson[strtolower($moduleAPIName)]); + } + if(self::$newFile) + { + if(array_key_exists(Constants::FIELDS_LAST_MODIFIED_TIME, $recordFieldDetailsJson) && $recordFieldDetailsJson[Constants::FIELDS_LAST_MODIFIED_TIME] != null) + { + unset($recordFieldDetailsJson[Constants::FIELDS_LAST_MODIFIED_TIME]); + } + self::$newFile = false; + } + if(self::$getModifiedModules || self::$forceRefresh) + { + self::$getModifiedModules = false; + self::$forceRefresh = false; + if($lastModifiedTime != null) + { + $recordFieldDetailsJson[Constants::FIELDS_LAST_MODIFIED_TIME] = $lastModifiedTime; + } + } + file_put_contents($recordFieldDetailsPath, json_encode($recordFieldDetailsJson)); + } + catch (\Exception $ex) + { + if(!($ex instanceof self::$sdkException)) + { + $ex = new SDKException(null, null, null, $ex); + } + SDKLogger::severeError(Constants::EXCEPTION, $ex); + throw $ex; + } + } + if(!($e instanceof self::$sdkException)) + { + $e = new SDKException(null, null, null, $e); + } + SDKLogger::severeError(Constants::EXCEPTION, $e); + throw $e; + } + } + + private static function modifyFields($recordFieldDetailsPath, $modifiedTime) + { + $modifiedModules = self::getModules($modifiedTime); + $recordFieldDetailsJson = Initializer::getJSON($recordFieldDetailsPath); + $recordFieldDetailsJson[Constants::FIELDS_LAST_MODIFIED_TIME] = round(microtime(true) * 1000); + file_put_contents($recordFieldDetailsPath, json_encode($recordFieldDetailsJson)); + if(count($modifiedModules) > 0) + { + foreach($modifiedModules as $module => $value) + { + if(array_key_exists(strtolower($module), $recordFieldDetailsJson)) + { + unset($recordFieldDetailsJson[strtolower($module)]); + } + } + file_put_contents($recordFieldDetailsPath, json_encode($recordFieldDetailsJson)); + foreach($modifiedModules as $module => $value) + { + $moduleData = $modifiedModules[strtolower($module)]; + Utility::getFieldsInfo($moduleData[Constants::API_NAME], null); + } + } + } + + public static function deleteFields(&$recordFieldDetailsJson, $module) + { + $subformModules = array(); + $fieldsJSON = $recordFieldDetailsJson[$module]; + foreach ($fieldsJSON as $key => $value) + { + if(array_key_exists(Constants::SUBFORM, $value) && $value[Constants::SUBFORM] == true && array_key_exists($value[Constants::MODULE], $recordFieldDetailsJson)) + { + array_push($subformModules, $value[Constants::MODULE]); + } + } + unset($recordFieldDetailsJson[$module]); + if(count($subformModules) > 0) + { + foreach($subformModules as $subformModule) + { + self::deleteFields($recordFieldDetailsJson, $subformModule); + } + } + } + public static function getFileName() + { + $initializer = Initializer::getInitializer(); + $token = $initializer->getToken(); + $accessToken = ""; + $refreshToken = ""; + $tokenKey = ""; + if ($token instanceof OAuthToken) + { + $oauthToken = $token; + if($oauthToken->getUserSignature() != null) + { + $tokenKey = $oauthToken->getUserSignature()->getName(); + } + else + { + $refreshToken = $oauthToken->getRefreshToken(); + if ($refreshToken != null && strlen($refreshToken) > 0) + { + $tokenKey = substr($refreshToken, 0, strlen($refreshToken) - 32); + } + else + { + $accessToken = $oauthToken->getAccessToken(); + if ($accessToken != null && strlen($accessToken) > 0) + { + $tokenKey = substr($accessToken, 0, strlen($accessToken) - 32); + } + } + } + } + $fileName = $initializer->getEnvironment()->getUrl(); + if ($tokenKey != null && strlen($tokenKey) > 0) + { + $fileName = $fileName . $tokenKey; + } + $input = unpack('C*', mb_convert_encoding($fileName, "UTF-8")); + $str = base64_encode(implode(array_map("chr", $input))); + return $str . ".json"; + } + + public static function getRelatedLists($relatedModuleName, $moduleAPIName, &$commonAPIHandler) + { + try + { + $isNewData = false; + $key = strtolower($moduleAPIName . Constants::UNDERSCORE . Constants::RELATED_LISTS); + $resourcesPath = Initializer::getInitializer()->getResourcePath() . DIRECTORY_SEPARATOR . Constants::FIELD_DETAILS_DIRECTORY; + if (!is_dir($resourcesPath)) + { + mkdir($resourcesPath); + } + $recordFieldDetailsPath = $resourcesPath . DIRECTORY_SEPARATOR . self::getFileName(); + if(!file_exists($recordFieldDetailsPath) || (file_exists($recordFieldDetailsPath) && (!array_key_exists($key, Initializer::getJSON($recordFieldDetailsPath)) || (is_null(Initializer::getJSON($recordFieldDetailsPath)[$key]) || count(Initializer::getJSON($recordFieldDetailsPath)[$key]) <= 0 )))) + { + $isNewData = true; + $moduleAPIName = self::verifyModuleAPIName($moduleAPIName); + $relatedListValues = self::getRelatedListDetails($moduleAPIName); + $recordFieldDetailsJSON = file_exists($recordFieldDetailsPath) ? Initializer::getJSON($recordFieldDetailsPath) : array(); + $recordFieldDetailsJSON[$key] = $relatedListValues; + file_put_contents($recordFieldDetailsPath, json_encode($recordFieldDetailsJSON)); + } + $recordFieldDetailsJSON = Initializer::getJSON($recordFieldDetailsPath); + $modulerelatedList = array_key_exists($key, $recordFieldDetailsJSON) ? $recordFieldDetailsJSON[$key] : array(); + if(!self::checkRelatedListExists($relatedModuleName, $modulerelatedList, $commonAPIHandler) && !$isNewData) + { + unset($recordFieldDetailsJSON[$key]); + file_put_contents($recordFieldDetailsPath, json_encode($recordFieldDetailsJSON)); + self::getRelatedLists($relatedModuleName, $moduleAPIName, $commonAPIHandler); + } + } + catch (SDKException $ex) + { + SDKLogger::severeError(Constants::EXCEPTION, $ex); + throw $ex; + } + catch (\Exception $e) + { + $exception = new SDKException(Constants::EXCEPTION, null,null,$e); + SDKLogger::severeError(Constants::EXCEPTION, $exception); + throw $exception; + } + } + + private static function checkRelatedListExists($relatedModuleName, $modulerelatedListJA, $commonAPIHandler) + { + foreach($modulerelatedListJA as $relatedListJO) + { + if(array_key_exists(Constants::API_NAME, $relatedListJO) && ($relatedListJO[Constants::API_NAME] != null && strtolower($relatedListJO[Constants::API_NAME]) == strtolower($relatedModuleName))) + { + if($relatedListJO[Constants::HREF] === Constants::NULL_VALUE) + { + throw new SDKException(Constants::UNSUPPORTED_IN_API, $commonAPIHandler->getHttpMethod() . " " . $commonAPIHandler->getAPIPath() . " " . Constants::UNSUPPORTED_IN_API_MESSAGE); + } + if($relatedListJO[Constants::MODULE] !== Constants::NULL_VALUE) + { + $commonAPIHandler->setModuleAPIName($relatedListJO[Constants::MODULE]); + self::getFieldsInfo($relatedListJO[Constants::MODULE], $commonAPIHandler); + } + return true; + } + } + return false; + } + + private static function getRelatedListDetails($moduleAPIName) + { + $relatedListsOperations = new RelatedListsOperations(); + $paramInstance = new ParameterMap(); + $paramInstance->add(GetRelatedListsParam::module(), $moduleAPIName); + $response = $relatedListsOperations->getRelatedLists($paramInstance); + $relatedListJA = array(); + if($response != null) + { + if(strval($response->getStatusCode()) == Constants::NO_CONTENT_STATUS_CODE) + { + return $relatedListJA; + } + $responseHandler = $response->getObject(); + $relatedlistsResponseWrapper = 'com\zoho\crm\api\relatedlists\ResponseWrapper'; + $relatedlistsAPIException = 'com\zoho\crm\api\relatedlists\APIException'; + if($responseHandler instanceof $relatedlistsResponseWrapper) + { + $responseWrapper = $responseHandler; + $relatedLists = $responseWrapper->getRelatedLists(); + foreach($relatedLists as $relatedList) + { + $relatedListDetail = array(); + $relatedListDetail[Constants::API_NAME] = $relatedList->getAPIName(); + $relatedListDetail[Constants::MODULE] = $relatedList->getModule() != null ? $relatedList->getModule()->getAPIName() : Constants::NULL_VALUE; + $relatedListDetail[Constants::NAME] = $relatedList->getName(); + $relatedListDetail[Constants::HREF] = $relatedList->getHref() != null ? $relatedList->getHref() : Constants::NULL_VALUE; + array_push($relatedListJA, $relatedListDetail); + } + } + else if($responseHandler instanceof $relatedlistsAPIException) + { + $exception = $responseHandler; + $errorResponse = array(); + $errorResponse[Constants::CODE] = $exception->getCode()->getValue(); + $errorResponse[Constants::STATUS] = $exception->getStatus()->getValue(); + $errorResponse[Constants::MESSAGE] = $exception->getMessage(); + throw new SDKException(Constants::API_EXCEPTION, null, $errorResponse); + } + else + { + $errorResponse = array(); + $errorResponse[Constants::CODE] = $response->getStatusCode(); + throw new SDKException(Constants::API_EXCEPTION, null, $errorResponse); + } + } + return $relatedListJA; + } + + /** + * This method to get module field data from Zoho CRM. + * @param string $moduleAPIName A string containing the CRM module API name. + * @return array[] A array[] representing the Zoho CRM module field details. + */ + public static function getFieldDetails($moduleAPIName) + { + $fieldsDetails = array(); + $fieldOperation = new FieldsOperations(); + $parameterMap = new ParameterMap(); + $parameterMap->add(GetFieldsParam::module(), $moduleAPIName); + $response = $fieldOperation->getFields($parameterMap); + if($response != null) + { + if(strval($response->getStatusCode()) == Constants::NO_CONTENT_STATUS_CODE) + { + return $fieldsDetails; + } + $responseHandler = $response->getObject(); + if($responseHandler instanceof ResponseWrapper) + { + $responseWrapper = $responseHandler; + $fields = $responseWrapper->getFields(); + foreach ($fields as $field) + { + $keyName = $field->getAPIName(); + if (in_array($keyName, Constants::KEYS_TO_SKIP)) + { + continue; + } + $fieldDetail = array(); + $fieldDetail = Utility::setDataType($fieldDetail, $field, $moduleAPIName); + $fieldsDetails[$field->getAPIName()] = $fieldDetail; + } + if(in_array(strtolower($moduleAPIName), Constants::INVENTORY_MODULES)) + { + $fieldDetail = array(); + $fieldDetail[Constants::NAME] = Constants::LINE_TAX; + $fieldDetail[Constants::TYPE] = Constants::LIST_NAMESPACE; + $fieldDetail[Constants::STRUCTURE_NAME] = Constants::LINE_TAX_NAMESPACE; + $fieldDetail[Constants::LOOKUP] = true; + $fieldsDetails[Constants::LINE_TAX] = $fieldDetail; + } + if(strtolower($moduleAPIName) === strtolower(Constants::NOTES)) + { + $fieldDetail = array(); + $fieldDetail[Constants::NAME] = Constants::ATTACHMENTS; + $fieldDetail[Constants::TYPE] = Constants::LIST_NAMESPACE; + $fieldDetail[Constants::STRUCTURE_NAME] = Constants::ATTACHMENTS_NAMESPACE; + $fieldsDetails[Constants::ATTACHMENTS] = $fieldDetail; + } + } + else if($responseHandler instanceof APIException) + { + $exception = $responseHandler; + $errorResponse = array(); + $errorResponse[Constants::CODE] = $exception->getCode()->getValue(); + $errorResponse[Constants::STATUS] = $exception->getStatus()->getValue(); + $errorResponse[Constants::MESSAGE] = $exception->getMessage(); + $exception = new SDKException(Constants::API_EXCEPTION, null, $errorResponse); + if(strtolower(self::$moduleAPIName) == strtolower($moduleAPIName)) + { + throw $exception; + } + SDKLogger::severeError(Constants::API_EXCEPTION, $exception); + } + } + else + { + throw new SDKException(Constants::API_EXCEPTION, null, null); + } + return $fieldsDetails; + } + + public static function verifyPhotoSupport($moduleAPIName) + { + try + { + $moduleAPIName = self::verifyModuleAPIName($moduleAPIName); + if(in_array(strtolower($moduleAPIName), Constants::PHOTO_SUPPORTED_MODULES)) + { + return true; + } + $modules = self::getModuleNames(); + if(array_key_exists(strtolower($moduleAPIName), $modules) && $modules[strtolower($moduleAPIName)] != null) + { + $moduleMetaData = $modules[strtolower($moduleAPIName)]; + if(array_key_exists(Constants::GENERATED_TYPE, $moduleMetaData) && $moduleMetaData[Constants::GENERATED_TYPE] != Constants::GENERATED_TYPE_CUSTOM) + { + throw new SDKException(Constants::UPLOAD_PHOTO_UNSUPPORTED_ERROR, Constants::UPLOAD_PHOTO_UNSUPPORTED_MESSAGE . $moduleAPIName); + } + } + } + catch(SDKException $e) + { + throw $e; + } + catch(\Exception $e) + { + throw new SDKException(Constants::EXCEPTION, $e); + } + return true; + } + + private static function getModuleNames() + { + $moduleData = array(); + $resourcesPath = Initializer::getInitializer()->getResourcePath() . DIRECTORY_SEPARATOR . Constants::FIELD_DETAILS_DIRECTORY; + if (!is_dir($resourcesPath)) + { + mkdir($resourcesPath); + } + $recordFieldDetailsPath = $resourcesPath . DIRECTORY_SEPARATOR . self::getFileName(); + if (!file_exists($recordFieldDetailsPath) || (file_exists($recordFieldDetailsPath) && (!array_key_exists(Constants::SDK_MODULE_METADATA, Initializer::getJSON($recordFieldDetailsPath)) || (Initializer::getJSON($recordFieldDetailsPath)[Constants::SDK_MODULE_METADATA] == null || count(Initializer::getJSON($recordFieldDetailsPath)[Constants::SDK_MODULE_METADATA]) <= 0)))) + { + $moduleData = self::getModules(null); + self::writeModuleMetaData($recordFieldDetailsPath, $moduleData); + return $moduleData; + } + $recordFieldDetailsJson = Initializer::getJSON($recordFieldDetailsPath); + return $recordFieldDetailsJson[Constants::SDK_MODULE_METADATA]; + } + + private static function writeModuleMetaData($recordFieldDetailsPath, $moduleData) + { + $fieldDetailsJSON = file_exists($recordFieldDetailsPath) ? Initializer::getJSON($recordFieldDetailsPath) : array(); + $fieldDetailsJSON[Constants::SDK_MODULE_METADATA] = $moduleData; + file_put_contents($recordFieldDetailsPath, json_encode($fieldDetailsJSON)); + } + + private static function getModules($header) + { + $apiNames = array(); + $headerMap = new HeaderMap(); + if($header != null) + { + $datetime = new \DateTime(date("Y-m-d H:i:s", intval($header/1000))); + $datetime->setTimezone(new \DateTimeZone(date_default_timezone_get())); + $moduleHeader = new Header(Constants::IF_MODIFIED_SINCE); + $headerMap->add($moduleHeader, $datetime); + } + $modulesOperations = new ModulesOperations(); + $response = $modulesOperations->getModules($headerMap); + if($response != null) + { + if(in_array(strval($response->getStatusCode()), array(Constants::NO_CONTENT_STATUS_CODE, Constants::NOT_MODIFIED_STATUS_CODE))) + { + return $apiNames; + } + $responseObject = $response->getObject(); + $moduleResponseWrapper = Constants::MODULE_RESPONSE_WRAPPER; + $apiException = Constants::MODULE_API_EXCEPTION; + if($responseObject instanceof $moduleResponseWrapper) + { + $modules = $responseObject->getModules(); + foreach($modules as $module) + { + if($module->getAPISupported()) + { + $moduleDetails = array(); + $moduleDetails[Constants::API_NAME] = $module->getAPIName(); + $moduleDetails[Constants::GENERATED_TYPE] = $module->getGeneratedType()->getValue(); + $apiNames[strtolower($module->getAPIName())] = $moduleDetails; + } + } + } + else if ($responseObject instanceOf $apiException) + { + $exception = $responseObject; + $errorResponse = array(); + $errorResponse[Constants::CODE] = $exception->getCode()->getValue(); + $errorResponse[Constants::STATUS] = $exception->getStatus()->getValue(); + $errorResponse[Constants::MESSAGE] = $exception->getMessage(); + throw new SDKException(Constants::API_EXCEPTION, null, $errorResponse); + } + } + if($header == null) + { + try + { + $resourcesPath = Initializer::getInitializer()->getResourcePath() . DIRECTORY_SEPARATOR . Constants::FIELD_DETAILS_DIRECTORY; + if (!file_exists($resourcesPath)) + { + mkdir($resourcesPath); + } + $recordFieldDetailsPath = $resourcesPath . DIRECTORY_SEPARATOR . self::getFileName(); + self::writeModuleMetaData($recordFieldDetailsPath, $apiNames); + } + catch (\Exception $e) + { + throw new SDKException(Constants::EXCEPTION, null, null, $e); + } + } + return $apiNames; + } + + public static function refreshModules() + { + self::$forceRefresh = true; + self::getFieldsInfo(null, null); + self::$forceRefresh = false; + } + + public static function getJSONObject($json, $key) + { + foreach ($json as $JSONKey => $value) + { + if (strtolower($key) == strtolower($JSONKey)) + { + return $value; + } + } + return null; + } + + public static function setDataType($fieldDetail, $field, $moduleAPIName) + { + $apiType = $field->getDataType(); + $keyName = $field->getAPIName(); + $module = new MinifiedModule(); + if($field->getSystemMandatory() != null && $field->getSystemMandatory() == true && !(strtolower($moduleAPIName) == strtolower(Constants::CALLS) && strtolower($keyName) == strtolower(Constants::CALL_DURATION))) + { + $fieldDetail[Constants::REQUIRED] = true; + } + if (strtolower($keyName) == Constants::PRICING_DETAILS && strtolower($moduleAPIName) == Constants::PRICE_BOOKS) + { + $fieldDetail[Constants::NAME] = $keyName; + $fieldDetail[Constants::TYPE] = Constants::LIST_NAMESPACE; + $fieldDetail[Constants::STRUCTURE_NAME] = Constants::PRICING_DETAILS_NAMESPACE; + $fieldDetail[Constants::SKIP_MANDATORY] = true; + return $fieldDetail; + } + else if (strtolower($keyName) == Constants::PARTICIPANT_API_NAME && (strtolower($moduleAPIName) == Constants::EVENTS || strtolower($moduleAPIName) == Constants::ACTIVITIES)) + { + $fieldDetail[Constants::NAME] = $keyName; + $fieldDetail[Constants::TYPE] = Constants::LIST_NAMESPACE; + $fieldDetail[Constants::STRUCTURE_NAME] = Constants::PARTICIPANTS; + $fieldDetail[Constants::SKIP_MANDATORY] = true; + return $fieldDetail; + } + else if (strtolower($keyName) == Constants::COMMENTS && (strtolower($moduleAPIName) == Constants::SOLUTIONS || strtolower($moduleAPIName) == Constants::CASES)) + { + $fieldDetail[Constants::NAME] = $keyName; + $fieldDetail[Constants::TYPE] = Constants::LIST_NAMESPACE; + $fieldDetail[Constants::STRUCTURE_NAME] = Constants::COMMENT_NAMESPACE; + $fieldDetail[Constants::LOOKUP] = true; + return $fieldDetail; + } + else if (strtolower($keyName) == Constants::LAYOUT) + { + $fieldDetail[Constants::NAME] = $keyName; + $fieldDetail[Constants::TYPE] = Constants::LAYOUT_NAMESPACE; + $fieldDetail[Constants::STRUCTURE_NAME] = Constants::LAYOUT_NAMESPACE; + $fieldDetail[Constants::LOOKUP] = true; + return $fieldDetail; + } + else if((strtolower($keyName) == strtolower(Constants::TERRITORIES) || strtolower($keyName) == strtolower(Constants::TERRITORY)) && $field->getCustomField() !== null && $field->getCustomField() == false) + { + $fieldDetail[Constants::NAME] = $keyName; + $fieldDetail[Constants::TYPE] = Constants::LIST_NAMESPACE; + $fieldDetail[Constants::STRUCTURE_NAME] = Constants::TERRITORY_NAMESPACE; + $fieldDetail[Constants::LOOKUP] = true; + return $fieldDetail; + } + else if(strtolower($keyName) == strtolower(Constants::PRODUCT_NAME) && in_array(strtolower($moduleAPIName), Constants::INVENTORY_MODULES_ITEMS)) + { + $fieldDetail[Constants::NAME] = $keyName; + $fieldDetail[Constants::TYPE] = Constants::LINEITEM_PRODUCT; + $fieldDetail[Constants::STRUCTURE_NAME] = Constants::LINEITEM_PRODUCT; + $fieldDetail[Constants::SKIP_MANDATORY] = true; + return $fieldDetail; + } + else if(strtolower($keyName) == strtolower(Constants::DISCOUNT) && in_array(strtolower($moduleAPIName), Constants::INVENTORY_MODULES_ITEMS)) + { + $fieldDetail[Constants::NAME] = $keyName; + $fieldDetail[Constants::TYPE] = Constants::STRING_NAMESPACE; + return $fieldDetail; + } + else if (strtolower($keyName) == strtolower(Constants::TAX) && strtolower(Constants::PRODUCTS) == strtolower($moduleAPIName)) + { + $fieldDetail[Constants::NAME] = $keyName; + $fieldDetail[Constants::TYPE] = Constants::LIST_NAMESPACE; + $fieldDetail[Constants::STRUCTURE_NAME] = Constants::TAX_NAMESPACE; + return $fieldDetail; + } + else if (array_key_exists($apiType, Utility::$apiTypeVsDataType)) + { + $fieldDetail[Constants::TYPE] = Utility::$apiTypeVsDataType[$apiType]; + } + else if(strtolower($apiType) == Constants::FORMULA) + { + if($field->getFormula() != null) + { + $returnType = $field->getFormula()->getReturnType(); + if($returnType != null && array_key_exists($returnType, Utility::$apiTypeVsDataType) && Utility::$apiTypeVsDataType[$returnType] != null) + { + $fieldDetail[Constants::TYPE] = Utility::$apiTypeVsDataType[$returnType]; + } + } + $fieldDetail[Constants::READ_ONLY] = true; + } + else if(strtolower($apiType) == Constants::ROLLUP_SUMMARY) + { + if($field->getRollupSummary() != null) + { + $returnType = $field->getRollupSummary()->getReturnType(); + if($returnType != null && array_key_exists($returnType, Utility::$apiTypeVsDataType) && Utility::$apiTypeVsDataType[$returnType] != null) + { + $fieldDetail[Constants::TYPE] = Utility::$apiTypeVsDataType[$returnType]; + } + else if($field->getJsonType() != null && array_key_exists($field->getJsonType(), Utility::$apiTypeVsDataType) && Utility::$apiTypeVsDataType[$field->getJsonType()] != null) + { + $fieldDetail[Constants::TYPE] = Utility::$apiTypeVsDataType[$field->getJsonType()]; + } + } + } + else + { + return; + } + if(strpos(strtolower($apiType), Constants::LOOKUP) !== false) + { + $fieldDetail[Constants::LOOKUP] = true; + } + if(strtolower($apiType) == Constants::CONSENT_LOOKUP || strtolower($apiType) == Constants::OWNER_LOOKUP) + { + $fieldDetail[Constants::SKIP_MANDATORY] = true; + } + if(strtolower($apiType) == Constants::MULTI_SELECT_LOOKUP) + { + $fieldDetail[Constants::SKIP_MANDATORY] = true; + if($field->getMultiselectlookup() != null && $field->getMultiselectlookup()->getLinkingModule() != null) + { + $linkingModule = $field->getMultiselectlookup()->getLinkingModule(); + $fieldDetail[Constants::MODULE] = $linkingModule->getAPIName(); + $module = $linkingModule; + } + $fieldDetail[Constants::SUBFORM] = true; + } + if(strtolower($apiType) == Constants::MULTI_USER_LOOKUP) + { + $fieldDetail[Constants::SKIP_MANDATORY] = true; + if($field->getMultiuserlookup() != null && $field->getMultiuserlookup()->getLinkingModule() != null) + { + $linkingModule = $field->getMultiuserlookup()->getLinkingModule(); + $fieldDetail[Constants::MODULE] = $linkingModule->getAPIName(); + $module = $linkingModule; + } + $fieldDetail[Constants::SUBFORM] = true; + } + if(strtolower($apiType) == Constants::MULTI_MODULE_LOOKUP) + { + $fieldDetail[Constants::SKIP_MANDATORY] = true; + $fieldDetail[Constants::SUBFORM] = true; + } + if (array_key_exists($apiType, Utility::$apiTypeVsStructureName)) + { + $fieldDetail[Constants::STRUCTURE_NAME] = Utility::$apiTypeVsStructureName[$apiType]; + } + if (strtolower($apiType) == Constants::PICKLIST && ($field->getPickListValues() != null && sizeof($field->getPickListValues()) > 0)) + { + $fieldDetail[Constants::PICKLIST] = true; + $values = array(); + foreach ($field->getPickListValues() as $plv) + { + $values[] = $plv->getDisplayValue(); + } + $fieldDetail[Constants::VALUES] = $values; + } + if ($apiType == Constants::SUBFORM && $field->getAssociatedModule() != null) + { + $module->setAPIName($field->getAssociatedModule()->getModule()); + $fieldDetail[Constants::MODULE] = $module->getAPIName(); + $fieldDetail[Constants::SKIP_MANDATORY] = true; + $fieldDetail[Constants::SUBFORM] = true; + } + if ($apiType == Constants::LOOKUP && $field->getLookup() != null) + { + $module1 = $field->getLookup()->getModule(); + if ($module1 != null && strtolower($module1->getAPIName()) != Constants::SE_MODULE) + { + $module->setAPIName($module1->getAPIName()); + $module->setId($module1->getId()); + $fieldDetail[Constants::MODULE] = $module1->getAPIName(); + if(strtolower($module1->getAPIName()) == Constants::ACCOUNTS && !$field->getCustomField()) + { + $fieldDetail[Constants::SKIP_MANDATORY] = true; + } + } + else + { + $module = new MinifiedModule(); + } + $fieldDetail[Constants::LOOKUP] = true; + } + if ($module != null && $module->getAPIName() != null && strlen($module->getAPIName()) > 0) + { + Utility::getFieldsInfo($module->getAPIName()); + } + $fieldDetail[Constants::NAME] = $keyName; + return $fieldDetail; + } + + public static function fillDataType() + { + if(count(self::$apiTypeVsDataType) > 0) + { + return; + } + $fieldAPINamesString = ["textarea", "text", "website", "email", "phone", "mediumtext", "profileimage", "autonumber"]; + $fieldAPINamesInteger = ["integer"]; + $fieldAPINamesBoolean = ["boolean"]; + $fieldAPINamesLong = ["long", "bigint"]; + $fieldAPINamesDouble = ["double", "percent", "lookup", "currency"]; + $fieldAPINamesFieldFile = ["fileupload"]; + $fieldAPINamesDateTime = ["datetime", "event_reminder"]; + $fieldAPINamesDate = ["date"]; + $fieldAPINamesLookup = ["lookup"]; + $fieldAPINamesPickList = ["picklist"]; + $fieldAPINamesMultiSelectPickList = ["multiselectpicklist"]; + $fieldAPINamesSubForm = ["subform"]; + $fieldAPINamesOwnerLookUp = ["ownerlookup", "userlookup"]; + $fieldAPINamesMultiUserLookUp = ["multiuserlookup"]; + $fieldAPINameTaskRemindAt = ["ALARM"]; + $fieldAPINameRecurringActivity = ["RRULE"]; + $fieldAPINameReminder = ["multireminder"]; + $fieldAPINameConsentLookUp = ["consent_lookup"]; + $fieldAPINameImageUpload = ["imageupload"]; + $fieldAPINameMultiSelectLookUp = ["multiselectlookup"]; + $fieldAPINameLineTax = ["linetax"]; + $fieldAPINamesModule = ["module"]; + $fieldAPINamesLayout = ["layout"]; + $fieldAPINamesMultiModuleLookUp = ["multi_module_lookup"]; + $fieldAPINamesTimeRange = ["time_range" ]; + foreach ($fieldAPINamesString as $fieldAPIName) + { + self::$apiTypeVsDataType[$fieldAPIName] = Constants::STRING_NAMESPACE; + } + foreach ($fieldAPINamesInteger as $fieldAPIName) + { + self::$apiTypeVsDataType[$fieldAPIName] = Constants::INTEGER_NAMESPACE; + } + foreach ($fieldAPINamesBoolean as $fieldAPIName) + { + self::$apiTypeVsDataType[$fieldAPIName] = Constants::BOOLEAN_NAMESPACE; + } + foreach ($fieldAPINamesLong as $fieldAPIName) + { + self::$apiTypeVsDataType[$fieldAPIName] = Constants::LONG_NAMESPACE; + } + foreach ($fieldAPINamesDouble as $fieldAPIName) + { + self::$apiTypeVsDataType[$fieldAPIName] = Constants::FLOAT_NAMESPACE; + } + foreach ($fieldAPINamesDateTime as $fieldAPIName) + { + self::$apiTypeVsDataType[$fieldAPIName] = Constants::DATETIME_NAMESPACE; + } + foreach ($fieldAPINamesDate as $fieldAPIName) + { + self::$apiTypeVsDataType[$fieldAPIName] = Constants::DATE; + } + foreach ($fieldAPINamesLookup as $fieldAPIName) + { + self::$apiTypeVsStructureName[$fieldAPIName] = Constants::RECORD_NAMESPACE; + self::$apiTypeVsDataType[$fieldAPIName] = Constants::RECORD_NAMESPACE; + } + foreach ($fieldAPINamesPickList as $fieldAPIName) + { + self::$apiTypeVsDataType[$fieldAPIName] = Constants::CHOICE_NAMESPACE; + } + foreach ($fieldAPINamesMultiSelectPickList as $fieldAPIName) + { + self::$apiTypeVsDataType[$fieldAPIName] = Constants::LIST_NAMESPACE; + self::$apiTypeVsStructureName[$fieldAPIName] = Constants::CHOICE_NAMESPACE; + } + foreach ($fieldAPINamesSubForm as $fieldAPIName) + { + self::$apiTypeVsDataType[$fieldAPIName] = Constants::LIST_NAMESPACE; + self::$apiTypeVsStructureName[$fieldAPIName] = Constants::RECORD_NAMESPACE; + } + foreach ($fieldAPINamesOwnerLookUp as $fieldAPIName) + { + self::$apiTypeVsDataType[$fieldAPIName] = Constants::USER_NAMESPACE; + self::$apiTypeVsStructureName[$fieldAPIName] = Constants::USER_NAMESPACE; + } + foreach ($fieldAPINamesMultiUserLookUp as $fieldAPIName) + { + self::$apiTypeVsDataType[$fieldAPIName] = Constants::LIST_NAMESPACE; + self::$apiTypeVsStructureName[$fieldAPIName] = Constants::RECORD_NAMESPACE; + } + foreach ($fieldAPINamesFieldFile as $fieldAPIName) + { + self::$apiTypeVsDataType[$fieldAPIName] = Constants::LIST_NAMESPACE; + self::$apiTypeVsStructureName[$fieldAPIName] = Constants::FIELD_FILE_NAMESPACE; + } + foreach ($fieldAPINameTaskRemindAt as $fieldAPIName) + { + self::$apiTypeVsDataType[$fieldAPIName] = Constants::REMINDAT_NAMESPACE; + self::$apiTypeVsStructureName[$fieldAPIName] = Constants::REMINDAT_NAMESPACE; + } + foreach ($fieldAPINameRecurringActivity as $fieldAPIName) + { + self::$apiTypeVsDataType[$fieldAPIName] = Constants::RECURRING_ACTIVITY_NAMESPACE; + self::$apiTypeVsStructureName[$fieldAPIName] = Constants::RECURRING_ACTIVITY_NAMESPACE; + } + foreach ($fieldAPINameReminder as $fieldAPIName) + { + self::$apiTypeVsDataType[$fieldAPIName] = Constants::LIST_NAMESPACE; + self::$apiTypeVsStructureName[$fieldAPIName] = Constants::REMINDER_NAMESPACE; + } + foreach ($fieldAPINameConsentLookUp as $fieldAPIName) + { + self::$apiTypeVsDataType[$fieldAPIName] = Constants::CONSENT_NAMESPACE; + self::$apiTypeVsStructureName[$fieldAPIName] = Constants::CONSENT_NAMESPACE; + } + foreach ($fieldAPINameImageUpload as $fieldAPIName) + { + self::$apiTypeVsDataType[$fieldAPIName] = Constants::LIST_NAMESPACE; + self::$apiTypeVsStructureName[$fieldAPIName] = Constants::IMAGEUPLOAD_NAMESPACE; + } + foreach ($fieldAPINameMultiSelectLookUp as $fieldAPIName) + { + self::$apiTypeVsDataType[$fieldAPIName] = Constants::LIST_NAMESPACE; + self::$apiTypeVsStructureName[$fieldAPIName] = Constants::RECORD_NAMESPACE; + } + foreach($fieldAPINameLineTax as $fieldAPIName) + { + self::$apiTypeVsDataType[$fieldAPIName] = Constants::LIST_NAMESPACE; + self::$apiTypeVsStructureName[$fieldAPIName] = Constants::LINE_TAX_NAMESPACE; + } + foreach ($fieldAPINamesModule as $fieldAPIName) + { + self::$apiTypeVsDataType[$fieldAPIName] = Constants::MODULE_NAMESPACE; + self::$apiTypeVsStructureName[$fieldAPIName] = Constants::MODULE_NAMESPACE; + } + foreach ($fieldAPINamesMultiModuleLookUp as $fieldAPIName) + { + self::$apiTypeVsDataType[$fieldAPIName] = Constants::RECORD_NAMESPACE; + self::$apiTypeVsStructureName[$fieldAPIName] = Constants::RECORD_NAMESPACE; + } + foreach ($fieldAPINamesLayout as $fieldAPIName) + { + self::$apiTypeVsDataType[$fieldAPIName] = Constants::LAYOUT_NAMESPACE; + self::$apiTypeVsStructureName[$fieldAPIName] = Constants::LAYOUT_NAMESPACE; + } + foreach ($fieldAPINamesTimeRange as $fieldAPIName) + { + self::$apiTypeVsDataType[$fieldAPIName] = Constants::LIST_NAMESPACE; + self::$apiTypeVsStructureName[$fieldAPIName] = Constants::TIME_RANGE_NAMESPACE; + } + } + + public function getUserName($token) + { + $userName = null; + $paramInstance = new ParameterMap(); + $paramInstance->add(GetUsersParam::type(), new Choice(Constants::CURRENTUSER)); + $headerInstance = new HeaderMap(); + $handlerInstance = new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/users'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + $headerInstance->add(new Header(Constants::AUTHORIZATION, Constants::STRING_NAMESPACE), Constants::OAUTH_HEADER_PREFIX . $token); + $handlerInstance->setHeader($headerInstance); + $response = $handlerInstance->apiCall("com\zoho\crm\api\users\ResponseHandler", 'application/json'); + if ($response != null) + { + if (in_array($response->getStatusCode(), array(204, 304))) + { + return null; + } + $responseHandler = $response->getObject(); + $usersResponseWrapper = "com\zoho\crm\api\users\ResponseWrapper"; + $usersAPIException = "com\zoho\crm\api\users\APIException"; + if ($responseHandler instanceof $usersResponseWrapper) + { + $responseWrapper = $responseHandler; + $users = $responseWrapper->getUsers(); + foreach ($users as $user) + { + $userName = $user->getEmail(); + break; + } + } + else if ($responseHandler instanceof $usersAPIException) + { + $exception = $responseHandler; + $errorResponse = array(); + $errorResponse[Constants::CODE] = $exception->getCode()->getValue(); + $errorResponse[Constants::STATUS] = $exception->getStatus()->getValue(); + $errorResponse[Constants::MESSAGE] = $exception->getMessage(); + throw new SDKException(Constants::API_EXCEPTION, null, $errorResponse); + } + } + return $userName . ":" . $this->getUserOrgID($token); + } + + private function getUserOrgID($token) + { + $headerInstance = new HeaderMap(); + $handlerInstance = new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/org'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $headerInstance->add(new Header(Constants::AUTHORIZATION, Constants::STRING_NAMESPACE), Constants::OAUTH_HEADER_PREFIX . $token); + $handlerInstance->setHeader($headerInstance); + $response = $handlerInstance->apiCall("com\zoho\crm\api\org\ResponseHandler", 'application/json'); + if ($response != null) + { + $responseHandler = $response->getObject(); + $orgResponseWrapper = "com\zoho\crm\api\org\ResponseWrapper"; + $orgAPIException = "com\zoho\crm\api\org\APIException"; + if ($responseHandler instanceof $orgResponseWrapper) + { + $responseWrapper = $responseHandler; + $orgs = $responseWrapper->getOrg(); + foreach ($orgs as $org) + { + return $org->getZgid(); + } + } + else if ($responseHandler instanceof $orgAPIException) + { + $exception = $responseHandler; + $errorResponse = array(); + $errorResponse[Constants::CODE] = $exception->getCode()->getValue(); + $errorResponse[Constants::STATUS] = $exception->getStatus()->getValue(); + $errorResponse[Constants::MESSAGE] = $exception->getMessage(); + throw new SDKException(Constants::API_EXCEPTION, null, $errorResponse); + } + } + return null; + } +} +?> \ No newline at end of file diff --git a/versions/5.0.0/src/com/zoho/crm/api/util/XMLConverter.php b/versions/5.0.0/src/com/zoho/crm/api/util/XMLConverter.php new file mode 100755 index 0000000..6e5b7f9 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/util/XMLConverter.php @@ -0,0 +1,33 @@ +getResponse($responseObject, $pack); + } + + public function getResponse($response, $pack) + { + return null; + } +} \ No newline at end of file diff --git a/versions/5.0.0/src/com/zoho/crm/api/variablegroups/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/variablegroups/APIException.php new file mode 100644 index 0000000..c8eb1c0 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/variablegroups/APIException.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/variablegroups/MinifiedVariableGroup.php b/versions/5.0.0/src/com/zoho/crm/api/variablegroups/MinifiedVariableGroup.php new file mode 100644 index 0000000..db298ff --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/variablegroups/MinifiedVariableGroup.php @@ -0,0 +1,81 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/variablegroups/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/variablegroups/ResponseHandler.php new file mode 100644 index 0000000..7b4ddbf --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/variablegroups/ResponseHandler.php @@ -0,0 +1,7 @@ +variableGroups; + + } + + /** + * The method to set the value to variableGroups + * @param array $variableGroups A array + */ + public function setVariableGroups(array $variableGroups) + { + $this->variableGroups=$variableGroups; + $this->keyModified['variable_groups'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/variablegroups/VariableGroup.php b/versions/5.0.0/src/com/zoho/crm/api/variablegroups/VariableGroup.php new file mode 100644 index 0000000..240baeb --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/variablegroups/VariableGroup.php @@ -0,0 +1,169 @@ +displayLabel; + + } + + /** + * The method to set the value to displayLabel + * @param string $displayLabel A string + */ + public function setDisplayLabel(string $displayLabel) + { + $this->displayLabel=$displayLabel; + $this->keyModified['display_label'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the description + * @return string A string representing the description + */ + public function getDescription() + { + return $this->description; + + } + + /** + * The method to set the value to description + * @param string $description A string + */ + public function setDescription(string $description) + { + $this->description=$description; + $this->keyModified['description'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the source + * @return string A string representing the source + */ + public function getSource() + { + return $this->source; + + } + + /** + * The method to set the value to source + * @param string $source A string + */ + public function setSource(string $source) + { + $this->source=$source; + $this->keyModified['source'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/variablegroups/VariableGroupsOperations.php b/versions/5.0.0/src/com/zoho/crm/api/variablegroups/VariableGroupsOperations.php new file mode 100644 index 0000000..93d1f4b --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/variablegroups/VariableGroupsOperations.php @@ -0,0 +1,63 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to get variable group by id + * @param string $id A string + * @return APIResponse An instance of APIResponse + */ + public function getVariableGroupById(string $id) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/variable_groups/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to get variable group by api name + * @param string $apiName A string + * @return APIResponse An instance of APIResponse + */ + public function getVariableGroupByAPIName(string $apiName) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/variable_groups/'); + $apiPath=$apiPath.(strval($apiName)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/variables/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/variables/APIException.php new file mode 100644 index 0000000..580d0a4 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/variables/APIException.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/variables/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/variables/ActionHandler.php new file mode 100644 index 0000000..78890a6 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/variables/ActionHandler.php @@ -0,0 +1,7 @@ +variables; + + } + + /** + * The method to set the value to variables + * @param array $variables A array + */ + public function setVariables(array $variables) + { + $this->variables=$variables; + $this->keyModified['variables'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/variables/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/variables/BodyWrapper.php new file mode 100644 index 0000000..4077077 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/variables/BodyWrapper.php @@ -0,0 +1,59 @@ +variables; + + } + + /** + * The method to set the value to variables + * @param array $variables A array + */ + public function setVariables(array $variables) + { + $this->variables=$variables; + $this->keyModified['variables'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/variables/DeleteVariablesParam.php b/versions/5.0.0/src/com/zoho/crm/api/variables/DeleteVariablesParam.php new file mode 100644 index 0000000..5731a01 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/variables/DeleteVariablesParam.php @@ -0,0 +1,14 @@ +variables; + + } + + /** + * The method to set the value to variables + * @param array $variables A array + */ + public function setVariables(array $variables) + { + $this->variables=$variables; + $this->keyModified['variables'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/variables/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/variables/SuccessResponse.php new file mode 100644 index 0000000..eef3b5a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/variables/SuccessResponse.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/variables/UpdateVariableByAPINameParam.php b/versions/5.0.0/src/com/zoho/crm/api/variables/UpdateVariableByAPINameParam.php new file mode 100644 index 0000000..7c638c8 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/variables/UpdateVariableByAPINameParam.php @@ -0,0 +1,14 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the description + * @return string A string representing the description + */ + public function getDescription() + { + return $this->description; + + } + + /** + * The method to set the value to description + * @param string $description A string + */ + public function setDescription(string $description) + { + $this->description=$description; + $this->keyModified['description'] = 1; + + } + + /** + * The method to get the source + * @return string A string representing the source + */ + public function getSource() + { + return $this->source; + + } + + /** + * The method to set the value to source + * @param string $source A string + */ + public function setSource(string $source) + { + $this->source=$source; + $this->keyModified['source'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the type + * @return Choice An instance of Choice + */ + public function getType() + { + return $this->type; + + } + + /** + * The method to set the value to type + * @param Choice $type An instance of Choice + */ + public function setType(Choice $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to get the variableGroup + * @return VariableGroup An instance of VariableGroup + */ + public function getVariableGroup() + { + return $this->variableGroup; + + } + + /** + * The method to set the value to variableGroup + * @param VariableGroup $variableGroup An instance of VariableGroup + */ + public function setVariableGroup(VariableGroup $variableGroup) + { + $this->variableGroup=$variableGroup; + $this->keyModified['variable_group'] = 1; + + } + + /** + * The method to get the readOnly + * @return bool A bool representing the readOnly + */ + public function getReadOnly() + { + return $this->readOnly; + + } + + /** + * The method to set the value to readOnly + * @param bool $readOnly A bool + */ + public function setReadOnly(bool $readOnly) + { + $this->readOnly=$readOnly; + $this->keyModified['read_only'] = 1; + + } + + /** + * The method to get the value + */ + public function getValue() + { + return $this->value; + + } + + /** + * The method to set the value to value + * @param + */ + public function setValue( $value) + { + $this->value=$value; + $this->keyModified['value'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/variables/VariableGroup.php b/versions/5.0.0/src/com/zoho/crm/api/variables/VariableGroup.php new file mode 100644 index 0000000..3bacf6d --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/variables/VariableGroup.php @@ -0,0 +1,103 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/variables/VariablesOperations.php b/versions/5.0.0/src/com/zoho/crm/api/variables/VariablesOperations.php new file mode 100644 index 0000000..e4be4e5 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/variables/VariablesOperations.php @@ -0,0 +1,193 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to create variables + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function createVariables(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/variables'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to update variables + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updateVariables(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/variables'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to delete variables + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function deleteVariables(ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/variables'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setCategoryMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get variable by id + * @param string $id A string + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function getVariableById(string $id, ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/variables/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to update variable by id + * @param string $id A string + * @param BodyWrapper $request An instance of BodyWrapper + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function updateVariableById(string $id, BodyWrapper $request, ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/variables/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to delete variable + * @param string $id A string + * @return APIResponse An instance of APIResponse + */ + public function deleteVariable(string $id) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/variables/'); + $apiPath=$apiPath.(strval($id)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setCategoryMethod(Constants::REQUEST_METHOD_DELETE); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to update variable by apiname + * @param string $apiName A string + * @param BodyWrapper $request An instance of BodyWrapper + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function updateVariableByApiname(string $apiName, BodyWrapper $request, ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/variables/'); + $apiPath=$apiPath.(strval($apiName)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_ACTION); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get variable by apiname + * @param string $apiName A string + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function getVariableByApiname(string $apiName, ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/variables/'); + $apiPath=$apiPath.(strval($apiName)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/webforms/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/webforms/APIException.php new file mode 100644 index 0000000..7ae2bb0 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/webforms/APIException.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/webforms/Abtesting.php b/versions/5.0.0/src/com/zoho/crm/api/webforms/Abtesting.php new file mode 100644 index 0000000..2be0e18 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/webforms/Abtesting.php @@ -0,0 +1,125 @@ +module; + + } + + /** + * The method to set the value to module + * @param Module $module An instance of Module + */ + public function setModule(Module $module) + { + $this->module=$module; + $this->keyModified['module'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the status + * @return string A string representing the status + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param string $status A string + */ + public function setStatus(string $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/webforms/AcknowledgeVisitor.php b/versions/5.0.0/src/com/zoho/crm/api/webforms/AcknowledgeVisitor.php new file mode 100644 index 0000000..5f588e6 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/webforms/AcknowledgeVisitor.php @@ -0,0 +1,81 @@ +autoResponseRule; + + } + + /** + * The method to set the value to autoResponseRule + * @param AutoResponseRule $autoResponseRule An instance of AutoResponseRule + */ + public function setAutoResponseRule(AutoResponseRule $autoResponseRule) + { + $this->autoResponseRule=$autoResponseRule; + $this->keyModified['auto_response_rule'] = 1; + + } + + /** + * The method to get the templateId + * @return string A string representing the templateId + */ + public function getTemplateId() + { + return $this->templateId; + + } + + /** + * The method to set the value to templateId + * @param string $templateId A string + */ + public function setTemplateId(string $templateId) + { + $this->templateId=$templateId; + $this->keyModified['template_id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/webforms/AcknowledgeVisitors.php b/versions/5.0.0/src/com/zoho/crm/api/webforms/AcknowledgeVisitors.php new file mode 100644 index 0000000..4328197 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/webforms/AcknowledgeVisitors.php @@ -0,0 +1,103 @@ +templateName; + + } + + /** + * The method to set the value to templateName + * @param string $templateName A string + */ + public function setTemplateName(string $templateName) + { + $this->templateName=$templateName; + $this->keyModified['template_name'] = 1; + + } + + /** + * The method to get the templateId + * @return string A string representing the templateId + */ + public function getTemplateId() + { + return $this->templateId; + + } + + /** + * The method to set the value to templateId + * @param string $templateId A string + */ + public function setTemplateId(string $templateId) + { + $this->templateId=$templateId; + $this->keyModified['template_id'] = 1; + + } + + /** + * The method to get the fromAddress + * @return FromAddress An instance of FromAddress + */ + public function getFromAddress() + { + return $this->fromAddress; + + } + + /** + * The method to set the value to fromAddress + * @param FromAddress $fromAddress An instance of FromAddress + */ + public function setFromAddress(FromAddress $fromAddress) + { + $this->fromAddress=$fromAddress; + $this->keyModified['from_address'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/webforms/ActionHandler.php b/versions/5.0.0/src/com/zoho/crm/api/webforms/ActionHandler.php new file mode 100644 index 0000000..822a294 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/webforms/ActionHandler.php @@ -0,0 +1,7 @@ +webforms; + + } + + /** + * The method to set the value to webforms + * @param array $webforms A array + */ + public function setWebforms(array $webforms) + { + $this->webforms=$webforms; + $this->keyModified['webforms'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/webforms/AnalyticsData.php b/versions/5.0.0/src/com/zoho/crm/api/webforms/AnalyticsData.php new file mode 100644 index 0000000..d848a44 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/webforms/AnalyticsData.php @@ -0,0 +1,147 @@ +iframeUrlTrackingCode; + + } + + /** + * The method to set the value to iframeUrlTrackingCode + * @param string $iframeUrlTrackingCode A string + */ + public function setIframeUrlTrackingCode(string $iframeUrlTrackingCode) + { + $this->iframeUrlTrackingCode=$iframeUrlTrackingCode; + $this->keyModified['iframe_url_tracking_code'] = 1; + + } + + /** + * The method to get the urlAnalyticsEnabled + * @return bool A bool representing the urlAnalyticsEnabled + */ + public function getUrlAnalyticsEnabled() + { + return $this->urlAnalyticsEnabled; + + } + + /** + * The method to set the value to urlAnalyticsEnabled + * @param bool $urlAnalyticsEnabled A bool + */ + public function setUrlAnalyticsEnabled(bool $urlAnalyticsEnabled) + { + $this->urlAnalyticsEnabled=$urlAnalyticsEnabled; + $this->keyModified['url_analytics_enabled'] = 1; + + } + + /** + * The method to get the analyticsEnabled + * @return bool A bool representing the analyticsEnabled + */ + public function getAnalyticsEnabled() + { + return $this->analyticsEnabled; + + } + + /** + * The method to set the value to analyticsEnabled + * @param bool $analyticsEnabled A bool + */ + public function setAnalyticsEnabled(bool $analyticsEnabled) + { + $this->analyticsEnabled=$analyticsEnabled; + $this->keyModified['analytics_enabled'] = 1; + + } + + /** + * The method to get the analyticsEnabledTime + * @return \DateTime An instance of \DateTime + */ + public function getAnalyticsEnabledTime() + { + return $this->analyticsEnabledTime; + + } + + /** + * The method to set the value to analyticsEnabledTime + * @param \DateTime $analyticsEnabledTime An instance of \DateTime + */ + public function setAnalyticsEnabledTime(\DateTime $analyticsEnabledTime) + { + $this->analyticsEnabledTime=$analyticsEnabledTime; + $this->keyModified['analytics_enabled_time'] = 1; + + } + + /** + * The method to get the trackingCode + * @return string A string representing the trackingCode + */ + public function getTrackingCode() + { + return $this->trackingCode; + + } + + /** + * The method to set the value to trackingCode + * @param string $trackingCode A string + */ + public function setTrackingCode(string $trackingCode) + { + $this->trackingCode=$trackingCode; + $this->keyModified['tracking_code'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/webforms/AssignmentRule.php b/versions/5.0.0/src/com/zoho/crm/api/webforms/AssignmentRule.php new file mode 100644 index 0000000..1e63b8b --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/webforms/AssignmentRule.php @@ -0,0 +1,81 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/webforms/AutoResponseRule.php b/versions/5.0.0/src/com/zoho/crm/api/webforms/AutoResponseRule.php new file mode 100644 index 0000000..e094165 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/webforms/AutoResponseRule.php @@ -0,0 +1,59 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/webforms/BodyWrapper.php b/versions/5.0.0/src/com/zoho/crm/api/webforms/BodyWrapper.php new file mode 100644 index 0000000..6659258 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/webforms/BodyWrapper.php @@ -0,0 +1,59 @@ +webforms; + + } + + /** + * The method to set the value to webforms + * @param array $webforms A array + */ + public function setWebforms(array $webforms) + { + $this->webforms=$webforms; + $this->keyModified['webforms'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/webforms/ButtonAttributes.php b/versions/5.0.0/src/com/zoho/crm/api/webforms/ButtonAttributes.php new file mode 100644 index 0000000..c96f381 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/webforms/ButtonAttributes.php @@ -0,0 +1,81 @@ +color; + + } + + /** + * The method to set the value to color + * @param string $color A string + */ + public function setColor(string $color) + { + $this->color=$color; + $this->keyModified['color'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/webforms/CreateWebFormsParam.php b/versions/5.0.0/src/com/zoho/crm/api/webforms/CreateWebFormsParam.php new file mode 100644 index 0000000..b512907 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/webforms/CreateWebFormsParam.php @@ -0,0 +1,7 @@ +layout; + + } + + /** + * The method to set the value to layout + * @param Layout $layout An instance of Layout + */ + public function setLayout(Layout $layout) + { + $this->layout=$layout; + $this->keyModified['layout'] = 1; + + } + + /** + * The method to get the help + * @return string A string representing the help + */ + public function getHelp() + { + return $this->help; + + } + + /** + * The method to set the value to help + * @param string $help A string + */ + public function setHelp(string $help) + { + $this->help=$help; + $this->keyModified['help'] = 1; + + } + + /** + * The method to get the field + * @return Fields An instance of Fields + */ + public function getField() + { + return $this->field; + + } + + /** + * The method to set the value to field + * @param Fields $field An instance of Fields + */ + public function setField(Fields $field) + { + $this->field=$field; + $this->keyModified['field'] = 1; + + } + + /** + * The method to get the module + * @return Module An instance of Module + */ + public function getModule() + { + return $this->module; + + } + + /** + * The method to set the value to module + * @param Module $module An instance of Module + */ + public function setModule(Module $module) + { + $this->module=$module; + $this->keyModified['module'] = 1; + + } + + /** + * The method to get the secretKey + * @return string A string representing the secretKey + */ + public function getSecretKey() + { + return $this->secretKey; + + } + + /** + * The method to set the value to secretKey + * @param string $secretKey A string + */ + public function setSecretKey(string $secretKey) + { + $this->secretKey=$secretKey; + $this->keyModified['secret_key'] = 1; + + } + + /** + * The method to get the recaptchaLabel + * @return string A string representing the recaptchaLabel + */ + public function getRecaptchaLabel() + { + return $this->recaptchaLabel; + + } + + /** + * The method to set the value to recaptchaLabel + * @param string $recaptchaLabel A string + */ + public function setRecaptchaLabel(string $recaptchaLabel) + { + $this->recaptchaLabel=$recaptchaLabel; + $this->keyModified['recaptcha_label'] = 1; + + } + + /** + * The method to get the hidden + * @return bool A bool representing the hidden + */ + public function getHidden() + { + return $this->hidden; + + } + + /** + * The method to set the value to hidden + * @param bool $hidden A bool + */ + public function setHidden(bool $hidden) + { + $this->hidden=$hidden; + $this->keyModified['hidden'] = 1; + + } + + /** + * The method to get the siteKey + * @return string A string representing the siteKey + */ + public function getSiteKey() + { + return $this->siteKey; + + } + + /** + * The method to set the value to siteKey + * @param string $siteKey A string + */ + public function setSiteKey(string $siteKey) + { + $this->siteKey=$siteKey; + $this->keyModified['site_key'] = 1; + + } + + /** + * The method to get the advanced + * @return bool A bool representing the advanced + */ + public function getAdvanced() + { + return $this->advanced; + + } + + /** + * The method to set the value to advanced + * @param bool $advanced A bool + */ + public function setAdvanced(bool $advanced) + { + $this->advanced=$advanced; + $this->keyModified['advanced'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the fieldLabel + * @return string A string representing the fieldLabel + */ + public function getFieldLabel() + { + return $this->fieldLabel; + + } + + /** + * The method to set the value to fieldLabel + * @param string $fieldLabel A string + */ + public function setFieldLabel(string $fieldLabel) + { + $this->fieldLabel=$fieldLabel; + $this->keyModified['field_label'] = 1; + + } + + /** + * The method to get the theme + * @return string A string representing the theme + */ + public function getTheme() + { + return $this->theme; + + } + + /** + * The method to set the value to theme + * @param string $theme A string + */ + public function setTheme(string $theme) + { + $this->theme=$theme; + $this->keyModified['theme'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the required + * @return bool A bool representing the required + */ + public function getRequired() + { + return $this->required; + + } + + /** + * The method to set the value to required + * @param bool $required A bool + */ + public function setRequired(bool $required) + { + $this->required=$required; + $this->keyModified['required'] = 1; + + } + + /** + * The method to get the fieldName + * @return string A string representing the fieldName + */ + public function getFieldName() + { + return $this->fieldName; + + } + + /** + * The method to set the value to fieldName + * @param string $fieldName A string + */ + public function setFieldName(string $fieldName) + { + $this->fieldName=$fieldName; + $this->keyModified['field_name'] = 1; + + } + + /** + * The method to get the dateFormat + * @return string A string representing the dateFormat + */ + public function getDateFormat() + { + return $this->dateFormat; + + } + + /** + * The method to set the value to dateFormat + * @param string $dateFormat A string + */ + public function setDateFormat(string $dateFormat) + { + $this->dateFormat=$dateFormat; + $this->keyModified['date_format'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/webforms/FontAttributes.php b/versions/5.0.0/src/com/zoho/crm/api/webforms/FontAttributes.php new file mode 100644 index 0000000..948035b --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/webforms/FontAttributes.php @@ -0,0 +1,103 @@ +size; + + } + + /** + * The method to set the value to size + * @param int $size A int + */ + public function setSize(int $size) + { + $this->size=$size; + $this->keyModified['size'] = 1; + + } + + /** + * The method to get the color + * @return string A string representing the color + */ + public function getColor() + { + return $this->color; + + } + + /** + * The method to set the value to color + * @param string $color A string + */ + public function setColor(string $color) + { + $this->color=$color; + $this->keyModified['color'] = 1; + + } + + /** + * The method to get the family + * @return string A string representing the family + */ + public function getFamily() + { + return $this->family; + + } + + /** + * The method to set the value to family + * @param string $family A string + */ + public function setFamily(string $family) + { + $this->family=$family; + $this->keyModified['family'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/webforms/FormAttributes.php b/versions/5.0.0/src/com/zoho/crm/api/webforms/FormAttributes.php new file mode 100644 index 0000000..8fd5f13 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/webforms/FormAttributes.php @@ -0,0 +1,147 @@ +color; + + } + + /** + * The method to set the value to color + * @param string $color A string + */ + public function setColor(string $color) + { + $this->color=$color; + $this->keyModified['color'] = 1; + + } + + /** + * The method to get the width + * @return int A int representing the width + */ + public function getWidth() + { + return $this->width; + + } + + /** + * The method to set the value to width + * @param int $width A int + */ + public function setWidth(int $width) + { + $this->width=$width; + $this->keyModified['width'] = 1; + + } + + /** + * The method to get the fontAttributes + * @return FontAttributes An instance of FontAttributes + */ + public function getFontAttributes() + { + return $this->fontAttributes; + + } + + /** + * The method to set the value to fontAttributes + * @param FontAttributes $fontAttributes An instance of FontAttributes + */ + public function setFontAttributes(FontAttributes $fontAttributes) + { + $this->fontAttributes=$fontAttributes; + $this->keyModified['font_attributes'] = 1; + + } + + /** + * The method to get the align + * @return string A string representing the align + */ + public function getAlign() + { + return $this->align; + + } + + /** + * The method to set the value to align + * @param string $align A string + */ + public function setAlign(string $align) + { + $this->align=$align; + $this->keyModified['align'] = 1; + + } + + /** + * The method to get the displayFormName + * @return string A string representing the displayFormName + */ + public function getDisplayFormName() + { + return $this->displayFormName; + + } + + /** + * The method to set the value to displayFormName + * @param string $displayFormName A string + */ + public function setDisplayFormName(string $displayFormName) + { + $this->displayFormName=$displayFormName; + $this->keyModified['display_form_name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/webforms/FromAddress.php b/versions/5.0.0/src/com/zoho/crm/api/webforms/FromAddress.php new file mode 100644 index 0000000..1ba7603 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/webforms/FromAddress.php @@ -0,0 +1,81 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the type + * @return string A string representing the type + */ + public function getType() + { + return $this->type; + + } + + /** + * The method to set the value to type + * @param string $type A string + */ + public function setType(string $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/webforms/GetWebFormParam.php b/versions/5.0.0/src/com/zoho/crm/api/webforms/GetWebFormParam.php new file mode 100644 index 0000000..7272df3 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/webforms/GetWebFormParam.php @@ -0,0 +1,7 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/webforms/Module.php b/versions/5.0.0/src/com/zoho/crm/api/webforms/Module.php new file mode 100644 index 0000000..b92f455 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/webforms/Module.php @@ -0,0 +1,103 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the moduleName + * @return string A string representing the moduleName + */ + public function getModuleName() + { + return $this->moduleName; + + } + + /** + * The method to set the value to moduleName + * @param string $moduleName A string + */ + public function setModuleName(string $moduleName) + { + $this->moduleName=$moduleName; + $this->keyModified['module_name'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/webforms/Owner.php b/versions/5.0.0/src/com/zoho/crm/api/webforms/Owner.php new file mode 100644 index 0000000..cd10f4a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/webforms/Owner.php @@ -0,0 +1,81 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/webforms/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/webforms/ResponseHandler.php new file mode 100644 index 0000000..92037f3 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/webforms/ResponseHandler.php @@ -0,0 +1,7 @@ +webforms; + + } + + /** + * The method to set the value to webforms + * @param array $webforms A array + */ + public function setWebforms(array $webforms) + { + $this->webforms=$webforms; + $this->keyModified['webforms'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/webforms/SpamControll.php b/versions/5.0.0/src/com/zoho/crm/api/webforms/SpamControll.php new file mode 100644 index 0000000..47d7ee7 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/webforms/SpamControll.php @@ -0,0 +1,81 @@ +status; + + } + + /** + * The method to set the value to status + * @param string $status A string + */ + public function setStatus(string $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the excludeScore + * @return string A string representing the excludeScore + */ + public function getExcludeScore() + { + return $this->excludeScore; + + } + + /** + * The method to set the value to excludeScore + * @param string $excludeScore A string + */ + public function setExcludeScore(string $excludeScore) + { + $this->excludeScore=$excludeScore; + $this->keyModified['exclude_score'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/webforms/SuccessResponse.php b/versions/5.0.0/src/com/zoho/crm/api/webforms/SuccessResponse.php new file mode 100644 index 0000000..72ac66a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/webforms/SuccessResponse.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to get the message + * @return string A string representing the message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param string $message A string + */ + public function setMessage(string $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/webforms/Suggestion.php b/versions/5.0.0/src/com/zoho/crm/api/webforms/Suggestion.php new file mode 100644 index 0000000..d3faf58 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/webforms/Suggestion.php @@ -0,0 +1,81 @@ +available; + + } + + /** + * The method to set the value to available + * @param bool $available A bool + */ + public function setAvailable(bool $available) + { + $this->available=$available; + $this->keyModified['available'] = 1; + + } + + /** + * The method to get the type + * @return string A string representing the type + */ + public function getType() + { + return $this->type; + + } + + /** + * The method to set the value to type + * @param string $type A string + */ + public function setType(string $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/webforms/Tags.php b/versions/5.0.0/src/com/zoho/crm/api/webforms/Tags.php new file mode 100644 index 0000000..df86e14 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/webforms/Tags.php @@ -0,0 +1,81 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/webforms/UpdateWebFormParam.php b/versions/5.0.0/src/com/zoho/crm/api/webforms/UpdateWebFormParam.php new file mode 100644 index 0000000..9bf8680 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/webforms/UpdateWebFormParam.php @@ -0,0 +1,7 @@ +name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/webforms/WebForm.php b/versions/5.0.0/src/com/zoho/crm/api/webforms/WebForm.php new file mode 100644 index 0000000..9d4e8b7 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/webforms/WebForm.php @@ -0,0 +1,917 @@ +googleSite; + + } + + /** + * The method to set the value to googleSite + * @param string $googleSite A string + */ + public function setGoogleSite(string $googleSite) + { + $this->googleSite=$googleSite; + $this->keyModified['google_site'] = 1; + + } + + /** + * The method to get the encryptedFormId + * @return string A string representing the encryptedFormId + */ + public function getEncryptedFormId() + { + return $this->encryptedFormId; + + } + + /** + * The method to set the value to encryptedFormId + * @param string $encryptedFormId A string + */ + public function setEncryptedFormId(string $encryptedFormId) + { + $this->encryptedFormId=$encryptedFormId; + $this->keyModified['encrypted_form_id'] = 1; + + } + + /** + * The method to get the owner + * @return Owner An instance of Owner + */ + public function getOwner() + { + return $this->owner; + + } + + /** + * The method to set the value to owner + * @param Owner $owner An instance of Owner + */ + public function setOwner(Owner $owner) + { + $this->owner=$owner; + $this->keyModified['owner'] = 1; + + } + + /** + * The method to get the userType + * @return User An instance of User + */ + public function getUserType() + { + return $this->userType; + + } + + /** + * The method to set the value to userType + * @param User $userType An instance of User + */ + public function setUserType(User $userType) + { + $this->userType=$userType; + $this->keyModified['user_type'] = 1; + + } + + /** + * The method to get the acknowledgeVisitor + * @return AcknowledgeVisitors An instance of AcknowledgeVisitors + */ + public function getAcknowledgeVisitor() + { + return $this->acknowledgeVisitor; + + } + + /** + * The method to set the value to acknowledgeVisitor + * @param AcknowledgeVisitors $acknowledgeVisitor An instance of AcknowledgeVisitors + */ + public function setAcknowledgeVisitor(AcknowledgeVisitors $acknowledgeVisitor) + { + $this->acknowledgeVisitor=$acknowledgeVisitor; + $this->keyModified['acknowledge_visitor'] = 1; + + } + + /** + * The method to get the buttonAttributes + * @return array A array representing the buttonAttributes + */ + public function getButtonAttributes() + { + return $this->buttonAttributes; + + } + + /** + * The method to set the value to buttonAttributes + * @param array $buttonAttributes A array + */ + public function setButtonAttributes(array $buttonAttributes) + { + $this->buttonAttributes=$buttonAttributes; + $this->keyModified['button_attributes'] = 1; + + } + + /** + * The method to get the encryptedZgid + * @return string A string representing the encryptedZgid + */ + public function getEncryptedZgid() + { + return $this->encryptedZgid; + + } + + /** + * The method to set the value to encryptedZgid + * @param string $encryptedZgid A string + */ + public function setEncryptedZgid(string $encryptedZgid) + { + $this->encryptedZgid=$encryptedZgid; + $this->keyModified['encrypted_zgid'] = 1; + + } + + /** + * The method to get the createdTime + * @return \DateTime An instance of \DateTime + */ + public function getCreatedTime() + { + return $this->createdTime; + + } + + /** + * The method to set the value to createdTime + * @param \DateTime $createdTime An instance of \DateTime + */ + public function setCreatedTime(\DateTime $createdTime) + { + $this->createdTime=$createdTime; + $this->keyModified['created_time'] = 1; + + } + + /** + * The method to get the analyticsData + * @return AnalyticsData An instance of AnalyticsData + */ + public function getAnalyticsData() + { + return $this->analyticsData; + + } + + /** + * The method to set the value to analyticsData + * @param AnalyticsData $analyticsData An instance of AnalyticsData + */ + public function setAnalyticsData(AnalyticsData $analyticsData) + { + $this->analyticsData=$analyticsData; + $this->keyModified['analytics_data'] = 1; + + } + + /** + * The method to get the module + * @return Module An instance of Module + */ + public function getModule() + { + return $this->module; + + } + + /** + * The method to set the value to module + * @param Module $module An instance of Module + */ + public function setModule(Module $module) + { + $this->module=$module; + $this->keyModified['module'] = 1; + + } + + /** + * The method to get the encryptedModule + * @return string A string representing the encryptedModule + */ + public function getEncryptedModule() + { + return $this->encryptedModule; + + } + + /** + * The method to set the value to encryptedModule + * @param string $encryptedModule A string + */ + public function setEncryptedModule(string $encryptedModule) + { + $this->encryptedModule=$encryptedModule; + $this->keyModified['encrypted_module'] = 1; + + } + + /** + * The method to get the active + * @return bool A bool representing the active + */ + public function getActive() + { + return $this->active; + + } + + /** + * The method to set the value to active + * @param bool $active A bool + */ + public function setActive(bool $active) + { + $this->active=$active; + $this->keyModified['active'] = 1; + + } + + /** + * The method to get the adwordEnabled + * @return bool A bool representing the adwordEnabled + */ + public function getAdwordEnabled() + { + return $this->adwordEnabled; + + } + + /** + * The method to set the value to adwordEnabled + * @param bool $adwordEnabled A bool + */ + public function setAdwordEnabled(bool $adwordEnabled) + { + $this->adwordEnabled=$adwordEnabled; + $this->keyModified['adword_enabled'] = 1; + + } + + /** + * The method to get the notifyOwner + * @return Owner An instance of Owner + */ + public function getNotifyOwner() + { + return $this->notifyOwner; + + } + + /** + * The method to set the value to notifyOwner + * @param Owner $notifyOwner An instance of Owner + */ + public function setNotifyOwner(Owner $notifyOwner) + { + $this->notifyOwner=$notifyOwner; + $this->keyModified['notify_owner'] = 1; + + } + + /** + * The method to get the createdBy + * @return User An instance of User + */ + public function getCreatedBy() + { + return $this->createdBy; + + } + + /** + * The method to set the value to createdBy + * @param User $createdBy An instance of User + */ + public function setCreatedBy(User $createdBy) + { + $this->createdBy=$createdBy; + $this->keyModified['created_by'] = 1; + + } + + /** + * The method to get the formAttributes + * @return FormAttributes An instance of FormAttributes + */ + public function getFormAttributes() + { + return $this->formAttributes; + + } + + /** + * The method to set the value to formAttributes + * @param FormAttributes $formAttributes An instance of FormAttributes + */ + public function setFormAttributes(FormAttributes $formAttributes) + { + $this->formAttributes=$formAttributes; + $this->keyModified['form_attributes'] = 1; + + } + + /** + * The method to get the locationUrl + * @return array A array representing the locationUrl + */ + public function getLocationUrl() + { + return $this->locationUrl; + + } + + /** + * The method to set the value to locationUrl + * @param array $locationUrl A array + */ + public function setLocationUrl(array $locationUrl) + { + $this->locationUrl=$locationUrl; + $this->keyModified['location_url'] = 1; + + } + + /** + * The method to get the landingUrl + * @return string A string representing the landingUrl + */ + public function getLandingUrl() + { + return $this->landingUrl; + + } + + /** + * The method to set the value to landingUrl + * @param string $landingUrl A string + */ + public function setLandingUrl(string $landingUrl) + { + $this->landingUrl=$landingUrl; + $this->keyModified['landing_url'] = 1; + + } + + /** + * The method to get the doubleOptinEnabled + * @return bool A bool representing the doubleOptinEnabled + */ + public function getDoubleOptinEnabled() + { + return $this->doubleOptinEnabled; + + } + + /** + * The method to set the value to doubleOptinEnabled + * @param bool $doubleOptinEnabled A bool + */ + public function setDoubleOptinEnabled(bool $doubleOptinEnabled) + { + $this->doubleOptinEnabled=$doubleOptinEnabled; + $this->keyModified['double_optin_enabled'] = 1; + + } + + /** + * The method to get the layout + * @return Layout An instance of Layout + */ + public function getLayout() + { + return $this->layout; + + } + + /** + * The method to set the value to layout + * @param Layout $layout An instance of Layout + */ + public function setLayout(Layout $layout) + { + $this->layout=$layout; + $this->keyModified['layout'] = 1; + + } + + /** + * The method to get the tags + * @return array A array representing the tags + */ + public function getTags() + { + return $this->tags; + + } + + /** + * The method to set the value to tags + * @param array $tags A array + */ + public function setTags(array $tags) + { + $this->tags=$tags; + $this->keyModified['tags'] = 1; + + } + + /** + * The method to get the approvalRequest + * @return bool A bool representing the approvalRequest + */ + public function getApprovalRequest() + { + return $this->approvalRequest; + + } + + /** + * The method to set the value to approvalRequest + * @param bool $approvalRequest A bool + */ + public function setApprovalRequest(bool $approvalRequest) + { + $this->approvalRequest=$approvalRequest; + $this->keyModified['approval_request'] = 1; + + } + + /** + * The method to get the type + * @return string A string representing the type + */ + public function getType() + { + return $this->type; + + } + + /** + * The method to set the value to type + * @param string $type A string + */ + public function setType(string $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to get the createContact + * @return bool A bool representing the createContact + */ + public function getCreateContact() + { + return $this->createContact; + + } + + /** + * The method to set the value to createContact + * @param bool $createContact A bool + */ + public function setCreateContact(bool $createContact) + { + $this->createContact=$createContact; + $this->keyModified['create_contact'] = 1; + + } + + /** + * The method to get the assignmentRule + * @return AssignmentRule An instance of AssignmentRule + */ + public function getAssignmentRule() + { + return $this->assignmentRule; + + } + + /** + * The method to set the value to assignmentRule + * @param AssignmentRule $assignmentRule An instance of AssignmentRule + */ + public function setAssignmentRule(AssignmentRule $assignmentRule) + { + $this->assignmentRule=$assignmentRule; + $this->keyModified['assignment_rule'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the spamControl + * @return SpamControll An instance of SpamControll + */ + public function getSpamControl() + { + return $this->spamControl; + + } + + /** + * The method to set the value to spamControl + * @param SpamControll $spamControl An instance of SpamControll + */ + public function setSpamControl(SpamControll $spamControl) + { + $this->spamControl=$spamControl; + $this->keyModified['spam_control'] = 1; + + } + + /** + * The method to get the fields + * @return array A array representing the fields + */ + public function getFields() + { + return $this->fields; + + } + + /** + * The method to set the value to fields + * @param array $fields A array + */ + public function setFields(array $fields) + { + $this->fields=$fields; + $this->keyModified['fields'] = 1; + + } + + /** + * The method to get the formFields + * @return array A array representing the formFields + */ + public function getFormFields() + { + return $this->formFields; + + } + + /** + * The method to set the value to formFields + * @param array $formFields A array + */ + public function setFormFields(array $formFields) + { + $this->formFields=$formFields; + $this->keyModified['form_fields'] = 1; + + } + + /** + * The method to get the abtesting + * @return array A array representing the abtesting + */ + public function getAbtesting() + { + return $this->abtesting; + + } + + /** + * The method to set the value to abtesting + * @param array $abtesting A array + */ + public function setAbtesting(array $abtesting) + { + $this->abtesting=$abtesting; + $this->keyModified['abtesting'] = 1; + + } + + /** + * The method to get the visitorTracking + * @return string A string representing the visitorTracking + */ + public function getVisitorTracking() + { + return $this->visitorTracking; + + } + + /** + * The method to set the value to visitorTracking + * @param string $visitorTracking A string + */ + public function setVisitorTracking(string $visitorTracking) + { + $this->visitorTracking=$visitorTracking; + $this->keyModified['visitor_tracking'] = 1; + + } + + /** + * The method to get the lastSubmittedTime + * @return \DateTime An instance of \DateTime + */ + public function getLastSubmittedTime() + { + return $this->lastSubmittedTime; + + } + + /** + * The method to set the value to lastSubmittedTime + * @param \DateTime $lastSubmittedTime An instance of \DateTime + */ + public function setLastSubmittedTime(\DateTime $lastSubmittedTime) + { + $this->lastSubmittedTime=$lastSubmittedTime; + $this->keyModified['last_submitted_time'] = 1; + + } + + /** + * The method to get the actionOnSubmit + * @return string A string representing the actionOnSubmit + */ + public function getActionOnSubmit() + { + return $this->actionOnSubmit; + + } + + /** + * The method to set the value to actionOnSubmit + * @param string $actionOnSubmit A string + */ + public function setActionOnSubmit(string $actionOnSubmit) + { + $this->actionOnSubmit=$actionOnSubmit; + $this->keyModified['action_on_submit'] = 1; + + } + + /** + * The method to get the actionValue + * @return string A string representing the actionValue + */ + public function getActionValue() + { + return $this->actionValue; + + } + + /** + * The method to set the value to actionValue + * @param string $actionValue A string + */ + public function setActionValue(string $actionValue) + { + $this->actionValue=$actionValue; + $this->keyModified['action_value'] = 1; + + } + + /** + * The method to get the suggestion + * @return Suggestion An instance of Suggestion + */ + public function getSuggestion() + { + return $this->suggestion; + + } + + /** + * The method to set the value to suggestion + * @param Suggestion $suggestion An instance of Suggestion + */ + public function setSuggestion(Suggestion $suggestion) + { + $this->suggestion=$suggestion; + $this->keyModified['suggestion'] = 1; + + } + + /** + * The method to get the embedCode + * @return string A string representing the embedCode + */ + public function getEmbedCode() + { + return $this->embedCode; + + } + + /** + * The method to set the value to embedCode + * @param string $embedCode A string + */ + public function setEmbedCode(string $embedCode) + { + $this->embedCode=$embedCode; + $this->keyModified['embed_code'] = 1; + + } + + /** + * The method to get the codeFormats + * @return array A array representing the codeFormats + */ + public function getCodeFormats() + { + return $this->codeFormats; + + } + + /** + * The method to set the value to codeFormats + * @param array $codeFormats A array + */ + public function setCodeFormats(array $codeFormats) + { + $this->codeFormats=$codeFormats; + $this->keyModified['code_formats'] = 1; + + } + + /** + * The method to get the sourceCode + * @return string A string representing the sourceCode + */ + public function getSourceCode() + { + return $this->sourceCode; + + } + + /** + * The method to set the value to sourceCode + * @param string $sourceCode A string + */ + public function setSourceCode(string $sourceCode) + { + $this->sourceCode=$sourceCode; + $this->keyModified['source_code'] = 1; + + } + + /** + * The method to get the iframeCode + * @return string A string representing the iframeCode + */ + public function getIframeCode() + { + return $this->iframeCode; + + } + + /** + * The method to set the value to iframeCode + * @param string $iframeCode A string + */ + public function setIframeCode(string $iframeCode) + { + $this->iframeCode=$iframeCode; + $this->keyModified['iframe_code'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/webforms/WebformsOperations.php b/versions/5.0.0/src/com/zoho/crm/api/webforms/WebformsOperations.php new file mode 100644 index 0000000..313df62 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/webforms/WebformsOperations.php @@ -0,0 +1,164 @@ +module=$module; + + } + + /** + * The method to get web forms + * @return APIResponse An instance of APIResponse + */ + public function getWebForms() + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/webforms'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->addParam(new Param('module', 'com.zoho.crm.api.Webforms.GetWebFormsParam'), $this->module); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to create web forms + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function createWebForms(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/webforms'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + $handlerInstance->addParam(new Param('module', 'com.zoho.crm.api.Webforms.CreateWebFormsParam'), $this->module); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to update web forms + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updateWebForms(BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/webforms'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + $handlerInstance->addParam(new Param('module', 'com.zoho.crm.api.Webforms.UpdateWebFormsParam'), $this->module); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get web form + * @param string $formId A string + * @return APIResponse An instance of APIResponse + */ + public function getWebForm(string $formId) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/webforms/'); + $apiPath=$apiPath.(strval($formId)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->addParam(new Param('module', 'com.zoho.crm.api.Webforms.GetWebFormParam'), $this->module); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to update web form + * @param string $formId A string + * @param BodyWrapper $request An instance of BodyWrapper + * @return APIResponse An instance of APIResponse + */ + public function updateWebForm(string $formId, BodyWrapper $request) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/webforms/'); + $apiPath=$apiPath.(strval($formId)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_PUT); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_UPDATE); + $handlerInstance->setContentType('application/json'); + $handlerInstance->setRequest($request); + $handlerInstance->setMandatoryChecker(true); + $handlerInstance->addParam(new Param('module', 'com.zoho.crm.api.Webforms.UpdateWebFormParam'), $this->module); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to delete web forms + * @param string $formId A string + * @return APIResponse An instance of APIResponse + */ + public function deleteWebForms(string $formId) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/webforms/'); + $apiPath=$apiPath.(strval($formId)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->setCategoryMethod(Constants::REQUEST_METHOD_DELETE); + $handlerInstance->addParam(new Param('module', 'com.zoho.crm.api.Webforms.DeleteWebFormsParam'), $this->module); + return $handlerInstance->apiCall(ActionHandler::class, 'application/json'); + + } + + /** + * The method to get webforms preview + * @param string $formId A string + * @return APIResponse An instance of APIResponse + */ + public function getWebformsPreview(string $formId) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/webforms/'); + $apiPath=$apiPath.(strval($formId)); + $apiPath=$apiPath.('/actions/preview'); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->addParam(new Param('module', 'com.zoho.crm.api.Webforms.GetWebformsPreviewParam'), $this->module); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/wizards/APIException.php b/versions/5.0.0/src/com/zoho/crm/api/wizards/APIException.php new file mode 100644 index 0000000..170c973 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/wizards/APIException.php @@ -0,0 +1,126 @@ +code; + + } + + /** + * The method to set the value to code + * @param Choice $code An instance of Choice + */ + public function setCode(Choice $code) + { + $this->code=$code; + $this->keyModified['code'] = 1; + + } + + /** + * The method to get the status + * @return Choice An instance of Choice + */ + public function getStatus() + { + return $this->status; + + } + + /** + * The method to set the value to status + * @param Choice $status An instance of Choice + */ + public function setStatus(Choice $status) + { + $this->status=$status; + $this->keyModified['status'] = 1; + + } + + /** + * The method to get the message + * @return Choice An instance of Choice + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Choice $message An instance of Choice + */ + public function setMessage(Choice $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the details + * @return array A array representing the details + */ + public function getDetails() + { + return $this->details; + + } + + /** + * The method to set the value to details + * @param array $details A array + */ + public function setDetails(array $details) + { + $this->details=$details; + $this->keyModified['details'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/wizards/Actions.php b/versions/5.0.0/src/com/zoho/crm/api/wizards/Actions.php new file mode 100644 index 0000000..25f3fd4 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/wizards/Actions.php @@ -0,0 +1,192 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the type + * @return string A string representing the type + */ + public function getType() + { + return $this->type; + + } + + /** + * The method to set the value to type + * @param string $type A string + */ + public function setType(string $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to get the segment + * @return Segment An instance of Segment + */ + public function getSegment() + { + return $this->segment; + + } + + /** + * The method to set the value to segment + * @param Segment $segment An instance of Segment + */ + public function setSegment(Segment $segment) + { + $this->segment=$segment; + $this->keyModified['segment'] = 1; + + } + + /** + * The method to get the fields + * @return Fields An instance of Fields + */ + public function getFields() + { + return $this->fields; + + } + + /** + * The method to set the value to fields + * @param Fields $fields An instance of Fields + */ + public function setFields(Fields $fields) + { + $this->fields=$fields; + $this->keyModified['fields'] = 1; + + } + + /** + * The method to get the field + * @return Fields An instance of Fields + */ + public function getField() + { + return $this->field; + + } + + /** + * The method to set the value to field + * @param Fields $field An instance of Fields + */ + public function setField(Fields $field) + { + $this->field=$field; + $this->keyModified['field'] = 1; + + } + + /** + * The method to get the value + */ + public function getValue() + { + return $this->value; + + } + + /** + * The method to set the value to value + * @param + */ + public function setValue( $value) + { + $this->value=$value; + $this->keyModified['value'] = 1; + + } + + /** + * The method to get the exemptedProfiles + * @return array A array representing the exemptedProfiles + */ + public function getExemptedProfiles() + { + return $this->exemptedProfiles; + + } + + /** + * The method to set the value to exemptedProfiles + * @param array $exemptedProfiles A array + */ + public function setExemptedProfiles(array $exemptedProfiles) + { + $this->exemptedProfiles=$exemptedProfiles; + $this->keyModified['exempted_profiles'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/wizards/Button.php b/versions/5.0.0/src/com/zoho/crm/api/wizards/Button.php new file mode 100644 index 0000000..1f3fcdd --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/wizards/Button.php @@ -0,0 +1,366 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the sequenceNumber + * @return int A int representing the sequenceNumber + */ + public function getSequenceNumber() + { + return $this->sequenceNumber; + + } + + /** + * The method to set the value to sequenceNumber + * @param int $sequenceNumber A int + */ + public function setSequenceNumber(int $sequenceNumber) + { + $this->sequenceNumber=$sequenceNumber; + $this->keyModified['sequence_number'] = 1; + + } + + /** + * The method to get the displayLabel + * @return string A string representing the displayLabel + */ + public function getDisplayLabel() + { + return $this->displayLabel; + + } + + /** + * The method to set the value to displayLabel + * @param string $displayLabel A string + */ + public function setDisplayLabel(string $displayLabel) + { + $this->displayLabel=$displayLabel; + $this->keyModified['display_label'] = 1; + + } + + /** + * The method to get the criteria + * @return Criteria An instance of Criteria + */ + public function getCriteria() + { + return $this->criteria; + + } + + /** + * The method to set the value to criteria + * @param Criteria $criteria An instance of Criteria + */ + public function setCriteria(Criteria $criteria) + { + $this->criteria=$criteria; + $this->keyModified['criteria'] = 1; + + } + + /** + * The method to get the targetScreen + * @return Screen An instance of Screen + */ + public function getTargetScreen() + { + return $this->targetScreen; + + } + + /** + * The method to set the value to targetScreen + * @param Screen $targetScreen An instance of Screen + */ + public function setTargetScreen(Screen $targetScreen) + { + $this->targetScreen=$targetScreen; + $this->keyModified['target_screen'] = 1; + + } + + /** + * The method to get the type + * @return string A string representing the type + */ + public function getType() + { + return $this->type; + + } + + /** + * The method to set the value to type + * @param string $type A string + */ + public function setType(string $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to get the message + * @return Message An instance of Message + */ + public function getMessage() + { + return $this->message; + + } + + /** + * The method to set the value to message + * @param Message $message An instance of Message + */ + public function setMessage(Message $message) + { + $this->message=$message; + $this->keyModified['message'] = 1; + + } + + /** + * The method to get the color + * @return string A string representing the color + */ + public function getColor() + { + return $this->color; + + } + + /** + * The method to set the value to color + * @param string $color A string + */ + public function setColor(string $color) + { + $this->color=$color; + $this->keyModified['color'] = 1; + + } + + /** + * The method to get the shape + * @return string A string representing the shape + */ + public function getShape() + { + return $this->shape; + + } + + /** + * The method to set the value to shape + * @param string $shape A string + */ + public function setShape(string $shape) + { + $this->shape=$shape; + $this->keyModified['shape'] = 1; + + } + + /** + * The method to get the backgroundColor + * @return string A string representing the backgroundColor + */ + public function getBackgroundColor() + { + return $this->backgroundColor; + + } + + /** + * The method to set the value to backgroundColor + * @param string $backgroundColor A string + */ + public function setBackgroundColor(string $backgroundColor) + { + $this->backgroundColor=$backgroundColor; + $this->keyModified['background_color'] = 1; + + } + + /** + * The method to get the visibility + * @return string A string representing the visibility + */ + public function getVisibility() + { + return $this->visibility; + + } + + /** + * The method to set the value to visibility + * @param string $visibility A string + */ + public function setVisibility(string $visibility) + { + $this->visibility=$visibility; + $this->keyModified['visibility'] = 1; + + } + + /** + * The method to get the resource + */ + public function getResource() + { + return $this->resource; + + } + + /** + * The method to set the value to resource + * @param + */ + public function setResource( $resource) + { + $this->resource=$resource; + $this->keyModified['resource'] = 1; + + } + + /** + * The method to get the transition + * @return Transition An instance of Transition + */ + public function getTransition() + { + return $this->transition; + + } + + /** + * The method to set the value to transition + * @param Transition $transition An instance of Transition + */ + public function setTransition(Transition $transition) + { + $this->transition=$transition; + $this->keyModified['transition'] = 1; + + } + + /** + * The method to get the category + * @return string A string representing the category + */ + public function getCategory() + { + return $this->category; + + } + + /** + * The method to set the value to category + * @param string $category A string + */ + public function setCategory(string $category) + { + $this->category=$category; + $this->keyModified['category'] = 1; + + } + + /** + * The method to get the referenceId + * @return string A string representing the referenceId + */ + public function getReferenceId() + { + return $this->referenceId; + + } + + /** + * The method to set the value to referenceId + * @param string $referenceId A string + */ + public function setReferenceId(string $referenceId) + { + $this->referenceId=$referenceId; + $this->keyModified['reference_id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/wizards/ButtonBackground.php b/versions/5.0.0/src/com/zoho/crm/api/wizards/ButtonBackground.php new file mode 100644 index 0000000..d06dde8 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/wizards/ButtonBackground.php @@ -0,0 +1,59 @@ +buttonBackground; + + } + + /** + * The method to set the value to buttonBackground + * @param array $buttonBackground A array + */ + public function setButtonBackground(array $buttonBackground) + { + $this->buttonBackground=$buttonBackground; + $this->keyModified['button_background'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/wizards/ChartData.php b/versions/5.0.0/src/com/zoho/crm/api/wizards/ChartData.php new file mode 100644 index 0000000..457ad3e --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/wizards/ChartData.php @@ -0,0 +1,147 @@ +nodes; + + } + + /** + * The method to set the value to nodes + * @param array $nodes A array + */ + public function setNodes(array $nodes) + { + $this->nodes=$nodes; + $this->keyModified['nodes'] = 1; + + } + + /** + * The method to get the connections + * @return array A array representing the connections + */ + public function getConnections() + { + return $this->connections; + + } + + /** + * The method to set the value to connections + * @param array $connections A array + */ + public function setConnections(array $connections) + { + $this->connections=$connections; + $this->keyModified['connections'] = 1; + + } + + /** + * The method to get the colorPalette + * @return ButtonBackground An instance of ButtonBackground + */ + public function getColorPalette() + { + return $this->colorPalette; + + } + + /** + * The method to set the value to colorPalette + * @param ButtonBackground $colorPalette An instance of ButtonBackground + */ + public function setColorPalette(ButtonBackground $colorPalette) + { + $this->colorPalette=$colorPalette; + $this->keyModified['color_palette'] = 1; + + } + + /** + * The method to get the canvasWidth + * @return int A int representing the canvasWidth + */ + public function getCanvasWidth() + { + return $this->canvasWidth; + + } + + /** + * The method to set the value to canvasWidth + * @param int $canvasWidth A int + */ + public function setCanvasWidth(int $canvasWidth) + { + $this->canvasWidth=$canvasWidth; + $this->keyModified['canvas_width'] = 1; + + } + + /** + * The method to get the canvasHeight + * @return int A int representing the canvasHeight + */ + public function getCanvasHeight() + { + return $this->canvasHeight; + + } + + /** + * The method to set the value to canvasHeight + * @param int $canvasHeight A int + */ + public function setCanvasHeight(int $canvasHeight) + { + $this->canvasHeight=$canvasHeight; + $this->keyModified['canvas_height'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/wizards/ConditionalRules.php b/versions/5.0.0/src/com/zoho/crm/api/wizards/ConditionalRules.php new file mode 100644 index 0000000..67cac3f --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/wizards/ConditionalRules.php @@ -0,0 +1,126 @@ +queryId; + + } + + /** + * The method to set the value to queryId + * @param string $queryId A string + */ + public function setQueryId(string $queryId) + { + $this->queryId=$queryId; + $this->keyModified['query_id'] = 1; + + } + + /** + * The method to get the executeOn + * @return Choice An instance of Choice + */ + public function getExecuteOn() + { + return $this->executeOn; + + } + + /** + * The method to set the value to executeOn + * @param Choice $executeOn An instance of Choice + */ + public function setExecuteOn(Choice $executeOn) + { + $this->executeOn=$executeOn; + $this->keyModified['execute_on'] = 1; + + } + + /** + * The method to get the criteria + * @return Criteria An instance of Criteria + */ + public function getCriteria() + { + return $this->criteria; + + } + + /** + * The method to set the value to criteria + * @param Criteria $criteria An instance of Criteria + */ + public function setCriteria(Criteria $criteria) + { + $this->criteria=$criteria; + $this->keyModified['criteria'] = 1; + + } + + /** + * The method to get the actions + * @return array A array representing the actions + */ + public function getActions() + { + return $this->actions; + + } + + /** + * The method to set the value to actions + * @param array $actions A array + */ + public function setActions(array $actions) + { + $this->actions=$actions; + $this->keyModified['actions'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/wizards/Connection.php b/versions/5.0.0/src/com/zoho/crm/api/wizards/Connection.php new file mode 100644 index 0000000..3c94906 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/wizards/Connection.php @@ -0,0 +1,103 @@ +sourceButton; + + } + + /** + * The method to set the value to sourceButton + * @param Button $sourceButton An instance of Button + */ + public function setSourceButton(Button $sourceButton) + { + $this->sourceButton=$sourceButton; + $this->keyModified['source_button'] = 1; + + } + + /** + * The method to get the targetScreen + * @return Screen An instance of Screen + */ + public function getTargetScreen() + { + return $this->targetScreen; + + } + + /** + * The method to set the value to targetScreen + * @param Screen $targetScreen An instance of Screen + */ + public function setTargetScreen(Screen $targetScreen) + { + $this->targetScreen=$targetScreen; + $this->keyModified['target_screen'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/wizards/Container.php b/versions/5.0.0/src/com/zoho/crm/api/wizards/Container.php new file mode 100644 index 0000000..795ef5c --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/wizards/Container.php @@ -0,0 +1,126 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the layout + * @return Layouts An instance of Layouts + */ + public function getLayout() + { + return $this->layout; + + } + + /** + * The method to set the value to layout + * @param Layouts $layout An instance of Layouts + */ + public function setLayout(Layouts $layout) + { + $this->layout=$layout; + $this->keyModified['layout'] = 1; + + } + + /** + * The method to get the chartData + * @return ChartData An instance of ChartData + */ + public function getChartData() + { + return $this->chartData; + + } + + /** + * The method to set the value to chartData + * @param ChartData $chartData An instance of ChartData + */ + public function setChartData(ChartData $chartData) + { + $this->chartData=$chartData; + $this->keyModified['chart_data'] = 1; + + } + + /** + * The method to get the screens + * @return array A array representing the screens + */ + public function getScreens() + { + return $this->screens; + + } + + /** + * The method to set the value to screens + * @param array $screens A array + */ + public function setScreens(array $screens) + { + $this->screens=$screens; + $this->keyModified['screens'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/wizards/Criteria.php b/versions/5.0.0/src/com/zoho/crm/api/wizards/Criteria.php new file mode 100644 index 0000000..b59576d --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/wizards/Criteria.php @@ -0,0 +1,146 @@ +comparator; + + } + + /** + * The method to set the value to comparator + * @param string $comparator A string + */ + public function setComparator(string $comparator) + { + $this->comparator=$comparator; + $this->keyModified['comparator'] = 1; + + } + + /** + * The method to get the field + * @return Field An instance of Field + */ + public function getField() + { + return $this->field; + + } + + /** + * The method to set the value to field + * @param Field $field An instance of Field + */ + public function setField(Field $field) + { + $this->field=$field; + $this->keyModified['field'] = 1; + + } + + /** + * The method to get the value + */ + public function getValue() + { + return $this->value; + + } + + /** + * The method to set the value to value + * @param + */ + public function setValue( $value) + { + $this->value=$value; + $this->keyModified['value'] = 1; + + } + + /** + * The method to get the groupOperator + * @return string A string representing the groupOperator + */ + public function getGroupOperator() + { + return $this->groupOperator; + + } + + /** + * The method to set the value to groupOperator + * @param string $groupOperator A string + */ + public function setGroupOperator(string $groupOperator) + { + $this->groupOperator=$groupOperator; + $this->keyModified['group_operator'] = 1; + + } + + /** + * The method to get the group + * @return array A array representing the group + */ + public function getGroup() + { + return $this->group; + + } + + /** + * The method to set the value to group + * @param array $group A array + */ + public function setGroup(array $group) + { + $this->group=$group; + $this->keyModified['group'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/wizards/Element.php b/versions/5.0.0/src/com/zoho/crm/api/wizards/Element.php new file mode 100644 index 0000000..d30998e --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/wizards/Element.php @@ -0,0 +1,81 @@ +type; + + } + + /** + * The method to set the value to type + * @param string $type A string + */ + public function setType(string $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to get the resource + * @return Resource An instance of Resource + */ + public function getResource() + { + return $this->resource; + + } + + /** + * The method to set the value to resource + * @param Resource $resource An instance of Resource + */ + public function setResource(Resource $resource) + { + $this->resource=$resource; + $this->keyModified['resource'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/wizards/ExemptedPortalUserType.php b/versions/5.0.0/src/com/zoho/crm/api/wizards/ExemptedPortalUserType.php new file mode 100644 index 0000000..d845cdb --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/wizards/ExemptedPortalUserType.php @@ -0,0 +1,59 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/wizards/Field.php b/versions/5.0.0/src/com/zoho/crm/api/wizards/Field.php new file mode 100644 index 0000000..9e0ae5f --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/wizards/Field.php @@ -0,0 +1,81 @@ +apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/wizards/GetWizardByIDParam.php b/versions/5.0.0/src/com/zoho/crm/api/wizards/GetWizardByIDParam.php new file mode 100644 index 0000000..c2be1b9 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/wizards/GetWizardByIDParam.php @@ -0,0 +1,14 @@ +title; + + } + + /** + * The method to set the value to title + * @param string $title A string + */ + public function setTitle(string $title) + { + $this->title=$title; + $this->keyModified['title'] = 1; + + } + + /** + * The method to get the content + * @return string A string representing the content + */ + public function getContent() + { + return $this->content; + + } + + /** + * The method to set the value to content + * @param string $content A string + */ + public function setContent(string $content) + { + $this->content=$content; + $this->keyModified['content'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/wizards/Node.php b/versions/5.0.0/src/com/zoho/crm/api/wizards/Node.php new file mode 100644 index 0000000..8c5b514 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/wizards/Node.php @@ -0,0 +1,125 @@ +posY; + + } + + /** + * The method to set the value to posY + * @param int $posY A int + */ + public function setPosY(int $posY) + { + $this->posY=$posY; + $this->keyModified['pos_y'] = 1; + + } + + /** + * The method to get the posX + * @return int A int representing the posX + */ + public function getPosX() + { + return $this->posX; + + } + + /** + * The method to set the value to posX + * @param int $posX A int + */ + public function setPosX(int $posX) + { + $this->posX=$posX; + $this->keyModified['pos_x'] = 1; + + } + + /** + * The method to get the startNode + * @return bool A bool representing the startNode + */ + public function getStartNode() + { + return $this->startNode; + + } + + /** + * The method to set the value to startNode + * @param bool $startNode A bool + */ + public function setStartNode(bool $startNode) + { + $this->startNode=$startNode; + $this->keyModified['start_node'] = 1; + + } + + /** + * The method to get the screen + * @return Screen An instance of Screen + */ + public function getScreen() + { + return $this->screen; + + } + + /** + * The method to set the value to screen + * @param Screen $screen An instance of Screen + */ + public function setScreen(Screen $screen) + { + $this->screen=$screen; + $this->keyModified['screen'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/wizards/PortalUserType.php b/versions/5.0.0/src/com/zoho/crm/api/wizards/PortalUserType.php new file mode 100644 index 0000000..9b11aef --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/wizards/PortalUserType.php @@ -0,0 +1,126 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the layout + * @return Layouts An instance of Layouts + */ + public function getLayout() + { + return $this->layout; + + } + + /** + * The method to set the value to layout + * @param Layouts $layout An instance of Layouts + */ + public function setLayout(Layouts $layout) + { + $this->layout=$layout; + $this->keyModified['layout'] = 1; + + } + + /** + * The method to get the chartData + * @return ChartData An instance of ChartData + */ + public function getChartData() + { + return $this->chartData; + + } + + /** + * The method to set the value to chartData + * @param ChartData $chartData An instance of ChartData + */ + public function setChartData(ChartData $chartData) + { + $this->chartData=$chartData; + $this->keyModified['chart_data'] = 1; + + } + + /** + * The method to get the screens + * @return array A array representing the screens + */ + public function getScreens() + { + return $this->screens; + + } + + /** + * The method to set the value to screens + * @param array $screens A array + */ + public function setScreens(array $screens) + { + $this->screens=$screens; + $this->keyModified['screens'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/wizards/Resource.php b/versions/5.0.0/src/com/zoho/crm/api/wizards/Resource.php new file mode 100644 index 0000000..d22b5e9 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/wizards/Resource.php @@ -0,0 +1,81 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/wizards/ResponseHandler.php b/versions/5.0.0/src/com/zoho/crm/api/wizards/ResponseHandler.php new file mode 100644 index 0000000..b0bc07a --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/wizards/ResponseHandler.php @@ -0,0 +1,7 @@ +wizards; + + } + + /** + * The method to set the value to wizards + * @param array $wizards A array + */ + public function setWizards(array $wizards) + { + $this->wizards=$wizards; + $this->keyModified['wizards'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/wizards/Screen.php b/versions/5.0.0/src/com/zoho/crm/api/wizards/Screen.php new file mode 100644 index 0000000..457b436 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/wizards/Screen.php @@ -0,0 +1,169 @@ +displayLabel; + + } + + /** + * The method to set the value to displayLabel + * @param string $displayLabel A string + */ + public function setDisplayLabel(string $displayLabel) + { + $this->displayLabel=$displayLabel; + $this->keyModified['display_label'] = 1; + + } + + /** + * The method to get the aPIName + * @return string A string representing the apiName + */ + public function getAPIName() + { + return $this->apiName; + + } + + /** + * The method to set the value to aPIName + * @param string $apiName A string + */ + public function setAPIName(string $apiName) + { + $this->apiName=$apiName; + $this->keyModified['api_name'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the referenceId + * @return string A string representing the referenceId + */ + public function getReferenceId() + { + return $this->referenceId; + + } + + /** + * The method to set the value to referenceId + * @param string $referenceId A string + */ + public function setReferenceId(string $referenceId) + { + $this->referenceId=$referenceId; + $this->keyModified['reference_id'] = 1; + + } + + /** + * The method to get the conditionalRules + * @return array A array representing the conditionalRules + */ + public function getConditionalRules() + { + return $this->conditionalRules; + + } + + /** + * The method to set the value to conditionalRules + * @param array $conditionalRules A array + */ + public function setConditionalRules(array $conditionalRules) + { + $this->conditionalRules=$conditionalRules; + $this->keyModified['conditional_rules'] = 1; + + } + + /** + * The method to get the segments + * @return array A array representing the segments + */ + public function getSegments() + { + return $this->segments; + + } + + /** + * The method to set the value to segments + * @param array $segments A array + */ + public function setSegments(array $segments) + { + $this->segments=$segments; + $this->keyModified['segments'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/wizards/Segment.php b/versions/5.0.0/src/com/zoho/crm/api/wizards/Segment.php new file mode 100644 index 0000000..de3e93d --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/wizards/Segment.php @@ -0,0 +1,214 @@ +sequenceNumber; + + } + + /** + * The method to set the value to sequenceNumber + * @param int $sequenceNumber A int + */ + public function setSequenceNumber(int $sequenceNumber) + { + $this->sequenceNumber=$sequenceNumber; + $this->keyModified['sequence_number'] = 1; + + } + + /** + * The method to get the displayLabel + * @return string A string representing the displayLabel + */ + public function getDisplayLabel() + { + return $this->displayLabel; + + } + + /** + * The method to set the value to displayLabel + * @param string $displayLabel A string + */ + public function setDisplayLabel(string $displayLabel) + { + $this->displayLabel=$displayLabel; + $this->keyModified['display_label'] = 1; + + } + + /** + * The method to get the columnCount + * @return int A int representing the columnCount + */ + public function getColumnCount() + { + return $this->columnCount; + + } + + /** + * The method to set the value to columnCount + * @param int $columnCount A int + */ + public function setColumnCount(int $columnCount) + { + $this->columnCount=$columnCount; + $this->keyModified['column_count'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the type + * @return string A string representing the type + */ + public function getType() + { + return $this->type; + + } + + /** + * The method to set the value to type + * @param string $type A string + */ + public function setType(string $type) + { + $this->type=$type; + $this->keyModified['type'] = 1; + + } + + /** + * The method to get the fields + * @return array A array representing the fields + */ + public function getFields() + { + return $this->fields; + + } + + /** + * The method to set the value to fields + * @param array $fields A array + */ + public function setFields(array $fields) + { + $this->fields=$fields; + $this->keyModified['fields'] = 1; + + } + + /** + * The method to get the buttons + * @return array A array representing the buttons + */ + public function getButtons() + { + return $this->buttons; + + } + + /** + * The method to set the value to buttons + * @param array $buttons A array + */ + public function setButtons(array $buttons) + { + $this->buttons=$buttons; + $this->keyModified['buttons'] = 1; + + } + + /** + * The method to get the elements + * @return array A array representing the elements + */ + public function getElements() + { + return $this->elements; + + } + + /** + * The method to set the value to elements + * @param array $elements A array + */ + public function setElements(array $elements) + { + $this->elements=$elements; + $this->keyModified['elements'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/wizards/Transition.php b/versions/5.0.0/src/com/zoho/crm/api/wizards/Transition.php new file mode 100644 index 0000000..c8e7f93 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/wizards/Transition.php @@ -0,0 +1,81 @@ +id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/wizards/Wizard.php b/versions/5.0.0/src/com/zoho/crm/api/wizards/Wizard.php new file mode 100644 index 0000000..8a019bf --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/wizards/Wizard.php @@ -0,0 +1,348 @@ +createdTime; + + } + + /** + * The method to set the value to createdTime + * @param \DateTime $createdTime An instance of \DateTime + */ + public function setCreatedTime(\DateTime $createdTime) + { + $this->createdTime=$createdTime; + $this->keyModified['created_time'] = 1; + + } + + /** + * The method to get the modifiedTime + * @return \DateTime An instance of \DateTime + */ + public function getModifiedTime() + { + return $this->modifiedTime; + + } + + /** + * The method to set the value to modifiedTime + * @param \DateTime $modifiedTime An instance of \DateTime + */ + public function setModifiedTime(\DateTime $modifiedTime) + { + $this->modifiedTime=$modifiedTime; + $this->keyModified['modified_time'] = 1; + + } + + /** + * The method to get the module + * @return Modules An instance of Modules + */ + public function getModule() + { + return $this->module; + + } + + /** + * The method to set the value to module + * @param Modules $module An instance of Modules + */ + public function setModule(Modules $module) + { + $this->module=$module; + $this->keyModified['module'] = 1; + + } + + /** + * The method to get the name + * @return string A string representing the name + */ + public function getName() + { + return $this->name; + + } + + /** + * The method to set the value to name + * @param string $name A string + */ + public function setName(string $name) + { + $this->name=$name; + $this->keyModified['name'] = 1; + + } + + /** + * The method to get the modifiedBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getModifiedBy() + { + return $this->modifiedBy; + + } + + /** + * The method to set the value to modifiedBy + * @param MinifiedUser $modifiedBy An instance of MinifiedUser + */ + public function setModifiedBy(MinifiedUser $modifiedBy) + { + $this->modifiedBy=$modifiedBy; + $this->keyModified['modified_by'] = 1; + + } + + /** + * The method to get the profiles + * @return array A array representing the profiles + */ + public function getProfiles() + { + return $this->profiles; + + } + + /** + * The method to set the value to profiles + * @param array $profiles A array + */ + public function setProfiles(array $profiles) + { + $this->profiles=$profiles; + $this->keyModified['profiles'] = 1; + + } + + /** + * The method to get the active + * @return bool A bool representing the active + */ + public function getActive() + { + return $this->active; + + } + + /** + * The method to set the value to active + * @param bool $active A bool + */ + public function setActive(bool $active) + { + $this->active=$active; + $this->keyModified['active'] = 1; + + } + + /** + * The method to get the containers + * @return array A array representing the containers + */ + public function getContainers() + { + return $this->containers; + + } + + /** + * The method to set the value to containers + * @param array $containers A array + */ + public function setContainers(array $containers) + { + $this->containers=$containers; + $this->keyModified['containers'] = 1; + + } + + /** + * The method to get the id + * @return string A string representing the id + */ + public function getId() + { + return $this->id; + + } + + /** + * The method to set the value to id + * @param string $id A string + */ + public function setId(string $id) + { + $this->id=$id; + $this->keyModified['id'] = 1; + + } + + /** + * The method to get the createdBy + * @return MinifiedUser An instance of MinifiedUser + */ + public function getCreatedBy() + { + return $this->createdBy; + + } + + /** + * The method to set the value to createdBy + * @param MinifiedUser $createdBy An instance of MinifiedUser + */ + public function setCreatedBy(MinifiedUser $createdBy) + { + $this->createdBy=$createdBy; + $this->keyModified['created_by'] = 1; + + } + + /** + * The method to get the portalUserTypes + * @return array A array representing the portalUserTypes + */ + public function getPortalUserTypes() + { + return $this->portalUserTypes; + + } + + /** + * The method to set the value to portalUserTypes + * @param array $portalUserTypes A array + */ + public function setPortalUserTypes(array $portalUserTypes) + { + $this->portalUserTypes=$portalUserTypes; + $this->keyModified['portal_user_types'] = 1; + + } + + /** + * The method to get the exemptedPortalUserTypes + * @return array A array representing the exemptedPortalUserTypes + */ + public function getExemptedPortalUserTypes() + { + return $this->exemptedPortalUserTypes; + + } + + /** + * The method to set the value to exemptedPortalUserTypes + * @param array $exemptedPortalUserTypes A array + */ + public function setExemptedPortalUserTypes(array $exemptedPortalUserTypes) + { + $this->exemptedPortalUserTypes=$exemptedPortalUserTypes; + $this->keyModified['exempted_portal_user_types'] = 1; + + } + + /** + * The method to get the parentWizard + * @return Wizard An instance of Wizard + */ + public function getParentWizard() + { + return $this->parentWizard; + + } + + /** + * The method to set the value to parentWizard + * @param Wizard $parentWizard An instance of Wizard + */ + public function setParentWizard(Wizard $parentWizard) + { + $this->parentWizard=$parentWizard; + $this->keyModified['parent_wizard'] = 1; + + } + + /** + * The method to get the draft + * @return bool A bool representing the draft + */ + public function getDraft() + { + return $this->draft; + + } + + /** + * The method to set the value to draft + * @param bool $draft A bool + */ + public function setDraft(bool $draft) + { + $this->draft=$draft; + $this->keyModified['draft'] = 1; + + } + + /** + * The method to check if the user has modified the given key + * @param string $key A string + * @return int A int representing the modification + */ + public function isKeyModified(string $key) + { + if(((array_key_exists($key, $this->keyModified)))) + { + return $this->keyModified[$key]; + + } + return null; + + } + + /** + * The method to mark the given key as modified + * @param string $key A string + * @param int $modification A int + */ + public function setKeyModified(string $key, int $modification) + { + $this->keyModified[$key] = $modification; + + } +} diff --git a/versions/5.0.0/src/com/zoho/crm/api/wizards/WizardsOperations.php b/versions/5.0.0/src/com/zoho/crm/api/wizards/WizardsOperations.php new file mode 100644 index 0000000..6a7d9e3 --- /dev/null +++ b/versions/5.0.0/src/com/zoho/crm/api/wizards/WizardsOperations.php @@ -0,0 +1,49 @@ +setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } + + /** + * The method to get wizard by id + * @param string $wizardId A string + * @param ParameterMap $paramInstance An instance of ParameterMap + * @return APIResponse An instance of APIResponse + */ + public function getWizardById(string $wizardId, ParameterMap $paramInstance=null) + { + $handlerInstance=new CommonAPIHandler(); + $apiPath=""; + $apiPath=$apiPath.('/crm/v6/settings/wizards/'); + $apiPath=$apiPath.(strval($wizardId)); + $handlerInstance->setAPIPath($apiPath); + $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); + $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); + $handlerInstance->setParam($paramInstance); + return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); + + } +} diff --git a/versions/5.0.0/src/resources/JSONDetails.json b/versions/5.0.0/src/resources/JSONDetails.json new file mode 100644 index 0000000..09ab16f --- /dev/null +++ b/versions/5.0.0/src/resources/JSONDetails.json @@ -0,0 +1 @@ +{"com\\zoho\\crm\\api\\blueprint\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\blueprint\\SuccessResponse","com\\zoho\\crm\\api\\blueprint\\APIException"],"interface":true},"com\\zoho\\crm\\api\\definition\\ResponseWrapper":{"definition":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\definition\\Definition","request_supported":["action","create","delete","read","update"],"name":"definition","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\definition\\Definition","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\territoryusers\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_DATA","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","MANDATORY_NOT_FOUND","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_path_index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"owner_status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\roles\\ActionWrapper":{"roles":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\roles\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\roles\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"roles","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\fields\\MultiModuleLookup":{"displayLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"modules":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\modules\\MinifiedModule","sub_type":{"type":"com\\zoho\\crm\\api\\modules\\MinifiedModule"},"request_supported":["action","create","delete","read","update"],"name":"modules","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\fields\\AutoNumber":{"startingNumberLength":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"starting_number_length","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"startNumber":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"start_number","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"prefix":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"prefix","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"suffix":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"suffix","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\portalusertype\\ActionWrapper":{"userType":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\portalusertype\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\portalusertype\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"user_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\layouts\\ActionWrapper":{"layouts":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\layouts\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\layouts\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"layouts","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\backup\\HistoryWrapper":{"history":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\backup\\History","sub_type":{"type":"com\\zoho\\crm\\api\\backup\\History"},"request_supported":["action","create","delete","read","update"],"name":"history","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"info":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\backup\\Info","request_supported":["action","create","delete","read","update"],"name":"info","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\backup\\Info","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\shifthours\\DeleteShiftHourHeader":{"xCrmOrg":{"name":"X-CRM-ORG","type":"String","structure":false}},"com\\zoho\\crm\\api\\record\\ResponseWrapper":{"data":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\record\\Record","sub_type":{"type":"com\\zoho\\crm\\api\\record\\Record"},"request_supported":["action","create","delete","read","update"],"name":"data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"info":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\record\\Info","request_supported":["action","create","delete","read","update"],"name":"info","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\record\\Info","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\relatedlists\\GetRelatedListsParam":{"module":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"module","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"layoutId":{"name":"layout_id","type":"Long","structure":false}},"com\\zoho\\crm\\api\\timelines\\PathFinder":{"processExit":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"process_exit","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"state":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\timelines\\State","request_supported":["action","create","delete","read","update"],"name":"state","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\timelines\\State","unique_for":"none","structure":true},"processEntry":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"process_entry","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\tags\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"created_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"modified_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"modified_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"created_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"color_code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["tags created successfully","tags updated successfully","tags deleted successfully"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\holidays\\Info":{"perPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"per_page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"moreRecords":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"more_records","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"count":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"page":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\servicepreference\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\servicepreference\\SuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\templates\\Wrapper":{"templates":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\templates\\Templates","sub_type":{"type":"com\\zoho\\crm\\api\\templates\\Templates"},"request_supported":["action","create","delete","read","update"],"name":"templates","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\fromaddresses\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\fromaddresses\\ResponseWrapper","com\\zoho\\crm\\api\\fromaddresses\\APIException"],"interface":true},"com\\zoho\\crm\\api\\relatedrecords\\ResponseWrapper":{"data":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\record\\Record","sub_type":{"type":"com\\zoho\\crm\\api\\record\\Record"},"request_supported":["action","create","delete","read","update"],"name":"data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"info":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\record\\Info","request_supported":["action","create","delete","read","update"],"name":"info","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\record\\Info","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\globalpicklists\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\globalpicklists\\ResponseWrapper","com\\zoho\\crm\\api\\globalpicklists\\APIException"],"interface":true},"com\\zoho\\crm\\api\\users\\Owner":{"lastName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"last_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"firstName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"first_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\sendmail\\InventoryDetails":{"inventoryTemplate":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\sendmail\\InventoryTemplate","request_supported":["action","create","delete","read","update"],"name":"inventory_template","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\sendmail\\InventoryTemplate","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\usersunavailability\\ActionWrapper":{"usersUnavailability":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\usersunavailability\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\usersunavailability\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"users_unavailability","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\associateemail\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\appointmentpreference\\BodyWrapper":{"appointmentPreferences":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\appointmentpreference\\AppointmentPreference","request_supported":["action","create","delete","read","update"],"name":"appointment_preferences","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\appointmentpreference\\AppointmentPreference","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\record\\MassUpdateTerritory":{"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"includeChild":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"include_child","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\scoringrules\\RoleRequestWrapper":{"scoringRules":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"Long"},"request_supported":["action","create","delete","read","update"],"name":"scoring_rules","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\usersterritories\\TransferWrapper":{"transferAndDelink":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\usersterritories\\TransferAndDelink","sub_type":{"type":"com\\zoho\\crm\\api\\usersterritories\\TransferAndDelink"},"request_supported":["action","create","delete","read","update"],"name":"transfer_and_delink","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\record\\RecurringActivity":{"rrule":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"RRULE","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"exdate":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"EXDATE","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\usersterritories\\ActionWrapper":{"territories":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\usersterritories\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\usersterritories\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"territories","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"transferAndDelink":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\usersterritories\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\usersterritories\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"transfer_and_delink","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\sendmail\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\sendmail\\ActionWrapper","com\\zoho\\crm\\api\\sendmail\\APIException"],"interface":true},"com\\zoho\\crm\\api\\modules\\StaticSubformProperties":{"fields":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\modules\\StaticSubformField","sub_type":{"type":"com\\zoho\\crm\\api\\modules\\StaticSubformField"},"request_supported":["action","create","delete","read","update"],"name":"fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\webforms\\Suggestion":{"available":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"available","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\bulkread\\ResponseWrapper":{"data":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\bulkread\\JobDetail","sub_type":{"type":"com\\zoho\\crm\\api\\bulkread\\JobDetail"},"request_supported":["action","create","delete","read","update"],"name":"data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\roles\\DeleteRoleParam":{"transferToId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"transfer_to_id","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\inventoryconvert\\InventoryConverter":{"convertTo":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"spec_type":"com.zoho.api.spec.template.type.TCollections","type":"List","unique_for":"none","structure":true,"structure_name":"com\\zoho\\crm\\api\\inventoryconvert\\ConvertTo","sub_type":{"type":"com\\zoho\\crm\\api\\inventoryconvert\\ConvertTo"},"name":"convert_to","required_for":"none","emptiable_for":"none","nullable_for":"none","max_length":1}},"com\\zoho\\crm\\api\\territoryusers\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\territoryusers\\APIException","com\\zoho\\crm\\api\\territoryusers\\ResponseWrapper"],"interface":true},"com\\zoho\\crm\\api\\users\\Profile":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\record\\LineItemProduct":{"modifiedTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Modified_Time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"productCode":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Product_Code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"createdBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"Created_By","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"createdTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Created_Time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"currency":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Currency","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"modifiedBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"Modified_By","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"tag":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\tags\\Tag","sub_type":{"type":"com\\zoho\\crm\\api\\tags\\Tag"},"request_supported":["action","create","delete","read","update"],"name":"Tag","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\mailmerge\\SignMailMergeWrapper":{"signMailMerge":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\mailmerge\\SignMailMerge","sub_type":{"type":"com\\zoho\\crm\\api\\mailmerge\\SignMailMerge"},"request_supported":["action","create","delete","read","update"],"name":"sign_mail_merge","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\usersterritories\\TransferActionHandler":{"classes":["com\\zoho\\crm\\api\\usersterritories\\APIException","com\\zoho\\crm\\api\\usersterritories\\TransferActionWrapper"],"interface":true},"com\\zoho\\crm\\api\\record\\DeletedRecord":{"createdBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"created_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"displayName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"deletedTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"deleted_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"deletedBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"deleted_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\usergroups\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_DATA","REQUIRED_PARAM_MISSING","MANDATORY_NOT_FOUND","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"regex","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"param_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_path_index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\pipeline\\BodyWrapper":{"pipeline":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\pipeline\\Pipeline","sub_type":{"type":"com\\zoho\\crm\\api\\pipeline\\Pipeline"},"request_supported":["action","create","delete","read","update"],"name":"pipeline","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\record\\DeleteRecordsHeader":{"XEXTERNAL":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"X-EXTERNAL","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\record\\DeletedRecordsWrapper":{"data":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\record\\DeletedRecord","sub_type":{"type":"com\\zoho\\crm\\api\\record\\DeletedRecord"},"request_supported":["action","create","delete","read","update"],"name":"data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"info":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\record\\Info","request_supported":["action","create","delete","read","update"],"name":"info","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\record\\Info","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\mailmerge\\DownloadResponseHandler":{"classes":["com\\zoho\\crm\\api\\mailmerge\\APIException","com\\zoho\\crm\\api\\mailmerge\\FileBodyWrapper"],"interface":true},"com\\zoho\\crm\\api\\holidays\\BusinessHoliday":{"date":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"date","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDate","nullable_for":"none","type":"Date","unique_for":"none","structure":false},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false,"max_length":80},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\relatedrecords\\UpdateRelatedRecordHeader":{"XEXTERNAL":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"X-EXTERNAL","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\notes\\Note":{"owner":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"Owner","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"modifiedTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Modified_Time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"noteTitle":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Note_Title","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"noteContent":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Note_Content","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"attachments":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\attachments\\Attachment","sub_type":{"type":"com\\zoho\\crm\\api\\attachments\\Attachment"},"request_supported":["action","create","delete","read","update"],"name":"$attachments","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"voiceNote":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"$voice_note","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"editable":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"$editable","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"isSharedToClient":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"$is_shared_to_client","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"sharingPermission":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"$sharing_permission","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"parentId":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\record\\Record","request_supported":["action","create","delete","read","update"],"name":"Parent_Id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\record\\Record","unique_for":"none","structure":true},"size":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"$size","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"createdBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"Created_By","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"createdTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Created_Time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"modifiedBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"Modified_By","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"state":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"$state","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\profiles\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_DATA","MANDATORY_NOT_FOUND","DUPLICATE_DATA","LICENSE_LIMIT_EXCEEDED","INVALID_TOKEN","INVALID_URL_PATTERN","INVALID_REQUEST_METHOD","INTERNAL_ERROR","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","Not Modified","AUTHENTICATION_FAILURE","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["name","Description","permissions_details","profiles"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["jsonobject","text","jsonarray"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":[50,250,1],"name":"maximum_length","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["permissions_details"],"name":"parent_api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":[25],"name":"limit","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["the id given seems to be invalid or already deleted","invalid data","required field not found","duplicate data","Request exceeds your license limit.","invalid oauth token","Please check if the URL trying to access is a correct one","The http request method type is not a valid one","The module name given seems to be invalid","Internal server error occurred.","The action given is invalid"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\portalusertype\\PersonalityModule":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"pluralLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"plural_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\backup\\Requester":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"zuid":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"zuid","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\privacypreference\\PrivacyPreference":{"preference":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\privacypreference\\Preference","request_supported":["action","create","delete","read","update"],"name":"preference","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\privacypreference\\Preference","unique_for":"none","structure":true},"config":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\privacypreference\\Config","request_supported":["action","create","delete","read","update"],"name":"config","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\privacypreference\\Config","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\bulkread\\BodyWrapper":{"query":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\bulkread\\Query","request_supported":["action","create","delete","read","update"],"name":"query","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\bulkread\\Query","unique_for":"none","structure":true},"callback":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\bulkread\\CallBack","request_supported":["action","create","delete","read","update"],"name":"callback","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\bulkread\\CallBack","unique_for":"none","structure":true},"fileType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["ics","csv"],"name":"file_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\usergroups\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS","SCHEDULED"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"job_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\emailcomposemeta\\Signature":{"mode":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"mode","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"sign":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sign","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\portalinvite\\ResponseWrapper":{"portalInvite":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\portalinvite\\JobResponse","sub_type":{"type":"com\\zoho\\crm\\api\\portalinvite\\JobResponse"},"request_supported":["action","create","delete","read","update"],"name":"portal_invite","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\holidays\\GetHolidaysParam":{"shiftId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"shift_id","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"year":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"year","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false,"max_length":4},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["business_holiday","shift_holiday"],"name":"type","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\roles\\ResponseWrapper":{"roles":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\roles\\Role","sub_type":{"type":"com\\zoho\\crm\\api\\roles\\Role"},"request_supported":["action","create","delete","read","update"],"name":"roles","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\record\\MassUpdateActionResponse":{"classes":["com\\zoho\\crm\\api\\record\\APIException","com\\zoho\\crm\\api\\record\\MassUpdateSuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\fieldmapdependency\\BodyWrapper":{"mapDependency":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fieldmapdependency\\MapDependency","sub_type":{"type":"com\\zoho\\crm\\api\\fieldmapdependency\\MapDependency"},"request_supported":["action","create","delete","read","update"],"name":"map_dependency","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\fiscalyear\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\fiscalyear\\APIException","com\\zoho\\crm\\api\\fiscalyear\\ResponseWrapper"],"interface":true},"com\\zoho\\crm\\api\\relatedrecords\\GetRelatedRecordsUsingExternalIDHeader":{"IfModifiedSince":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"If-Modified-Since","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"XEXTERNAL":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"X-EXTERNAL","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\digest\\Dependee":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"jsonPath":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\variables\\UpdateVariableByIDParam":{"group":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"group","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\timelines\\PicklistDetail":{"displayValue":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"sequenceNumber":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sequence_number","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"actualValue":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"actual_value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"colourCode":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"colour_code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\bulkread\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\bulkread\\APIException","com\\zoho\\crm\\api\\bulkread\\FileBodyWrapper","com\\zoho\\crm\\api\\bulkread\\ResponseWrapper"],"interface":true},"com\\zoho\\crm\\api\\usersunavailability\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\usersunavailability\\APIException","com\\zoho\\crm\\api\\usersunavailability\\SuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\fields\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\fields\\APIException","com\\zoho\\crm\\api\\fields\\SuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\taxes\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["MANDATORY_NOT_FOUND","INVALID_DATA","EXPECTED_FIELD_MISSING","OAUTH_SCOPE_MISMATCH","INVALID_TOKEN","INVALID_URL_PATTERN","INVALID_REQUEST_METHOD","INTERNAL_ERROR","REQUIRED_PARAM_MISSING","BAD_REQUEST","NO_PERMISSION","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","Not Modified","AUTHENTICATION_FAILURE","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"maximum_length","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_path_index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"deprecated_version","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\taxes\\ExpectedField","sub_type":{"type":"com\\zoho\\crm\\api\\taxes\\ExpectedField"},"request_supported":["action","create","delete","read","update"],"name":"expected_fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"param","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["Given ID does not exist","invalid oauth token","Please check if the URL trying to access is a correct one","The http request method type is not a valid one","required field not found","Sequence number out of range","Sequence number cannot be repeated in same request","tax not deleted","One of the expected parameter is missing"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\inventoryconvert\\Record":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\entityscores\\ResponseWrapper":{"data":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\entityscores\\EntityScores","sub_type":{"type":"com\\zoho\\crm\\api\\entityscores\\EntityScores"},"request_supported":["action","create","delete","read","update"],"name":"data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"info":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\entityscores\\Info","request_supported":["action","create","delete","read","update"],"name":"info","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\entityscores\\Info","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\relatedrecords\\DeleteRelatedRecordsUsingExternalIDParam":{"ids":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"ids","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\notes\\GetNotesParam":{"perPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"per_page","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"sortOrder":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sort_order","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"ids":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"ids","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"sortBy":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sort_by","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"page":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"fields":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"fields","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\wizards\\Wizard":{"modifiedTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"modified_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"module":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\modules\\Modules","request_supported":["action","create","delete","read","update"],"name":"module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\modules\\Modules","unique_for":"none","structure":true},"profiles":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\profiles\\Profile","sub_type":{"type":"com\\zoho\\crm\\api\\profiles\\Profile"},"request_supported":["action","create","delete","read","update"],"name":"profiles","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"active":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"active","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"parentWizard":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\wizards\\Wizard","request_supported":["action","create","delete","read","update"],"name":"parent_wizard","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\wizards\\Wizard","unique_for":"none","structure":true},"createdBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"created_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"exemptedPortalUserTypes":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\wizards\\ExemptedPortalUserType","sub_type":{"type":"com\\zoho\\crm\\api\\wizards\\ExemptedPortalUserType"},"request_supported":["action","create","delete","read","update"],"name":"exempted_portal_user_types","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"draft":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"draft","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"portalUserTypes":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\wizards\\PortalUserType","sub_type":{"type":"com\\zoho\\crm\\api\\wizards\\PortalUserType"},"request_supported":["action","create","delete","read","update"],"name":"portal_user_types","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"createdTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"created_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"modifiedBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"modified_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"containers":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\wizards\\Container","sub_type":{"type":"com\\zoho\\crm\\api\\wizards\\Container"},"request_supported":["action","create","delete","read","update"],"name":"containers","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\recordlockingconfiguration\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["record locking configuration created successfully"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\masschangeowner\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\masschangeowner\\SuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\fieldmapdependency\\SubModule":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\sendmail\\Data":{"cc":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\sendmail\\Cc","sub_type":{"type":"com\\zoho\\crm\\api\\sendmail\\Cc"},"request_supported":["action","create","delete","read","update"],"name":"cc","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"template":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\sendmail\\Template","request_supported":["action","create","delete","read","update"],"name":"template","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","interface":true,"type":"com\\zoho\\crm\\api\\sendmail\\Template","unique_for":"none","structure":true},"bcc":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\sendmail\\Cc","sub_type":{"type":"com\\zoho\\crm\\api\\sendmail\\Cc"},"request_supported":["action","create","delete","read","update"],"name":"bcc","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"scheduledTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"scheduled_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"attachments":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\sendmail\\Attachment","sub_type":{"type":"com\\zoho\\crm\\api\\sendmail\\Attachment"},"request_supported":["action","create","delete","read","update"],"name":"attachments","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"subject":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"subject","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"inReplyTo":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\sendmail\\InReplyTo","request_supported":["action","create","delete","read","update"],"name":"in_reply_to","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\sendmail\\InReplyTo","unique_for":"none","structure":true},"inventoryDetails":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\sendmail\\InventoryDetails","request_supported":["action","create","delete","read","update"],"name":"inventory_details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\sendmail\\InventoryDetails","unique_for":"none","structure":true},"content":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"content","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"orgEmail":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"org_email","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"linkedRecord":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\sendmail\\LinkedRecord","request_supported":["action","create","delete","read","update"],"name":"linked_record","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\sendmail\\LinkedRecord","unique_for":"none","structure":true},"replyTo":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\sendmail\\To","request_supported":["action","create","delete","read","update"],"name":"reply_to","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\sendmail\\To","unique_for":"none","structure":true},"from":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\sendmail\\From","request_supported":["action","create","delete","read","update"],"name":"from","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\sendmail\\From","unique_for":"none","structure":true},"mailFormat":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["html","text"],"name":"mail_format","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"to":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\sendmail\\To","sub_type":{"type":"com\\zoho\\crm\\api\\sendmail\\To"},"request_supported":["action","create","delete","read","update"],"name":"to","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"consentEmail":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"consent_email","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"dataSubjectRequest":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\sendmail\\DataSubjectRequest","request_supported":["action","create","delete","read","update"],"name":"data_subject_request","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\sendmail\\DataSubjectRequest","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\fields\\MinifiedField":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\entityscores\\Entity":{"module":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\entityscores\\Module","request_supported":["action","create","delete","read","update"],"name":"module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\entityscores\\Module","unique_for":"none","structure":true},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\portalusertype\\Modules":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"permissions":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\portalusertype\\Permissions","request_supported":["action","create","delete","read","update"],"name":"permissions","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\portalusertype\\Permissions","unique_for":"none","structure":true},"sharedType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"shared_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"pluralLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"plural_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"filters":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\portalusertype\\Filters","sub_type":{"type":"com\\zoho\\crm\\api\\portalusertype\\Filters"},"request_supported":["action","create","delete","read","update"],"name":"filters","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"fields":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\portalusertype\\Fields","sub_type":{"type":"com\\zoho\\crm\\api\\portalusertype\\Fields"},"request_supported":["action","create","delete","read","update"],"name":"fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"layouts":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\portalusertype\\Layouts","sub_type":{"type":"com\\zoho\\crm\\api\\portalusertype\\Layouts"},"request_supported":["action","create","delete","read","update"],"name":"layouts","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"views":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\portalusertype\\Views","request_supported":["action","create","delete","read","update"],"name":"views","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\portalusertype\\Views","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\webforms\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\sendmail\\From":{"userName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"user_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"email":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"email","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\shifthours\\Holidays":{"date":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"date","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDate","nullable_for":"none","type":"Date","unique_for":"none","structure":false},"year":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"year","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\bulkwrite\\RequestWrapper":{"resource":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\bulkwrite\\Resource","sub_type":{"type":"com\\zoho\\crm\\api\\bulkwrite\\Resource"},"request_supported":["action","create","delete","read","update"],"name":"resource","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"ignoreEmpty":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"ignore_empty","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"callback":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\bulkwrite\\CallBack","request_supported":["action","create","delete","read","update"],"name":"callback","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\bulkwrite\\CallBack","unique_for":"none","structure":true},"characterEncoding":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"character_encoding","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"operation":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["insert","update","upsert"],"name":"operation","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\usersunavailability\\Info":{"perPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"per_page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"moreRecords":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"more_records","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"count":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"page":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\coql\\ClauseDetails":{"clause":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"clause","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\pipeline\\Delete":{"permanent":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"permanent","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\org\\CheckinPreferences":{"restrictedEventTypes":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"restricted_event_types","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\bulkwrite\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["FILE_UPLOAD_SUCCESS","SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"file_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLong","nullable_for":"none","type":"Long","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"created_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"created_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["file uploaded.","success"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\entityscores\\Info":{"perPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"per_page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"moreRecords":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"more_records","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"nextPageToken":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"next_page_token","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"sortOrder":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sort_order","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"count":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"pageTokenExpiry":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page_token_expiry","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"sortBy":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sort_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"page":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"previousPageToken":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"previous_page_token","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\blueprint\\ToolTip":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"value":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\fields\\Expression":{"criteria":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\RollupCriteria","request_supported":["action","create","delete","read","update"],"name":"criteria","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\RollupCriteria","unique_for":"none","structure":true},"function":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"function","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"functionParameters":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\FunctionParameter","sub_type":{"type":"com\\zoho\\crm\\api\\fields\\FunctionParameter"},"request_supported":["action","create","delete","read","update"],"name":"function_parameters","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\cancelmeetings\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\cancelmeetings\\SuccessResponse","com\\zoho\\crm\\api\\cancelmeetings\\APIException"],"interface":true},"com\\zoho\\crm\\api\\reschedulehistory\\Info":{"perPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"per_page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"moreRecords":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"more_records","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"nextPageToken":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"next_page_token","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"count":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"pageTokenExpiry":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page_token_expiry","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"page":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"previousPageToken":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"previous_page_token","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\fields\\BodyWrapper":{"fields":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\Fields","sub_type":{"type":"com\\zoho\\crm\\api\\fields\\Fields"},"request_supported":["action","create","delete","read","update"],"name":"fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\blueprint\\AssociationDetails":{"lookupField":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\blueprint\\LookupField","request_supported":["action","create","delete","read","update"],"name":"lookup_field","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\blueprint\\LookupField","unique_for":"none","structure":true},"relatedField":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\blueprint\\LookupField","request_supported":["action","create","delete","read","update"],"name":"related_field","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\blueprint\\LookupField","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\layouts\\GetLayoutsParam":{"module":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"module","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\wizards\\Criteria":{"comparator":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"comparator","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"groupOperator":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"group_operator","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"field":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\wizards\\Field","request_supported":["action","create","delete","read","update"],"name":"field","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\wizards\\Field","unique_for":"none","structure":true},"value":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TObject","nullable_for":"none","type":"Object","unique_for":"none","structure":false},"group":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\wizards\\Criteria","sub_type":{"type":"com\\zoho\\crm\\api\\wizards\\Criteria"},"request_supported":["action","create","delete","read","update"],"name":"group","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\features\\Component":{"featureLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"feature_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\features\\Detail","request_supported":["action","create","delete","read","update"],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\features\\Detail","unique_for":"none","structure":true},"moduleSupported":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"module_supported","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\record\\DuplicateRecord":{"owner":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"Owner","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"module":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\modules\\MinifiedModule","request_supported":["action","create","delete","read","update"],"name":"module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\modules\\MinifiedModule","unique_for":"none","structure":true},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\hipaacompliance\\ResponseWrapper":{"hipaaCompliance":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\hipaacompliance\\HipaaCompliance","request_supported":["action","create","delete","read","update"],"name":"hipaa_compliance","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\hipaacompliance\\HipaaCompliance","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\portalusertype\\Filters":{"displayLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\roles\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\roles\\APIException","com\\zoho\\crm\\api\\roles\\ActionWrapper"],"interface":true},"com\\zoho\\crm\\api\\reschedulehistory\\GetAppointmentRescheduledHistoryParam":{"fields":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"fields","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\fields\\CreateFieldParam":{"module":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"module","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\scoringrules\\GetScoringRuleParam":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"active":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":[true,false],"name":"active","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"layoutId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"layout_id","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\variables\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\variables\\APIException","com\\zoho\\crm\\api\\variables\\SuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\hipaacompliance\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\hipaacompliance\\SuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\inventorymassconvert\\Module":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\tags\\RecordDetailTag":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"colorCode":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"color_code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\territories\\TransferTerritory":{"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"deletePreviousForecasts":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"delete_previous_forecasts","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"transferToId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"transfer_to_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\usergroups\\SourcesCount":{"territories":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"territories","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"roles":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"roles","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"groups":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"groups","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"users":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\usergroups\\Users","request_supported":["action","create","delete","read","update"],"name":"users","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\usergroups\\Users","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\sharerecords\\Module":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\mailmerge\\MailMergeTemplate":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\territories\\BodyWrapper":{"territories":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\territories\\Territories","sub_type":{"type":"com\\zoho\\crm\\api\\territories\\Territories"},"request_supported":["action","create","delete","read","update"],"name":"territories","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\unsubscribelinks\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\fields\\Multiselectlookup":{"displayLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"connectedModule":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\modules\\MinifiedModule","request_supported":["action","create","delete","read","update"],"name":"connected_module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\modules\\MinifiedModule","unique_for":"none","structure":true},"connectedlookupApiname":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"connectedlookup_apiname","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"connectedfieldApiname":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"connectedfield_apiname","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"lookupApiname":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"lookup_apiname","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"linkingModule":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\modules\\MinifiedModule","request_supported":["action","create","delete","read","update"],"name":"linking_module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\modules\\MinifiedModule","unique_for":"none","structure":true},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"recordAccess":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"record_access","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\businesshours\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\businesshours\\APIException","com\\zoho\\crm\\api\\businesshours\\SuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\massconvert\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"job_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\territoryusers\\ResponseWrapper":{"users":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\Users","sub_type":{"type":"com\\zoho\\crm\\api\\users\\Users"},"request_supported":["action","create","delete","read","update"],"name":"users","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"info":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\territoryusers\\Info","request_supported":["action","create","delete","read","update"],"name":"info","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\territoryusers\\Info","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\portalusertype\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\portalusertype\\ResponseWrapper","com\\zoho\\crm\\api\\portalusertype\\APIException"],"interface":true},"com\\zoho\\crm\\api\\downloadattachments\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_TOKEN","INVALID_URL_PATTERN","INVALID_REQUEST_METHOD","INVALID_DATA","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","Not Modified","AUTHENTICATION_FAILURE","MANDATORY_NOT_FOUND","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["invalid oauth token","Please check if the URL trying to access is a correct one","The http request method type is not a valid one","The module name given seems to be invalid","the request does not contain any file","invalid file type"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\blueprint\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\blueprint\\ResponseWrapper","com\\zoho\\crm\\api\\blueprint\\APIException"],"interface":true},"com\\zoho\\crm\\api\\notifications\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\notifications\\APIException","com\\zoho\\crm\\api\\notifications\\ResponseWrapper"],"interface":true},"com\\zoho\\crm\\api\\changeowner\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_DATA","UNABLE_TO_PARSE_DATA_TYPE","AMBIGUITY_DURING_PROCESSING","INTERNAL_SERVER_ERROR","NO_PERMISSION","MANDATORY_NOT_FOUND","EXPECTED_FIELD_MISSING","NOT_SUPPORTED","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"param_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_path_index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\changeowner\\ErrorDetails","sub_type":{"type":"com\\zoho\\crm\\api\\changeowner\\ErrorDetails"},"request_supported":["action","create","delete","read","update"],"name":"ambiguity_due_to","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"permissions","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"regex","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\changeowner\\ErrorDetails","sub_type":{"type":"com\\zoho\\crm\\api\\changeowner\\ErrorDetails"},"request_supported":["action","create","delete","read","update"],"name":"expected_fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["the owner id given is invalid","either the request body or parameters is in wrong format","the id given seems to be invalid"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\emailrelatedrecords\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_MODULE","INVALID_DATA","INTERNAL_SERVER_ERROR","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","MANDATORY_NOT_FOUND"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_path_index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"param_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\customviews\\Field":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\record\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\record\\ResponseWrapper","com\\zoho\\crm\\api\\record\\APIException","com\\zoho\\crm\\api\\record\\FileBodyWrapper"],"interface":true},"com\\zoho\\crm\\api\\wizards\\Node":{"posX":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"pos_x","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"posY":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"pos_y","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"startNode":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"start_node","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"screen":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\wizards\\Screen","request_supported":["action","create","delete","read","update"],"name":"screen","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\wizards\\Screen","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\fieldmapdependency\\MapDependency":{"parent":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fieldmapdependency\\Parent1","request_supported":["action","create","delete","read","update"],"name":"parent","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fieldmapdependency\\Parent1","unique_for":"none","structure":true},"pickListValues":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fieldmapdependency\\PickListMapping","sub_type":{"type":"com\\zoho\\crm\\api\\fieldmapdependency\\PickListMapping"},"request_supported":["action","create","delete","read","update"],"name":"pick_list_values","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"internal":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"internal","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"subModule":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fieldmapdependency\\SubModule","request_supported":["action","create","delete","read","update"],"name":"sub_module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fieldmapdependency\\SubModule","unique_for":"none","structure":true},"active":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"active","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"source":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"source","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"category":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"category","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"child":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fieldmapdependency\\Child","request_supported":["action","create","delete","read","update"],"name":"child","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fieldmapdependency\\Child","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\holidays\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\holidays\\APIException","com\\zoho\\crm\\api\\holidays\\ActionWrapper"],"interface":true},"com\\zoho\\crm\\api\\fields\\FileUpoladOption":{"displayValue":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"actualValue":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"actual_value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\usertypeusers\\ActionWrapper":{"users":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\usertypeusers\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\usertypeusers\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"users","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\timelines\\GetTimelinesParam":{"include":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["extension","type"],"name":"include","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"perPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"per_page","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"sortOrder":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["desc","asc"],"name":"sort_order","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"sortBy":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sort_by","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"filters":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"filters","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"page":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"pageToken":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page_token","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"includeInnerDetails":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["field_history.data_type","field_history.enable_colour_code","field_history.pick_list_values","field_history.field_label"],"name":"include_inner_details","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"includeTimelineType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"include_timeline_type","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\record\\DeletedRecordsHandler":{"classes":["com\\zoho\\crm\\api\\record\\APIException","com\\zoho\\crm\\api\\record\\DeletedRecordsWrapper"],"interface":true},"com\\zoho\\crm\\api\\fields\\ViewType":{"view":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"view","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"edit":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"edit","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"quickCreate":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"quick_create","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"create":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"create","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\bulkwrite\\BulkWriteResponse":{"result":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\bulkwrite\\Result","request_supported":["action","create","delete","read","update"],"name":"result","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\bulkwrite\\Result","unique_for":"none","structure":true},"resource":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\bulkwrite\\Resource","sub_type":{"type":"com\\zoho\\crm\\api\\bulkwrite\\Resource"},"request_supported":["action","create","delete","read","update"],"name":"resource","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"createdBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"created_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"createdTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"created_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"callback":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\bulkwrite\\CallBack","request_supported":["action","create","delete","read","update"],"name":"callback","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\bulkwrite\\CallBack","unique_for":"none","structure":true},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"characterEncoding":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"character_encoding","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"operation":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"operation","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\features\\Info":{"perPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"per_page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"moreRecords":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"more_records","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"count":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"page":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\unblockemail\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\relatedlists\\GetRelatedListParam":{"module":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"module","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"layoutId":{"name":"layout_id","type":"Long","structure":false}},"com\\zoho\\crm\\api\\variables\\DeleteVariablesParam":{"ids":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"ids","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\fieldmapdependency\\CreateMapDependencyParam":{"module":{"name":"module","type":"String","structure":false}},"com\\zoho\\crm\\api\\mailmerge\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\mailmerge\\APIException","com\\zoho\\crm\\api\\mailmerge\\SuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\unsubscribelinks\\Module":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\emaildrafts\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_DATA","INVALID_MODULE","MANDATORY_NOT_FOUND","NO_PERMISSION"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_path_index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\users\\CountHandler":{"classes":["com\\zoho\\crm\\api\\users\\APIException","com\\zoho\\crm\\api\\users\\CountWrapper"],"interface":true},"com\\zoho\\crm\\api\\territories\\ActionWrapper":{"territories":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\territories\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\territories\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"territories","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\layouts\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\layouts\\SuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\bulkread\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\bulkread\\SuccessResponse","com\\zoho\\crm\\api\\bulkread\\APIException"],"interface":true},"com\\zoho\\crm\\api\\emaildrafts\\BodyWrapper":{"emaildrafts":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\emaildrafts\\EmailDrafts","sub_type":{"type":"com\\zoho\\crm\\api\\emaildrafts\\EmailDrafts"},"request_supported":["action","create","delete","read","update"],"name":"__email_drafts","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\usergroups\\JobsWrapper":{"deletionJobs":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\usergroups\\Jobs","sub_type":{"type":"com\\zoho\\crm\\api\\usergroups\\Jobs"},"request_supported":["action","create","delete","read","update"],"name":"deletion_jobs","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\currencies\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\currencies\\APIException","com\\zoho\\crm\\api\\currencies\\ActionWrapper","com\\zoho\\crm\\api\\currencies\\BaseCurrencyActionWrapper"],"interface":true},"com\\zoho\\crm\\api\\sendmail\\ActionWrapper":{"data":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\sendmail\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\sendmail\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\tags\\Tag":{"modifiedTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"modified_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"createdBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"created_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false,"max_length":25},"createdTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"created_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"colorCode":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["#F17574","#F48435","#E7A826","#A8C026","#63C57E","#1DB9B4","#57B1FD","#879BFC","#D297EE","#FD87BD","#969696","#658BA8","#B88562"],"name":"color_code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"modifiedBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"modified_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\associateemail\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["REQUIRED_PARAM_MISSING","INVALID_DATA","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","MANDATORY_NOT_FOUND","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"param","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\holidays\\GetHolidayHeader":{"xCrmOrg":{"name":"X-CRM-ORG","type":"String","structure":false}},"com\\zoho\\crm\\api\\emaildrafts\\To":{"userName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"user_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"email":{"regex":"[a-z]{7}[@]zoho[.]com","response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"email","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\usergroups\\Source":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\mailmerge\\FileBodyWrapper":{"file":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"file","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TFile","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\StreamWrapper","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\portals\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\portals\\APIException","com\\zoho\\crm\\api\\portals\\SuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\relatedrecords\\UpdateRelatedRecordUsingExternalIDHeader":{"XEXTERNAL":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"X-EXTERNAL","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\userstransferdelete\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_DATA","INVALID_MODULE","ID_ALREADY_DELETED","CANNOT_UPDATE_DELETED_USER","AUTHORIZATION_FAILED","PATTERN_NOT_MATCHED","INVALID_REQUEST","LICENSE_LIMIT_EXCEEDED","DUPLICATE_DATA","UNAPPROVABLE","MANDATORY_NOT_FOUND","EMAIL_UPDATE_NOT_ALLOWED","ID_ALREADY_DEACTIVATED","ID_ALREADY_ACTIVE","FEATURE_PERMISSION","OAUTH_SCOPE_MISMATCH","INVALID_TOKEN","INVALID_URL_PATTERN","INVALID_REQUEST_METHOD","EMAIL_UPDATE_NOT_ALOWED","BAD_REQUEST","NO_PERMISSION","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","Not Modified","AUTHENTICATION_FAILURE","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"owner_status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"email","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_path_index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["invalid data","invalid oauth token","Please check if the URL trying to access is a correct one","required field not found","The http request method type is not a valid one","Please check whether the input values are correct","the id given seems to be invalid","Cannot add user under CRM Plus account. Kindly use CRMPlus URL to add user","Request exceeds your license limit. Need to upgrade in order to add","Failed to add user since same email id is already present","Email Id should not contain @skydesk.jp. Please choose a different email id","Invalid Email Id. Please choose a different email id","Cannot add user for CRMPlus account from CRM. Kindly add user through CRMPlus","Company Name is required","Error occurred in resending the invitation of CRMPLUS user in CRM account","Cannot update the time_zone of another User","Either trial has expired or user does not have sufficient privilege to perform this action","Error occurred while updating CRMPlus User in CRM Account","invalid_data","Deleted user cannot be updated","Re-invite is not allowed for a confirmed user","Cannot update email of a confirmed CRM User","User with same email id is already in CRM Plus","User is already deactivated","Primary Contact cannot be deactivated","User is already active","Share among Subordinates Feature is not available","Profile and Role cannot be Updated by the user.","the_id_given_seems_to_be_invalid","Primary contact cannot be deleted","User is already deleted","User does not have sufficient privilege to delete users","Cannot update email of a confirmed CRM User"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\usersterritories\\TransferToUser":{"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\notifications\\DeleteNotificationParam":{"channelIds":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"channel_ids","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\tags\\ActionWrapper":{"tags":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\tags\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\tags\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"tags","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\usertypeusers\\StatusActionWrapper":{"changeStatus":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\usertypeusers\\StatusActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\usertypeusers\\StatusActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"change_status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\reschedulehistory\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_MODULE","INVALID_DATA","MANDATORY_NOT_FOUND","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_path_index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"maximum_length","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["the module name given seems to be invalid","required field not found","record not deleted","invalid data"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\userstransferdelete\\Status":{"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\emailsharingdetails\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_TOKEN","INVALID_URL_PATTERN","INVALID_REQUEST_METHOD","INVALID_DATA","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","Not Modified","AUTHENTICATION_FAILURE","MANDATORY_NOT_FOUND","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["invalid oauth token","Please check if the URL trying to access is a correct one","The http request method type is not a valid one","The module name given seems to be invalid","the request does not contain any file","invalid file type"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\usersunavailability\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\usersunavailability\\ActionWrapper","com\\zoho\\crm\\api\\usersunavailability\\APIException"],"interface":true},"com\\zoho\\crm\\api\\pipeline\\TPipeline":{"from":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"from","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"to":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"to","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\modules\\ResponseWrapper":{"modules":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\modules\\Modules","sub_type":{"type":"com\\zoho\\crm\\api\\modules\\Modules"},"request_supported":["action","create","delete","read","update"],"name":"modules","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\massconvert\\ResponseWrapper":{"data":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\massconvert\\Status","sub_type":{"type":"com\\zoho\\crm\\api\\massconvert\\Status"},"request_supported":["action","create","delete","read","update"],"name":"data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\servicepreference\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\servicepreference\\APIException","com\\zoho\\crm\\api\\servicepreference\\ActionWrapper"],"interface":true},"com\\zoho\\crm\\api\\hipaacompliance\\HipaaCompliance":{"restrictDataAccessThroughAPI":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"restrict_data_access_through_api","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"enabledForModules":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\hipaacompliance\\Modules","sub_type":{"type":"com\\zoho\\crm\\api\\hipaacompliance\\Modules"},"request_supported":["action","create","delete","read","update"],"name":"enabled_for_modules","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"restrictToZohoApps":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"restrict_to_zoho_apps","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"enabled":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"enabled","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"restrictToThirdPartyApps":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"restrict_to_third_party_apps","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},"restrictDataInExport":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"restrict_data_in_export","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\wizards\\Container":{"layout":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\layouts\\Layouts","request_supported":["action","create","delete","read","update"],"name":"layout","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\layouts\\Layouts","unique_for":"none","structure":true},"chartData":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\wizards\\ChartData","request_supported":["action","create","delete","read","update"],"name":"chart_data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\wizards\\ChartData","unique_for":"none","structure":true},"screens":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\wizards\\Screen","sub_type":{"type":"com\\zoho\\crm\\api\\wizards\\Screen"},"request_supported":["action","create","delete","read","update"],"name":"screens","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\masschangeowner\\Status":{"failedCount":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Failed_Count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"notUpdatedCount":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Not_Updated_Count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"updatedCount":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Updated_Count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"totalCount":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Total_Count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["COMPLETED","SCHEDULED","RUNNING","FAILED"],"name":"Status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\sendmail\\BlockedEmailAddress":{"reason":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"reason","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"email":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"email","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\backup\\UrlsWrapper":{"urls":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\backup\\Urls","request_supported":["action","create","delete","read","update"],"name":"urls","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\backup\\Urls","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\privacyconfigurableapps\\Apps":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\modules\\SharingProperties":{"sharePermission":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["full-access","read-write","read-only"],"name":"share_permission","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"schedulerStatus":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"scheduler_status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"sharePreferenceEnabled":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"share_preference_enabled","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\usersunavailability\\User":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"zuid":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"zuid","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\emailcomposemeta\\Data":{"data":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\emailcomposemeta\\DataMap","sub_type":{"type":"com\\zoho\\crm\\api\\emailcomposemeta\\DataMap"},"request_supported":["action","create","delete","read","update"],"name":"data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\fields\\Tooltip":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"value":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\record\\GetRecordParam":{"cvid":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"cvid","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"uid":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"uid","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"onDemandProperties":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"on_demand_properties","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"approved":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"approved","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"startDateTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"startDateTime","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"converted":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"converted","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"territoryId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"territory_id","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"fields":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"fields","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"endDateTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"endDateTime","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"includeChild":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"include_child","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\record\\FileHandler":{"classes":["com\\zoho\\crm\\api\\record\\APIException","com\\zoho\\crm\\api\\record\\SuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\usersunavailability\\BodyWrapper":{"usersUnavailability":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\usersunavailability\\UsersUnavailability","sub_type":{"type":"com\\zoho\\crm\\api\\usersunavailability\\UsersUnavailability"},"request_supported":["action","create","delete","read","update"],"name":"users_unavailability","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\territoryusers\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\territoryusers\\APIException","com\\zoho\\crm\\api\\territoryusers\\SuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\files\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["FILE_SIZE_MORE_THAN_ALLOWED_SIZE","INVALID_MODULE","failure_in_attachment_handling","INVALID_DATA","VIRUS_DETECTED","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","MANDATORY_NOT_FOUND","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\backup\\FileBodyWrapper":{"file":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"file","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TFile","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\StreamWrapper","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\layouts\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["layout updated","layout deleted"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\relatedrecords\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"External_Deal_ID","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["relation added","relation removed"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\relatedrecords\\DeleteRelatedRecordsUsingExternalIDHeader":{"XEXTERNAL":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"X-EXTERNAL","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\currencies\\Currency":{"symbol":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"symbol","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"modifiedTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"modified_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"format":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\currencies\\Format","request_supported":["action","create","delete","read","update"],"name":"format","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\currencies\\Format","unique_for":"none","structure":true},"isActive":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"is_active","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"isoCode":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"iso_code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"exchangeRate":{"regex":"[1-9][0-9]{1,8}[.][0-9]{9}","response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"exchange_rate","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"createdBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"created_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"createdTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"created_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"prefixSymbol":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"prefix_symbol","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"modifiedBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"modified_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"isBase":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"is_base","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\tags\\ResponseWrapper":{"tags":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\tags\\Tag","sub_type":{"type":"com\\zoho\\crm\\api\\tags\\Tag"},"request_supported":["action","create","delete","read","update"],"name":"tags","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"info":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\tags\\Info","request_supported":["action","create","delete","read","update"],"name":"info","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\tags\\Info","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\usersterritories\\Validation":{"records":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"records","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\portalusertype\\Owner":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\relatedrecords\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["NO_PERMISSION","CANNOT_BE_UPDATED","INVALID_TOKEN","INVALID_URL_PATTERN","INVALID_REQUEST_METHOD","INVALID_DATA","INTERNAL_ERROR","BAD_REQUEST","OAUTH_SCOPE_MISMATCH","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","Not Modified","AUTHENTICATION_FAILURE","MANDATORY_NOT_FOUND","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"permissions","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"param_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_path_index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["invalid data","invalid oauth token","Please check if the URL trying to access is a correct one","The http request method type is not a valid one","record not deleted","the related id given seems to be invalid","Internal server error occurred.","The relation name given seems to be invalid"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\userstransferdelete\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\userstransferdelete\\ResponseWrapper","com\\zoho\\crm\\api\\userstransferdelete\\APIException"],"interface":true},"com\\zoho\\crm\\api\\globalpicklists\\PickListValues":{"displayValue":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"sequenceNumber":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sequence_number","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"actualValue":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"actual_value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["used","unused"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\unsubscribelinks\\Detail":{"module":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\unsubscribelinks\\Module","request_supported":["action","create","delete","read","update"],"name":"module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\unsubscribelinks\\Module","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\wizards\\ConditionalRules":{"criteria":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\wizards\\Criteria","request_supported":["action","create","delete","read","update"],"name":"criteria","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\wizards\\Criteria","unique_for":"none","structure":true},"executeOn":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["create","edit","create_edit"],"name":"execute_on","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"actions":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\wizards\\Actions","sub_type":{"type":"com\\zoho\\crm\\api\\wizards\\Actions"},"request_supported":["action","create","delete","read","update"],"name":"actions","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"queryId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"query_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\variablegroups\\ResponseWrapper":{"variableGroups":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\variablegroups\\VariableGroup","sub_type":{"type":"com\\zoho\\crm\\api\\variablegroups\\VariableGroup"},"request_supported":["action","create","delete","read","update"],"name":"variable_groups","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\fields\\Profile":{"permissionType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"permission_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\scoringrules\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"job_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["scoring rule created successfully"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\usergroups\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\usergroups\\ActionWrapper","com\\zoho\\crm\\api\\usergroups\\APIException"],"interface":true},"com\\zoho\\crm\\api\\org\\LicenseDetails":{"paidType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"paid_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"trialAction":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"trial_action","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"trialType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"trial_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"paidExpiry":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"paid_expiry","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"paid":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"paid","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"usersLicensePurchased":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"users_license_purchased","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"trialExpiry":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"trial_expiry","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\privacypreference\\Tpt":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"issupported":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"isSupported","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"isenabled":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"isEnabled","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\shifthours\\ShiftCustomTiming":{"days":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"days","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"shiftTiming":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"LocalTime"},"request_supported":["action","create","delete","read","update"],"name":"shift_timing","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\modules\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["module created"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\pipeline\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\pipeline\\APIException","com\\zoho\\crm\\api\\pipeline\\ActionWrapper"],"interface":true},"com\\zoho\\crm\\api\\dealcontactroles\\ContactRole":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\webforms\\SpamControll":{"excludeScore":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"exclude_score","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\territories\\DeleteTerritoryParam":{"deletePreviousForecasts":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"delete_previous_forecasts","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\relatedrecords\\GetDeletedParentRecordsRelatedRecordParam":{"perPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"per_page","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"ids":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"ids","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"page":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"fields":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"fields","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\reschedulehistory\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Modified_Time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"Modified_By","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Created_Time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"Created_By","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"$approval_state","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["record added","record deleted"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\webforms\\ResponseWrapper":{"webforms":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\webforms\\WebForm","sub_type":{"type":"com\\zoho\\crm\\api\\webforms\\WebForm"},"request_supported":["action","create","delete","read","update"],"name":"webforms","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\relatedrecords\\GetRelatedRecordUsingExternalIDParam":{"fields":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"fields","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\bulkread\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["ADDED_SUCCESSFULLY"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"operation","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["COMPLETED","IN PROGRESS","ADDED","FAILURE"],"name":"state","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"created_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"created_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["Added successfully."],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\roles\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\roles\\APIException","com\\zoho\\crm\\api\\roles\\ResponseWrapper"],"interface":true},"com\\zoho\\crm\\api\\inventorytemplates\\Folder":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\globalpicklists\\ReplacedResponseHandler":{"classes":["com\\zoho\\crm\\api\\globalpicklists\\ReplacedResponseWrapper","com\\zoho\\crm\\api\\globalpicklists\\APIException"],"interface":true},"com\\zoho\\crm\\api\\variables\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\variables\\APIException","com\\zoho\\crm\\api\\variables\\ResponseWrapper"],"interface":true},"com\\zoho\\crm\\api\\usersterritories\\TransferActionWrapper":{"transferAndDelink":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\usersterritories\\TransferActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\usersterritories\\TransferActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"transfer_and_delink","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\relatedlists\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_MODULE","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","MANDATORY_NOT_FOUND","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"param","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\backup\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\backup\\SuccessResponse","com\\zoho\\crm\\api\\backup\\APIException"],"interface":true},"com\\zoho\\crm\\api\\users\\AssociatedGroupsWrapper":{"userGroups":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\AssociatedGroup","sub_type":{"type":"com\\zoho\\crm\\api\\users\\AssociatedGroup"},"request_supported":["action","create","delete","read","update"],"name":"user_groups","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"info":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\Info","request_supported":["action","create","delete","read","update"],"name":"info","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\Info","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\recordlockingconfiguration\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\recordlockingconfiguration\\APIException","com\\zoho\\crm\\api\\recordlockingconfiguration\\SuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\globalpicklists\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\globalpicklists\\APIException","com\\zoho\\crm\\api\\globalpicklists\\SuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\massconvert\\ErrorDetails":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"jsonPath":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\blueprint\\ResponseWrapper":{"blueprint":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\blueprint\\BluePrint","request_supported":["action","create","delete","read","update"],"name":"blueprint","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\blueprint\\BluePrint","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\attachments\\ActionWrapper":{"data":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\attachments\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\attachments\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\userstransferdelete\\TransferAndDelete":{"transfer":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\userstransferdelete\\Transfer","request_supported":["action","create","delete","read","update"],"name":"transfer","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\userstransferdelete\\Transfer","unique_for":"none","structure":true},"moveSubordinate":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\userstransferdelete\\MoveSubordinate","request_supported":["action","create","delete","read","update"],"name":"move_subordinate","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\userstransferdelete\\MoveSubordinate","unique_for":"none","structure":true},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\webforms\\ActionWrapper":{"webforms":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\webforms\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\webforms\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"webforms","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\dealcontactroles\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\dealcontactroles\\APIException","com\\zoho\\crm\\api\\dealcontactroles\\ResponseWrapper"],"interface":true},"com\\zoho\\crm\\api\\org\\APIException":{"features":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\org\\Feature","sub_type":{"type":"com\\zoho\\crm\\api\\org\\Feature"},"request_supported":["action","create","delete","read","update"],"name":"features","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["MANDATORY_NOT_FOUND","INVALID_DATA","CANNOT_UPDATE","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"jsonPath":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"maximum_length","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\org\\Feature","sub_type":{"type":"com\\zoho\\crm\\api\\org\\Feature"},"request_supported":["action","create","delete","read","update"],"name":"features","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["Company not created"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\territories\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_DATA","INTERNAL_SERVER_ERROR","NOT_ALLOWED","MANDATORY_NOT_FOUND","DUPLICATE_DATA","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_path_index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"supported_values","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\unsubscribelinks\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\unsubscribelinks\\ResponseWrapper","com\\zoho\\crm\\api\\unsubscribelinks\\APIException"],"interface":true},"com\\zoho\\crm\\api\\tags\\CreateTagsParam":{"module":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"module","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\profiles\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\profiles\\SuccessResponse","com\\zoho\\crm\\api\\profiles\\APIException"],"interface":true},"com\\zoho\\crm\\api\\unsubscribelinks\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["NOT_ALLOWED","MANDATORY_NOT_FOUND","INVALID_DATA","LIMIT_EXCEEDED","DUPLICATE_DATA","INVALID_MODULE","DEPENDENT_FIELD_MISSING","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_path_index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"maximum_length","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"supported_values","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"limit","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\unsubscribelinks\\ApinameJsonPathDetail","sub_type":{"type":"com\\zoho\\crm\\api\\unsubscribelinks\\ApinameJsonPathDetail"},"request_supported":["action","create","delete","read","update"],"name":"limit_due_to","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\unsubscribelinks\\ApinameJsonPathDetail","request_supported":["action","create","delete","read","update"],"name":"dependee","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\unsubscribelinks\\ApinameJsonPathDetail","unique_for":"none","structure":true}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\findandmerge\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS","SCHEDULED"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"job_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\downloadattachments\\GetDownloadAttachmentsDetailsParam":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"messageId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message_id","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"userId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"user_id","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\roles\\BodyWrapper":{"roles":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\roles\\Role","sub_type":{"type":"com\\zoho\\crm\\api\\roles\\Role"},"request_supported":["action","create","delete","read","update"],"name":"roles","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\roles\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\record\\GetRecordUsingExternalIDParam":{"cvid":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"cvid","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"uid":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"uid","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"approved":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"approved","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"startDateTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"startDateTime","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"converted":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"converted","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"territoryId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"territory_id","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"fields":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"fields","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"endDateTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"endDateTime","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"includeChild":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"include_child","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\businesshours\\GetBusinessHoursHeader":{"xCrmOrg":{"name":"X-CRM-ORG","type":"String","structure":false}},"com\\zoho\\crm\\api\\wizards\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\wizards\\APIException","com\\zoho\\crm\\api\\wizards\\ResponseWrapper"],"interface":true},"com\\zoho\\crm\\api\\fiscalyear\\ResponseWrapper":{"fiscalYear":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fiscalyear\\Year","request_supported":["action","create","delete","read","update"],"name":"fiscal_year","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fiscalyear\\Year","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\usergroups\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\usergroups\\ResponseWrapper","com\\zoho\\crm\\api\\usergroups\\AssociatedUserCount","com\\zoho\\crm\\api\\usergroups\\AssociationWrapper","com\\zoho\\crm\\api\\usergroups\\APIException","com\\zoho\\crm\\api\\usergroups\\SourcesWrapper","com\\zoho\\crm\\api\\usergroups\\SourcesCountWrapper"],"interface":true},"com\\zoho\\crm\\api\\recordlockingconfiguration\\ActionWrapper":{"recordLockingConfigurations":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\recordlockingconfiguration\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\recordlockingconfiguration\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"record_locking_configurations","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\notifications\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\notifications\\APIException","com\\zoho\\crm\\api\\notifications\\SuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\globalpicklists\\ReplaceActionResponse":{"classes":["com\\zoho\\crm\\api\\globalpicklists\\APIException","com\\zoho\\crm\\api\\globalpicklists\\ReplaceSuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\findandmerge\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_MODULE","DUPLICATE_DATA","FILTER_CRITERIA_NOT_SATISFIED","MANDATORY_NOT_FOUND","DEPENDENT_FIELD_MISSING","INVALID_DATA","LIMIT_EXCEEDED","NOT_ALLOWED","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_path_index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\findandmerge\\MandatoryDetails","request_supported":["action","create","delete","read","update"],"name":"dependee","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\findandmerge\\MandatoryDetails","unique_for":"none","structure":true},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"maximum_length","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"minimum_length","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\changeowner\\RelatedModules":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\scoringrules\\DeleteScoringRulesParam":{"ids":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"ids","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\mailmerge\\MailMergeWrapper":{"sendMailMerge":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\mailmerge\\MailMerge","sub_type":{"type":"com\\zoho\\crm\\api\\mailmerge\\MailMerge"},"request_supported":["action","create","delete","read","update"],"name":"send_mail_merge","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\unsubscribelinks\\ResponseWrapper":{"unsubscribeLinks":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\unsubscribelinks\\UnsubscribeLinks","sub_type":{"type":"com\\zoho\\crm\\api\\unsubscribelinks\\UnsubscribeLinks"},"request_supported":["action","create","delete","read","update"],"name":"unsubscribe_links","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\org\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\org\\ResponseWrapper","com\\zoho\\crm\\api\\org\\FileBodyWrapper","com\\zoho\\crm\\api\\org\\APIException"],"interface":true},"com\\zoho\\crm\\api\\fields\\Lookup":{"displayLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"module":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\modules\\MinifiedModule","request_supported":["action","create","delete","read","update"],"name":"module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\modules\\MinifiedModule","unique_for":"none","structure":true},"queryDetails":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\QueryDetails","request_supported":["action","create","delete","read","update"],"name":"query_details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\QueryDetails","unique_for":"none","structure":true},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"showFields":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\ShowFields","sub_type":{"type":"com\\zoho\\crm\\api\\fields\\ShowFields"},"request_supported":["action","create","delete","read","update"],"name":"show_fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"revalidateFilterDuringEdit":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"revalidate_filter_during_edit","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\globalpicklists\\Layout":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\usertypeusers\\BodyWrapper":{"users":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\usertypeusers\\Users","sub_type":{"type":"com\\zoho\\crm\\api\\usertypeusers\\Users"},"request_supported":["action","create","delete","read","update"],"name":"users","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\findandmerge\\ImageData":{"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\sharerecords\\GetSharedRecordDetailsParam":{"view":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"view","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"sharedTo":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sharedTo","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLong","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\notifications\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\notifications\\APIException","com\\zoho\\crm\\api\\notifications\\ActionWrapper"],"interface":true},"com\\zoho\\crm\\api\\blueprint\\Layout":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\blueprint\\Crypt":{"mode":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"mode","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"column":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"column","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"table":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"table","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\record\\MultiSelectLookup":{"fieldname":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"fieldName","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"hasMore":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"$has_more","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\attachments\\UploadUrlAttachmentsParam":{"attachmentUrl":{"regex":"[a-zA-Z]{10}[.]com","response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"attachmentUrl","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"title":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"title","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\emailrelatedrecords\\UserDetails":{"userName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"user_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"email":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"email","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\dealcontactroles\\Data":{"modifiedTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Modified_Time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"createdBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"Created_By","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"contactRole":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\dealcontactroles\\ContactRole","request_supported":["action","create","delete","read","update"],"name":"Contact_Role","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\dealcontactroles\\ContactRole","unique_for":"none","structure":true},"createdTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Created_Time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"modifiedBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"Modified_By","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"tag":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\tags\\Tag","sub_type":{"type":"com\\zoho\\crm\\api\\tags\\Tag"},"request_supported":["action","create","delete","read","update"],"name":"Tag","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\usertypeusers\\StatusActionHandler":{"classes":["com\\zoho\\crm\\api\\usertypeusers\\StatusActionWrapper","com\\zoho\\crm\\api\\usertypeusers\\APIException"],"interface":true},"com\\zoho\\crm\\api\\relatedrecords\\GetRelatedRecordsUsingExternalIDParam":{"perPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"per_page","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"page":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"fields":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"fields","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\relatedlists\\RelatedList":{"displayLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"sequenceNumber":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sequence_number","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"customizeSort":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"customize_sort","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"visible":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"visible","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"module":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\relatedlists\\ModuleMap","request_supported":["action","create","delete","read","update"],"name":"module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\relatedlists\\ModuleMap","unique_for":"none","structure":true},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"connectedmodule":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"connectedmodule","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"linkingmodule":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"linkingmodule","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"customizeDisplayLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"customize_display_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"sortOrder":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sort_order","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"action":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"action","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"sortBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\relatedlists\\Field","request_supported":["action","create","delete","read","update"],"name":"sort_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\relatedlists\\Field","unique_for":"none","structure":true},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"href":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"href","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"fields":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\relatedlists\\Field","sub_type":{"type":"com\\zoho\\crm\\api\\relatedlists\\Field"},"request_supported":["action","create","delete","read","update"],"name":"fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"customizeFields":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"customize_fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\fieldmapdependency\\DeleteMapDependencyParam":{"module":{"name":"module","type":"String","structure":false}},"com\\zoho\\crm\\api\\usergroups\\Jobs":{"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\variablegroups\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\variablegroups\\ResponseWrapper","com\\zoho\\crm\\api\\variablegroups\\APIException"],"interface":true},"com\\zoho\\crm\\api\\conversionoption\\PreferenceFieldMatch":{"matchedLeadValue":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"matched_lead_value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"field":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\conversionoption\\Field","request_supported":["action","create","delete","read","update"],"name":"field","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\conversionoption\\Field","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\holidays\\ShiftHour":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\usergroups\\SourcesCountWrapper":{"sourcesCount":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\usergroups\\SourcesCount","sub_type":{"type":"com\\zoho\\crm\\api\\usergroups\\SourcesCount"},"request_supported":["action","create","delete","read","update"],"name":"sources_count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\dealcontactroles\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\holidays\\ResonseHandler":{"classes":["com\\zoho\\crm\\api\\holidays\\APIException","com\\zoho\\crm\\api\\holidays\\ResponseWrapper"],"interface":true},"com\\zoho\\crm\\api\\emailrelatedrecords\\GetEmailsRelatedRecordsParam":{"filter":{"structure_name":"com\\zoho\\crm\\api\\emailrelatedrecords\\Criteria","name":"filter","type":"com\\zoho\\crm\\api\\emailrelatedrecords\\Criteria","structure":true},"index":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"index","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"type":{"name":"type","type":"String","structure":false},"ownerId":{"name":"owner_id","type":"Long","structure":false}},"com\\zoho\\crm\\api\\fields\\Subform":{"module":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\timelines\\Info":{"perPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"per_page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"moreRecords":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"more_records","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"nextPageToken":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"next_page_token","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"count":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"page":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"previousPageToken":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"previous_page_token","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\attachments\\Info":{"perPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"per_page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"moreRecords":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"more_records","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"count":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"page":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\webforms\\Layout":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\record\\Comment":{"commentedTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"commented_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"commentContent":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"comment_content","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"commentedBy":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"commented_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\variables\\BodyWrapper":{"variables":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\variables\\Variable","sub_type":{"type":"com\\zoho\\crm\\api\\variables\\Variable"},"request_supported":["action","create","delete","read","update"],"name":"variables","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\record\\SearchRecordsParam":{"cvid":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"cvid","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"approved":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"approved","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"perPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"per_page","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"phone":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"phone","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"converted":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"converted","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"criteria":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"criteria","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"page":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"fields":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"fields","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"word":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"word","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"email":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"email","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\pipeline\\JsonDetails":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"jsonPath":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"expectedDataType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\globalpicklists\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\tags\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\tags\\ResponseWrapper","com\\zoho\\crm\\api\\tags\\APIException","com\\zoho\\crm\\api\\tags\\CountResponseWrapper"],"interface":true},"com\\zoho\\crm\\api\\profiles\\CategoryOthers":{"displayLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"permissionsDetails":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"permissions_details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\record\\MassUpdateBodyWrapper":{"cvid":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"cvid","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"data":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\record\\Record","sub_type":{"type":"com\\zoho\\crm\\api\\record\\Record"},"request_supported":["action","create","delete","read","update"],"name":"data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"criteria":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\record\\Criteria","sub_type":{"type":"com\\zoho\\crm\\api\\record\\Criteria"},"request_supported":["action","create","delete","read","update"],"name":"criteria","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"ids":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"ids","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},"territory":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\record\\MassUpdateTerritory","request_supported":["action","create","delete","read","update"],"name":"territory","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\record\\MassUpdateTerritory","unique_for":"none","structure":true},"overWrite":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"over_write","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\modules\\Modules":{"profileCount":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"profile_count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"relatedListProperties":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\modules\\RelatedListProperties","request_supported":["action","create","delete","read","update"],"name":"related_list_properties","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\modules\\RelatedListProperties","unique_for":"none","structure":true},"modifiedTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"modified_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"trackCurrentData":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"track_current_data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"webLink":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"web_link","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"businessCardFields":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"business_card_fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},"moduleName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"module_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"relatedLists":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\relatedlists\\RelatedList","sub_type":{"type":"com\\zoho\\crm\\api\\relatedlists\\RelatedList"},"request_supported":["action","create","delete","read","update"],"name":"related_lists","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"defaultMappingFields":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\MinifiedField","sub_type":{"type":"com\\zoho\\crm\\api\\fields\\MinifiedField"},"request_supported":["action","create","delete","read","update"],"name":"default_mapping_fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"feedsRequired":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"feeds_required","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"customView":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\customviews\\CustomViews","request_supported":["action","create","delete","read","update"],"name":"custom_view","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\customviews\\CustomViews","unique_for":"none","structure":true},"layouts":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"Object"},"request_supported":["action","create","delete","read","update"],"name":"layouts","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},"recycleBinOnDelete":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"recycle_bin_on_delete","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"webformSupported":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"webform_supported","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"sequenceNumber":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sequence_number","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"globalSearchSupported":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"global_search_supported","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"chartViewSupported":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"chart_view_supported","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"visible":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"visible","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"visibility":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"visibility","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"profiles":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\profiles\\MinifiedProfile","sub_type":{"type":"com\\zoho\\crm\\api\\profiles\\MinifiedProfile"},"request_supported":["action","create","delete","read","update"],"name":"profiles","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"filterStatus":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"filter_status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"pluralLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"plural_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"businessCardFieldLimit":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"business_card_field_limit","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"onDemandProperties":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"$on_demand_properties","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},"viewable":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"viewable","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"perPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"per_page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"ziaView":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"zia_view","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"displayField":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_field","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"triggersSupported":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"triggers_supported","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"fields":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\modules\\ModuleFields","sub_type":{"type":"com\\zoho\\crm\\api\\modules\\ModuleFields"},"request_supported":["action","create","delete","read","update"],"name":"fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"kanbanView":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"kanban_view","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"searchLayoutFields":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"search_layout_fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"fieldStates":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"$field_states","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},"generatedType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["default","web","custom","linking"],"name":"generated_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"emailParserSupported":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"email_parser_supported","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"deletable":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"deletable","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"activityBadge":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["Enabled","Disabled"],"name":"activity_badge","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"description":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"description","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false,"max_length":255},"scoringSupported":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"scoring_supported","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"filterSupported":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"filter_supported","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"creatable":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"creatable","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"kanbanViewSupported":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"kanban_view_supported","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"modifiedBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"modified_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"showAsTab":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"show_as_tab","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"isblueprintsupported":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"isBlueprintSupported","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"chartView":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"chart_view","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"lookupFieldProperties":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\modules\\LookupFieldProperties","request_supported":["action","create","delete","read","update"],"name":"lookup_field_properties","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\modules\\LookupFieldProperties","unique_for":"none","structure":true},"convertable":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"convertable","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"editable":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"editable","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"quickCreate":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"quick_create","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"hasMoreProfiles":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"has_more_profiles","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"presenceSubMenu":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"presence_sub_menu","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"singularLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"singular_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"parentModule":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\modules\\MinifiedModule","request_supported":["action","create","delete","read","update"],"name":"parent_module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\modules\\MinifiedModule","unique_for":"none","structure":true},"apiSupported":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_supported","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"staticSubformProperties":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\modules\\StaticSubformProperties","request_supported":["action","create","delete","read","update"],"name":"static_subform_properties","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\modules\\StaticSubformProperties","unique_for":"none","structure":true},"subMenuAvailable":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sub_menu_available","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"emailtemplateSupport":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"emailTemplate_support","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"arguments":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\modules\\Argument","sub_type":{"type":"com\\zoho\\crm\\api\\modules\\Argument"},"request_supported":["action","create","delete","read","update"],"name":"arguments","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"inventoryTemplateSupported":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"inventory_template_supported","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"properties":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"$properties","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},"territory":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\modules\\Territory","request_supported":["action","create","delete","read","update"],"name":"territory","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\modules\\Territory","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\unsubscribelinks\\UnsubscribeLinks":{"modifiedTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"modified_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"standardPageMessage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"standard_page_message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"submissionMessage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"submission_message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"locationUrlType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"location_url_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"pageType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["custom","standard"],"name":"page_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"createdBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\unsubscribelinks\\User","request_supported":["action","create","delete","read","update"],"name":"created_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\unsubscribelinks\\User","unique_for":"none","structure":true},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"submissionRedirectUrl":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"submission_redirect_url","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"createdTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"created_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"customLocationUrl":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"custom_location_url","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"modifiedBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\unsubscribelinks\\User","request_supported":["action","create","delete","read","update"],"name":"modified_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\unsubscribelinks\\User","unique_for":"none","structure":true},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"actionOnUnsubscribe":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"action_on_unsubscribe","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"submissionActionType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["display_message","redirect"],"name":"submission_action_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"landingUrl":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"landing_url","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\associateemail\\Record":{"linkedRecord":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\associateemail\\LinkedRecord","request_supported":["action","create","delete","read","update"],"name":"linked_record","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\associateemail\\LinkedRecord","unique_for":"none","structure":true},"module":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\associateemail\\ModuleMap","request_supported":["action","create","delete","read","update"],"name":"module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\associateemail\\ModuleMap","unique_for":"none","structure":true},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\users\\CountWrapper":{"count":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\servicepreference\\ActionWrapper":{"servicePreferences":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\servicepreference\\ActionResponse","request_supported":["action","create","delete","read","update"],"name":"service_preferences","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","interface":true,"type":"com\\zoho\\crm\\api\\servicepreference\\ActionResponse","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\attachments\\ParentId":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\timelines\\FieldHistoryValue":{"new":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"new","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"old":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"old","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\entityscores\\ScoringRule":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\backup\\Info":{"perPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"per_page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"moreRecords":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"more_records","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"count":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"page":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\webforms\\FontAttributes":{"size":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"size","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"color":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"color","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"family":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"family","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\blueprint\\Profile":{"permissionType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"permission_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\holidays\\ActionWrapper":{"holidays":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\holidays\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\holidays\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"holidays","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\portalusertype\\ResponseWrapper":{"userType":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\portalusertype\\UserType","sub_type":{"type":"com\\zoho\\crm\\api\\portalusertype\\UserType"},"request_supported":["action","create","delete","read","update"],"name":"user_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\sharerecords\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\sharerecords\\ActionWrapper","com\\zoho\\crm\\api\\sharerecords\\APIException"],"interface":true},"com\\zoho\\crm\\api\\portalsmeta\\Views":{"displayLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\portalusertype\\Layouts":{"displayLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"defaultview":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\portalusertype\\Views","request_supported":["action","create","delete","read","update"],"name":"_default_view","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\portalusertype\\Views","unique_for":"none","structure":true},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\users\\Shift":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\variablegroups\\VariableGroup":{"displayLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"description":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"description","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"source":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"source","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\usertypeusers\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\usertypeusers\\SuccessResponse","com\\zoho\\crm\\api\\usertypeusers\\APIException"],"interface":true},"com\\zoho\\crm\\api\\variablegroups\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["OAUTH_SCOPE_MISMATCH","INVALID_TOKEN","INVALID_URL_PATTERN","INVALID_REQUEST_METHOD","BAD_REQUEST","NO_PERMISSION","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","Not Modified","AUTHENTICATION_FAILURE","MANDATORY_NOT_FOUND","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["invalid oauth token","Please check if the URL trying to access is a correct one","The http request method type is not a valid one"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\usergroups\\Users":{"inactive":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"inactive","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"deleted":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"deleted","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"active":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"active","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\record\\GetRecordsParam":{"cvid":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"cvid","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"endDateTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"endDateTime","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"includeChild":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"include_child","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"uid":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"uid","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"approved":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"approved","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"perPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"per_page","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"startDateTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"startDateTime","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"converted":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"converted","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"sortOrder":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sort_order","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"ids":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"ids","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"territoryId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"territory_id","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"sortBy":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sort_by","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"page":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"pageToken":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page_token","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"fields":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"fields","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\webforms\\AcknowledgeVisitors":{"templateName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"template_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"fromAddress":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\webforms\\FromAddress","request_supported":["action","create","delete","read","update"],"name":"from_address","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\webforms\\FromAddress","unique_for":"none","structure":true},"templateId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"template_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\inventorytemplates\\ResponseWrapper":{"inventoryTemplates":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\inventorytemplates\\InventoryTemplates","sub_type":{"type":"com\\zoho\\crm\\api\\inventorytemplates\\InventoryTemplates"},"request_supported":["action","create","delete","read","update"],"name":"inventory_templates","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"info":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\inventorytemplates\\Info","request_supported":["action","create","delete","read","update"],"name":"info","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\inventorytemplates\\Info","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\record\\RemindAt":{"alarm":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"ALARM","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\files\\BodyWrapper":{"file":{"response_supported":["action","create","delete","read","update"],"min_length":1,"request_supported":["action","create","delete","read","update"],"spec_type":"com.zoho.api.spec.template.type.TCollections","type":"List","unique_for":"none","structure":false,"sub_type":{"type":"com\\zoho\\crm\\api\\util\\StreamWrapper"},"name":"file","required_for":"none","emptiable_for":"none","nullable_for":"none","max_length":10}},"com\\zoho\\crm\\api\\record\\Territory":{"assignedBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"$assigned_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"assigned":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"$assigned","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"assignedTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"$assigned_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\record\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"duplicateField":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"duplicate_field","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"action":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["insert","update"],"name":"action","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Modified_Time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"Modified_By","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Created_Time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"Created_By","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"External_Contact_ID","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"$approval_state","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\record\\Record","request_supported":["action","create","delete","read","update"],"name":"Contacts","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\record\\Record","unique_for":"none","structure":true},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\record\\Record","request_supported":["action","create","delete","read","update"],"name":"Deals","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\record\\Record","unique_for":"none","structure":true},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\record\\Record","request_supported":["action","create","delete","read","update"],"name":"Accounts","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\record\\Record","unique_for":"none","structure":true}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["The record has been converted successfully","record updated","record deleted","record added","photo uploaded successfully","Photo deleted","the territories data updated successfully","the territories are removed successfully"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\currencies\\Format":{"thousandSeparator":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["Period","Comma","Space"],"name":"thousand_separator","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"decimalPlaces":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["0","2","3"],"name":"decimal_places","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"decimalSeparator":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["Period","Comma"],"name":"decimal_separator","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\usergroups\\ActionWrapper":{"userGroups":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\usergroups\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\usergroups\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"user_groups","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\notes\\GetNoteHeader":{"IfModifiedSince":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"If-Modified-Since","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\modules\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\modules\\ResponseWrapper","com\\zoho\\crm\\api\\modules\\APIException"],"interface":true},"com\\zoho\\crm\\api\\modules\\GetModulesHeader":{"IfModifiedSince":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"If-Modified-Since","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\notes\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\notes\\APIException","com\\zoho\\crm\\api\\notes\\SuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\layouts\\Sections":{"displayLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"sequenceNumber":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sequence_number","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"issubformsection":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"isSubformSection","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"tabTraversal":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"tab_traversal","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"generatedType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"generated_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"columnCount":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"column_count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"fields":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\layouts\\SectionField","sub_type":{"type":"com\\zoho\\crm\\api\\layouts\\SectionField"},"request_supported":["action","create","delete","read","update"],"name":"fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"properties":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\layouts\\Properties","request_supported":["action","create","delete","read","update"],"name":"properties","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\layouts\\Properties","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\tags\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\tags\\ActionWrapper","com\\zoho\\crm\\api\\tags\\APIException","com\\zoho\\crm\\api\\tags\\SuccessWrapper"],"interface":true},"com\\zoho\\crm\\api\\globalpicklists\\GetPickListValueAssociationsParam":{"picklistValueId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"picklist_value_id","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\unsubscribelinks\\BodyWrapper":{"unsubscribeLinks":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\unsubscribelinks\\UnsubscribeLinks","sub_type":{"type":"com\\zoho\\crm\\api\\unsubscribelinks\\UnsubscribeLinks"},"request_supported":["action","create","delete","read","update"],"name":"unsubscribe_links","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\templates\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["REQUIRED_PARAM_MISSING"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"param","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\profiles\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["profile created successfully","profile updated successfully","Profile deleted"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\massdeletecvid\\ResponseWrapper":{"data":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\massdeletecvid\\Status","sub_type":{"type":"com\\zoho\\crm\\api\\massdeletecvid\\Status"},"request_supported":["action","create","delete","read","update"],"name":"data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\wizards\\GetWizardByIDParam":{"layoutId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"layout_id","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\tags\\Resources":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"associations","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\servicepreference\\ServicePreference":{"jobSheetEnabled":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"job_sheet_enabled","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\relatedrecords\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\relatedrecords\\ResponseWrapper","com\\zoho\\crm\\api\\relatedrecords\\FileBodyWrapper","com\\zoho\\crm\\api\\relatedrecords\\APIException"],"interface":true},"com\\zoho\\crm\\api\\downloadinlineimages\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\downloadinlineimages\\FileBodyWrapper","com\\zoho\\crm\\api\\downloadinlineimages\\APIException"],"interface":true},"com\\zoho\\crm\\api\\users\\ResponseWrapper":{"users":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\Users","sub_type":{"type":"com\\zoho\\crm\\api\\users\\Users"},"request_supported":["action","create","delete","read","update"],"name":"users","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"info":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\Info","request_supported":["action","create","delete","read","update"],"name":"info","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\Info","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\usergroups\\GetGroupsParam":{"include":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"include","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"perPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"per_page","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"page":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\users\\GetUserHeader":{"IfModifiedSince":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"If-Modified-Since","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\profiles\\Category":{"classes":["com\\zoho\\crm\\api\\profiles\\CategoryModule","com\\zoho\\crm\\api\\profiles\\CategoryOthers"],"interface":true},"com\\zoho\\crm\\api\\portalinvite\\ActionWrapper":{"portalInvite":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\portalinvite\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\portalinvite\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"portal_invite","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\fields\\UpdateFieldsParam":{"module":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"module","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\fiscalyear\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["The fiscal year configuration has been updated successfully"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\org\\ResponseWrapper":{"org":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\org\\Org","sub_type":{"type":"com\\zoho\\crm\\api\\org\\Org"},"request_supported":["action","create","delete","read","update"],"name":"org","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\wizards\\ResponseWrapper":{"wizards":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\wizards\\Wizard","sub_type":{"type":"com\\zoho\\crm\\api\\wizards\\Wizard"},"request_supported":["action","create","delete","read","update"],"name":"wizards","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\fields\\AssociationDetails":{"lookupField":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\modules\\MinifiedModule","request_supported":["action","create","delete","read","update"],"name":"lookup_field","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\modules\\MinifiedModule","unique_for":"none","structure":true},"relatedField":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\modules\\MinifiedModule","request_supported":["action","create","delete","read","update"],"name":"related_field","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\modules\\MinifiedModule","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\mailmerge\\Address":{"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"value":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\users\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\users\\APIException","com\\zoho\\crm\\api\\users\\SuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\portalinvite\\BodyWrapper":{"portalInvite":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\portalinvite\\PortalInvite","sub_type":{"type":"com\\zoho\\crm\\api\\portalinvite\\PortalInvite"},"request_supported":["action","create","delete","read","update"],"name":"portal_invite","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\record\\Record":{"modifiedTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Modified_Time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"createdBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"Created_By","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"createdTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Created_Time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"modifiedBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"Modified_By","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"tag":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\tags\\Tag","sub_type":{"type":"com\\zoho\\crm\\api\\tags\\Tag"},"request_supported":["action","create","delete","read","update"],"name":"Tag","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\relatedrecords\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\relatedrecords\\APIException","com\\zoho\\crm\\api\\relatedrecords\\ActionWrapper"],"interface":true},"com\\zoho\\crm\\api\\features\\Detail":{"availableCount":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\features\\Limit","request_supported":["action","create","delete","read","update"],"name":"available_count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\features\\Limit","unique_for":"none","structure":true},"limits":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\features\\Limit","request_supported":["action","create","delete","read","update"],"name":"limits","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\features\\Limit","unique_for":"none","structure":true},"usedCount":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\features\\Limit","request_supported":["action","create","delete","read","update"],"name":"used_count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\features\\Limit","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\portalinvite\\JobResponse":{"jobId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"job_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"data":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\portalinvite\\Data","sub_type":{"type":"com\\zoho\\crm\\api\\portalinvite\\Data"},"request_supported":["action","create","delete","read","update"],"name":"data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\reschedulehistory\\Approval":{"delegate":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"delegate","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"approve":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"approve","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"reject":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"reject","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"resubmit":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resubmit","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\users\\UsersCountParam":{"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["ActiveUsers","DeactiveUsers","NotConfirmedUsers","ConfirmedUsers","CurrentUser","ActiveConfirmedUsers"],"name":"type","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\changeowner\\Owner":{"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\fields\\Criteria":{"comparator":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"comparator","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"groupOperator":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"group_operator","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"field":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\MinifiedField","request_supported":["action","create","delete","read","update"],"name":"field","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\MinifiedField","unique_for":"none","structure":true},"value":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TObject","nullable_for":"none","type":"Object","unique_for":"none","structure":false},"group":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\Criteria","sub_type":{"type":"com\\zoho\\crm\\api\\fields\\Criteria"},"request_supported":["action","create","delete","read","update"],"name":"group","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\appointmentpreference\\DealRecordConfiguration":{"layout":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\appointmentpreference\\Layout","request_supported":["action","create","delete","read","update"],"name":"layout","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\appointmentpreference\\Layout","unique_for":"none","structure":true},"fieldMappings":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\appointmentpreference\\FieldMappings","sub_type":{"type":"com\\zoho\\crm\\api\\appointmentpreference\\FieldMappings"},"request_supported":["action","create","delete","read","update"],"name":"field_mappings","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\recordlocking\\ActionWrapper":{"data":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\recordlocking\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\recordlocking\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\currencies\\ResponseWrapper":{"currencies":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\currencies\\Currency","sub_type":{"type":"com\\zoho\\crm\\api\\currencies\\Currency"},"request_supported":["action","create","delete","read","update"],"name":"currencies","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\record\\GetRecordsHeader":{"IfModifiedSince":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"If-Modified-Since","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"XEXTERNAL":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"X-EXTERNAL","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\relatedlists\\ResponseWrapper":{"relatedLists":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\relatedlists\\RelatedList","sub_type":{"type":"com\\zoho\\crm\\api\\relatedlists\\RelatedList"},"request_supported":["action","create","delete","read","update"],"name":"related_lists","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\attachments\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\attachments\\SuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\recordlockingconfiguration\\LockingRules":{"criteria":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\recordlockingconfiguration\\Criteria","request_supported":["action","create","delete","read","update"],"name":"criteria","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\recordlockingconfiguration\\Criteria","unique_for":"none","structure":true},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"lockExistingRecords":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"lock_existing_records","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\emaildrafts\\Attachments":{"fileName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"file_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"fileSize":{"regex":"[0-9]","response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"file_size","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"serviceName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"service_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\bulkwrite\\Result":{"downloadUrl":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"download_url","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\usertypeusers\\Users":{"confirm":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"confirm","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"statusReasonS":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"status_reason__s","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"module":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"personalityId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"personality_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"active":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"active","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"email":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"email","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"invitedTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"invited_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\privacypreference\\Wrapper":{"privacypreference":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\privacypreference\\PrivacyPreference","sub_type":{"type":"com\\zoho\\crm\\api\\privacypreference\\PrivacyPreference"},"request_supported":["action","create","delete","read","update"],"name":"privacyPreference","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\masschangeowner\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_DATA","MANDATORY_NOT_FOUND","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["cvid"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["the cvid given seems to be invalid","required field not found"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\webforms\\ButtonAttributes":{"color":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"color","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\holidays\\CreateShiftHoliday":{"holidays":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\holidays\\ShiftHoliday","sub_type":{"type":"com\\zoho\\crm\\api\\holidays\\ShiftHoliday"},"request_supported":["action","create","delete","read","update"],"name":"holidays","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\org\\Org":{"country":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"country","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"city":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"city","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"companyName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"company_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"callIcon":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"call_icon","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"description":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"description","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"oauthPresence":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"oauth_presence","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"gappsEnabled":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"gapps_enabled","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"hierarchyPreferences":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\org\\HierarchyPreferences","request_supported":["action","create","delete","read","update"],"name":"hierarchy_preferences","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\org\\HierarchyPreferences","unique_for":"none","structure":true},"ziaPortalId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"zia_portal_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["Production","Sandbox","Bigin","Developer"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"employeeCount":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"employee_count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"street":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"street","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"countryCode":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"country_code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"checkinPreferences":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\org\\CheckinPreferences","request_supported":["action","create","delete","read","update"],"name":"checkin_preferences","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\org\\CheckinPreferences","unique_for":"none","structure":true},"currencyLocale":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"currency_locale","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"alias":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"alias","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"createdTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"created_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"currency":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"currency","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"state":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"state","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"fax":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"fax","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"ziaZgid":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"zia_zgid","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"primaryEmail":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"primary_email","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"zip":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"zip","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"website":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"website","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"ezgid":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"ezgid","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"mobile":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"mobile","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"photoId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"photo_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"translationEnabled":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"translation_enabled","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"currencySymbol":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"currency_symbol","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"timeZone":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"time_zone","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"privacySettings":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"privacy_settings","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"maxPerPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"max_per_page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"zgid":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"zgid","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"licenseDetails":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\org\\LicenseDetails","request_supported":["action","create","delete","read","update"],"name":"license_details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\org\\LicenseDetails","unique_for":"none","structure":true},"mcStatus":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"mc_status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"primaryZuid":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"primary_zuid","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"liteUsersEnabled":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"lite_users_enabled","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"phone":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"phone","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"isoCode":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"iso_code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"domainName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"domain_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"deletableOrgAccount":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"deletable_org_account","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"hipaaComplianceEnabled":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"hipaa_compliance_enabled","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\territories\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\territories\\APIException","com\\zoho\\crm\\api\\territories\\ResponseWrapper","com\\zoho\\crm\\api\\territories\\AssociatedUsersCountWrapper"],"interface":true},"com\\zoho\\crm\\api\\relatedrecords\\DelinkRecordsParam":{"ids":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"ids","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\emailrelatedrecords\\Attachments":{"size":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"size","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\org\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\org\\SuccessResponse","com\\zoho\\crm\\api\\org\\APIException"],"interface":true},"com\\zoho\\crm\\api\\backup\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\tags\\BodyWrapper":{"tags":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\tags\\Tag","sub_type":{"type":"com\\zoho\\crm\\api\\tags\\Tag"},"request_supported":["action","create","delete","read","update"],"name":"tags","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\definition\\MinifiedProperty1":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"dataType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"length":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"length","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"readOnly":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"read_only","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"required":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"required","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\attachments\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\attachments\\ActionWrapper","com\\zoho\\crm\\api\\attachments\\APIException"],"interface":true},"com\\zoho\\crm\\api\\territories\\DeletedAssociatedWrapper":{"territories":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\territories\\DeletedAssociatedTerritories","sub_type":{"type":"com\\zoho\\crm\\api\\territories\\DeletedAssociatedTerritories"},"request_supported":["action","create","delete","read","update"],"name":"territories","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"info":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\territories\\Info","request_supported":["action","create","delete","read","update"],"name":"info","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\territories\\Info","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\relatedlists\\ModuleMap":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\massconvert\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_DATA","EXPECTED_FIELD_MISSING","MANDATORY_NOT_FOUND","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"param_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"param","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\massconvert\\ErrorDetails","sub_type":{"type":"com\\zoho\\crm\\api\\massconvert\\ErrorDetails"},"request_supported":["action","create","delete","read","update"],"name":"expected_fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\changeowner\\ErrorDetails":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"jsonPath":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\changeowner\\ActionWrapper":{"data":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\changeowner\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\changeowner\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\convertlead\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\convertlead\\APIException","com\\zoho\\crm\\api\\convertlead\\ActionWrapper"],"interface":true},"com\\zoho\\crm\\api\\tags\\AssociatedPlaces":{"resources":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"resources","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\holidays\\ShiftHoliday":{"date":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"date","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDate","nullable_for":"none","type":"Date","unique_for":"none","structure":false},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false,"max_length":80},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["shift_holiday"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"shiftHour":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\holidays\\ShiftHour","request_supported":["action","create","delete","read","update"],"name":"shift_hour","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\holidays\\ShiftHour","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\globalpicklists\\ReplacedResponseWrapper":{"replacedValues":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\globalpicklists\\ReplacedValue","sub_type":{"type":"com\\zoho\\crm\\api\\globalpicklists\\ReplacedValue"},"request_supported":["action","create","delete","read","update"],"name":"replaced_values","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\usertypeusers\\ChangeUsersStatusParam":{"active":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"active","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\coql\\ParseErrorDetails":{"line":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"line","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"column":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"column","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"near":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"near","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\inventorymassconvert\\User":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\fieldmapdependency\\Parent1":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\emailrelatedrecords\\Info":{"prevIndex":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"prev_index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"perPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"per_page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"moreRecords":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"more_records","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"count":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"nextIndex":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"next_index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\shifthours\\ActionWrapper":{"shiftHours":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\shifthours\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\shifthours\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"shift_hours","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\variables\\GetVariableByAPINameParam":{"group":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"group","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\findandmerge\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\findandmerge\\APIException","com\\zoho\\crm\\api\\findandmerge\\ActionWrapper"],"interface":true},"com\\zoho\\crm\\api\\webforms\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\webforms\\APIException","com\\zoho\\crm\\api\\webforms\\ResponseWrapper"],"interface":true},"com\\zoho\\crm\\api\\variables\\Variable":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"variableGroup":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\variables\\VariableGroup","request_supported":["action","create","delete","read","update"],"name":"variable_group","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\variables\\VariableGroup","unique_for":"none","structure":true},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"description":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"description","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"readOnly":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"read_only","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"source":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"source","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["text","integer","percent","double","currency","date","datetime","email","phone","website","textarea","checkbox","long"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"value":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TObject","nullable_for":"none","type":"Object","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\timelines\\ResponseWrapper":{"timeline":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\timelines\\Timeline","sub_type":{"type":"com\\zoho\\crm\\api\\timelines\\Timeline"},"request_supported":["action","create","delete","read","update"],"name":"__timeline","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"info":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\timelines\\Info","request_supported":["action","create","delete","read","update"],"name":"info","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\timelines\\Info","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\relatedrecords\\GetRelatedRecordUsingExternalIDHeader":{"IfModifiedSince":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"If-Modified-Since","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"XEXTERNAL":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"X-EXTERNAL","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\privacypreference\\Preference":{"dataProcessingDuration":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"data_processing_duration","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"excludeExport":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"exclude_export","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"restrictZohoIntegFields":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"restrict_zoho_integ_fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"restrictTpt":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"restrict_tpt","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"excludeExportFields":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"exclude_export_fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"restrictTptServices":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"restrict_tpt_services","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"restrictTptFields":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"restrict_tpt_fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"restrictZohoIntegServices":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"restrict_zoho_integ_services","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"restrictZohoInteg":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"restrict_zoho_integ","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"excludeAPITpt":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"exclude_api_tpt","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"limitActions":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"limit_actions","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"excludeAPIZohoFields":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"exclude_api_zoho_fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"actionsWhileAwaiting":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"actions_while_awaiting","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"doubleOptIn":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"double_opt_in","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"blockList":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"block_list","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"excludeAPIZoho":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"exclude_api_zoho","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"privacySettingStatus":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"privacy_setting_status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"excludeAPITptFields":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"exclude_api_tpt_fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"consentModules":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"consent_modules","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"durationTiming":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"duration_timing","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"consentMailSend":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"consent_mail_send","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"awaitingPeriod":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"awaiting_period","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\fields\\ActionWrapper":{"fields":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\fields\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\sharerecords\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["BAD_REQUEST","INVALID_MODULE","SHARE_LIMIT_EXCEEDED","OAUTH_SCOPE_MISMATCH","INVALID_TOKEN","INVALID_URL_PATTERN","INVALID_REQUEST_METHOD","DUPLICATE_DATA","LIMIT_EXCEEDED","MANDATORY_NOT_FOUND","INVALID_DATA","ENTITY_ID_INVALID","NO_PERMISSION","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","Not Modified","AUTHENTICATION_FAILURE","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"permissions","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\sharerecords\\Dependee","request_supported":["action","create","delete","read","update"],"name":"dependee","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\sharerecords\\Dependee","unique_for":"none","structure":true},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\sharerecords\\Dependee","sub_type":{"type":"com\\zoho\\crm\\api\\sharerecords\\Dependee"},"request_supported":["action","create","delete","read","update"],"name":"ambiguity_due_to","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_path_index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["Scheduler is running","cannot share to the user","invalid oauth token","Please check if the URL trying to access is a correct one","The http request method type is not a valid one","record not deleted","the related id given seems to be invalid","The relation name given seems to be invalid.","invalid oauth scope to access this URL","Please check if the URL trying to access is a correct one.","Permission is invalid","record is already visible to the user.","Cannot share a record to more than 10 users.","No sharing through this record is available to revoke.","ENTITY_ID_INVALID"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\webforms\\WebForm":{"analyticsData":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\webforms\\AnalyticsData","request_supported":["action","create","delete","read","update"],"name":"analytics_data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\webforms\\AnalyticsData","unique_for":"none","structure":true},"assignmentRule":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\webforms\\AssignmentRule","request_supported":["action","create","delete","read","update"],"name":"assignment_rule","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\webforms\\AssignmentRule","unique_for":"none","structure":true},"actionOnSubmit":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"action_on_submit","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"actionValue":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"action_value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"encryptedModule":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"encrypted_module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"encryptedFormId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"encrypted_form_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"encryptedZgid":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"encrypted_zgid","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"spamControl":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\webforms\\SpamControll","request_supported":["action","create","delete","read","update"],"name":"spam_control","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\webforms\\SpamControll","unique_for":"none","structure":true},"locationUrl":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"location_url","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},"sourceCode":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"source_code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"formAttributes":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\webforms\\FormAttributes","request_supported":["action","create","delete","read","update"],"name":"form_attributes","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\webforms\\FormAttributes","unique_for":"none","structure":true},"abtesting":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\webforms\\Abtesting","sub_type":{"type":"com\\zoho\\crm\\api\\webforms\\Abtesting"},"request_supported":["action","create","delete","read","update"],"name":"abtesting","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"createdTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"created_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"lastSubmittedTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"last_submitted_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"createContact":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"create_contact","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"embedCode":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"embed_code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"landingUrl":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"landing_url","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"codeFormats":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"code_formats","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},"googleSite":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"google_site","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"approvalRequest":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"approval_request","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"visitorTracking":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"visitor_tracking","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"owner":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\webforms\\Owner","request_supported":["action","create","delete","read","update"],"name":"owner","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\webforms\\Owner","unique_for":"none","structure":true},"acknowledgeVisitor":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\webforms\\AcknowledgeVisitors","request_supported":["action","create","delete","read","update"],"name":"acknowledge_visitor","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\webforms\\AcknowledgeVisitors","unique_for":"none","structure":true},"iframeCode":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"iframe_code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"module":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\webforms\\Module","request_supported":["action","create","delete","read","update"],"name":"module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\webforms\\Module","unique_for":"none","structure":true},"suggestion":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\webforms\\Suggestion","request_supported":["action","create","delete","read","update"],"name":"suggestion","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\webforms\\Suggestion","unique_for":"none","structure":true},"active":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"active","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"notifyOwner":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\webforms\\Owner","request_supported":["action","create","delete","read","update"],"name":"notify_owner","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\webforms\\Owner","unique_for":"none","structure":true},"doubleOptinEnabled":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"double_optin_enabled","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"buttonAttributes":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\webforms\\ButtonAttributes","sub_type":{"type":"com\\zoho\\crm\\api\\webforms\\ButtonAttributes"},"request_supported":["action","create","delete","read","update"],"name":"button_attributes","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"tags":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\webforms\\Tags","sub_type":{"type":"com\\zoho\\crm\\api\\webforms\\Tags"},"request_supported":["action","create","delete","read","update"],"name":"tags","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"layout":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\webforms\\Layout","request_supported":["action","create","delete","read","update"],"name":"layout","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\webforms\\Layout","unique_for":"none","structure":true},"createdBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\webforms\\User","request_supported":["action","create","delete","read","update"],"name":"created_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\webforms\\User","unique_for":"none","structure":true},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"userType":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\webforms\\User","request_supported":["action","create","delete","read","update"],"name":"user_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\webforms\\User","unique_for":"none","structure":true},"formFields":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\webforms\\Fields","sub_type":{"type":"com\\zoho\\crm\\api\\webforms\\Fields"},"request_supported":["action","create","delete","read","update"],"name":"form_fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"adwordEnabled":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"adword_enabled","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"fields":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\webforms\\Fields","sub_type":{"type":"com\\zoho\\crm\\api\\webforms\\Fields"},"request_supported":["action","create","delete","read","update"],"name":"fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\customviews\\Owner":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"email":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"email","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\cancelmeetings\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\territories\\Field":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\files\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\files\\APIException","com\\zoho\\crm\\api\\files\\ActionWrapper"],"interface":true},"com\\zoho\\crm\\api\\recordlocking\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\recordlocking\\ActionWrapper","com\\zoho\\crm\\api\\recordlocking\\APIException"],"interface":true},"com\\zoho\\crm\\api\\fieldattachments\\GetFieldAttachmentsParam":{"fieldsAttachmentId":{"name":"fields_attachment_id","type":"Long","structure":false}},"com\\zoho\\crm\\api\\portalsmeta\\Layouts":{"displayLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\wizards\\Resource":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\relatedrecords\\GetRelatedRecordsHeader":{"IfModifiedSince":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"If-Modified-Since","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"XEXTERNAL":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"X-EXTERNAL","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\mailmerge\\DownloadMailMergeWrapper":{"downloadMailMerge":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\mailmerge\\DownloadMailMerge","sub_type":{"type":"com\\zoho\\crm\\api\\mailmerge\\DownloadMailMerge"},"request_supported":["action","create","delete","read","update"],"name":"download_mail_merge","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\features\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\features\\ResponseWrapper","com\\zoho\\crm\\api\\features\\APIException"],"interface":true},"com\\zoho\\crm\\api\\assignmentrules\\User":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"email":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"email","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"zuid":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"zuid","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\timelines\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_DATA","INVALID_MODULE","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","MANDATORY_NOT_FOUND","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"param_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_path_index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["the relation name given seems to be invalid","the related id given seems to be invalid","the module name given seems to be invalid"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\reschedulehistory\\ResponseWrapper":{"data":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\reschedulehistory\\RescheduleHistory","sub_type":{"type":"com\\zoho\\crm\\api\\reschedulehistory\\RescheduleHistory"},"request_supported":["action","create","delete","read","update"],"name":"data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"info":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\reschedulehistory\\Info","request_supported":["action","create","delete","read","update"],"name":"info","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\reschedulehistory\\Info","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\conversionoption\\PreferenceFieldMatchedValue":{"deals":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\conversionoption\\PreferenceFieldMatch","sub_type":{"type":"com\\zoho\\crm\\api\\conversionoption\\PreferenceFieldMatch"},"request_supported":["action","create","delete","read","update"],"name":"Deals","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"accounts":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\conversionoption\\PreferenceFieldMatch","sub_type":{"type":"com\\zoho\\crm\\api\\conversionoption\\PreferenceFieldMatch"},"request_supported":["action","create","delete","read","update"],"name":"Accounts","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"contacts":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\conversionoption\\PreferenceFieldMatch","sub_type":{"type":"com\\zoho\\crm\\api\\conversionoption\\PreferenceFieldMatch"},"request_supported":["action","create","delete","read","update"],"name":"Contacts","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\pipeline\\TransferPipelineWrapper":{"transferPipeline":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\pipeline\\TransferPipeline","sub_type":{"type":"com\\zoho\\crm\\api\\pipeline\\TransferPipeline"},"request_supported":["action","create","delete","read","update"],"name":"transfer_pipeline","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\emailsharingdetails\\ResponseWrapper":{"emailssharingdetails":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\emailsharingdetails\\EmailSharings","sub_type":{"type":"com\\zoho\\crm\\api\\emailsharingdetails\\EmailSharings"},"request_supported":["action","create","delete","read","update"],"name":"__emails_sharing_details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\holidays\\CreateBusinessHoliday":{"holidays":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\holidays\\BusinessHoliday","sub_type":{"type":"com\\zoho\\crm\\api\\holidays\\BusinessHoliday"},"request_supported":["action","create","delete","read","update"],"name":"holidays","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\currencies\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\currencies\\APIException","com\\zoho\\crm\\api\\currencies\\ResponseWrapper"],"interface":true},"com\\zoho\\crm\\api\\pipeline\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\dealcontactroles\\ActionWrapper":{"data":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\dealcontactroles\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\dealcontactroles\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\conversionoption\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","MANDATORY_NOT_FOUND","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\digest\\BodyWrapper":{"digest":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\digest\\Digest","sub_type":{"type":"com\\zoho\\crm\\api\\digest\\Digest"},"request_supported":["action","create","delete","read","update"],"name":"__digest","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\fieldmapdependency\\UpdateMapDependencyParam":{"module":{"name":"module","type":"String","structure":false}},"com\\zoho\\crm\\api\\globalpicklists\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","MANDATORY_NOT_FOUND","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\businesshours\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["Business Hours saved successfully"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\holidays\\GetHolidaysHeader":{"xCrmOrg":{"name":"X-CRM-ORG","type":"String","structure":false}},"com\\zoho\\crm\\api\\territories\\GetChildTerritoryParam":{"filters":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"filters","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\businesshours\\Features":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"resources":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\businesshours\\Resources","sub_type":{"type":"com\\zoho\\crm\\api\\businesshours\\Resources"},"request_supported":["action","create","delete","read","update"],"name":"resources","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\massconvert\\GetJobStatusParam":{"jobId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"job_id","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\currencies\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_DATA","ALREADY_ENABLED","OAUTH_SCOPE_MISMATCH","FEATURE_NOT_ENABLED","NOT_ALLOWED","ACTIVE_STATE_LIMIT_EXCEEDED","INVALID_TOKEN","INVALID_URL_PATTERN","INVALID_REQUEST_METHOD","DUPLICATE_DATA","LIMIT_EXCEEDED","MANDATORY_NOT_FOUND","CURRENCIES_NOT_ENABLED","FEATURE_NOT_SUPPORTED","No Content","INTERNAL_SERVER_ERROR","BAD_REQUEST","NO_PERMISSION","INTERNAL_ERROR","LIMIT_REACHED","ALREADY_USED","Not Modified","AUTHENTICATION_FAILURE"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"regex","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_path_index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"related_status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["invalid oauth token","Please check if the URL trying to access is a correct one.","The http request method type is not a valid one","The module name given seems to be invalid","The multi-currency is already enabled","Currency name is invalid.","ISO code is invalid.","Currency symbol is invalid.","The multi-currency feature is not available except the Enterprise and higher editions.","required field not found","unable to process your request. please verify whether you have entered proper method name"," parameter and parameter values.","Currency symbol is invalid.","Multi currency is not enabled","No Content","Currency id is invalid."],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\sharerecords\\DeleteActionWrapper":{"share":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\sharerecords\\DeleteActionResponse","request_supported":["action","create","delete","read","update"],"name":"share","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","interface":true,"type":"com\\zoho\\crm\\api\\sharerecords\\DeleteActionResponse","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\layouts\\SectionField":{"modifiedTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"modified_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"sharingProperties":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\modules\\SharingProperties","request_supported":["action","create","delete","read","update"],"name":"sharing_properties","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\modules\\SharingProperties","unique_for":"none","structure":true},"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"webhook":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"webhook","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"updateexistingrecords":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"_update_existing_records","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"numberSeparator":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"number_separator","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"defaultValue":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"default_value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"associatedModule":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\modules\\MinifiedModule","request_supported":["action","create","delete","read","update"],"name":"associated_module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\modules\\MinifiedModule","unique_for":"none","structure":true},"tooltip":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\Tooltip","request_supported":["action","create","delete","read","update"],"name":"tooltip","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\Tooltip","unique_for":"none","structure":true},"quickSequenceNumber":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"quick_sequence_number","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"textarea":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\Textarea","request_supported":["action","create","delete","read","update"],"name":"textarea","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\Textarea","unique_for":"none","structure":true},"jsonType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"colourCodeEnabledBySystem":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"colour_code_enabled_by_system","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"required":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"required","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"availableInUserLayout":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"available_in_user_layout","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"rollupSummary":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\RollupSummary","request_supported":["action","create","delete","read","update"],"name":"rollup_summary","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\RollupSummary","unique_for":"none","structure":true},"blueprintSupported":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"blueprint_supported","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"createdTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"created_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"showType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"show_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"globalPicklist":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"global_picklist","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TObject","nullable_for":"none","type":"Object","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"additionalColumn":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"additional_column","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"sequenceNumber":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sequence_number","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"filterable":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"filterable","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"emailParser":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\EmailParser","request_supported":["action","create","delete","read","update"],"name":"email_parser","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\EmailParser","unique_for":"none","structure":true},"visible":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"visible","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"dataType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"profiles":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\Profile","sub_type":{"type":"com\\zoho\\crm\\api\\fields\\Profile"},"request_supported":["action","create","delete","read","update"],"name":"profiles","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"autoNumber69":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\AutoNumber","request_supported":["action","create","delete","read","update"],"name":"auto_number","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\AutoNumber","unique_for":"none","structure":true},"readOnly":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"read_only","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"historyTracking":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\HistoryTracking","request_supported":["action","create","delete","read","update"],"name":"history_tracking","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\HistoryTracking","unique_for":"none","structure":true},"subform":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\Subform","request_supported":["action","create","delete","read","update"],"name":"subform","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\Subform","unique_for":"none","structure":true},"systemMandatory":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"system_mandatory","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"separator":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"separator","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"customField":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"custom_field","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"searchable":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"searchable","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"decimalPlace":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"decimal_place","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"createdSource":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"created_source","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"displayType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"external":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\External","request_supported":["action","create","delete","read","update"],"name":"external","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\External","unique_for":"none","structure":true},"subModule":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\modules\\MinifiedModule","request_supported":["action","create","delete","read","update"],"name":"sub_module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\modules\\MinifiedModule","unique_for":"none","structure":true},"unique":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\Unique","request_supported":["action","create","delete","read","update"],"name":"unique","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TObject","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\Unique","unique_for":"none","structure":true},"viewType":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\ViewType","request_supported":["action","create","delete","read","update"],"name":"view_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\ViewType","unique_for":"none","structure":true},"displayField":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_field","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"operationType":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\OperationType","request_supported":["action","create","delete","read","update"],"name":"operation_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\OperationType","unique_for":"none","structure":true},"hipaaComplianceEnabled":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"hipaa_compliance_enabled","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"private":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\Private1","request_supported":["action","create","delete","read","update"],"name":"private","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\Private1","unique_for":"none","structure":true},"staticValues":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\layouts\\StaticValues","sub_type":{"type":"com\\zoho\\crm\\api\\layouts\\StaticValues"},"request_supported":["action","create","delete","read","update"],"name":"static_values","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"validationRule":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"validation_rule","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"crypt":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\Crypt","request_supported":["action","create","delete","read","update"],"name":"crypt","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\Crypt","unique_for":"none","structure":true},"fileUpoladOptionlist":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\FileUpoladOption","sub_type":{"type":"com\\zoho\\crm\\api\\fields\\FileUpoladOption"},"request_supported":["action","create","delete","read","update"],"name":"file_upolad_optionlist","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"enableColourCode":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"enable_colour_code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"virtualField":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"virtual_field","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"hipaaCompliance":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\HipaaCompliance","request_supported":["action","create","delete","read","update"],"name":"hipaa_compliance","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\HipaaCompliance","unique_for":"none","structure":true},"staticField":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"static_field","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"associationDetails":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\AssociationDetails","request_supported":["action","create","delete","read","update"],"name":"association_details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\AssociationDetails","unique_for":"none","structure":true},"pickListValues":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\PickListValue","sub_type":{"type":"com\\zoho\\crm\\api\\fields\\PickListValue"},"request_supported":["action","create","delete","read","update"],"name":"pick_list_values","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"fieldLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"field_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"referFromField":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\ReferFromField","request_supported":["action","create","delete","read","update"],"name":"refer_from_field","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\ReferFromField","unique_for":"none","structure":true},"allowedModules":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\modules\\MinifiedModule","sub_type":{"type":"com\\zoho\\crm\\api\\modules\\MinifiedModule"},"request_supported":["action","create","delete","read","update"],"name":"allowed_modules","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"fieldReadOnly":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"field_read_only","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"businesscardSupported":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"businesscard_supported","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"currency":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\Currency","request_supported":["action","create","delete","read","update"],"name":"currency","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\Currency","unique_for":"none","structure":true},"multiuserlookup":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\Multiselectlookup","request_supported":["action","create","delete","read","update"],"name":"multiuserlookup","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\Multiselectlookup","unique_for":"none","structure":true},"displayLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"lookup":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\Lookup","request_supported":["action","create","delete","read","update"],"name":"lookup","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\Lookup","unique_for":"none","structure":true},"length":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"length","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"pickListValuesSortedLexically":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"pick_list_values_sorted_lexically","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"sectionId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"section_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"sortable":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sortable","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"convertMapping":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\ConvertMapping","request_supported":["action","create","delete","read","update"],"name":"convert_mapping","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\ConvertMapping","unique_for":"none","structure":true},"multiModuleLookup":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\MultiModuleLookup","request_supported":["action","create","delete","read","update"],"name":"multi_module_lookup","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\MultiModuleLookup","unique_for":"none","structure":true},"massUpdate":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"mass_update","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"customizableProperties":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"customizable_properties","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},"autonumber":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\AutoNumber","request_supported":["action","create","delete","read","update"],"name":"autonumber","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\AutoNumber","unique_for":"none","structure":true},"uiType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"ui_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"formula":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\Formula","request_supported":["action","create","delete","read","update"],"name":"formula","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\Formula","unique_for":"none","structure":true},"category":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"category","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"multiselectlookup":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\Multiselectlookup","request_supported":["action","create","delete","read","update"],"name":"multiselectlookup","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\Multiselectlookup","unique_for":"none","structure":true},"columnName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"column_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\bulkwrite\\ResponseWrapper":{"classes":["com\\zoho\\crm\\api\\bulkwrite\\APIException","com\\zoho\\crm\\api\\bulkwrite\\BulkWriteResponse"],"interface":true},"com\\zoho\\crm\\api\\profiles\\DeleteProfileParam":{"transferTo":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"transfer_to","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\convertlead\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_DATA","ID_ALREADY_CONVERTED","MAPPING_MISMATCH","MANDATORY_NOT_FOUND","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_path_index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"maximum_length","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"mapped_field","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["invalid data","id already converted","Pipeline doesn`t contain the Stage","required field not found"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\profiles\\Info":{"licenseLimit":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"license_limit","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\record\\Criteria":{"comparator":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["equal","not_equal","in","not_in","less_than","less_equal","greater_than","greater_equal","contains","not_contains","starts_with","ends_with","between","not_between"],"name":"comparator","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"groupOperator":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["and","or"],"name":"group_operator","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"field":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"field","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"value":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TObject","nullable_for":"none","type":"Object","unique_for":"none","structure":false},"group":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\record\\Criteria","sub_type":{"type":"com\\zoho\\crm\\api\\record\\Criteria"},"request_supported":["action","create","delete","read","update"],"name":"group","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\territoryusers\\BodyWrapper":{"users":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\Users","sub_type":{"type":"com\\zoho\\crm\\api\\users\\Users"},"request_supported":["action","create","delete","read","update"],"name":"users","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\unsubscribelinks\\Resource":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\fields\\UpdateFieldParam":{"module":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"module","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\notifications\\Module":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\fields\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["LIMIT_EXCEEDED","INVALID_DATA","MANDATORY_NOT_FOUND","DEPENDENT_FIELD_MISSING","REQUIRED_PARAM_MISSING","INVALID_MODULE","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"limit","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\MandatoryDetails","sub_type":{"type":"com\\zoho\\crm\\api\\fields\\MandatoryDetails"},"request_supported":["action","create","delete","read","update"],"name":"limit_due_to","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\MandatoryDetails","request_supported":["action","create","delete","read","update"],"name":"dependee","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\MandatoryDetails","unique_for":"none","structure":true},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"param_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"dummy","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TObject","nullable_for":"none","type":"Object","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\timelines\\AutomationDetail":{"pathfinder":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\timelines\\PathFinder","request_supported":["action","create","delete","read","update"],"name":"pathfinder","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\timelines\\PathFinder","unique_for":"none","structure":true},"rule":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\timelines\\NameIdStructure","request_supported":["action","create","delete","read","update"],"name":"rule","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\timelines\\NameIdStructure","unique_for":"none","structure":true},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\usersterritories\\ResponseWrapper":{"territories":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\usersterritories\\Territory","sub_type":{"type":"com\\zoho\\crm\\api\\usersterritories\\Territory"},"request_supported":["action","create","delete","read","update"],"name":"territories","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"info":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\usersterritories\\Info","request_supported":["action","create","delete","read","update"],"name":"info","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\usersterritories\\Info","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\bulkwrite\\Resource":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"file":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\bulkwrite\\File","request_supported":["action","create","delete","read","update"],"name":"file","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\bulkwrite\\File","unique_for":"none","structure":true},"module":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\modules\\MinifiedModule","request_supported":["action","create","delete","read","update"],"name":"module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\modules\\MinifiedModule","unique_for":"none","structure":true},"ignoreEmpty":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"ignore_empty","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"findBy":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"find_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"fieldMappings":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\bulkwrite\\FieldMapping","sub_type":{"type":"com\\zoho\\crm\\api\\bulkwrite\\FieldMapping"},"request_supported":["action","create","delete","read","update"],"name":"field_mappings","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["data"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"fileNames":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"file_names","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["ADDED","IN PROGRESS","COMPLETED","SKIPPED","FAILED"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"fileId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"file_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\holidays\\BodyWrapper":{"classes":["com\\zoho\\crm\\api\\holidays\\CreateBusinessHoliday","com\\zoho\\crm\\api\\holidays\\CreateShiftHoliday"],"interface":true},"com\\zoho\\crm\\api\\layouts\\DefaultAssignmentView":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\inventoryconvert\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["NOT_REVIEWED","MANDATORY_NOT_FOUND","AMBIGUITY_DURING_PROCESSING","INVALID_DATA","NO_PERMISSION","ID_ALREADY_CONVERTED","NOT_ALLOWED","EXPECTED_FIELD_MISSING","NOT_APPROVED"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_path_index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\inventoryconvert\\ApinameJsonpathDetails","sub_type":{"type":"com\\zoho\\crm\\api\\inventoryconvert\\ApinameJsonpathDetails"},"request_supported":["action","create","delete","read","update"],"name":"ambiguity_due_to","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"maximum_length","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"supported_values","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"permissions","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"reason","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\inventoryconvert\\ApinameJsonpathDetails","sub_type":{"type":"com\\zoho\\crm\\api\\inventoryconvert\\ApinameJsonpathDetails"},"request_supported":["action","create","delete","read","update"],"name":"expected_fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["id already converted","required field not found","invalid data"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\contactroles\\ActionWrapper":{"contactRoles":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\contactroles\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\contactroles\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"contact_roles","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\inventorytemplates\\Info":{"perPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"per_page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"moreRecords":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"more_records","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"count":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"page":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\emailcomposemeta\\DataMap":{"relayDomains":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"relay_domains","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},"mergefieldsdata":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"mergeFieldsData","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"fromAddress":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\emailcomposemeta\\FromAddress","sub_type":{"type":"com\\zoho\\crm\\api\\emailcomposemeta\\FromAddress"},"request_supported":["action","create","delete","read","update"],"name":"from_address","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"featuresAvailable":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\emailcomposemeta\\FeaturesAvailable","request_supported":["action","create","delete","read","update"],"name":"features_available","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\emailcomposemeta\\FeaturesAvailable","unique_for":"none","structure":true},"user":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\emailcomposemeta\\User","request_supported":["action","create","delete","read","update"],"name":"user","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\emailcomposemeta\\User","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\shifthours\\CreateShiftsHoursHeader":{"xCrmOrg":{"name":"X-CRM-ORG","type":"String","structure":false}},"com\\zoho\\crm\\api\\sharerecords\\BodyWrapper":{"notifyOnCompletion":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"notify_on_completion","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"share":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"spec_type":"com.zoho.api.spec.template.type.TCollections","type":"List","unique_for":"none","structure":true,"structure_name":"com\\zoho\\crm\\api\\sharerecords\\ShareRecord","sub_type":{"type":"com\\zoho\\crm\\api\\sharerecords\\ShareRecord"},"name":"share","required_for":"none","emptiable_for":"none","nullable_for":"none","max_length":10},"notify":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"notify","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\territories\\Manager":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\userstransferdelete\\ResponseWrapper":{"transferAndDelete":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\userstransferdelete\\Status","sub_type":{"type":"com\\zoho\\crm\\api\\userstransferdelete\\Status"},"request_supported":["action","create","delete","read","update"],"name":"transfer_and_delete","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\variables\\UpdateVariableByAPINameParam":{"group":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"group","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\emailrelatedrecords\\GetEmailsRelatedRecordParam":{"type":{"name":"type","type":"String","structure":false},"ownerId":{"name":"owner_id","type":"Long","structure":false}},"com\\zoho\\crm\\api\\findandmerge\\ResponseWrapper":{"merge":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\findandmerge\\Merge","sub_type":{"type":"com\\zoho\\crm\\api\\findandmerge\\Merge"},"request_supported":["action","create","delete","read","update"],"name":"merge","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\record\\MultiSelectPicklist":{"fieldname":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"fieldName","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\globalpicklists\\ReplaceActionHandler":{"classes":["com\\zoho\\crm\\api\\globalpicklists\\ReplaceActionWrapper","com\\zoho\\crm\\api\\globalpicklists\\APIException"],"interface":true},"com\\zoho\\crm\\api\\definition\\MinifiedProperty":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"dataType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"length":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"length","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"readOnly":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"read_only","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"required":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"required","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"properties":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\definition\\MinifiedProperty","sub_type":{"type":"com\\zoho\\crm\\api\\definition\\MinifiedProperty"},"request_supported":["action","create","delete","read","update"],"name":"properties","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\usertypeusers\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_DATA","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","MANDATORY_NOT_FOUND","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"param_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\fields\\Formula":{"expression":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expression","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"returnType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"return_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\profiles\\GetProfilesParam":{"includeLiteProfile":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"include_lite_profile","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\scoringrules\\Criteria":{"comparator":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"comparator","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"groupOperator":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"group_operator","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"field":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\scoringrules\\Field","request_supported":["action","create","delete","read","update"],"name":"field","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\scoringrules\\Field","unique_for":"none","structure":true},"value":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TObject","nullable_for":"none","type":"Object","unique_for":"none","structure":false},"group":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\scoringrules\\Criteria","sub_type":{"type":"com\\zoho\\crm\\api\\scoringrules\\Criteria"},"request_supported":["action","create","delete","read","update"],"name":"group","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\attachments\\Attachment":{"owner":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"Owner","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"modifiedTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Modified_Time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"fileName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"File_Name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"attachmentType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"$attachment_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"editable":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"$editable","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"$type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"sharingPermission":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"$sharing_permission","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"parentId":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\attachments\\ParentId","request_supported":["action","create","delete","read","update"],"name":"Parent_Id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\attachments\\ParentId","unique_for":"none","structure":true},"seModule":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"$se_module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"size":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Size","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"createdBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"Created_By","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"linkUrl":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"$link_url","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"createdTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Created_Time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"modifiedBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"Modified_By","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"state":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"$state","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"fileId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"$file_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\businesshours\\CreateBusinessHoursHeader":{"xCrmOrg":{"name":"X-CRM-ORG","type":"String","structure":false}},"com\\zoho\\crm\\api\\emailrelatedrecords\\Email":{"sentimentInfo":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["positive","negative","neutral"],"name":"sentiment_info","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"attachments":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\emailrelatedrecords\\Attachments","sub_type":{"type":"com\\zoho\\crm\\api\\emailrelatedrecords\\Attachments"},"request_supported":["action","create","delete","read","update"],"name":"attachments","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"subject":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"subject","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"source":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"source","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"activityInfo":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"activity_info","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TObject","nullable_for":"none","type":"Object","unique_for":"none","structure":false},"content":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"content","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"threadId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"thread_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"hasAttachment":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"has_attachment","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"linkedRecord":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\emailrelatedrecords\\LinkedRecord","request_supported":["action","create","delete","read","update"],"name":"linked_record","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\emailrelatedrecords\\LinkedRecord","unique_for":"none","structure":true},"from":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\emailrelatedrecords\\UserDetails","request_supported":["action","create","delete","read","update"],"name":"from","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\emailrelatedrecords\\UserDetails","unique_for":"none","structure":true},"cc":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\emailrelatedrecords\\UserDetails","sub_type":{"type":"com\\zoho\\crm\\api\\emailrelatedrecords\\UserDetails"},"request_supported":["action","create","delete","read","update"],"name":"cc","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"summary":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"summary","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"owner":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"owner","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"read":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"read","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"editable":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"editable","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"messageId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"sent":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sent","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"intent":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["query","request","purchase","complaints","others","spam"],"name":"intent","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"emotion":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"emotion","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"hasThreadAttachment":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"has_thread_attachment","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"replyTo":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\emailrelatedrecords\\UserDetails","request_supported":["action","create","delete","read","update"],"name":"reply_to","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\emailrelatedrecords\\UserDetails","unique_for":"none","structure":true},"sentTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sent_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"mailFormat":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"mail_format","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"to":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\emailrelatedrecords\\UserDetails","sub_type":{"type":"com\\zoho\\crm\\api\\emailrelatedrecords\\UserDetails"},"request_supported":["action","create","delete","read","update"],"name":"to","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"time":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\emailrelatedrecords\\Status","sub_type":{"type":"com\\zoho\\crm\\api\\emailrelatedrecords\\Status"},"request_supported":["action","create","delete","read","update"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\usersterritories\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\dealcontactroles\\BodyWrapper":{"data":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\dealcontactroles\\Data","sub_type":{"type":"com\\zoho\\crm\\api\\dealcontactroles\\Data"},"request_supported":["action","create","delete","read","update"],"name":"data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\profiles\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\profiles\\APIException","com\\zoho\\crm\\api\\profiles\\ResponseWrapper"],"interface":true},"com\\zoho\\crm\\api\\fiscalyear\\Year":{"startMonth":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["January","February","March","April","May","June","July","August","September","October","November","December"],"name":"start_month","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"displayBasedOn":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["end_month","start_month"],"name":"display_based_on","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\globalpicklists\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\globalpicklists\\ActionWrapper","com\\zoho\\crm\\api\\globalpicklists\\APIException"],"interface":true},"com\\zoho\\crm\\api\\globalpicklists\\ReplacedValue":{"displayValue":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"actualValue":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"actual_value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\coql\\DetailsWrapper":{"classes":["com\\zoho\\crm\\api\\coql\\ClauseDetails","com\\zoho\\crm\\api\\coql\\ParseErrorDetails"],"interface":true},"com\\zoho\\crm\\api\\inventorytemplates\\GetInventoryTemplatesParam":{"module":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"module","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"sortOrder":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sort_order","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"sortBy":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sort_by","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"category":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"category","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\notifications\\Event":{"resourceId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"notificationCondition":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\notifications\\NotificationCondition","sub_type":{"type":"com\\zoho\\crm\\api\\notifications\\NotificationCondition"},"request_supported":["action","create","delete","read","update"],"name":"notification_condition","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"resourceName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"resourceUri":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_uri","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"channelExpiry":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"channel_expiry","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"channelId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"channel_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\pipeline\\GetPipelinesParam":{"layoutId":{"name":"layout_id","type":"Long","structure":false}},"com\\zoho\\crm\\api\\blueprint\\LookupField":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\portals\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_DATA","MANDATORY_NOT_FOUND","JSON_PARSE_ERROR","PATTERN_NOT_MATCHED","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"maximum_length","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"minimum_length","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\holidays\\Holidays":{"holidays":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\holidays\\Holiday","sub_type":{"type":"com\\zoho\\crm\\api\\holidays\\Holiday"},"request_supported":["action","create","delete","read","update"],"name":"holidays","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\portals\\Portals":{"modifiedTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"modified_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"createdBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\portals\\Owner","request_supported":["action","create","delete","read","update"],"name":"created_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\portals\\Owner","unique_for":"none","structure":true},"name":{"response_supported":["action","create","delete","read","update"],"min_length":6,"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false,"max_length":30},"createdTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"created_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"active":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"active","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"modifiedBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\portals\\Owner","request_supported":["action","create","delete","read","update"],"name":"modified_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\portals\\Owner","unique_for":"none","structure":true},"zaid":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"zaid","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\timelines\\Module":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\sendmail\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\sendmail\\BlockedEmailAddress","sub_type":{"type":"com\\zoho\\crm\\api\\sendmail\\BlockedEmailAddress"},"request_supported":["action","create","delete","read","update"],"name":"blocked_email_addresses","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\fields\\EmailParser":{"fieldsUpdateSupported":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"fields_update_supported","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"recordOperationsSupported":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"record_operations_supported","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\record\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\record\\ActionWrapper","com\\zoho\\crm\\api\\record\\APIException"],"interface":true},"com\\zoho\\crm\\api\\sharerecords\\SharedThrough":{"entityName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"entity_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"module":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\sharerecords\\Module","request_supported":["action","create","delete","read","update"],"name":"module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\sharerecords\\Module","unique_for":"none","structure":true},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\privacypreference\\Section":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"tooltip":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"tooltip","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"options":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\privacypreference\\Option","sub_type":{"type":"com\\zoho\\crm\\api\\privacypreference\\Option"},"request_supported":["action","create","delete","read","update"],"name":"options","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"showType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"show_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"title":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"title","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\customviews\\Fields":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"pin":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"_pin","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\record\\ImageUpload":{"sequenceNumberS":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Sequence_Number__s","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLong","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"modifiedByS":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"Modified_By__s","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"ownerS":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"Owner__s","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"descriptionS":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Description__s","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"delete":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"_delete","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"modifiedTimeS":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Modified_Time__s","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"stateS":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"State__s","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"previewIdS":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Preview_Id__s","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"sizeS":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Size__s","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"fileIdS":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"File_Id__s","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"createdByS":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"Created_By__s","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"createdTimeS":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Created_Time__s","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"fileNameS":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"File_Name__s","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\profiles\\Section":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"categories":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\profiles\\Category","sub_type":{"type":"com\\zoho\\crm\\api\\profiles\\Category"},"request_supported":["action","create","delete","read","update"],"name":"categories","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\pipeline\\ForecastCategory":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\portalinvite\\PortalInvite":{"data":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\portalinvite\\Portal","sub_type":{"type":"com\\zoho\\crm\\api\\portalinvite\\Portal"},"request_supported":["action","create","delete","read","update"],"name":"data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\variables\\VariableGroup":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\layouts\\DealLayoutMapping":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"fields":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\layouts\\DealField","sub_type":{"type":"com\\zoho\\crm\\api\\layouts\\DealField"},"request_supported":["action","create","delete","read","update"],"name":"fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\customviews\\ActionWrapper":{"customViews":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\customviews\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\customviews\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"custom_views","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\pipeline\\TransferPipelineSuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"job_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\dealcontactroles\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["EXPECTED_FIELD_MISSING","INVALID_DATA","REQUIRED_PARAM_MISSING","MANDATORY_NOT_FOUND","INTERNAL_SERVER_ERROR","INVALID_MODULE","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\dealcontactroles\\ErrorDetails","sub_type":{"type":"com\\zoho\\crm\\api\\dealcontactroles\\ErrorDetails"},"request_supported":["action","create","delete","read","update"],"name":"expected_fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"param_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_path_index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\currencies\\BaseCurrencyActionResponse":{"classes":["com\\zoho\\crm\\api\\currencies\\APIException","com\\zoho\\crm\\api\\currencies\\SuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\globalpicklists\\Picklist":{"displayLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"modifiedTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"modified_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"pickListValues":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\globalpicklists\\PickListValues","sub_type":{"type":"com\\zoho\\crm\\api\\globalpicklists\\PickListValues"},"request_supported":["action","create","delete","read","update"],"name":"pick_list_values","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"createdBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"created_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"actualLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"actual_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"createdTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"created_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"description":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"description","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"modifiedBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"modified_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"pickListValuesSortedLexically":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"pick_list_values_sorted_lexically","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"presence":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"presence","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\modules\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\modules\\SuccessResponse","com\\zoho\\crm\\api\\modules\\APIException"],"interface":true},"com\\zoho\\crm\\api\\users\\GetUsersParam":{"perPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"per_page","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"ids":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"ids","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"page":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["ActiveUsers","DeactiveUsers","NotConfirmedUsers","ConfirmedUsers","CurrentUser","ActiveConfirmedUsers"],"name":"type","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\findandmerge\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\findandmerge\\APIException","com\\zoho\\crm\\api\\findandmerge\\SuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\scoringrules\\Info":{"call":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"call","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"perPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"per_page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"moreRecords":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"more_records","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"nextPageToken":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"next_page_token","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"count":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"pageTokenExpiry":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page_token_expiry","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"page":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"previousPageToken":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"previous_page_token","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"email":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"email","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\users\\Info":{"perPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"per_page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"moreRecords":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"more_records","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"count":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"page":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\users\\Users":{"country":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"country","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"modifiedTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Modified_Time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"createdBy17":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"Created_By","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"decimalSeparator":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["Comma","Period"],"name":"decimal_separator","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"dateFormat":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["MMM d, yyyy"],"name":"date_format","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"numberSeparator":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["Space"],"name":"number_separator","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"language":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"language","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"rtlEnabled":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"rtl_enabled","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"telephonyEnabled":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"telephony_enabled","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"microsoft":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"microsoft","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"sandboxdeveloper":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sandboxDeveloper","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"isonline":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Isonline","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"nextShift":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\Shift","request_supported":["action","create","delete","read","update"],"name":"$next_shift","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\Shift","unique_for":"none","structure":true},"ntcNotificationType":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"Long"},"request_supported":["action","create","delete","read","update"],"name":"ntc_notification_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},"createdTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"created_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"state":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"state","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"personalAccount":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"personal_account","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"tag":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\tags\\Tag","sub_type":{"type":"com\\zoho\\crm\\api\\tags\\Tag"},"request_supported":["action","create","delete","read","update"],"name":"Tag","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"fax":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"fax","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"reportingTo":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"Reporting_To","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"zip":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"zip","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"offset":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"offset","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"imapStatus":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"imap_status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"profile":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\Profile","request_supported":["action","create","delete","read","update"],"name":"profile","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\Profile","unique_for":"none","structure":true},"sortOrderPreference":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sort_order_preference","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"timeZone":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"time_zone","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TTimeZone","nullable_for":"none","type":"TimeZone","unique_for":"none","structure":false},"customizeInfo":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\CustomizeInfo","request_supported":["action","create","delete","read","update"],"name":"customize_info","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\CustomizeInfo","unique_for":"none","structure":true},"zuid":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"zuid","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"firstName":{"regex":"[A-Za-z0-9]","response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"first_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false,"max_length":50},"ezuid":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"ezuid","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"phone":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"phone","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"dob":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"dob","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDate","nullable_for":"none","type":"Date","unique_for":"none","structure":false},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"lastName":{"regex":"[A-Za-z0-9]","response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"last_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false,"max_length":50},"createdTime9":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Created_Time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"role":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\Role","request_supported":["action","create","delete","read","update"],"name":"role","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\Role","unique_for":"none","structure":true},"city":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"city","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"signature":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"signature","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"ntcEnabled":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"ntc_enabled","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"countryLocale":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"country_locale","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"locale":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"locale","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"imageLink":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"image_link","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"currentShift":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\Shift","request_supported":["action","create","delete","read","update"],"name":"$current_shift","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\Shift","unique_for":"none","structure":true},"street":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"street","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"sortOrderPreferenceS":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sort_order_preference__s","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"alias":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"alias","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"currency":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Currency","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"modifiedBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"Modified_By","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"theme":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\Theme","request_supported":["action","create","delete","read","update"],"name":"theme","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\Theme","unique_for":"none","structure":true},"nameFormatS":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["Salutation,First Name,Last Name","Saluation,Last Name,First Name","First Name,Last Name,Saluation"],"name":"name_format__s","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"email":{"regex":"[a-z0-9]{9}[@][a-z0-9]{5}[.]com","response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"email","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"statusReasonS":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"status_reason__s","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"website":{"regex":"[a-z0-9]{5}[.]com","response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"website","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"mobile":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"mobile","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"fullName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"full_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"confirm":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"confirm","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"createdBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"created_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"timeFormat":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["HH:mm","hh:mm a"],"name":"time_format","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"shiftEffectiveFrom":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"$shift_effective_from","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TObject","nullable_for":"none","type":"Object","unique_for":"none","structure":false},"category":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"category","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"defaultTabGroup":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"default_tab_group","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\massconvert\\AssignTo":{"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\holidays\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["DEPENDENT_FIELD_MISSING","DUPLICATE_DATA","INVALID_DATA","PATTERN_NOT_MATCHED","MANDATORY_NOT_FOUND","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"dependee","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_path_index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"maximum_length","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"regex","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["Shift id is required for shift holidays","duplicate data","Invalid ID","Please check whether the input values are correct","required field not found","invalid data"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\pipeline\\TransferPipeline":{"pipeline":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\pipeline\\TPipeline","request_supported":["action","create","delete","read","update"],"name":"pipeline","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\pipeline\\TPipeline","unique_for":"none","structure":true},"stages":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\pipeline\\Stages","sub_type":{"type":"com\\zoho\\crm\\api\\pipeline\\Stages"},"request_supported":["action","create","delete","read","update"],"name":"stages","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\tags\\UpdateTagsParam":{"module":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"module","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\portalusertype\\Permissions":{"view":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"view","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"edit":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"edit","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"editSharedRecords":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"edit_shared_records","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"create":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"create","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"createAttachment":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"create_attachment","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"delete":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"delete","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"deleteAttachment":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"delete_attachment","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\record\\GetMassUpdateStatusParam":{"jobId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"job_id","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\tags\\UpdateTagParam":{"module":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"module","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\relatedrecords\\DelinkRecordHeader":{"XEXTERNAL":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"X-EXTERNAL","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\record\\CountWrapper":{"count":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\notifications\\ResponseWrapper":{"watch":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\notifications\\Notification","sub_type":{"type":"com\\zoho\\crm\\api\\notifications\\Notification"},"request_supported":["action","create","delete","read","update"],"name":"watch","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"info":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\notifications\\Info","request_supported":["action","create","delete","read","update"],"name":"info","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\notifications\\Info","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\dealcontactroles\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\dealcontactroles\\SuccessResponse","com\\zoho\\crm\\api\\dealcontactroles\\APIException"],"interface":true},"com\\zoho\\crm\\api\\blueprint\\Escalation":{"days":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"days","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\tags\\AddTagsParam":{"overWrite":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"over_write","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\tags\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\tags\\APIException","com\\zoho\\crm\\api\\tags\\SuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\layouts\\ConvertMapping":{"salesorders":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\layouts\\MinifiedLayout","request_supported":["action","create","delete","read","update"],"name":"SalesOrders","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\layouts\\MinifiedLayout","unique_for":"none","structure":true},"invoices":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\layouts\\MinifiedLayout","request_supported":["action","create","delete","read","update"],"name":"Invoices","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\layouts\\MinifiedLayout","unique_for":"none","structure":true},"deals":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\layouts\\DealLayoutMapping","request_supported":["action","create","delete","read","update"],"name":"Deals","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\layouts\\DealLayoutMapping","unique_for":"none","structure":true},"accounts":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\layouts\\MinifiedLayout","request_supported":["action","create","delete","read","update"],"name":"Accounts","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\layouts\\MinifiedLayout","unique_for":"none","structure":true},"contacts":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\layouts\\MinifiedLayout","request_supported":["action","create","delete","read","update"],"name":"Contacts","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\layouts\\MinifiedLayout","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\territories\\MinifiedTerritory":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"subordinates":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"subordinates","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\availablecurrencies\\Currency":{"displayValue":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"symbol":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"symbol","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"thousandSeparator":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"thousand_separator","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"decimalPlaces":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"decimal_places","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"decimalSeparator":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"decimal_separator","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"isoCode":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"iso_code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"displayName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\record\\RecordCountParam":{"phone":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"phone","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"criteria":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"criteria","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"word":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"word","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"email":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"email","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\recordlocking\\Info":{"call":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"call","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"perPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"per_page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"moreRecords":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"more_records","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"nextPageToken":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"next_page_token","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"sortOrder":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sort_order","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"count":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"pageTokenExpiry":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page_token_expiry","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"sortBy":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sort_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"page":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"previousPageToken":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"previous_page_token","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"email":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"email","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\currencies\\BaseCurrency":{"symbol":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"symbol","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"modifiedTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"modified_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"format":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\currencies\\Format","request_supported":["action","create","delete","read","update"],"name":"format","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\currencies\\Format","unique_for":"none","structure":true},"isActive":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"is_active","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"isoCode":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"iso_code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"exchangeRate":{"regex":"[1-9][0-9]{1,8}[.][0-9]{9}","response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"exchange_rate","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"createdBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"created_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"createdTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"created_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"prefixSymbol":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"prefix_symbol","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"modifiedBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"modified_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"isBase":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"is_base","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\bulkread\\Result":{"perPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"per_page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"moreRecords":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"more_records","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"count":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"downloadUrl":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"download_url","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"page":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\recordlocking\\LockRecord":{"lockedReasonS":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Locked_Reason__s","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\portalusertype\\GetUserTypesParam":{"include":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"include","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\webforms\\FormAttributes":{"color":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"color","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"fontAttributes":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\webforms\\FontAttributes","request_supported":["action","create","delete","read","update"],"name":"font_attributes","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\webforms\\FontAttributes","unique_for":"none","structure":true},"width":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"width","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"align":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"align","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"displayFormName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_form_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\notes\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\notes\\ActionWrapper","com\\zoho\\crm\\api\\notes\\APIException"],"interface":true},"com\\zoho\\crm\\api\\webforms\\GetWebFormParam":{"module":{"name":"module","type":"String","structure":false}},"com\\zoho\\crm\\api\\recordlockingconfiguration\\BodyWrapper":{"recordLockingConfigurations":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\recordlockingconfiguration\\RecordLock","sub_type":{"type":"com\\zoho\\crm\\api\\recordlockingconfiguration\\RecordLock"},"request_supported":["action","create","delete","read","update"],"name":"record_locking_configurations","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\org\\Resource":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\globalpicklists\\GetGlobalPicklistParam":{"include":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"include","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"includeInnerDetails":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"include_inner_details","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\dealcontactroles\\ResponseWrapper":{"data":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\dealcontactroles\\Data","sub_type":{"type":"com\\zoho\\crm\\api\\dealcontactroles\\Data"},"request_supported":["action","create","delete","read","update"],"name":"data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"info":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\dealcontactroles\\Info","request_supported":["action","create","delete","read","update"],"name":"info","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\dealcontactroles\\Info","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\modules\\LookupField":{"sequenceNumber":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sequence_number","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\modules\\ModuleFields":{"modifiedTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"modified_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"sharingProperties":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\modules\\SharingProperties","request_supported":["action","create","delete","read","update"],"name":"sharing_properties","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\modules\\SharingProperties","unique_for":"none","structure":true},"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"webhook":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"webhook","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"updateexistingrecords":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"_update_existing_records","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"numberSeparator":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"number_separator","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"associatedModule":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\modules\\MinifiedModule","request_supported":["action","create","delete","read","update"],"name":"associated_module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\modules\\MinifiedModule","unique_for":"none","structure":true},"defaultValue":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"default_value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"tooltip":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\Tooltip","request_supported":["action","create","delete","read","update"],"name":"tooltip","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\Tooltip","unique_for":"none","structure":true},"quickSequenceNumber":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"quick_sequence_number","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"textarea":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\Textarea","request_supported":["action","create","delete","read","update"],"name":"textarea","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\Textarea","unique_for":"none","structure":true},"jsonType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"colourCodeEnabledBySystem":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"colour_code_enabled_by_system","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"availableInUserLayout":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"available_in_user_layout","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"rollupSummary":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\RollupSummary","request_supported":["action","create","delete","read","update"],"name":"rollup_summary","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\RollupSummary","unique_for":"none","structure":true},"blueprintSupported":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"blueprint_supported","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"createdTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"created_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"showType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"show_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"globalPicklist":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"global_picklist","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TObject","nullable_for":"none","type":"Object","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"additionalColumn":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"additional_column","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"sequenceNumber":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sequence_number","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"filterable":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"filterable","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"emailParser":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\EmailParser","request_supported":["action","create","delete","read","update"],"name":"email_parser","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\EmailParser","unique_for":"none","structure":true},"visible":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"visible","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"autoNumber64":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\AutoNumber","request_supported":["action","create","delete","read","update"],"name":"auto_number","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\AutoNumber","unique_for":"none","structure":true},"dataType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"profiles":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\Profile","sub_type":{"type":"com\\zoho\\crm\\api\\fields\\Profile"},"request_supported":["action","create","delete","read","update"],"name":"profiles","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"readOnly":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"read_only","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"historyTracking":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\HistoryTracking","request_supported":["action","create","delete","read","update"],"name":"history_tracking","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\HistoryTracking","unique_for":"none","structure":true},"subform":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\Subform","request_supported":["action","create","delete","read","update"],"name":"subform","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\Subform","unique_for":"none","structure":true},"systemMandatory":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"system_mandatory","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"separator":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"separator","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"customField":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"custom_field","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"searchable":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"searchable","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"decimalPlace":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"decimal_place","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"createdSource":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"created_source","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"displayType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"external":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\External","request_supported":["action","create","delete","read","update"],"name":"external","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\External","unique_for":"none","structure":true},"subModule":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\modules\\MinifiedModule","request_supported":["action","create","delete","read","update"],"name":"sub_module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\modules\\MinifiedModule","unique_for":"none","structure":true},"unique":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\Unique","request_supported":["action","create","delete","read","update"],"name":"unique","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TObject","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\Unique","unique_for":"none","structure":true},"viewType":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\ViewType","request_supported":["action","create","delete","read","update"],"name":"view_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\ViewType","unique_for":"none","structure":true},"displayField":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_field","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"operationType":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\OperationType","request_supported":["action","create","delete","read","update"],"name":"operation_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\OperationType","unique_for":"none","structure":true},"hipaaComplianceEnabled":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"hipaa_compliance_enabled","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"private":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\Private1","request_supported":["action","create","delete","read","update"],"name":"private","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\Private1","unique_for":"none","structure":true},"crypt":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\Crypt","request_supported":["action","create","delete","read","update"],"name":"crypt","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\Crypt","unique_for":"none","structure":true},"fileUpoladOptionlist":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\FileUpoladOption","sub_type":{"type":"com\\zoho\\crm\\api\\fields\\FileUpoladOption"},"request_supported":["action","create","delete","read","update"],"name":"file_upolad_optionlist","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"enableColourCode":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"enable_colour_code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"virtualField":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"virtual_field","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"hipaaCompliance":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\HipaaCompliance","request_supported":["action","create","delete","read","update"],"name":"hipaa_compliance","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\HipaaCompliance","unique_for":"none","structure":true},"staticField":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"static_field","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"associationDetails":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\AssociationDetails","request_supported":["action","create","delete","read","update"],"name":"association_details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\AssociationDetails","unique_for":"none","structure":true},"pickListValues":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\PickListValue","sub_type":{"type":"com\\zoho\\crm\\api\\fields\\PickListValue"},"request_supported":["action","create","delete","read","update"],"name":"pick_list_values","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"fieldLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"field_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"referFromField":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\ReferFromField","request_supported":["action","create","delete","read","update"],"name":"refer_from_field","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\ReferFromField","unique_for":"none","structure":true},"allowedModules":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\modules\\MinifiedModule","sub_type":{"type":"com\\zoho\\crm\\api\\modules\\MinifiedModule"},"request_supported":["action","create","delete","read","update"],"name":"allowed_modules","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"fieldReadOnly":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"field_read_only","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"businesscardSupported":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"businesscard_supported","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"currency":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\Currency","request_supported":["action","create","delete","read","update"],"name":"currency","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\Currency","unique_for":"none","structure":true},"multiuserlookup":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\Multiselectlookup","request_supported":["action","create","delete","read","update"],"name":"multiuserlookup","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\Multiselectlookup","unique_for":"none","structure":true},"displayLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"lookup":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\Lookup","request_supported":["action","create","delete","read","update"],"name":"lookup","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\Lookup","unique_for":"none","structure":true},"length":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"length","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"pickListValuesSortedLexically":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"pick_list_values_sorted_lexically","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"sortable":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sortable","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"convertMapping":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\ConvertMapping","request_supported":["action","create","delete","read","update"],"name":"convert_mapping","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\ConvertMapping","unique_for":"none","structure":true},"multiModuleLookup":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\MultiModuleLookup","request_supported":["action","create","delete","read","update"],"name":"multi_module_lookup","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\MultiModuleLookup","unique_for":"none","structure":true},"massUpdate":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"mass_update","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"customizableProperties":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"customizable_properties","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},"autonumber":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\AutoNumber","request_supported":["action","create","delete","read","update"],"name":"autonumber","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\AutoNumber","unique_for":"none","structure":true},"uiType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"ui_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"formula":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\Formula","request_supported":["action","create","delete","read","update"],"name":"formula","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\Formula","unique_for":"none","structure":true},"category":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"category","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"multiselectlookup":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\Multiselectlookup","request_supported":["action","create","delete","read","update"],"name":"multiselectlookup","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\Multiselectlookup","unique_for":"none","structure":true},"columnName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"column_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\entityscores\\Module":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\fieldattachments\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_MODULE","INVALID_DATA","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","MANDATORY_NOT_FOUND","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_path_index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\massdeletecvid\\RecordIdBodyWrapper":{"ids":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"Long"},"request_supported":["action","create","delete","read","update"],"name":"ids","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false,"max_length":10},"territory":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\massdeletecvid\\Territory","request_supported":["action","create","delete","read","update"],"name":"territory","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\massdeletecvid\\Territory","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\findandmerge\\BodyWrapper":{"merge":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\findandmerge\\Merge","sub_type":{"type":"com\\zoho\\crm\\api\\findandmerge\\Merge"},"request_supported":["action","create","delete","read","update"],"name":"merge","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\record\\Info":{"call":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"call","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"perPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"per_page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"moreRecords":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"more_records","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"nextPageToken":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"next_page_token","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"sortOrder":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sort_order","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"count":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"pageTokenExpiry":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page_token_expiry","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"sortBy":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sort_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"page":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"previousPageToken":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"previous_page_token","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"email":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"email","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\usersunavailability\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\usersunavailability\\ResponseWrapper","com\\zoho\\crm\\api\\usersunavailability\\APIException"],"interface":true},"com\\zoho\\crm\\api\\unsubscribelinks\\User":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\backup\\Backup":{"requester":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\backup\\Requester","request_supported":["action","create","delete","read","update"],"name":"requester","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\backup\\Requester","unique_for":"none","structure":true},"rrule":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"rrule","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"scheduledDate":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"scheduled_date","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"startDate":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"start_date","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\customviews\\SortBy":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\notifications\\Field":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\attachments\\FileBodyWrapper":{"file":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"file","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TFile","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\StreamWrapper","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\record\\Widget":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\variables\\ResponseWrapper":{"variables":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\variables\\Variable","sub_type":{"type":"com\\zoho\\crm\\api\\variables\\Variable"},"request_supported":["action","create","delete","read","update"],"name":"variables","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\fields\\Fields":{"modifiedTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"modified_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"sharingProperties":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\modules\\SharingProperties","request_supported":["action","create","delete","read","update"],"name":"sharing_properties","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\modules\\SharingProperties","unique_for":"none","structure":true},"webhook":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"webhook","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"updateexistingrecords":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"_update_existing_records","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"numberSeparator":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"number_separator","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"associatedModule":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\modules\\MinifiedModule","request_supported":["action","create","delete","read","update"],"name":"associated_module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\modules\\MinifiedModule","unique_for":"none","structure":true},"defaultValue":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"default_value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"tooltip":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\Tooltip","request_supported":["action","create","delete","read","update"],"name":"tooltip","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\Tooltip","unique_for":"none","structure":true},"quickSequenceNumber":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"quick_sequence_number","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"textarea":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\Textarea","request_supported":["action","create","delete","read","update"],"name":"textarea","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\Textarea","unique_for":"none","structure":true},"jsonType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"colourCodeEnabledBySystem":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"colour_code_enabled_by_system","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"availableInUserLayout":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"available_in_user_layout","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"rollupSummary":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\RollupSummary","request_supported":["action","create","delete","read","update"],"name":"rollup_summary","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\RollupSummary","unique_for":"none","structure":true},"blueprintSupported":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"blueprint_supported","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"createdTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"created_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"showType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"show_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"globalPicklist":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"global_picklist","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TObject","nullable_for":"none","type":"Object","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"autoNumber60":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\AutoNumber","request_supported":["action","create","delete","read","update"],"name":"auto_number","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\AutoNumber","unique_for":"none","structure":true},"additionalColumn":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"additional_column","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"sequenceNumber":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sequence_number","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"filterable":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"filterable","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"emailParser":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\EmailParser","request_supported":["action","create","delete","read","update"],"name":"email_parser","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\EmailParser","unique_for":"none","structure":true},"visible":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"visible","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"dataType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"profiles":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\Profile","sub_type":{"type":"com\\zoho\\crm\\api\\fields\\Profile"},"request_supported":["action","create","delete","read","update"],"name":"profiles","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"readOnly":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"read_only","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"historyTracking":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\HistoryTracking","request_supported":["action","create","delete","read","update"],"name":"history_tracking","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\HistoryTracking","unique_for":"none","structure":true},"systemMandatory":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"system_mandatory","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"subform":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\Subform","request_supported":["action","create","delete","read","update"],"name":"subform","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\Subform","unique_for":"none","structure":true},"separator":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"separator","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"customField":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"custom_field","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"searchable":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"searchable","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"decimalPlace":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"decimal_place","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"createdSource":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"created_source","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"displayType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"external":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\External","request_supported":["action","create","delete","read","update"],"name":"external","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\External","unique_for":"none","structure":true},"subModule":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\modules\\MinifiedModule","request_supported":["action","create","delete","read","update"],"name":"sub_module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\modules\\MinifiedModule","unique_for":"none","structure":true},"unique":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\Unique","request_supported":["action","create","delete","read","update"],"name":"unique","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TObject","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\Unique","unique_for":"none","structure":true},"viewType":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\ViewType","request_supported":["action","create","delete","read","update"],"name":"view_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\ViewType","unique_for":"none","structure":true},"displayField":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_field","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"operationType":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\OperationType","request_supported":["action","create","delete","read","update"],"name":"operation_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\OperationType","unique_for":"none","structure":true},"hipaaComplianceEnabled":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"hipaa_compliance_enabled","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"private":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\Private1","request_supported":["action","create","delete","read","update"],"name":"private","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\Private1","unique_for":"none","structure":true},"crypt":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\Crypt","request_supported":["action","create","delete","read","update"],"name":"crypt","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\Crypt","unique_for":"none","structure":true},"fileUpoladOptionlist":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\FileUpoladOption","sub_type":{"type":"com\\zoho\\crm\\api\\fields\\FileUpoladOption"},"request_supported":["action","create","delete","read","update"],"name":"file_upolad_optionlist","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"enableColourCode":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"enable_colour_code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"virtualField":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"virtual_field","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"hipaaCompliance":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\HipaaCompliance","request_supported":["action","create","delete","read","update"],"name":"hipaa_compliance","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\HipaaCompliance","unique_for":"none","structure":true},"staticField":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"static_field","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"associationDetails":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\AssociationDetails","request_supported":["action","create","delete","read","update"],"name":"association_details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\AssociationDetails","unique_for":"none","structure":true},"pickListValues":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\PickListValue","sub_type":{"type":"com\\zoho\\crm\\api\\fields\\PickListValue"},"request_supported":["action","create","delete","read","update"],"name":"pick_list_values","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"fieldLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"field_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"referFromField":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\ReferFromField","request_supported":["action","create","delete","read","update"],"name":"refer_from_field","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\ReferFromField","unique_for":"none","structure":true},"fieldReadOnly":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"field_read_only","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"businesscardSupported":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"businesscard_supported","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"allowedModules":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\modules\\MinifiedModule","sub_type":{"type":"com\\zoho\\crm\\api\\modules\\MinifiedModule"},"request_supported":["action","create","delete","read","update"],"name":"allowed_modules","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"currency":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\Currency","request_supported":["action","create","delete","read","update"],"name":"currency","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\Currency","unique_for":"none","structure":true},"multiuserlookup":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\Multiselectlookup","request_supported":["action","create","delete","read","update"],"name":"multiuserlookup","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\Multiselectlookup","unique_for":"none","structure":true},"displayLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"lookup":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\Lookup","request_supported":["action","create","delete","read","update"],"name":"lookup","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\Lookup","unique_for":"none","structure":true},"length":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"length","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"pickListValuesSortedLexically":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"pick_list_values_sorted_lexically","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"sortable":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sortable","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"convertMapping":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\ConvertMapping","request_supported":["action","create","delete","read","update"],"name":"convert_mapping","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\ConvertMapping","unique_for":"none","structure":true},"multiModuleLookup":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\MultiModuleLookup","request_supported":["action","create","delete","read","update"],"name":"multi_module_lookup","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\MultiModuleLookup","unique_for":"none","structure":true},"massUpdate":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"mass_update","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"customizableProperties":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"customizable_properties","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},"autonumber":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\AutoNumber","request_supported":["action","create","delete","read","update"],"name":"autonumber","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\AutoNumber","unique_for":"none","structure":true},"uiType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"ui_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"formula":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\Formula","request_supported":["action","create","delete","read","update"],"name":"formula","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\Formula","unique_for":"none","structure":true},"category":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"category","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"multiselectlookup":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\Multiselectlookup","request_supported":["action","create","delete","read","update"],"name":"multiselectlookup","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\Multiselectlookup","unique_for":"none","structure":true},"columnName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"column_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\tags\\MergeWrapper":{"tags":{"response_supported":["action","create","delete","read","update"],"min_length":1,"request_supported":["action","create","delete","read","update"],"spec_type":"com.zoho.api.spec.template.type.TCollections","type":"List","unique_for":"none","structure":true,"structure_name":"com\\zoho\\crm\\api\\tags\\ConflictWrapper","sub_type":{"type":"com\\zoho\\crm\\api\\tags\\ConflictWrapper"},"name":"tags","required_for":"none","emptiable_for":"none","nullable_for":"none","max_length":1}},"com\\zoho\\crm\\api\\notes\\ResponseWrapper":{"data":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\notes\\Note","sub_type":{"type":"com\\zoho\\crm\\api\\notes\\Note"},"request_supported":["action","create","delete","read","update"],"name":"data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"info":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\notes\\Info","request_supported":["action","create","delete","read","update"],"name":"info","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\notes\\Info","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\usergroups\\ResponseWrapper":{"userGroups":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\usergroups\\Groups","sub_type":{"type":"com\\zoho\\crm\\api\\usergroups\\Groups"},"request_supported":["action","create","delete","read","update"],"name":"user_groups","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"info":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\usergroups\\Info","request_supported":["action","create","delete","read","update"],"name":"info","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\usergroups\\Info","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\webforms\\BodyWrapper":{"webforms":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\webforms\\WebForm","sub_type":{"type":"com\\zoho\\crm\\api\\webforms\\WebForm"},"request_supported":["action","create","delete","read","update"],"name":"webforms","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\appointmentpreference\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["Appointments preferences updated successfully"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\globalpicklists\\PickListValuesAssociation":{"resources":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\globalpicklists\\Resource","sub_type":{"type":"com\\zoho\\crm\\api\\globalpicklists\\Resource"},"request_supported":["action","create","delete","read","update"],"name":"resources","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\fields\\Private1":{"restricted":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"restricted","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"export":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"export","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\fieldmapdependency\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\record\\UpdateRecordUsingExternalIDHeader":{"XEXTERNAL":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"X-EXTERNAL","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\inventorytemplates\\User":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\modules\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\modules\\ActionWrapper","com\\zoho\\crm\\api\\modules\\APIException"],"interface":true},"com\\zoho\\crm\\api\\appointmentpreference\\Field":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\fields\\ShowFields":{"showData":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"show_data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"field":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\MinifiedField","request_supported":["action","create","delete","read","update"],"name":"field","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\MinifiedField","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\variables\\ActionWrapper":{"variables":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\variables\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\variables\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"variables","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\roles\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\roles\\APIException","com\\zoho\\crm\\api\\roles\\SuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\taxes\\OrgTax":{"preference":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\taxes\\Preference","request_supported":["action","create","delete","read","update"],"name":"preference","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\taxes\\Preference","unique_for":"none","structure":true},"taxes":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\taxes\\Tax","sub_type":{"type":"com\\zoho\\crm\\api\\taxes\\Tax"},"request_supported":["action","create","delete","read","update"],"name":"taxes","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\entityscores\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\entityscores\\APIException","com\\zoho\\crm\\api\\entityscores\\ResponseWrapper"],"interface":true},"com\\zoho\\crm\\api\\record\\GetDeletedRecordsParam":{"perPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"per_page","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"page":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"type","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\portalusertype\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\variables\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_DATA","MANDATORY_NOT_FOUND","EXPECTED_FIELD_MISSING","DUPLICATE_DATA","REQUIRED_PARAM_MISSING","JSON_PARSE_ERROR","PATTERN_NOT_MATCHED","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"regex","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\variables\\ErrorDetails","sub_type":{"type":"com\\zoho\\crm\\api\\variables\\ErrorDetails"},"request_supported":["action","create","delete","read","update"],"name":"expected_fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_path_index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"maximum_length","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"param_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\assignmentrules\\ResponseWrapper":{"assignmentRules":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\assignmentrules\\AssignmentRules","sub_type":{"type":"com\\zoho\\crm\\api\\assignmentrules\\AssignmentRules"},"request_supported":["action","create","delete","read","update"],"name":"assignment_rules","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\tags\\RemoveTagsFromMultipleRecordsParam":{"ids":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"ids","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\shifthours\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\shifthours\\APIException","com\\zoho\\crm\\api\\shifthours\\SuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\users\\Theme":{"newBackground":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"new_background","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"normalTab":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\Tab","request_supported":["action","create","delete","read","update"],"name":"normal_tab","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\Tab","unique_for":"none","structure":true},"background":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["#F3F0EB"],"name":"background","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"screen":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["fixed"],"name":"screen","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"selectedTab":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\Tab","request_supported":["action","create","delete","read","update"],"name":"selected_tab","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\Tab","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\recordlocking\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\recordlocking\\APIException","com\\zoho\\crm\\api\\recordlocking\\SuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\inventorymassconvert\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["EXPECTED_FIELD_MISSING","LIMIT_EXCEEDED","NO_PERMISSION","INVALID_DATA","MANDATORY_NOT_FOUND","REQUIRED_PARAM_MISSING","NOT_APPROVED","NOT_REVIEWED","AMBIGUITY_DURING_PROCESSING","ID_ALREADY_CONVERTED"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\inventorymassconvert\\ApinameJsonpathDetails","sub_type":{"type":"com\\zoho\\crm\\api\\inventorymassconvert\\ApinameJsonpathDetails"},"request_supported":["action","create","delete","read","update"],"name":"expected_fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":[50],"name":"limit","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\inventorymassconvert\\ApinameJsonpathDetails","sub_type":{"type":"com\\zoho\\crm\\api\\inventorymassconvert\\ApinameJsonpathDetails"},"request_supported":["action","create","delete","read","update"],"name":"limit_due_to","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_path_index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"permissions","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"maximum_length","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"supported_values","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"param_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\inventorymassconvert\\ApinameJsonpathDetails","sub_type":{"type":"com\\zoho\\crm\\api\\inventorymassconvert\\ApinameJsonpathDetails"},"request_supported":["action","create","delete","read","update"],"name":"ambiguity_due_to","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["Specify atleast one field","required field not found","id already converted","invalid data"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\scoringrules\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\scoringrules\\SuccessResponse","com\\zoho\\crm\\api\\scoringrules\\APIException"],"interface":true},"com\\zoho\\crm\\api\\massdeletecvid\\Status":{"failedCount":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Failed_Count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"deletedCount":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Deleted_Count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"totalCount":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Total_Count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["COMPLETED","RUNNING","FAILED"],"name":"Status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\fieldmapdependency\\PicklistMap":{"displayValue":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"actualValue":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"actual_value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"delete":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"_delete","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\bulkwrite\\UploadFileHeader":{"feature":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"feature","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"XCRMORG":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"X-CRM-ORG","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\massconvert\\MoveAttachmentsTo":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\attachments\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\attachments\\ResponseWrapper","com\\zoho\\crm\\api\\attachments\\FileBodyWrapper","com\\zoho\\crm\\api\\attachments\\APIException"],"interface":true},"com\\zoho\\crm\\api\\wizards\\ChartData":{"canvasWidth":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"canvas_width","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"nodes":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\wizards\\Node","sub_type":{"type":"com\\zoho\\crm\\api\\wizards\\Node"},"request_supported":["action","create","delete","read","update"],"name":"nodes","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"colorPalette":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\wizards\\ButtonBackground","request_supported":["action","create","delete","read","update"],"name":"color_palette","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\wizards\\ButtonBackground","unique_for":"none","structure":true},"connections":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\wizards\\Connection","sub_type":{"type":"com\\zoho\\crm\\api\\wizards\\Connection"},"request_supported":["action","create","delete","read","update"],"name":"connections","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"canvasHeight":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"canvas_height","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\recordlockingconfiguration\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["AMBIGUITY_DURING_PROCESSING","DEPENDENT_FIELD_MISSING","NOT_SUPPORTED","RECORD_LOCKED","INVALID_DATA","MANDATORY_NOT_FOUND","EXPECTED_FIELD_MISSING","LIMIT_EXCEEDED","INVALID_MODULE","REQUIRED_PARAM_MISSING"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"Object"},"request_supported":["action","create","delete","read","update"],"name":"ambiguity_due_to","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\recordlockingconfiguration\\Dependee","request_supported":["action","create","delete","read","update"],"name":"dependee","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\recordlockingconfiguration\\Dependee","unique_for":"none","structure":true},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"action","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"param_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"maximum_length","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_path_index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"supported_values","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"Object"},"request_supported":["action","create","delete","read","update"],"name":"expected_fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"limit","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"available_limit","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"param","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["Invalid data","required field not found"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\businesshours\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\businesshours\\APIException","com\\zoho\\crm\\api\\businesshours\\ActionWrapper"],"interface":true},"com\\zoho\\crm\\api\\usersterritories\\ActionWrappe":{"transferAndDelink":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\usersterritories\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\usersterritories\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"transfer_and_delink","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\fields\\Unique":{"casesensitive":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"casesensitive","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\portalusertype\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\portalusertype\\APIException","com\\zoho\\crm\\api\\portalusertype\\ActionWrapper"],"interface":true},"com\\zoho\\crm\\api\\globalpicklists\\AssociationsResponseHandler":{"classes":["com\\zoho\\crm\\api\\globalpicklists\\AssociationsResponseWrapper","com\\zoho\\crm\\api\\globalpicklists\\APIException"],"interface":true},"com\\zoho\\crm\\api\\users\\Tab":{"background":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["#222222"],"name":"background","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"fontColor":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["#FFFFFF"],"name":"font_color","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\customviews\\ChangeSortOrderOfCustomViewParam":{"module":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"module","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\record\\FileDetails":{"sizeS":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Size__s","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"fileIdS":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"File_Id__s","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"modifiedByS":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"Modified_By__s","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"createdByS":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"Created_By__s","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"ownerS":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"Owner__s","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"createdTimeS":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Created_Time__s","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"modifiedTimeS":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Modified_Time__s","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"delete":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"_delete","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"fileNameS":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"File_Name__s","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\globalpicklists\\GetAssociationsParam":{"perPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"per_page","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"page":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"includeInnerDetails":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"include_inner_details","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\modules\\ModuleFieldLookup":{"displayLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"module":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\modules\\MinifiedModule","request_supported":["action","create","delete","read","update"],"name":"module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\modules\\MinifiedModule","unique_for":"none","structure":true},"queryDetails":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\QueryDetails","request_supported":["action","create","delete","read","update"],"name":"query_details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\QueryDetails","unique_for":"none","structure":true},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"showFields":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\ShowFields","sub_type":{"type":"com\\zoho\\crm\\api\\fields\\ShowFields"},"request_supported":["action","create","delete","read","update"],"name":"show_fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"revalidateFilterDuringEdit":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"revalidate_filter_during_edit","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\blueprint\\NextTransition":{"criteriaMatched":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"criteria_matched","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\cancelmeetings\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\cancelmeetings\\ActionWrapper","com\\zoho\\crm\\api\\cancelmeetings\\APIException"],"interface":true},"com\\zoho\\crm\\api\\pipeline\\ActionWrapper":{"pipeline":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\pipeline\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\pipeline\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"pipeline","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\emailtemplates\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\emailtemplates\\ResponseWrapper","com\\zoho\\crm\\api\\emailtemplates\\APIException"],"interface":true},"com\\zoho\\crm\\api\\changeowner\\MassWrapper":{"owner":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\changeowner\\Owner","request_supported":["action","create","delete","read","update"],"name":"owner","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\changeowner\\Owner","unique_for":"none","structure":true},"relatedModules":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\changeowner\\RelatedModules","sub_type":{"type":"com\\zoho\\crm\\api\\changeowner\\RelatedModules"},"request_supported":["action","create","delete","read","update"],"name":"related_modules","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"ids":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"Long"},"request_supported":["action","create","delete","read","update"],"name":"ids","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},"notify":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"notify","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\webforms\\DeleteWebFormsParam":{"module":{"name":"module","type":"String","structure":false}},"com\\zoho\\crm\\api\\contactroles\\DeleteContactRolesParam":{"ids":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"ids","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\layouts\\DefaultView":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\wizards\\Message":{"title":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"title","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"content":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"content","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\webforms\\AssignmentRule":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\servicepreference\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\servicepreference\\APIException","com\\zoho\\crm\\api\\servicepreference\\ResponseWrapper"],"interface":true},"com\\zoho\\crm\\api\\sendmail\\Attachment":{"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\convertlead\\CarryOverTags":{"deals":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"Deals","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},"accounts":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"Accounts","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},"contacts":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"Contacts","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\coql\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\coql\\ResponseWrapper","com\\zoho\\crm\\api\\coql\\APIException"],"interface":true},"com\\zoho\\crm\\api\\territories\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\territories\\APIException","com\\zoho\\crm\\api\\territories\\SuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\unsubscribelinks\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\unsubscribelinks\\SuccessResponse","com\\zoho\\crm\\api\\unsubscribelinks\\APIException"],"interface":true},"com\\zoho\\crm\\api\\tags\\ExistingTagRequestWrapper":{"ids":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"Long"},"request_supported":["action","create","delete","read","update"],"name":"ids","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},"tags":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\tags\\ExistingTag","sub_type":{"type":"com\\zoho\\crm\\api\\tags\\ExistingTag"},"request_supported":["action","create","delete","read","update"],"name":"tags","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\massdeletecvid\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"job_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["record is deleted","mass delete scheduled successfully"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\fieldmapdependency\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\fieldmapdependency\\ActionWrapper","com\\zoho\\crm\\api\\fieldmapdependency\\APIException"],"interface":true},"com\\zoho\\crm\\api\\recordlockingconfiguration\\ResponseWrapper":{"recordLockingConfigurations":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\recordlockingconfiguration\\RecordLock","sub_type":{"type":"com\\zoho\\crm\\api\\recordlockingconfiguration\\RecordLock"},"request_supported":["action","create","delete","read","update"],"name":"record_locking_configurations","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\servicepreference\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_DATA","INTERNAL_SERVER_ERROR","MANDATORY_NOT_FOUND","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"com\\zoho\\crm\\api\\util\\Choice"},"request_supported":["action","create","delete","read","update"],"name":"supported_values","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\tags\\SuccessWrapper":{"tags":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\tags\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\tags\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"tags","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\record\\DeleteRecordParam":{"wfTrigger":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"wf_trigger","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\backup\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\backup\\ActionWrapper","com\\zoho\\crm\\api\\backup\\APIException"],"interface":true},"com\\zoho\\crm\\api\\usersterritories\\TransferActionResponse":{"classes":["com\\zoho\\crm\\api\\usersterritories\\SuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\inventorymassconvert\\RelatedModules":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\users\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\appointmentpreference\\Layout":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\appointmentpreference\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\appointmentpreference\\APIException","com\\zoho\\crm\\api\\appointmentpreference\\ActionWrapper"],"interface":true},"com\\zoho\\crm\\api\\masschangeowner\\Owner":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\assignmentrules\\DefaultAssignee":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\tags\\ConflictWrapper":{"conflictId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"conflict_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\bulkread\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["FIELD_IN_CRITERIA_NOT_SUPPORTED","FIELD_COMPARATOR_IN_CRITERIA_NOT_SUPPORTED","INVALID_REQUEST","INVALID_TOKEN","INVALID_URL_PATTERN","INVALID_REQUEST_METHOD","INVALID_SERVICE_NAME","INVALID_BULK_OPERATION","RESOURCE_NOT_FOUND","MEDIA_TYPE_NOT_SUPPORTED","REQUEST_BODY_NOT_READABLE","REQUEST_BODY_IS_EMPTY","MODULE_NOT_AVAILABLE","NOT_SUPPORTED_FEATURE","NO_PERMISSION","JOB_NOT_SUPPORTED","QUERY_NOT_SUPPORTED","JOIN_LIMIT_EXCEEDED","CRITERIA_NOT_SUPPORTED","INVALID_CRITERIA","CRITERIA_LIMIT_EXCEEDED","FIELD_AND_COMPARATOR_IN_CRITERIA_NOT_COMPATIBLE","FIELD_IN_CRITERIA_NOT_AVAILABLE","VALUE_IN_CRITERIA_NOT_SUPPORTED","FIELD_AND_VALUE_IN_CRITERIA_NOT_COMPATIBLE","COMPARATOR_AND_VALUE_IN_CRITERIA_NOT_COMPATIBLE","COMPARATOR_AND_ENCRYPTED_VALUE_IN_CRITERIA_NOT_COMPATIBLE","FIELD_NOT_AVAILABLE","FIELD_NOT_SUPPORTED","VALUE_LIMIT_EXCEEDED_IN_CRITERIA","PAGE_NOT_SUPPORTED","TOO_MANY_REQUESTS","CALLBACK_FAILURE","GROUP_OPERATOR_NOT_SUPPORTED","CVID_NOT_SUPPORTED","REQUEST_BODY_NOT_SUPPORTED","MODULE_NOT_SUPPORTED","INVALID_CALLBACK_METHOD","INVALID_CALLBACK_URL","AMBIGUOUS_CRITERIA","AMBIGUOUS_GROUP_IN_CRITERIA","VALUE_TYPE_NOT_SUPPORTED","PAGE_RANGE_EXCEEDED","BAD_REQUEST","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","Not Modified","AUTHENTICATION_FAILURE","MANDATORY_NOT_FOUND","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"comparator","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"supported","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"max_limit","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\blueprint\\Formula":{"expression":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expression","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"returnType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"return_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\layouts\\BodyWrapper":{"layouts":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\layouts\\Layouts","sub_type":{"type":"com\\zoho\\crm\\api\\layouts\\Layouts"},"request_supported":["action","create","delete","read","update"],"name":"layouts","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\currencies\\BaseCurrencyWrapper":{"baseCurrency":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\currencies\\BaseCurrency","request_supported":["action","create","delete","read","update"],"name":"base_currency","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\currencies\\BaseCurrency","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\associateemail\\ModuleMap":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\mailmerge\\SignActionWrapper":{"signMailMerge":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\mailmerge\\SignActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\mailmerge\\SignActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"sign_mail_merge","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\blueprint\\BluePrint":{"processInfo":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\blueprint\\ProcessInfo","request_supported":["action","create","delete","read","update"],"name":"process_info","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\blueprint\\ProcessInfo","unique_for":"none","structure":true},"data":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\record\\Record","request_supported":["action","create","delete","read","update"],"name":"data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\record\\Record","unique_for":"none","structure":true},"transitionId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"transition_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"transitions":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\blueprint\\Transition","sub_type":{"type":"com\\zoho\\crm\\api\\blueprint\\Transition"},"request_supported":["action","create","delete","read","update"],"name":"transitions","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\masschangeowner\\Territory":{"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"includeChild":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"include_child","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\relatedrecords\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\relatedrecords\\APIException","com\\zoho\\crm\\api\\relatedrecords\\SuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\fields\\PickListValue":{"displayValue":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"sequenceNumber":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sequence_number","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"maps":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\Maps","sub_type":{"type":"com\\zoho\\crm\\api\\fields\\Maps"},"request_supported":["action","create","delete","read","update"],"name":"maps","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"probability":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"probability","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"forecastCategory":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\ForecastCategory","request_supported":["action","create","delete","read","update"],"name":"forecast_category","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\ForecastCategory","unique_for":"none","structure":true},"actualValue":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"actual_value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"sysRefName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sys_ref_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"colourCode":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"colour_code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"expectedDataType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"forecastType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"forecast_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["used","unused"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\emaildrafts\\Template":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\usertypeusers\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"personality_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\territories\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\territories\\APIException","com\\zoho\\crm\\api\\territories\\ActionWrapper"],"interface":true},"com\\zoho\\crm\\api\\emaildrafts\\InventoryTemplate":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\massdeletecvid\\CvidBodyWrapper":{"cvid":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"cvid","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"territory":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\massdeletecvid\\Territory","request_supported":["action","create","delete","read","update"],"name":"territory","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\massdeletecvid\\Territory","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\wizards\\Field":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\fields\\MandatoryDetails":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"jsonPath":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\pipeline\\TransferPipelineActionHandler":{"classes":["com\\zoho\\crm\\api\\pipeline\\APIException","com\\zoho\\crm\\api\\pipeline\\TransferPipelineActionWrapper"],"interface":true},"com\\zoho\\crm\\api\\globalpicklists\\Module":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"pluralLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"plural_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\massconvert\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\massconvert\\APIException","com\\zoho\\crm\\api\\massconvert\\SuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\fields\\RollupSummary":{"expression":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\Expression","request_supported":["action","create","delete","read","update"],"name":"expression","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\Expression","unique_for":"none","structure":true},"basedOnModule":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\MinifiedField","request_supported":["action","create","delete","read","update"],"name":"based_on_module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\MinifiedField","unique_for":"none","structure":true},"relatedList":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\MinifiedField","request_supported":["action","create","delete","read","update"],"name":"related_list","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\MinifiedField","unique_for":"none","structure":true},"rollupBasedOn":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"rollup_based_on","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"returnType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"return_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\profiles\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\profiles\\ActionWrapper","com\\zoho\\crm\\api\\profiles\\SuccessResponse","com\\zoho\\crm\\api\\profiles\\APIException"],"interface":true},"com\\zoho\\crm\\api\\shifthours\\UpdateShiftHourHeader":{"xCrmOrg":{"name":"X-CRM-ORG","type":"String","structure":false}},"com\\zoho\\crm\\api\\massconvert\\RelatedModule":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\usertypeusers\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\usertypeusers\\ActionWrapper","com\\zoho\\crm\\api\\usertypeusers\\APIException"],"interface":true},"com\\zoho\\crm\\api\\shifthours\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\shifthours\\APIException","com\\zoho\\crm\\api\\shifthours\\ResponseWrapper"],"interface":true},"com\\zoho\\crm\\api\\customviews\\ChangeSortOrderOfCustomViewsParam":{"module":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"module","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\usersterritories\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\usersterritories\\APIException","com\\zoho\\crm\\api\\usersterritories\\SuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\associateemail\\ActionWrapper":{"emails":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\associateemail\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\associateemail\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"Emails","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\dealcontactroles\\ErrorDetails":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"jsonPath":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\record\\TimeRange":{"from":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"From","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"to":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"To","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\usertypeusers\\GetUsersOfUserTypeParam":{"filter":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"filter","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"type","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\fields\\ReferFromField":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\recordlocking\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\recordlocking\\APIException","com\\zoho\\crm\\api\\recordlocking\\ResponseWrapper"],"interface":true},"com\\zoho\\crm\\api\\usergroups\\GetSourcesParam":{"perPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"per_page","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"userType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"user_type","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"page":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"type","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\wizards\\ExemptedPortalUserType":{"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\assignmentrules\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_MODULE","REQUIRED_PARAM_MISSING","DUPLICATE_DATA","INVALID_DATA","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","MANDATORY_NOT_FOUND","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"param","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["the module name given seems to be invalid","One of the expected parameter is missing","the given assignment rule name already exists","the name given seems to be invalid","the id given seems to be invalid","the default_assignee given seems to be invalid"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\portalusertype\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\portalusertype\\APIException","com\\zoho\\crm\\api\\portalusertype\\SuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\fields\\GetFieldsParam":{"include":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"include","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"component":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"component","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"featureName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"feature_name","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"module":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"module","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"dataType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"data_type","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["used","unused","all"],"name":"type","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"layoutId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"layout_id","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\emailtemplates\\GetEmailTemplatesParam":{"module":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"module","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\usersterritories\\Territory":{"manager":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\usersterritories\\Manager","request_supported":["action","create","delete","read","update"],"name":"Manager","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\usersterritories\\Manager","unique_for":"none","structure":true},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"reportingTo":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\usersterritories\\Manager","request_supported":["action","create","delete","read","update"],"name":"Reporting_To","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\usersterritories\\Manager","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\appointmentpreference\\AppointmentPreference":{"dealRecordConfiguration":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\appointmentpreference\\DealRecordConfiguration","request_supported":["action","create","delete","read","update"],"name":"deal_record_configuration","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\appointmentpreference\\DealRecordConfiguration","unique_for":"none","structure":true},"whenAppointmentCompleted":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["do_not_create_deal","create_deal"],"name":"when_appointment_completed","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"allowBookingOutsideServiceAvailability":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"allow_booking_outside_service_availability","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"allowBookingOutsideBusinesshours":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"allow_booking_outside_businesshours","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"showJobSheet":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"show_job_sheet","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"whenDurationExceeds":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"when_duration_exceeds","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\hipaacompliance\\ActionWrapper":{"hipaaCompliance":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\hipaacompliance\\ActionResponse","request_supported":["action","create","delete","read","update"],"name":"hipaa_compliance","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","interface":true,"type":"com\\zoho\\crm\\api\\hipaacompliance\\ActionResponse","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\webforms\\Module":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"moduleName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"module_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\recordlockingconfiguration\\Field":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\sendmail\\LinkedRecord":{"module":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\sendmail\\LinkedModule","request_supported":["action","create","delete","read","update"],"name":"module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\sendmail\\LinkedModule","unique_for":"none","structure":true},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\currencies\\BaseCurrencyActionWrapper":{"baseCurrency":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\currencies\\BaseCurrencyActionResponse","request_supported":["action","create","delete","read","update"],"name":"base_currency","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","interface":true,"type":"com\\zoho\\crm\\api\\currencies\\BaseCurrencyActionResponse","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\contactroles\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["contact role added","contact role updated","contact role deleted"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\fields\\SharingProperties":{"sharePermission":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["full-access","read-write","read-only"],"name":"share_permission","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"schedulerStatus":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"scheduler_status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"sharePreferenceEnabled":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"share_preference_enabled","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\backup\\ResponseWrapper":{"backup":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\backup\\Backup","request_supported":["action","create","delete","read","update"],"name":"backup","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\backup\\Backup","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\findandmerge\\MergeData":{"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"fields":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\findandmerge\\DataFields","sub_type":{"type":"com\\zoho\\crm\\api\\findandmerge\\DataFields"},"request_supported":["action","create","delete","read","update"],"name":"_fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\fields\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\fields\\APIException","com\\zoho\\crm\\api\\fields\\ResponseWrapper"],"interface":true},"com\\zoho\\crm\\api\\portals\\ResponseWrapper":{"portals":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\portals\\Portals","sub_type":{"type":"com\\zoho\\crm\\api\\portals\\Portals"},"request_supported":["action","create","delete","read","update"],"name":"portals","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\shifthours\\BreakHours":{"sameAsEveryday":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"same_as_everyday","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"dailyTiming":{"response_supported":["action","create","delete","read","update"],"min_length":2,"request_supported":["action","create","delete","read","update"],"spec_type":"com.zoho.api.spec.template.type.TCollections","type":"List","unique_for":"none","structure":false,"sub_type":{"type":"LocalTime"},"name":"daily_timing","required_for":"none","emptiable_for":"none","nullable_for":"none","max_length":2},"breakDays":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"break_days","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},"customTiming":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\shifthours\\BreakCustomTiming","sub_type":{"type":"com\\zoho\\crm\\api\\shifthours\\BreakCustomTiming"},"request_supported":["action","create","delete","read","update"],"name":"custom_timing","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\reschedulehistory\\User":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"email":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"email","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\mailmerge\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\mailmerge\\APIException","com\\zoho\\crm\\api\\mailmerge\\ActionWrapper"],"interface":true},"com\\zoho\\crm\\api\\appointmentpreference\\FieldMappings":{"field":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\appointmentpreference\\Field","request_supported":["action","create","delete","read","update"],"name":"field","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\appointmentpreference\\Field","unique_for":"none","structure":true},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["static","merge_field"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"value":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\fieldmapdependency\\Child":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\territories\\AssociatedUsersCount":{"count":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"territory":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\territories\\MinifiedTerritory","request_supported":["action","create","delete","read","update"],"name":"territory","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\territories\\MinifiedTerritory","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\holidays\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\holidays\\APIException","com\\zoho\\crm\\api\\holidays\\ResponseWrapper"],"interface":true},"com\\zoho\\crm\\api\\features\\Feature":{"featureLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"feature_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"parentFeature":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\features\\Feature","request_supported":["action","create","delete","read","update"],"name":"parent_feature","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\features\\Feature","unique_for":"none","structure":true},"components":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\features\\Component","sub_type":{"type":"com\\zoho\\crm\\api\\features\\Component"},"request_supported":["action","create","delete","read","update"],"name":"components","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"details":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\features\\Detail","request_supported":["action","create","delete","read","update"],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\features\\Detail","unique_for":"none","structure":true},"moduleSupported":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"module_supported","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\timelines\\FieldHistory":{"pickListValues":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\timelines\\PicklistDetail","sub_type":{"type":"com\\zoho\\crm\\api\\timelines\\PicklistDetail"},"request_supported":["action","create","delete","read","update"],"name":"pick_list_values","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"dataType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"fieldLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"field_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"enableColourCode":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"enable_colour_code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"value":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\timelines\\FieldHistoryValue","request_supported":["action","create","delete","read","update"],"name":"_value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\timelines\\FieldHistoryValue","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\territories\\Criteria":{"comparator":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"comparator","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"groupOperator":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"group_operator","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"field":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\territories\\Field","request_supported":["action","create","delete","read","update"],"name":"field","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\territories\\Field","unique_for":"none","structure":true},"value":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TObject","nullable_for":"none","type":"Object","unique_for":"none","structure":false},"group":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\territories\\Criteria","sub_type":{"type":"com\\zoho\\crm\\api\\territories\\Criteria"},"request_supported":["action","create","delete","read","update"],"name":"group","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\record\\MassUpdateResponseWrapper":{"data":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\record\\MassUpdateResponse","sub_type":{"type":"com\\zoho\\crm\\api\\record\\MassUpdateResponse"},"request_supported":["action","create","delete","read","update"],"name":"data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\recordlocking\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"duplicateField":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"duplicate_field","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"action":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["insert","update"],"name":"action","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Modified_Time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"Modified_By","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Created_Time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"Created_By","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["The record has been converted successfully","record updated","record deleted","record added","photo uploaded successfully","Photo deleted","the territories data updated successfully","the territories are removed successfully"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\territories\\Territories":{"modifiedTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"modified_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"permissionType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["read_write_delete","read_only"],"name":"permission_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"manager":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\territories\\Manager","request_supported":["action","create","delete","read","update"],"name":"manager","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\territories\\Manager","unique_for":"none","structure":true},"description":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"description","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"accountRuleCriteria":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\territories\\Criteria","request_supported":["action","create","delete","read","update"],"name":"account_rule_criteria","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\territories\\Criteria","unique_for":"none","structure":true},"createdBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"created_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"createdTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"created_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"leadRuleCriteria":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\territories\\Criteria","request_supported":["action","create","delete","read","update"],"name":"lead_rule_criteria","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\territories\\Criteria","unique_for":"none","structure":true},"modifiedBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"modified_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"reportingTo":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\territories\\ReportingTo","request_supported":["action","create","delete","read","update"],"name":"reporting_to","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\territories\\ReportingTo","unique_for":"none","structure":true},"dealRuleCriteria":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\territories\\Criteria","request_supported":["action","create","delete","read","update"],"name":"deal_rule_criteria","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\territories\\Criteria","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\globalpicklists\\AssociationsResponseWrapper":{"associations":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\globalpicklists\\Association","sub_type":{"type":"com\\zoho\\crm\\api\\globalpicklists\\Association"},"request_supported":["action","create","delete","read","update"],"name":"associations","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"info":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\globalpicklists\\Info","request_supported":["action","create","delete","read","update"],"name":"info","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\globalpicklists\\Info","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\taxes\\ExpectedField":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"jsonPath":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\fieldmapdependency\\ResponseWrapper":{"mapDependency":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fieldmapdependency\\MapDependency","sub_type":{"type":"com\\zoho\\crm\\api\\fieldmapdependency\\MapDependency"},"request_supported":["action","create","delete","read","update"],"name":"map_dependency","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"info":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fieldmapdependency\\Info","request_supported":["action","create","delete","read","update"],"name":"info","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fieldmapdependency\\Info","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\pipeline\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\pipeline\\APIException","com\\zoho\\crm\\api\\pipeline\\SuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\recordlockingconfiguration\\Dependee":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"jsonPath":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\appointmentpreference\\ResponseWrapper":{"appointmentPreferences":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\appointmentpreference\\AppointmentPreference","request_supported":["action","create","delete","read","update"],"name":"appointment_preferences","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\appointmentpreference\\AppointmentPreference","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\usersterritories\\BodyWrapper":{"territories":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\usersterritories\\Territory","sub_type":{"type":"com\\zoho\\crm\\api\\usersterritories\\Territory"},"request_supported":["action","create","delete","read","update"],"name":"territories","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\portals\\ActionWrapper":{"portals":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\portals\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\portals\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"portals","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\layouts\\StaticValues":{"sequenceNumber":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sequence_number","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"value":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\notifications\\BodyWrapper":{"watch":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\notifications\\Notification","sub_type":{"type":"com\\zoho\\crm\\api\\notifications\\Notification"},"request_supported":["action","create","delete","read","update"],"name":"watch","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\customviews\\GetCustomViewParam":{"module":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"module","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\emailrelatedrecords\\ResponseWrapper":{"emails":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\emailrelatedrecords\\Email","sub_type":{"type":"com\\zoho\\crm\\api\\emailrelatedrecords\\Email"},"request_supported":["action","create","delete","read","update"],"name":"Emails","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"info":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\emailrelatedrecords\\Info","request_supported":["action","create","delete","read","update"],"name":"info","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\emailrelatedrecords\\Info","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\assignmentrules\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\emailrelatedrecords\\Field":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\portalinvite\\InviteUsersParam":{"userTypeId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"user_type_id","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"language":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["en_US","en_GB","bg_BG","zh_CN","zh_TW","hr_HR","ar_EG","in_ID","cs_CZ","da_DK","nl_NL","fr_FR","de_DE","hu_HU","","hi_IN","it_IT","ja_JP","pl_PL","pt_BR","pt_PT","ru_RU","es_ES","sv_SE","th_TH","tr_TR","vi_VN","ko_KR","iw_IL"],"name":"language","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["invite","reinvite"],"name":"type","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\webforms\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\webforms\\APIException","com\\zoho\\crm\\api\\webforms\\SuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\webforms\\Tags":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\portalinvite\\Portal":{"userTypeId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"user_type_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"language":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["en_US","en_GB","bg_BG","zh_CN","zh_TW","hr_HR","ar_EG","in_ID","cs_CZ","da_DK","nl_NL","fr_FR","de_DE","hu_HU","","hi_IN","it_IT","ja_JP","pl_PL","pt_BR","pt_PT","ru_RU","es_ES","sv_SE","th_TH","tr_TR","vi_VN","ko_KR","iw_IL"],"name":"language","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["invite","reinvite"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\pipeline\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\pipeline\\ResponseWrapper","com\\zoho\\crm\\api\\pipeline\\APIException"],"interface":true},"com\\zoho\\crm\\api\\assignmentrules\\GetAssignmentRulesParam":{"module":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"module","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\customviews\\CustomViews":{"modifiedTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"modified_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"criteria":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\customviews\\Criteria","request_supported":["action","create","delete","read","update"],"name":"criteria","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\customviews\\Criteria","unique_for":"none","structure":true},"module":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\customviews\\Owner","request_supported":["action","create","delete","read","update"],"name":"module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\customviews\\Owner","unique_for":"none","structure":true},"sharedTo":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\customviews\\SharedTo","sub_type":{"type":"com\\zoho\\crm\\api\\customviews\\SharedTo"},"request_supported":["action","create","delete","read","update"],"name":"shared_to","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"displayValue":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"lastAccessedTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"last_accessed_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"accessType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["public","only_to_me","shared"],"name":"access_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"offline":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"offline","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"default":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"default","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"systemName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"system_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"createdBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\customviews\\Owner","request_supported":["action","create","delete","read","update"],"name":"created_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\customviews\\Owner","unique_for":"none","structure":true},"sortOrder":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["asc","desc"],"name":"sort_order","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"createdTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"created_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"modifiedBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\customviews\\Owner","request_supported":["action","create","delete","read","update"],"name":"modified_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\customviews\\Owner","unique_for":"none","structure":true},"sortBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\customviews\\SortBy","request_supported":["action","create","delete","read","update"],"name":"sort_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\customviews\\SortBy","unique_for":"none","structure":true},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"category":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"category","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"systemDefined":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"system_defined","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"locked":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"locked","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"fields":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\customviews\\Fields","sub_type":{"type":"com\\zoho\\crm\\api\\customviews\\Fields"},"request_supported":["action","create","delete","read","update"],"name":"fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"favorite":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"favorite","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\massdeletecvid\\Territory":{"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"includeChild":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"include_child","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\pipeline\\TransferPipelineActionResponse":{"classes":["com\\zoho\\crm\\api\\pipeline\\APIException","com\\zoho\\crm\\api\\pipeline\\TransferPipelineSuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\scoringrules\\FieldRule":{"score":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"score","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"criteria":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\scoringrules\\Criteria","request_supported":["action","create","delete","read","update"],"name":"criteria","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\scoringrules\\Criteria","unique_for":"none","structure":true},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\tags\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["NOT_ALLOWED","INVALID_DATA","REQUIRED_PARAM_MISSING","INVALID_MODULE","DUPLICATE_DATA","EXPECTED_FIELD_MISSING","MANDATORY_NOT_FOUND","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\tags\\AssociatedPlaces","sub_type":{"type":"com\\zoho\\crm\\api\\tags\\AssociatedPlaces"},"request_supported":["action","create","delete","read","update"],"name":"associated_places","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"maximum_length","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_path_index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"param","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\tags\\ErrorDetails","sub_type":{"type":"com\\zoho\\crm\\api\\tags\\ErrorDetails"},"request_supported":["action","create","delete","read","update"],"name":"expected_fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["invalid data"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\shifthours\\Role":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\digest\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\digest\\APIException","com\\zoho\\crm\\api\\digest\\SuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\associateemail\\BodyWrapper":{"emails":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\associateemail\\AssociateEmail","sub_type":{"type":"com\\zoho\\crm\\api\\associateemail\\AssociateEmail"},"request_supported":["action","create","delete","read","update"],"name":"Emails","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\profiles\\ActionWrapper":{"profiles":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\profiles\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\profiles\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"profiles","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\convertlead\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\record\\Record","request_supported":["action","create","delete","read","update"],"name":"Contacts","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\record\\Record","unique_for":"none","structure":true},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\record\\Record","request_supported":["action","create","delete","read","update"],"name":"Deals","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\record\\Record","unique_for":"none","structure":true},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\record\\Record","request_supported":["action","create","delete","read","update"],"name":"Accounts","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\record\\Record","unique_for":"none","structure":true}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["The record has been converted successfully"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\webforms\\CreateWebFormsParam":{"module":{"name":"module","type":"String","structure":false}},"com\\zoho\\crm\\api\\emaildrafts\\ScheduleDetails":{"timezone":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"timezone","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TTimeZone","nullable_for":"none","type":"TimeZone","unique_for":"none","structure":false},"time":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"source":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"source","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\portals\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\portalsmeta\\Filters":{"displayLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\relatedrecords\\DelinkRecordsHeader":{"XEXTERNAL":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"X-EXTERNAL","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\record\\FileBodyWrapper":{"file":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"file","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TFile","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\StreamWrapper","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\usertypeusers\\TransferUsersOfAUserTypeParam":{"personalityIds":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"personality_ids","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"transferTo":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"transfer_To","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\tags\\RecordActionWrapper":{"lockedCount":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"locked_count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"data":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\tags\\RecordActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\tags\\RecordActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"successCount":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"success_count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"wfScheduler":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"wf_scheduler","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\scoringrules\\Field":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\fields\\FunctionParameter":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\servicepreference\\BodyWrapper":{"servicePreferences":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\servicepreference\\ServicePreference","request_supported":["action","create","delete","read","update"],"name":"service_preferences","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\servicepreference\\ServicePreference","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\mailmerge\\Signers":{"actionType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["sign","approve"],"name":"action_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"recipient":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\mailmerge\\Address","request_supported":["action","create","delete","read","update"],"name":"recipient","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\mailmerge\\Address","unique_for":"none","structure":true},"recipientName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"recipient_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\notifications\\Notification":{"resourceId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"deleteevents":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":[true],"name":"_delete_events","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"resourceName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"resourceUri":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_uri","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"channelExpiry":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"channel_expiry","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"token":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"token","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"notificationCondition":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\notifications\\NotificationCondition","sub_type":{"type":"com\\zoho\\crm\\api\\notifications\\NotificationCondition"},"request_supported":["action","create","delete","read","update"],"name":"notification_condition","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"notifyOnRelatedAction":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"notify_on_related_action","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"returnAffectedFieldValues":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"return_affected_field_values","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"notifyUrl":{"regex":"www[.][a-z]{5}zoho[.]com","response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"notify_url","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"fields":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"channelId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"channel_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"events":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"events","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\sendmail\\To":{"userName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"user_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"email":{"regex":"[a-z]{7}[@]zoho[.]com","response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"email","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\relatedrecords\\GetRelatedRecordHeader":{"IfModifiedSince":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"If-Modified-Since","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"XEXTERNAL":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"X-EXTERNAL","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\record\\GetRecordUsingExternalIDHeader":{"IfModifiedSince":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"If-Modified-Since","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"XEXTERNAL":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"X-EXTERNAL","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\businesshours\\UpdateBusinessHoursHeader":{"xCrmOrg":{"name":"X-CRM-ORG","type":"String","structure":false}},"com\\zoho\\crm\\api\\layouts\\MinifiedLayout":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\layouts\\Layouts":{"displayLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"modifiedTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"modified_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"createdFor":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"created_for","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"visible":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"visible","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"generatedType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"generated_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"actionsAllowed":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\layouts\\ActionsAllowed","request_supported":["action","create","delete","read","update"],"name":"actions_allowed","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\layouts\\ActionsAllowed","unique_for":"none","structure":true},"hasMoreProfiles":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"has_more_profiles","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"profiles":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\layouts\\Profiles","sub_type":{"type":"com\\zoho\\crm\\api\\layouts\\Profiles"},"request_supported":["action","create","delete","read","update"],"name":"profiles","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"source":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"source","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"showBusinessCard":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"show_business_card","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"sections":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\layouts\\Sections","sub_type":{"type":"com\\zoho\\crm\\api\\layouts\\Sections"},"request_supported":["action","create","delete","read","update"],"name":"sections","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"convertMapping":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\layouts\\ConvertMapping","request_supported":["action","create","delete","read","update"],"name":"convert_mapping","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\layouts\\ConvertMapping","unique_for":"none","structure":true},"displayType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"createdBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"created_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"createdTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"created_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"modifiedBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"modified_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\notes\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Modified_Time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"Modified_By","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Created_Time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"Created_By","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["record added","record updated","record deleted"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\fiscalyear\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\fiscalyear\\APIException","com\\zoho\\crm\\api\\fiscalyear\\SuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\userstransferdelete\\BodyWrapper":{"transferAndDelete":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"spec_type":"com.zoho.api.spec.template.type.TCollections","type":"List","unique_for":"none","structure":true,"structure_name":"com\\zoho\\crm\\api\\userstransferdelete\\TransferAndDelete","sub_type":{"type":"com\\zoho\\crm\\api\\userstransferdelete\\TransferAndDelete"},"name":"transfer_and_delete","required_for":"none","emptiable_for":"none","nullable_for":"none","max_length":1}},"com\\zoho\\crm\\api\\globalpicklists\\Field":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\reschedulehistory\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\reschedulehistory\\APIException","com\\zoho\\crm\\api\\reschedulehistory\\SuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\bulkwrite\\CallBack":{"method":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["post"],"name":"method","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"url":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"url","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\record\\DeleteRecordsParam":{"ids":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"ids","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"wfTrigger":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"wf_trigger","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\modules\\RelatedListProperties":{"sortOrder":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sort_order","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"sortBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\MinifiedField","request_supported":["action","create","delete","read","update"],"name":"sort_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\MinifiedField","unique_for":"none","structure":true},"fields":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\taxes\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["tax added","tax updated"," tax deleted"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\emailrelatedrecords\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\emailrelatedrecords\\ResponseWrapper","com\\zoho\\crm\\api\\emailrelatedrecords\\APIException"],"interface":true},"com\\zoho\\crm\\api\\roles\\Role":{"displayLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"forecastManager":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\roles\\ReportingTo","request_supported":["action","create","delete","read","update"],"name":"forecast_manager","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\roles\\ReportingTo","unique_for":"none","structure":true},"adminUser":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"admin_user","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"modifiedByS":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"modified_by__s","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"shareWithPeers":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"share_with_peers","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"createdByS":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"created_by__s","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"description":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"description","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"createdTimeS":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"created_time__s","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"modifiedTimeS":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"modified_time__s","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"reportingTo":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\roles\\ReportingTo","request_supported":["action","create","delete","read","update"],"name":"reporting_to","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\roles\\ReportingTo","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\iscsignature\\Signature":{"iscSignature":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"isc_signature","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TObject","nullable_for":"none","type":"Object","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\sharerecords\\Dependee":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"jsonPath":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\masschangeowner\\Field":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\unsubscribelinks\\ActionWrapper":{"unsubscribeLinks":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\unsubscribelinks\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\unsubscribelinks\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"unsubscribe_links","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\contactroles\\ContactRole":{"sequenceNumber":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sequence_number","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TSerial","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false,"max_length":50},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\pipeline\\UpdatePipelineParam":{"layoutId":{"name":"layout_id","type":"Long","structure":false}},"com\\zoho\\crm\\api\\fieldmapdependency\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\fieldmapdependency\\ResponseWrapper","com\\zoho\\crm\\api\\fieldmapdependency\\APIException"],"interface":true},"com\\zoho\\crm\\api\\mailmerge\\DownloadMailMerge":{"fileName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"file_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false,"max_length":255},"password":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"password","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"mailMergeTemplate":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\mailmerge\\MailMergeTemplate","request_supported":["action","create","delete","read","update"],"name":"mail_merge_template","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\mailmerge\\MailMergeTemplate","unique_for":"none","structure":true},"outputFormat":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["pdf","docx","html"],"name":"output_format","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\territories\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\digest\\Digest":{"recordId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"record_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"module":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\privacypreference\\Option":{"suboptions":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"suboptions","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"tooltip":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"tooltip","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\holidays\\Holiday":{"date":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"date","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDate","nullable_for":"none","type":"Date","unique_for":"none","structure":false},"year":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"year","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"shiftHour":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\holidays\\ShiftHour","request_supported":["action","create","delete","read","update"],"name":"shift_hour","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\holidays\\ShiftHour","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\notifications\\GetNotificationsParam":{"perPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"per_page","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"module":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"module","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"page":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"channelId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"channel_id","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\bulkwrite\\DefaultValue":{"module":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"value":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TObject","nullable_for":"none","type":"Object","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\emaildrafts\\ActionWrapper":{"emaildrafts":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\emaildrafts\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\emaildrafts\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"__email_drafts","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\wizards\\Transition":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\users\\BodyWrapper":{"users":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\Users","sub_type":{"type":"com\\zoho\\crm\\api\\users\\Users"},"request_supported":["action","create","delete","read","update"],"name":"users","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\record\\LineTax":{"displayName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"percentage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"percentage","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDouble","nullable_for":"none","type":"Float","unique_for":"none","structure":false},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"value":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDouble","nullable_for":"none","type":"Float","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\attachments\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_REQUEST","INVALID_DATA","INVALID_MODULE","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","MANDATORY_NOT_FOUND","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["invalid"],"name":"related_status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_path_index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\webforms\\Abtesting":{"module":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\webforms\\Module","request_supported":["action","create","delete","read","update"],"name":"module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\webforms\\Module","unique_for":"none","structure":true},"name":{"response_supported":["action","create","delete","read","update"],"structure_name":"String","request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":true},"id":{"response_supported":["action","create","delete","read","update"],"structure_name":"Long","request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":true},"status":{"response_supported":["action","create","delete","read","update"],"structure_name":"String","request_supported":["action","create","delete","read","update"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\blueprint\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_TOKEN","INVALID_URL_PATTERN","INVALID_REQUEST_METHOD","INVALID_DATA","RECORD_NOT_IN_PROCESS","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","Not Modified","AUTHENTICATION_FAILURE","MANDATORY_NOT_FOUND","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"info_message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"parent_api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["invalid oauth token","Please check if the URL trying to access is a correct one","The http request method type is not a valid one","invalid transition","invalid data","record not in process"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\digest\\ActionWrapper":{"digest":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\digest\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\digest\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"__digest","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\files\\UploadFilesParam":{"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"type","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\assignmentrules\\ActionWrapper":{"assignmentRules":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\assignmentrules\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\assignmentrules\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"assignment_rules","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\users\\MinifiedUser":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"email":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"email","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\masschangeowner\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\masschangeowner\\ActionWrapper","com\\zoho\\crm\\api\\masschangeowner\\APIException"],"interface":true},"com\\zoho\\crm\\api\\emailtemplates\\EmailTemplate":{"modifiedTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"modified_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"attachments":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\emailtemplates\\Attachment","sub_type":{"type":"com\\zoho\\crm\\api\\emailtemplates\\Attachment"},"request_supported":["action","create","delete","read","update"],"name":"attachments","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"subject":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"subject","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"consentLinked":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"consent_linked","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"module":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\inventorytemplates\\ModuleMap","request_supported":["action","create","delete","read","update"],"name":"module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\inventorytemplates\\ModuleMap","unique_for":"none","structure":true},"lastUsageTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"last_usage_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"editorMode":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"editor_mode","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"description":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"description","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"active":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"active","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"lastVersionStatistics":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\emailtemplates\\LastVersionStatistics","request_supported":["action","create","delete","read","update"],"name":"last_version_statistics","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\emailtemplates\\LastVersionStatistics","unique_for":"none","structure":true},"content":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"content","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"folder":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\inventorytemplates\\Folder","request_supported":["action","create","delete","read","update"],"name":"folder","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\inventorytemplates\\Folder","unique_for":"none","structure":true},"createdBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\inventorytemplates\\User","request_supported":["action","create","delete","read","update"],"name":"created_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\inventorytemplates\\User","unique_for":"none","structure":true},"mailContent":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"mail_content","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"associated":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"associated","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"createdTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"created_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"modifiedBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\inventorytemplates\\User","request_supported":["action","create","delete","read","update"],"name":"modified_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\inventorytemplates\\User","unique_for":"none","structure":true},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"category":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"category","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"favorite":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"favorite","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\shifthours\\Users":{"role":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\shifthours\\Role","request_supported":["action","create","delete","read","update"],"name":"role","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\shifthours\\Role","unique_for":"none","structure":true},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"effectiveFrom":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"effective_from","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDate","nullable_for":"none","type":"Date","unique_for":"none","structure":false},"email":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"email","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"zuid":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"zuid","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\taxes\\BodyWrapper":{"orgTaxes":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\taxes\\OrgTax","request_supported":["action","create","delete","read","update"],"name":"org_taxes","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\taxes\\OrgTax","unique_for":"none","structure":true,"max_length":100}},"com\\zoho\\crm\\api\\record\\Participants":{"modifiedTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Modified_Time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"createdBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"Created_By","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"invited":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"invited","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"createdTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Created_Time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"modifiedBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"Modified_By","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"tag":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\tags\\Tag","sub_type":{"type":"com\\zoho\\crm\\api\\tags\\Tag"},"request_supported":["action","create","delete","read","update"],"name":"Tag","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"email":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Email","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"participant":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"participant","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\fieldmapdependency\\GetMapDependenciesParam":{"perPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"per_page","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"module":{"name":"module","type":"String","structure":false},"page":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"filters":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"filters","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"layoutId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"layout_id","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\changeowner\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\changeowner\\APIException","com\\zoho\\crm\\api\\changeowner\\SuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\businesshours\\Resources":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\pipeline\\DPipeline":{"delete":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\pipeline\\Delete","request_supported":["action","create","delete","read","update"],"name":"_delete","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\pipeline\\Delete","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\tags\\Info":{"count":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"allowedCount":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"allowed_count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\pipeline\\ResponseWrapper":{"pipeline":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\pipeline\\Pipeline","sub_type":{"type":"com\\zoho\\crm\\api\\pipeline\\Pipeline"},"request_supported":["action","create","delete","read","update"],"name":"pipeline","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\modules\\Argument":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"value":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\pipeline\\Stages":{"from":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"from","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"to":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"to","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\notifications\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["NOT_SUBSCRIBED","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","MANDATORY_NOT_FOUND","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\massdeletecvid\\GetMassDeleteStatusParam":{"jobId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"job_id","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\massdeletecvid\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\massdeletecvid\\SuccessResponse","com\\zoho\\crm\\api\\massdeletecvid\\APIException"],"interface":true},"com\\zoho\\crm\\api\\userstransferdelete\\MoveSubordinate":{"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\contactroles\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INTERNAL_SERVER_ERROR","INVALID_DATA","REQUIRED_PARAM_MISSING","UNABLE_TO_PARSE_DATA_TYPE","MANDATORY_NOT_FOUND","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"maximum_length","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"param","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["invalid data","One of the expected parameter is missing","either the request body or parameters is in wrong format"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\emailcomposemeta\\FeaturesAvailable":{"emailCloudPicker":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":[true],"name":"EMAIL_CLOUD_PICKER","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"formIntegrationEnabled":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":[true],"name":"form_integration_enabled","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"islivedeskenabled":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":[true],"name":"isLiveDeskEnabled","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"subjectLineSuggestion":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"subject_line_suggestion","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"inlineComposeWindow":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":[true],"name":"inline_compose_window","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"bestTimeToContact":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":[true],"name":"best_time_to_contact","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"zsurveyEnabled":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":[true],"name":"zsurvey_enabled","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"oldComposeRevert":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"OLD_COMPOSE_REVERT","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"mandateunsublink":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"mandateUnsubLink","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"scheduleMail":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":[true],"name":"Schedule_Mail","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"unsubscribeLink":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":[true],"name":"UNSUBSCRIBE_LINK","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"attachment":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"ATTACHMENT","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"isprivacyenabled":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":[true],"name":"isPrivacyEnabled","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"autoSuggestion":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":[true],"name":"auto_suggestion","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"emailPreference":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"EMAIL_PREFERENCE","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"attachTeamdrive":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":[true],"name":"attach_teamdrive","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\record\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["NO_CONTENT","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","TERRITORY_NOT_ENABLED","DEPENDENT_FIELD_MISSING","EXPECTED_FIELD_MISSING","FEATURE_NOT_SUPPORTED","CONVERTED_RECORD","NOT_FOUND","NO_RECORDS_FOUND","NOT_APPROVED","LIMIT_EXCEEDED","ALREADY_SCHEDULED","CANNOT_PERFORM_ACTION","CANNOT_PROCESS","INTERNAL_ERROR","INVALID_TOKEN","INVALID_DATA","STORAGE_SPACE_EXCEEDED","MANDATORY_NOT_FOUND","NO_PERMISSION","INVALID_MODULE","NOT_SUPPORTED","PATTERN_NOT_MATCHED","OAUTH_SCOPE_MISMATCH","DUPLICATE_DATA","INVALID_QUERY","MAPPING_MISMATCH","ID_ALREADY_CONVERTED","FILE_SIZE_MORE_THAN_ALLOWED_SIZE","RECORD_IN_BLUEPRINT","INVALID_URL_PATTERN","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","CANNOT_DELETE","REQUIRED_PARAM_MISSING","DATA_MISMATCH","RECORD_LOCKED","BAD_REQUEST","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"permissions","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\record\\DuplicateRecord","request_supported":["action","create","delete","read","update"],"name":"duplicate_record","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\record\\DuplicateRecord","unique_for":"none","structure":true},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"param_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"maximum_length","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"mapped_field","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"reason","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"operator","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"allowed_count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"limit","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"parent_api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"param","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_path_index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"External","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["The record under merge is locked","the given id seems to be invalid","The record is not approved","The external ID of the lookup field or the Price Book is incorrect","The value of the external field is invalid.","There is no data for the ID specified or there is no matching record in the given module.","The external field contains duplicate data.","the territory feature is not enabled","Given Probability is not valid","duplicate territory id found","Given Territory id already exists for that record","User has no permission to assign this territory","Maximum limit of territories for that record exceeds","Invalid Sequence Number","Record insertion limit for Image upload field has been exceeded.","Record insertion limit has been exceeded.","The image format is invalid.","Dependent Fields missing","Specify Atleast one field","the id given seems to be invalid.","Already an Mass Action scheduler is runing for the given cvid","Scheduled Mass Operation feature is not available in your edition","can't update the converted record","Field cannot be updated in Scheduled Mass Update","Field is not visible","Field cannot be updated as it is associated with a validation rule.","Field cannot be updated as it is associated with a layout rule.This field cannot be updated in the Mass Update","Max field limit exceeded","Maximum lookup field limit in criteria exceeded","No field found","invalid oauth token","Please check if the URL trying to access is a correct one","The http request method type is not a valid one","The module name given seems to be invalid","Territory is not supported for the given module","Please check whether the input values are correct","invalid data","permission denied","Internal server error occurred.","duplicate data","required field not found","Layout doesn't contain the Pipeline","Pipeline doesn't contain the Stage","the id given seems to be invalid","record not deleted","record not deletable","Authentication failed","One of the expected parameter is missing","mandatory param missing","invalid query formed","id already converted","body","given id is invalid","Already a Mass Action scheduler is running for the given cvid","The record is in stop processing","The record is in blue print","no permission to perform an action on this record","Record count exceeded","record not approved","no record found to update","Field Edit Permission not given","Customview not accessible","Empty response","give contact id is mismatched with the data","give account id is mismatched with the data","Territory id which you are trying to remove was system assigned"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\mailmerge\\SignActionResponse":{"classes":["com\\zoho\\crm\\api\\mailmerge\\APIException","com\\zoho\\crm\\api\\mailmerge\\SuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\usersterritories\\TransferAndDelink":{"transferToUser":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\usersterritories\\TransferToUser","request_supported":["action","create","delete","read","update"],"name":"transfer_to_user","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\usersterritories\\TransferToUser","unique_for":"none","structure":true},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\fields\\HistoryTracking":{"module":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\HistoryTrackingModule","request_supported":["action","create","delete","read","update"],"name":"module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\HistoryTrackingModule","unique_for":"none","structure":true},"durationConfiguredField":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\modules\\MinifiedModule","request_supported":["action","create","delete","read","update"],"name":"duration_configured_field","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\modules\\MinifiedModule","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\customviews\\Translation":{"createdByMe":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"created_by_me","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"otherUsersViews":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"other_users_views","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"publicViews":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"public_views","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"sharedWithMe":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"shared_with_me","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\emailrelatedrecords\\Criteria":{"comparator":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["equal"],"name":"comparator","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"field":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\emailrelatedrecords\\Field","request_supported":["action","create","delete","read","update"],"name":"field","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\emailrelatedrecords\\Field","unique_for":"none","structure":true},"value":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\webforms\\GetWebformsPreviewParam":{"module":{"name":"module","type":"String","structure":false}},"com\\zoho\\crm\\api\\org\\HierarchyPreferences":{"strictlyReporting":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"strictly_reporting","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["Reporting_To_Hierarchy","Role_Hierarchy"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\roles\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_MODULE","REQUIRED_PARAM_MISSING","MANDATORY_NOT_FOUND","PATTERN_NOT_MATCHED","INVALID_DATA","DUPLICATE_DATA","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"param_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_path_index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"role_status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\fields\\Maps":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"pickListValues":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\PickListValue","sub_type":{"type":"com\\zoho\\crm\\api\\fields\\PickListValue"},"request_supported":["action","create","delete","read","update"],"name":"pick_list_values","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\sharerecords\\DeleteActionResponse":{"classes":["com\\zoho\\crm\\api\\sharerecords\\SuccessResponse","com\\zoho\\crm\\api\\sharerecords\\APIException"],"interface":true},"com\\zoho\\crm\\api\\usergroups\\BodyWrapper":{"userGroups":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\usergroups\\Groups","sub_type":{"type":"com\\zoho\\crm\\api\\usergroups\\Groups"},"request_supported":["action","create","delete","read","update"],"name":"user_groups","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\scoringrules\\BodyWrapper":{"scoringRules":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\scoringrules\\ScoringRule","sub_type":{"type":"com\\zoho\\crm\\api\\scoringrules\\ScoringRule"},"request_supported":["action","create","delete","read","update"],"name":"scoring_rules","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\convertlead\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\convertlead\\SuccessResponse","com\\zoho\\crm\\api\\convertlead\\APIException"],"interface":true},"com\\zoho\\crm\\api\\record\\PricingDetails":{"modifiedTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Modified_Time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"createdBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"Created_By","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"discount":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"discount","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDouble","nullable_for":"none","type":"Float","unique_for":"none","structure":false},"createdTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Created_Time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"modifiedBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"Modified_By","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"tag":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\tags\\Tag","sub_type":{"type":"com\\zoho\\crm\\api\\tags\\Tag"},"request_supported":["action","create","delete","read","update"],"name":"Tag","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"toRange":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"to_range","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDouble","nullable_for":"none","type":"Float","unique_for":"none","structure":false},"fromRange":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"from_range","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDouble","nullable_for":"none","type":"Float","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\usergroups\\AssociationResponse":{"resource":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\usergroups\\Resource","request_supported":["action","create","delete","read","update"],"name":"resource","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\usergroups\\Resource","unique_for":"none","structure":true},"detail":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\usergroups\\AssociationModule","request_supported":["action","create","delete","read","update"],"name":"detail","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\usergroups\\AssociationModule","unique_for":"none","structure":true},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\contactroles\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\contactroles\\ResponseWrapper","com\\zoho\\crm\\api\\contactroles\\APIException"],"interface":true},"com\\zoho\\crm\\api\\recordlocking\\LockedForS":{"module":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}],"name":"module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\unsubscribelinks\\AssociationsResponseHandler":{"classes":["com\\zoho\\crm\\api\\unsubscribelinks\\AssociationsResponseWrapper","com\\zoho\\crm\\api\\unsubscribelinks\\APIException"],"interface":true},"com\\zoho\\crm\\api\\definition\\Definition":{"rootElementName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"root_element_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"extradetails":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"extraDetails","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"properties":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\definition\\Property","sub_type":{"type":"com\\zoho\\crm\\api\\definition\\Property"},"request_supported":["action","create","delete","read","update"],"name":"properties","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\reschedulehistory\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\reschedulehistory\\APIException","com\\zoho\\crm\\api\\reschedulehistory\\ActionWrapper"],"interface":true},"com\\zoho\\crm\\api\\conversionoption\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\conversionoption\\APIException","com\\zoho\\crm\\api\\conversionoption\\ResponseWrapper"],"interface":true},"com\\zoho\\crm\\api\\backup\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\backup\\ResponseWrapper","com\\zoho\\crm\\api\\backup\\UrlsWrapper","com\\zoho\\crm\\api\\backup\\HistoryWrapper","com\\zoho\\crm\\api\\backup\\FileBodyWrapper","com\\zoho\\crm\\api\\backup\\APIException"],"interface":true},"com\\zoho\\crm\\api\\relatedrecords\\BodyWrapper":{"data":{"response_supported":["action","create","delete","read","update"],"min_length":1,"request_supported":["action","create","delete","read","update"],"spec_type":"com.zoho.api.spec.template.type.TCollections","type":"List","unique_for":"none","structure":true,"structure_name":"com\\zoho\\crm\\api\\record\\Record","sub_type":{"type":"com\\zoho\\crm\\api\\record\\Record"},"name":"data","required_for":"none","emptiable_for":"none","nullable_for":"none","max_length":100}},"com\\zoho\\crm\\api\\pipeline\\TransferPipelineActionWrapper":{"transferPipeline":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\pipeline\\TransferPipelineActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\pipeline\\TransferPipelineActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"transfer_pipeline","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\availablecurrencies\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\availablecurrencies\\ResponseWrapper","com\\zoho\\crm\\api\\availablecurrencies\\APIException"],"interface":true},"com\\zoho\\crm\\api\\downloadattachments\\FileBodyWrapper":{"file":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"file","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TFile","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\StreamWrapper","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\webforms\\Owner":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\inventorytemplates\\InventoryTemplates":{"modifiedTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"modified_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"module":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\inventorytemplates\\ModuleMap","request_supported":["action","create","delete","read","update"],"name":"module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\inventorytemplates\\ModuleMap","unique_for":"none","structure":true},"lastUsageTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"last_usage_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"editorMode":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"editor_mode","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"active":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"active","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"content":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"content","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"folder":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\inventorytemplates\\Folder","request_supported":["action","create","delete","read","update"],"name":"folder","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\inventorytemplates\\Folder","unique_for":"none","structure":true},"createdBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\inventorytemplates\\User","request_supported":["action","create","delete","read","update"],"name":"created_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\inventorytemplates\\User","unique_for":"none","structure":true},"mailContent":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"mail_content","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"createdTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"created_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"modifiedBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\inventorytemplates\\User","request_supported":["action","create","delete","read","update"],"name":"modified_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\inventorytemplates\\User","unique_for":"none","structure":true},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"category":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"category","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"favorite":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"favorite","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\record\\PriceBook":{"modifiedTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Modified_Time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"createdBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"Created_By","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"createdTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Created_Time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"modifiedBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"Modified_By","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"tag":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\tags\\Tag","sub_type":{"type":"com\\zoho\\crm\\api\\tags\\Tag"},"request_supported":["action","create","delete","read","update"],"name":"Tag","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\files\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\fromaddresses\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INTERNAL_SERVER_ERROR","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","MANDATORY_NOT_FOUND"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\record\\DeleteRecordHeader":{"XEXTERNAL":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"X-EXTERNAL","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\record\\Tax":{"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"value":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\profiles\\PermissionDetail":{"displayLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"module":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"customizable":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"customizable","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"enabled":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"enabled","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"parentPermissions":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"Long"},"request_supported":["action","create","delete","read","update"],"name":"parent_permissions","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\backup\\HISTORYParam":{"perPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"per_page","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"page":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\record\\CountHandler":{"classes":["com\\zoho\\crm\\api\\record\\CountWrapper","com\\zoho\\crm\\api\\record\\APIException"],"interface":true},"com\\zoho\\crm\\api\\holidays\\DeleteHolidayHeader":{"xCrmOrg":{"name":"X-CRM-ORG","type":"String","structure":false}},"com\\zoho\\crm\\api\\layouts\\GetLayoutParam":{"module":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"module","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\fields\\Crypt":{"mode":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"mode","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"column":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"column","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"encfldids":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"encFldIds","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},"table":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"table","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"notify":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"notify","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\conversionoption\\Field":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\shifthours\\ResponseWrapper":{"shiftHours":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\shifthours\\ShiftHours","sub_type":{"type":"com\\zoho\\crm\\api\\shifthours\\ShiftHours"},"request_supported":["action","create","delete","read","update"],"name":"shift_hours","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"shiftCount":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\shifthours\\ShiftCount","request_supported":["action","create","delete","read","update"],"name":"shift_count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\shifthours\\ShiftCount","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\timelines\\NameIdStructure":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\timelines\\Record":{"module":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\timelines\\Module","request_supported":["action","create","delete","read","update"],"name":"module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\timelines\\Module","unique_for":"none","structure":true},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\customviews\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\mailmerge\\ActionWrapper":{"sendMailMerge":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\mailmerge\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\mailmerge\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"send_mail_merge","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\features\\Limit":{"total":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"total","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"editionLimit":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"edition_limit","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\masschangeowner\\BodyWrapper":{"cvid":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"cvid","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"owner":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\masschangeowner\\Owner","request_supported":["action","create","delete","read","update"],"name":"owner","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\masschangeowner\\Owner","unique_for":"none","structure":true},"criteria":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\masschangeowner\\Criteria","request_supported":["action","create","delete","read","update"],"name":"criteria","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\masschangeowner\\Criteria","unique_for":"none","structure":true},"territory":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\masschangeowner\\Territory","request_supported":["action","create","delete","read","update"],"name":"territory","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\masschangeowner\\Territory","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\record\\MassUpdateResponseHandler":{"classes":["com\\zoho\\crm\\api\\record\\MassUpdateResponseWrapper","com\\zoho\\crm\\api\\record\\APIException"],"interface":true},"com\\zoho\\crm\\api\\emailtemplates\\ResponseWrapper":{"emailTemplates":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\emailtemplates\\EmailTemplate","sub_type":{"type":"com\\zoho\\crm\\api\\emailtemplates\\EmailTemplate"},"request_supported":["action","create","delete","read","update"],"name":"email_templates","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"info":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\emailtemplates\\Info","request_supported":["action","create","delete","read","update"],"name":"info","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\emailtemplates\\Info","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\usergroups\\AssociatedUserCount":{"associatedUsersCount":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\usergroups\\AssociatedUser","sub_type":{"type":"com\\zoho\\crm\\api\\usergroups\\AssociatedUser"},"request_supported":["action","create","delete","read","update"],"name":"associated_users_count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"info":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\usergroups\\Info","request_supported":["action","create","delete","read","update"],"name":"info","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\usergroups\\Info","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\usertypeusers\\StatusActionResponse":{"classes":["com\\zoho\\crm\\api\\usertypeusers\\SuccessResponse","com\\zoho\\crm\\api\\usertypeusers\\APIException"],"interface":true},"com\\zoho\\crm\\api\\blueprint\\MultiSelectLookup":{"displayLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"connectedlookupApiname":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"connectedlookup_apiname","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"lookupApiname":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"lookup_apiname","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"linkingModule":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"linking_module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\masschangeowner\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\masschangeowner\\ResponseWrapper","com\\zoho\\crm\\api\\masschangeowner\\APIException"],"interface":true},"com\\zoho\\crm\\api\\record\\MassUpdateActionHandler":{"classes":["com\\zoho\\crm\\api\\record\\APIException","com\\zoho\\crm\\api\\record\\MassUpdateActionWrapper"],"interface":true},"com\\zoho\\crm\\api\\webforms\\User":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\pipeline\\CreatePipelineParam":{"layoutId":{"name":"layout_id","type":"Long","structure":false}},"com\\zoho\\crm\\api\\associateemail\\From":{"userName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"user_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"email":{"regex":"[a-z]{7}[@]zoho[.]com","response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"email","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\businesshours\\BusinessHours":{"businessDays":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"com\\zoho\\crm\\api\\util\\Choice"},"request_supported":["action","create","delete","read","update"],"name":"business_days","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},"sameAsEveryday":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"same_as_everyday","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["24_by_7","24_by_5","custom"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"weekStartsOn":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"name":"week_starts_on","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"dailyTiming":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"daily_timing","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false,"max_length":2},"customTiming":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\businesshours\\BreakHoursCustomTiming","sub_type":{"type":"com\\zoho\\crm\\api\\businesshours\\BreakHoursCustomTiming"},"request_supported":["action","create","delete","read","update"],"name":"custom_timing","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\mailmerge\\MailMerge":{"bccEmail":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\mailmerge\\Address","sub_type":{"type":"com\\zoho\\crm\\api\\mailmerge\\Address"},"request_supported":["action","create","delete","read","update"],"name":"bcc_email","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"ccEmail":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\mailmerge\\Address","sub_type":{"type":"com\\zoho\\crm\\api\\mailmerge\\Address"},"request_supported":["action","create","delete","read","update"],"name":"cc_email","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"subject":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"subject","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"fromAddress":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\mailmerge\\Address","request_supported":["action","create","delete","read","update"],"name":"from_address","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\mailmerge\\Address","unique_for":"none","structure":true},"attachmentName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"attachment_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"mailMergeTemplate":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\mailmerge\\MailMergeTemplate","request_supported":["action","create","delete","read","update"],"name":"mail_merge_template","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\mailmerge\\MailMergeTemplate","unique_for":"none","structure":true},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"toAddress":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\mailmerge\\Address","sub_type":{"type":"com\\zoho\\crm\\api\\mailmerge\\Address"},"request_supported":["action","create","delete","read","update"],"name":"to_address","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\shifthours\\GetShiftHourHeader":{"xCrmOrg":{"name":"X-CRM-ORG","type":"String","structure":false}},"com\\zoho\\crm\\api\\scoringrules\\SignalRule":{"score":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"score","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"signal":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\scoringrules\\Signal","request_supported":["action","create","delete","read","update"],"name":"signal","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\scoringrules\\Signal","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\sharerecords\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\sharerecords\\ResponseWrapper","com\\zoho\\crm\\api\\sharerecords\\APIException"],"interface":true},"com\\zoho\\crm\\api\\record\\GetDeletedRecordsHeader":{"IfModifiedSince":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"If-Modified-Since","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\globalpicklists\\BodyWrapper":{"globalPicklists":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\globalpicklists\\Picklist","sub_type":{"type":"com\\zoho\\crm\\api\\globalpicklists\\Picklist"},"request_supported":["action","create","delete","read","update"],"name":"global_picklists","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\usersunavailability\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_DATA","MANDATORY_NOT_FOUND","UNABLE_TO_PARSE_DATA_TYPE","PATTERN_NOT_MATCHED","INVALID_URL_PATTERN","INVALID_MODULE","INVALID_TOKEN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"maximum_length","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"param_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_path_index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["required field not found","either the request body or parameters is in wrong format","Ids should be Long value with comma separated","Please check whether the input values are correct","Please check if the URL trying to access is a correct one"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\tags\\RecordSuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\tags\\RecordDetailTag","sub_type":{"type":"com\\zoho\\crm\\api\\tags\\RecordDetailTag"},"request_supported":["action","create","delete","read","update"],"name":"tags","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\fields\\RollupCriteria":{"comparator":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"comparator","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"field":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\MinifiedField","request_supported":["action","create","delete","read","update"],"name":"field","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\MinifiedField","unique_for":"none","structure":true},"value":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TObject","nullable_for":"none","type":"Object","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\recordlocking\\GetRecordLockingInformationParam":{"fields":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"fields","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\users\\ActionWrapper":{"users":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\users\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"users","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\globalpicklists\\Info":{"perPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"per_page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"moreRecords":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"more_records","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"count":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"page":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\sendmail\\Owner":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\fieldmapdependency\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["MANDATORY_NOT_FOUND","INVALID_MODULE","REQUIRED_PARAM_MISSING","NOT_SUPPORTED","INVALID_DATA","INVALID_URL_PATTERN","INVALID_TOKEN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"param","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_path_index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\wizards\\Button":{"displayLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"sequenceNumber":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sequence_number","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"backgroundColor":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"background_color","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"color":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"color","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"shape":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"shape","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"visibility":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"visibility","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"resource":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TObject","nullable_for":"none","type":"Object","unique_for":"none","structure":false},"criteria":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\wizards\\Criteria","request_supported":["action","create","delete","read","update"],"name":"criteria","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\wizards\\Criteria","unique_for":"none","structure":true},"targetScreen":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\wizards\\Screen","request_supported":["action","create","delete","read","update"],"name":"target_screen","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\wizards\\Screen","unique_for":"none","structure":true},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\wizards\\Message","request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\wizards\\Message","unique_for":"none","structure":true},"transition":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\wizards\\Transition","request_supported":["action","create","delete","read","update"],"name":"transition","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\wizards\\Transition","unique_for":"none","structure":true},"referenceId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"reference_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"category":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"category","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\bulkread\\Query":{"cvid":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"cvid","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"criteria":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\bulkread\\Criteria","request_supported":["action","create","delete","read","update"],"name":"criteria","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\bulkread\\Criteria","unique_for":"none","structure":true},"module":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\modules\\MinifiedModule","request_supported":["action","create","delete","read","update"],"name":"module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\modules\\MinifiedModule","unique_for":"none","structure":true},"page":{"regex":"[1-9]|[1-4][1-9]|50","response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"fields":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},"fileType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["ics"],"name":"file_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\fieldmapdependency\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\fieldmapdependency\\APIException","com\\zoho\\crm\\api\\fieldmapdependency\\SuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\tags\\RecordActionResponse":{"classes":["com\\zoho\\crm\\api\\tags\\APIException","com\\zoho\\crm\\api\\tags\\RecordSuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\emaildrafts\\InventoryDetails":{"inventoryTemplate":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\emaildrafts\\InventoryTemplate","request_supported":["action","create","delete","read","update"],"name":"inventory_template","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\emaildrafts\\InventoryTemplate","unique_for":"none","structure":true},"paperType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"paper_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"record":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\record\\Record","request_supported":["action","create","delete","read","update"],"name":"record","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\record\\Record","unique_for":"none","structure":true},"viewType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"view_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\associateemail\\LinkedRecord":{"module":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\associateemail\\ModuleMap","request_supported":["action","create","delete","read","update"],"name":"module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\associateemail\\ModuleMap","unique_for":"none","structure":true},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\assignmentrules\\GetAssignmentRuleParam":{"module":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"module","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\territoryusers\\ActionWrapper":{"users":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\territoryusers\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\territoryusers\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"users","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\businesshours\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\businesshours\\ResponseWrapper","com\\zoho\\crm\\api\\businesshours\\APIException"],"interface":true},"com\\zoho\\crm\\api\\features\\GetFeatureDetailsParam":{"module":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"module","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"apiNames":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_names","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\usersunavailability\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["Unavailability Hours saved successfully"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\sendmail\\DataSubjectRequest":{"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\templates\\Folder":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\businesshours\\ActionWrapper":{"businessHours":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\businesshours\\ActionResponse","request_supported":["action","create","delete","read","update"],"name":"business_hours","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","interface":true,"type":"com\\zoho\\crm\\api\\businesshours\\ActionResponse","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\bulkread\\ActionWrapper":{"data":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\bulkread\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\bulkread\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"info":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"info","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\usersterritories\\Manager":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\blueprint\\ProcessInfo":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"fieldName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"field_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"escalation":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\blueprint\\Escalation","request_supported":["action","create","delete","read","update"],"name":"escalation","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\blueprint\\Escalation","unique_for":"none","structure":true},"continuous":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"continuous","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"fieldLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"field_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"isContinuous":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"is_continuous","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"fieldValue":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"field_value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"fieldId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"field_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLong","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"columnName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"column_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\mailmerge\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["MANDATORY_NOT_FOUND","INVALID_DATA","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_path_index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"supported_values","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"regex","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\relatedlists\\Field":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\customviews\\ResponseWrapper":{"customViews":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\customviews\\CustomViews","sub_type":{"type":"com\\zoho\\crm\\api\\customviews\\CustomViews"},"request_supported":["action","create","delete","read","update"],"name":"custom_views","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"info":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\customviews\\Info","request_supported":["action","create","delete","read","update"],"name":"info","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\customviews\\Info","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\timelines\\RelatedRecord":{"module":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\timelines\\NameIdStructure","request_supported":["action","create","delete","read","update"],"name":"module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\timelines\\NameIdStructure","unique_for":"none","structure":true},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\usergroups\\UserGroup":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\scoringrules\\ScoringRule":{"layout":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\scoringrules\\Layout","request_supported":["action","create","delete","read","update"],"name":"layout","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\scoringrules\\Layout","unique_for":"none","structure":true},"modifiedTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"modified_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"createdBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"created_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"fieldRules":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\scoringrules\\FieldRule","sub_type":{"type":"com\\zoho\\crm\\api\\scoringrules\\FieldRule"},"request_supported":["action","create","delete","read","update"],"name":"field_rules","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"module":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\modules\\Modules","request_supported":["action","create","delete","read","update"],"name":"module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\modules\\Modules","unique_for":"none","structure":true},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false,"max_length":25},"signalRules":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\scoringrules\\SignalRule","sub_type":{"type":"com\\zoho\\crm\\api\\scoringrules\\SignalRule"},"request_supported":["action","create","delete","read","update"],"name":"signal_rules","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"description":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"description","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false,"max_length":500},"createdTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"created_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"active":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"active","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"modifiedBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"modified_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\taxes\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\taxes\\ActionWrapper","com\\zoho\\crm\\api\\taxes\\APIException"],"interface":true},"com\\zoho\\crm\\api\\usersunavailability\\GetUserUnavailabilityParam":{"filters":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"filters","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"includeInnerDetails":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"include_inner_details","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\customviews\\BodyWrapper":{"customViews":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\customviews\\CustomViews","sub_type":{"type":"com\\zoho\\crm\\api\\customviews\\CustomViews"},"request_supported":["action","create","delete","read","update"],"name":"custom_views","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\convertlead\\LeadConverter":{"addToExistingRecord":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":[true],"name":"add_to_existing_record","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"notifyLeadOwner":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"notify_lead_owner","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"notifyNewEntityOwner":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"notify_new_entity_owner","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"deals":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\record\\Record","request_supported":["action","create","delete","read","update"],"module":"Deals","name":"Deals","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\record\\Record","unique_for":"none","structure":true},"accounts":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\record\\Record","request_supported":["action","create","delete","read","update"],"name":"Accounts","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\record\\Record","unique_for":"none","structure":true},"carryOverTags":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\convertlead\\CarryOverTags","request_supported":["action","create","delete","read","update"],"name":"carry_over_tags","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\convertlead\\CarryOverTags","unique_for":"none","structure":true},"overwrite":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"overwrite","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"contacts":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\record\\Record","request_supported":["action","create","delete","read","update"],"name":"Contacts","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\record\\Record","unique_for":"none","structure":true},"assignTo":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"assign_to","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"moveAttachmentsTo":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\convertlead\\MoveAttachmentsTo","request_supported":["action","create","delete","read","update"],"name":"move_attachments_to","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\convertlead\\MoveAttachmentsTo","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\territories\\Info":{"perPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"per_page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"moreRecords":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"more_records","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"count":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"page":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\record\\SearchRecordsHeader":{"XEXTERNAL":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"X-EXTERNAL","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\webforms\\AcknowledgeVisitor":{"autoResponseRule":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\webforms\\AutoResponseRule","request_supported":["action","create","delete","read","update"],"name":"auto_response_rule","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\webforms\\AutoResponseRule","unique_for":"none","structure":true},"templateId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"template_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\portalusertype\\BodyWrapper":{"userType":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\portalusertype\\UserType","sub_type":{"type":"com\\zoho\\crm\\api\\portalusertype\\UserType"},"request_supported":["action","create","delete","read","update"],"name":"user_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\util\\Model":{"classes":["com\\zoho\\crm\\api\\attachments\\SuccessResponse","com\\zoho\\crm\\api\\contactroles\\ResponseWrapper","com\\zoho\\crm\\api\\holidays\\CreateBusinessHoliday","com\\zoho\\crm\\api\\inventorymassconvert\\RelatedModules","com\\zoho\\crm\\api\\shifthours\\BodyWrapper","com\\zoho\\crm\\api\\fieldmapdependency\\Child","com\\zoho\\crm\\api\\territories\\APIException","com\\zoho\\crm\\api\\fieldmapdependency\\Info","com\\zoho\\crm\\api\\wizards\\Segment","com\\zoho\\crm\\api\\pipeline\\TPipeline","com\\zoho\\crm\\api\\emailrelatedrecords\\Attachments","com\\zoho\\crm\\api\\massdeletecvid\\SuccessResponse","com\\zoho\\crm\\api\\usersunavailability\\ActionWrapper","com\\zoho\\crm\\api\\usergroups\\Jobs","com\\zoho\\crm\\api\\scoringrules\\ActionWrapper","com\\zoho\\crm\\api\\fields\\Expression","com\\zoho\\crm\\api\\privacyconfigurableapps\\Wrapper","com\\zoho\\crm\\api\\tags\\ResponseWrapper","com\\zoho\\crm\\api\\fields\\APIException","com\\zoho\\crm\\api\\backup\\ResponseWrapper","com\\zoho\\crm\\api\\notes\\ActionWrapper","com\\zoho\\crm\\api\\usertypeusers\\SuccessResponse","com\\zoho\\crm\\api\\currencies\\BaseCurrency","com\\zoho\\crm\\api\\iscsignature\\Signature","com\\zoho\\crm\\api\\recordlockingconfiguration\\ResponseWrapper","com\\zoho\\crm\\api\\modules\\ActionWrapper","com\\zoho\\crm\\api\\appointmentpreference\\DealRecordConfiguration","com\\zoho\\crm\\api\\features\\ResponseWrapper","com\\zoho\\crm\\api\\territories\\ResponseWrapper","com\\zoho\\crm\\api\\fields\\PickListValue","com\\zoho\\crm\\api\\tags\\ActionWrapper","com\\zoho\\crm\\api\\assignmentrules\\DefaultAssignee","com\\zoho\\crm\\api\\layouts\\Layouts","com\\zoho\\crm\\api\\timelines\\NameIdStructure","com\\zoho\\crm\\api\\mailmerge\\SignActionWrapper","com\\zoho\\crm\\api\\massconvert\\ResponseWrapper","com\\zoho\\crm\\api\\userstransferdelete\\BodyWrapper","com\\zoho\\crm\\api\\scoringrules\\Criteria","com\\zoho\\crm\\api\\fields\\Formula","com\\zoho\\crm\\api\\usergroups\\BodyWrapper","com\\zoho\\crm\\api\\changeowner\\APIException","com\\zoho\\crm\\api\\holidays\\ShiftHour","com\\zoho\\crm\\api\\taxes\\ActionWrapper","com\\zoho\\crm\\api\\definition\\APIException","com\\zoho\\crm\\api\\record\\FileDetails","com\\zoho\\crm\\api\\usergroups\\SourcesCount","com\\zoho\\crm\\api\\servicepreference\\BodyWrapper","com\\zoho\\crm\\api\\wizards\\ButtonBackground","com\\zoho\\crm\\api\\sendmail\\Cc","com\\zoho\\crm\\api\\recordlocking\\ActionWrapper","com\\zoho\\crm\\api\\recordlocking\\APIException","com\\zoho\\crm\\api\\usersterritories\\TransferToUser","com\\zoho\\crm\\api\\holidays\\Holiday","com\\zoho\\crm\\api\\pipeline\\TransferPipelineWrapper","com\\zoho\\crm\\api\\record\\MultiSelectLookup","com\\zoho\\crm\\api\\blueprint\\ProcessInfo","com\\zoho\\crm\\api\\timelines\\FieldHistoryValue","com\\zoho\\crm\\api\\associateemail\\BodyWrapper","com\\zoho\\crm\\api\\emailcomposemeta\\FeaturesAvailable","com\\zoho\\crm\\api\\convertlead\\LeadConverter","com\\zoho\\crm\\api\\fields\\Subform","com\\zoho\\crm\\api\\privacypreference\\Wrapper","com\\zoho\\crm\\api\\fields\\HistoryTracking","com\\zoho\\crm\\api\\files\\BodyWrapper","com\\zoho\\crm\\api\\recordlockingconfiguration\\LockExcludedProfile","com\\zoho\\crm\\api\\appointmentpreference\\Field","com\\zoho\\crm\\api\\unsubscribelinks\\ResponseWrapper","com\\zoho\\crm\\api\\shifthours\\BreakCustomTiming","com\\zoho\\crm\\api\\emailtemplates\\Attachment","com\\zoho\\crm\\api\\inventorytemplates\\ModuleMap","com\\zoho\\crm\\api\\users\\AssociatedGroupsWrapper","com\\zoho\\crm\\api\\record\\PriceBook","com\\zoho\\crm\\api\\pipeline\\DPipelineWrapper","com\\zoho\\crm\\api\\bulkread\\JobDetail","com\\zoho\\crm\\api\\webforms\\User","com\\zoho\\crm\\api\\timelines\\PicklistDetail","com\\zoho\\crm\\api\\currencies\\APIException","com\\zoho\\crm\\api\\fields\\Lookup","com\\zoho\\crm\\api\\changeowner\\MassWrapper","com\\zoho\\crm\\api\\entityscores\\Entity","com\\zoho\\crm\\api\\layouts\\ActionsAllowed","com\\zoho\\crm\\api\\fields\\Textarea","com\\zoho\\crm\\api\\webforms\\ButtonAttributes","com\\zoho\\crm\\api\\associateemail\\ActionWrapper","com\\zoho\\crm\\api\\fields\\SuccessResponse","com\\zoho\\crm\\api\\globalpicklists\\Resource","com\\zoho\\crm\\api\\portals\\ResponseWrapper","com\\zoho\\crm\\api\\tags\\APIException","com\\zoho\\crm\\api\\usertypeusers\\Info","com\\zoho\\crm\\api\\reschedulehistory\\APIException","com\\zoho\\crm\\api\\reschedulehistory\\AppointmentName","com\\zoho\\crm\\api\\cancelmeetings\\SuccessResponse","com\\zoho\\crm\\api\\globalpicklists\\AssociationsResponseWrapper","com\\zoho\\crm\\api\\webforms\\BodyWrapper","com\\zoho\\crm\\api\\usergroups\\AssociationModule","com\\zoho\\crm\\api\\emailtemplates\\LastVersionStatistics","com\\zoho\\crm\\api\\emailsharingdetails\\ShareFromUser","com\\zoho\\crm\\api\\territories\\TransferBodyWrapper","com\\zoho\\crm\\api\\users\\ResponseWrapper","com\\zoho\\crm\\api\\record\\Tax","com\\zoho\\crm\\api\\layouts\\ConvertMapping","com\\zoho\\crm\\api\\record\\DeletedRecord","com\\zoho\\crm\\api\\usergroups\\UserGroup","com\\zoho\\crm\\api\\unsubscribelinks\\AssociationDetails","com\\zoho\\crm\\api\\backup\\UrlsWrapper","com\\zoho\\crm\\api\\unsubscribelinks\\UnsubscribeLinks","com\\zoho\\crm\\api\\downloadinlineimages\\FileBodyWrapper","com\\zoho\\crm\\api\\massconvert\\RelatedModule","com\\zoho\\crm\\api\\layouts\\ActionWrapper","com\\zoho\\crm\\api\\holidays\\APIException","com\\zoho\\crm\\api\\massconvert\\AssignTo","com\\zoho\\crm\\api\\notes\\ResponseWrapper","com\\zoho\\crm\\api\\bulkread\\SuccessResponse","com\\zoho\\crm\\api\\businesshours\\Features","com\\zoho\\crm\\api\\taxes\\OrgTax","com\\zoho\\crm\\api\\record\\ActionWrapper","com\\zoho\\crm\\api\\timelines\\AutomationDetail","com\\zoho\\crm\\api\\bulkwrite\\Result","com\\zoho\\crm\\api\\mailmerge\\SignMailMerge","com\\zoho\\crm\\api\\templates\\Templates","com\\zoho\\crm\\api\\notes\\APIException","com\\zoho\\crm\\api\\fields\\HistoryTrackingModule","com\\zoho\\crm\\api\\recordlockingconfiguration\\BodyWrapper","com\\zoho\\crm\\api\\portals\\Portals","com\\zoho\\crm\\api\\fieldmapdependency\\ActionWrapper","com\\zoho\\crm\\api\\customviews\\PinFields","com\\zoho\\crm\\api\\profiles\\DefaultView","com\\zoho\\crm\\api\\shifthours\\BreakHours","com\\zoho\\crm\\api\\emailrelatedrecords\\UserDetails","com\\zoho\\crm\\api\\inventorytemplates\\Info","com\\zoho\\crm\\api\\inventorymassconvert\\SuccessResponse","com\\zoho\\crm\\api\\record\\RecurringActivity","com\\zoho\\crm\\api\\profiles\\ActionWrapper","com\\zoho\\crm\\api\\massdeletecvid\\RecordIdBodyWrapper","com\\zoho\\crm\\api\\roles\\APIException","com\\zoho\\crm\\api\\profiles\\Section","com\\zoho\\crm\\api\\blueprint\\Currency","com\\zoho\\crm\\api\\portalusertype\\Modules","com\\zoho\\crm\\api\\portalusertype\\Owner","com\\zoho\\crm\\api\\portalsmeta\\Layouts","com\\zoho\\crm\\api\\reschedulehistory\\Info","com\\zoho\\crm\\api\\mailmerge\\Address","com\\zoho\\crm\\api\\inventoryconvert\\InventoryConverter","com\\zoho\\crm\\api\\backup\\Backup","com\\zoho\\crm\\api\\userstransferdelete\\ResponseWrapper","com\\zoho\\crm\\api\\fields\\ReferFromField","com\\zoho\\crm\\api\\webforms\\Owner","com\\zoho\\crm\\api\\org\\ResponseWrapper","com\\zoho\\crm\\api\\profiles\\CategoryModule","com\\zoho\\crm\\api\\layouts\\ResponseWrapper","com\\zoho\\crm\\api\\usersterritories\\Territory","com\\zoho\\crm\\api\\usersunavailability\\User","com\\zoho\\crm\\api\\convertlead\\BodyWrapper","com\\zoho\\crm\\api\\availablecurrencies\\ResponseWrapper","com\\zoho\\crm\\api\\fields\\Crypt","com\\zoho\\crm\\api\\org\\HierarchyPreferences","com\\zoho\\crm\\api\\fields\\OperationType","com\\zoho\\crm\\api\\emaildrafts\\ResponseWrapper","com\\zoho\\crm\\api\\fields\\FunctionParameter","com\\zoho\\crm\\api\\unsubscribelinks\\AssociatedPlaces","com\\zoho\\crm\\api\\emailcomposemeta\\Data","com\\zoho\\crm\\api\\tags\\SuccessWrapper","com\\zoho\\crm\\api\\blueprint\\Layout","com\\zoho\\crm\\api\\portalusertype\\PersonalityModule","com\\zoho\\crm\\api\\layouts\\DealLayoutMapping","com\\zoho\\crm\\api\\dealcontactroles\\BodyWrapper","com\\zoho\\crm\\api\\relatedlists\\ModuleMap","com\\zoho\\crm\\api\\entityscores\\EntityScores","com\\zoho\\crm\\api\\customviews\\Translation","com\\zoho\\crm\\api\\timelines\\PathFinder","com\\zoho\\crm\\api\\fields\\Fields","com\\zoho\\crm\\api\\sharerecords\\ResponseWrapper","com\\zoho\\crm\\api\\currencies\\ResponseWrapper","com\\zoho\\crm\\api\\users\\CustomizeInfo","com\\zoho\\crm\\api\\inventorymassconvert\\BodyWrapper","com\\zoho\\crm\\api\\blueprint\\MultiSelectLookup","com\\zoho\\crm\\api\\conversionoption\\ConversionOptions","com\\zoho\\crm\\api\\notifications\\APIException","com\\zoho\\crm\\api\\emaildrafts\\To","com\\zoho\\crm\\api\\record\\MassUpdateTerritory","com\\zoho\\crm\\api\\masschangeowner\\ResponseWrapper","com\\zoho\\crm\\api\\webforms\\ActionWrapper","com\\zoho\\crm\\api\\territories\\DeletedAssociatedTerritories","com\\zoho\\crm\\api\\shifthours\\APIException","com\\zoho\\crm\\api\\definition\\ResponseWrapper","com\\zoho\\crm\\api\\wizards\\APIException","com\\zoho\\crm\\api\\record\\MassUpdateResponseWrapper","com\\zoho\\crm\\api\\templates\\Wrapper","com\\zoho\\crm\\api\\blueprint\\SuccessResponse","com\\zoho\\crm\\api\\hipaacompliance\\APIException","com\\zoho\\crm\\api\\layouts\\StaticValues","com\\zoho\\crm\\api\\portalusertype\\BodyWrapper","com\\zoho\\crm\\api\\inventoryconvert\\APIException","com\\zoho\\crm\\api\\reschedulehistory\\RescheduleHistory","com\\zoho\\crm\\api\\globalpicklists\\ReplacePicklistValues","com\\zoho\\crm\\api\\usergroups\\Source","com\\zoho\\crm\\api\\users\\APIException","com\\zoho\\crm\\api\\territoryusers\\APIException","com\\zoho\\crm\\api\\portalinvite\\SuccessResponse","com\\zoho\\crm\\api\\masschangeowner\\Status","com\\zoho\\crm\\api\\layouts\\DefaultAssignmentView","com\\zoho\\crm\\api\\globalpicklists\\ActionWrapper","com\\zoho\\crm\\api\\usergroups\\ActionWrapper","com\\zoho\\crm\\api\\scoringrules\\BodyWrapper","com\\zoho\\crm\\api\\userstransferdelete\\APIException","com\\zoho\\crm\\api\\wizards\\Node","com\\zoho\\crm\\api\\portals\\BodyWrapper","com\\zoho\\crm\\api\\sharerecords\\SharedThrough","com\\zoho\\crm\\api\\usersunavailability\\ResponseWrapper","com\\zoho\\crm\\api\\backup\\HistoryWrapper","com\\zoho\\crm\\api\\taxes\\SuccessResponse","com\\zoho\\crm\\api\\wizards\\Container","com\\zoho\\crm\\api\\globalpicklists\\ResponseWrapper","com\\zoho\\crm\\api\\unblockemail\\BodyWrapper","com\\zoho\\crm\\api\\territories\\Info","com\\zoho\\crm\\api\\wizards\\Message","com\\zoho\\crm\\api\\fiscalyear\\APIException","com\\zoho\\crm\\api\\dealcontactroles\\ContactRole","com\\zoho\\crm\\api\\files\\APIException","com\\zoho\\crm\\api\\fields\\Unique","com\\zoho\\crm\\api\\fields\\QueryDetails","com\\zoho\\crm\\api\\businesshours\\BusinessHours","com\\zoho\\crm\\api\\cancelmeetings\\BodyWrapper","com\\zoho\\crm\\api\\templates\\Folder","com\\zoho\\crm\\api\\webforms\\FromAddress","com\\zoho\\crm\\api\\masschangeowner\\Criteria","com\\zoho\\crm\\api\\businesshours\\BodyWrapper","com\\zoho\\crm\\api\\userstransferdelete\\TransferAndDeleteByID","com\\zoho\\crm\\api\\appointmentpreference\\FieldMappings","com\\zoho\\crm\\api\\fields\\ShowFields","com\\zoho\\crm\\api\\inventorytemplates\\APIException","com\\zoho\\crm\\api\\scoringrules\\Layout","com\\zoho\\crm\\api\\emailrelatedrecords\\ResponseWrapper","com\\zoho\\crm\\api\\reschedulehistory\\Approval","com\\zoho\\crm\\api\\conversionoption\\APIException","com\\zoho\\crm\\api\\recordlockingconfiguration\\ActionWrapper","com\\zoho\\crm\\api\\recordlockingconfiguration\\RecordLock","com\\zoho\\crm\\api\\assignmentrules\\APIException","com\\zoho\\crm\\api\\changeowner\\RelatedModules","com\\zoho\\crm\\api\\record\\Consent","com\\zoho\\crm\\api\\customviews\\ActionWrapper","com\\zoho\\crm\\api\\dealcontactroles\\Info","com\\zoho\\crm\\api\\variablegroups\\ResponseWrapper","com\\zoho\\crm\\api\\usersterritories\\Info","com\\zoho\\crm\\api\\portalinvite\\JobResponse","com\\zoho\\crm\\api\\currencies\\SuccessResponse","com\\zoho\\crm\\api\\recordlockingconfiguration\\RestrictedCustomButton","com\\zoho\\crm\\api\\taxes\\BodyWrapper","com\\zoho\\crm\\api\\globalpicklists\\Module","com\\zoho\\crm\\api\\users\\Role","com\\zoho\\crm\\api\\backup\\Urls","com\\zoho\\crm\\api\\dealcontactroles\\SuccessResponse","com\\zoho\\crm\\api\\unblockemail\\APIException","com\\zoho\\crm\\api\\shifthours\\SuccessResponse","com\\zoho\\crm\\api\\variables\\APIException","com\\zoho\\crm\\api\\territories\\TransferTerritory","com\\zoho\\crm\\api\\layouts\\DealField","com\\zoho\\crm\\api\\users\\Profile","com\\zoho\\crm\\api\\emailcomposemeta\\DataMap","com\\zoho\\crm\\api\\backup\\Requester","com\\zoho\\crm\\api\\globalpicklists\\Association","com\\zoho\\crm\\api\\bulkwrite\\CallBack","com\\zoho\\crm\\api\\sendmail\\From","com\\zoho\\crm\\api\\blueprint\\ResponseWrapper","com\\zoho\\crm\\api\\reschedulehistory\\ActionWrapper","com\\zoho\\crm\\api\\taxes\\Tax","com\\zoho\\crm\\api\\findandmerge\\ImageData","com\\zoho\\crm\\api\\usersterritories\\BodyWrapper","com\\zoho\\crm\\api\\record\\Widget","com\\zoho\\crm\\api\\businesshours\\ResponseWrapper","com\\zoho\\crm\\api\\emailrelatedrecords\\APIException","com\\zoho\\crm\\api\\downloadattachments\\FileBodyWrapper","com\\zoho\\crm\\api\\territories\\AssociatedUsersCount","com\\zoho\\crm\\api\\emaildrafts\\BodyWrapper","com\\zoho\\crm\\api\\usersterritories\\Manager","com\\zoho\\crm\\api\\layouts\\APIException","com\\zoho\\crm\\api\\variables\\ResponseWrapper","com\\zoho\\crm\\api\\findandmerge\\DataFields","com\\zoho\\crm\\api\\portalusertype\\ResponseWrapper","com\\zoho\\crm\\api\\sendmail\\BodyWrapper","com\\zoho\\crm\\api\\cancelmeetings\\ActionWrapper","com\\zoho\\crm\\api\\webforms\\AssignmentRule","com\\zoho\\crm\\api\\masschangeowner\\Territory","com\\zoho\\crm\\api\\massconvert\\APIException","com\\zoho\\crm\\api\\findandmerge\\MergeData","com\\zoho\\crm\\api\\associateemail\\Available","com\\zoho\\crm\\api\\webforms\\Fields","com\\zoho\\crm\\api\\notifications\\SuccessResponse","com\\zoho\\crm\\api\\servicepreference\\APIException","com\\zoho\\crm\\api\\templates\\APIException","com\\zoho\\crm\\api\\businesshours\\Resources","com\\zoho\\crm\\api\\blueprint\\Crypt","com\\zoho\\crm\\api\\usergroups\\ResponseWrapper","com\\zoho\\crm\\api\\modules\\SuccessResponse","com\\zoho\\crm\\api\\fromaddresses\\ResponseWrapper","com\\zoho\\crm\\api\\contactroles\\APIException","com\\zoho\\crm\\api\\massconvert\\MoveAttachmentsTo","com\\zoho\\crm\\api\\tags\\ConflictWrapper","com\\zoho\\crm\\api\\variables\\BodyWrapper","com\\zoho\\crm\\api\\bulkread\\Result","com\\zoho\\crm\\api\\sendmail\\DataSubjectRequest","com\\zoho\\crm\\api\\assignmentrules\\ResponseWrapper","com\\zoho\\crm\\api\\wizards\\Wizard","com\\zoho\\crm\\api\\emaildrafts\\InventoryDetails","com\\zoho\\crm\\api\\emailtemplates\\ResponseWrapper","com\\zoho\\crm\\api\\attachments\\Attachment","com\\zoho\\crm\\api\\masschangeowner\\ActionWrapper","com\\zoho\\crm\\api\\customviews\\Owner","com\\zoho\\crm\\api\\fieldattachments\\FileBodyWrapper","com\\zoho\\crm\\api\\privacypreference\\Preference","com\\zoho\\crm\\api\\emailsharingdetails\\ResponseWrapper","com\\zoho\\crm\\api\\fields\\Profile","com\\zoho\\crm\\api\\fiscalyear\\ActionWrapper","com\\zoho\\crm\\api\\mailmerge\\Signers","com\\zoho\\crm\\api\\fields\\Maps","com\\zoho\\crm\\api\\users\\Theme","com\\zoho\\crm\\api\\customviews\\SharedTo","com\\zoho\\crm\\api\\customviews\\SortBy","com\\zoho\\crm\\api\\changeowner\\SuccessResponse","com\\zoho\\crm\\api\\wizards\\Actions","com\\zoho\\crm\\api\\assignmentrules\\AssignmentRules","com\\zoho\\crm\\api\\relatedlists\\ResponseWrapper","com\\zoho\\crm\\api\\files\\ActionWrapper","com\\zoho\\crm\\api\\tags\\RecordSuccessResponse","com\\zoho\\crm\\api\\shifthours\\ResponseWrapper","com\\zoho\\crm\\api\\bulkread\\APIException","com\\zoho\\crm\\api\\customviews\\APIException","com\\zoho\\crm\\api\\appointmentpreference\\AppointmentPreference","com\\zoho\\crm\\api\\backup\\FileBodyWrapper","com\\zoho\\crm\\api\\profiles\\BodyWrapper","com\\zoho\\crm\\api\\shifthours\\Role","com\\zoho\\crm\\api\\territoryusers\\Info","com\\zoho\\crm\\api\\shifthours\\Holidays","com\\zoho\\crm\\api\\downloadinlineimages\\APIException","com\\zoho\\crm\\api\\record\\ResponseWrapper","com\\zoho\\crm\\api\\emailtemplates\\EmailTemplate","com\\zoho\\crm\\api\\roles\\Role","com\\zoho\\crm\\api\\fields\\Tooltip","com\\zoho\\crm\\api\\reschedulehistory\\User","com\\zoho\\crm\\api\\portals\\Owner","com\\zoho\\crm\\api\\globalpicklists\\ReplacedResponseWrapper","com\\zoho\\crm\\api\\entityscores\\ScoringRule","com\\zoho\\crm\\api\\portals\\APIException","com\\zoho\\crm\\api\\digest\\APIException","com\\zoho\\crm\\api\\webforms\\SpamControll","com\\zoho\\crm\\api\\timelines\\Record","com\\zoho\\crm\\api\\record\\Reminder","com\\zoho\\crm\\api\\pipeline\\DPipeline","com\\zoho\\crm\\api\\privacyconfigurableapps\\Apps","com\\zoho\\crm\\api\\fields\\MandatoryDetails","com\\zoho\\crm\\api\\blueprint\\NextTransition","com\\zoho\\crm\\api\\variablegroups\\MinifiedVariableGroup","com\\zoho\\crm\\api\\changeowner\\ErrorDetails","com\\zoho\\crm\\api\\variablegroups\\VariableGroup","com\\zoho\\crm\\api\\conversionoption\\ResponseWrapper","com\\zoho\\crm\\api\\sendmail\\ActionWrapper","com\\zoho\\crm\\api\\record\\CountWrapper","com\\zoho\\crm\\api\\emaildrafts\\InventoryTemplate","com\\zoho\\crm\\api\\holidays\\CreateShiftHoliday","com\\zoho\\crm\\api\\blueprint\\Escalation","com\\zoho\\crm\\api\\mailmerge\\APIException","com\\zoho\\crm\\api\\scoringrules\\ScoringRule","com\\zoho\\crm\\api\\dealcontactroles\\ErrorDetails","com\\zoho\\crm\\api\\bulkread\\CallBack","com\\zoho\\crm\\api\\timelines\\Info","com\\zoho\\crm\\api\\usersunavailability\\BodyWrapper","com\\zoho\\crm\\api\\usertypeusers\\Users","com\\zoho\\crm\\api\\findandmerge\\BodyWrapper","com\\zoho\\crm\\api\\associateemail\\Attachments","com\\zoho\\crm\\api\\fields\\ActionWrapper","com\\zoho\\crm\\api\\entityscores\\Info","com\\zoho\\crm\\api\\scoringrules\\SuccessResponse","com\\zoho\\crm\\api\\mailmerge\\MailMergeTemplate","com\\zoho\\crm\\api\\appointmentpreference\\Layout","com\\zoho\\crm\\api\\unsubscribelinks\\Resource","com\\zoho\\crm\\api\\users\\Tab","com\\zoho\\crm\\api\\territoryusers\\BodyWrapper","com\\zoho\\crm\\api\\userstransferdelete\\ActionWrapper","com\\zoho\\crm\\api\\webforms\\APIException","com\\zoho\\crm\\api\\roles\\ReportingTo","com\\zoho\\crm\\api\\relatedrecords\\ResponseWrapper","com\\zoho\\crm\\api\\usergroups\\AssociatedUser","com\\zoho\\crm\\api\\timelines\\State","com\\zoho\\crm\\api\\timelines\\Timeline","com\\zoho\\crm\\api\\unsubscribelinks\\SuccessResponse","com\\zoho\\crm\\api\\inventorymassconvert\\APIException","com\\zoho\\crm\\api\\fieldmapdependency\\ResponseWrapper","com\\zoho\\crm\\api\\notifications\\Module","com\\zoho\\crm\\api\\tags\\NewTagRequestWrapper","com\\zoho\\crm\\api\\downloadattachments\\APIException","com\\zoho\\crm\\api\\profiles\\PermissionDetail","com\\zoho\\crm\\api\\portalusertype\\Permissions","com\\zoho\\crm\\api\\customviews\\Info","com\\zoho\\crm\\api\\record\\APIException","com\\zoho\\crm\\api\\bulkwrite\\FieldMapping","com\\zoho\\crm\\api\\fields\\RollupCriteria","com\\zoho\\crm\\api\\variablegroups\\APIException","com\\zoho\\crm\\api\\mailmerge\\SuccessResponse","com\\zoho\\crm\\api\\globalpicklists\\ReplaceBodyWrapper","com\\zoho\\crm\\api\\appointmentpreference\\APIException","com\\zoho\\crm\\api\\convertlead\\SuccessResponse","com\\zoho\\crm\\api\\businesshours\\APIException","com\\zoho\\crm\\api\\wizards\\ConditionalRules","com\\zoho\\crm\\api\\reschedulehistory\\BodyWrapper","com\\zoho\\crm\\api\\users\\ActionWrapper","com\\zoho\\crm\\api\\digest\\SuccessResponse","com\\zoho\\crm\\api\\definition\\MinifiedProperty1","com\\zoho\\crm\\api\\globalpicklists\\PickListValues","com\\zoho\\crm\\api\\emailrelatedrecords\\Criteria","com\\zoho\\crm\\api\\profiles\\SuccessResponse","com\\zoho\\crm\\api\\record\\LineTax","com\\zoho\\crm\\api\\findandmerge\\APIException","com\\zoho\\crm\\api\\emailrelatedrecords\\Field","com\\zoho\\crm\\api\\sharerecords\\DeleteActionWrapper","com\\zoho\\crm\\api\\wizards\\Resource","com\\zoho\\crm\\api\\wizards\\ResponseWrapper","com\\zoho\\crm\\api\\attachments\\Info","com\\zoho\\crm\\api\\roles\\ResponseWrapper","com\\zoho\\crm\\api\\shifthours\\Users","com\\zoho\\crm\\api\\globalpicklists\\ReplaceActionWrapper","com\\zoho\\crm\\api\\recordlockingconfiguration\\LockingRules","com\\zoho\\crm\\api\\tags\\Info","com\\zoho\\crm\\api\\attachments\\ActionWrapper","com\\zoho\\crm\\api\\associateemail\\SuccessResponse","com\\zoho\\crm\\api\\emaildrafts\\ScheduleDetails","com\\zoho\\crm\\api\\record\\Territory","com\\zoho\\crm\\api\\customviews\\SuccessResponse","com\\zoho\\crm\\api\\blueprint\\LookupField","com\\zoho\\crm\\api\\pipeline\\JsonDetails","com\\zoho\\crm\\api\\usertypeusers\\StatusActionWrapper","com\\zoho\\crm\\api\\usergroups\\AssociatedUserCount","com\\zoho\\crm\\api\\tags\\ExistingTagRequestWrapper","com\\zoho\\crm\\api\\layouts\\DefaultView","com\\zoho\\crm\\api\\features\\APIException","com\\zoho\\crm\\api\\usertypeusers\\ResponseWrapper","com\\zoho\\crm\\api\\sendmail\\SuccessResponse","com\\zoho\\crm\\api\\appointmentpreference\\SuccessResponse","com\\zoho\\crm\\api\\assignmentrules\\ActionWrapper","com\\zoho\\crm\\api\\portalsmeta\\RelatedLists","com\\zoho\\crm\\api\\recordlockingconfiguration\\Field","com\\zoho\\crm\\api\\recordlocking\\ResponseWrapper","com\\zoho\\crm\\api\\shifthours\\ShiftHours","com\\zoho\\crm\\api\\globalpicklists\\PickListValuesAssociationsResponseWrapper","com\\zoho\\crm\\api\\customviews\\BodyWrapper","com\\zoho\\crm\\api\\tags\\CountResponseWrapper","com\\zoho\\crm\\api\\reschedulehistory\\SuccessResponse","com\\zoho\\crm\\api\\portalinvite\\ActionWrapper","com\\zoho\\crm\\api\\privacypreference\\Config","com\\zoho\\crm\\api\\webforms\\AutoResponseRule","com\\zoho\\crm\\api\\definition\\Property","com\\zoho\\crm\\api\\fields\\EmailParser","com\\zoho\\crm\\api\\usergroups\\AssociationWrapper","com\\zoho\\crm\\api\\mailmerge\\DownloadMailMergeWrapper","com\\zoho\\crm\\api\\fiscalyear\\ResponseWrapper","com\\zoho\\crm\\api\\relatedlists\\APIException","com\\zoho\\crm\\api\\recordlockingconfiguration\\APIException","com\\zoho\\crm\\api\\tags\\SuccessResponse","com\\zoho\\crm\\api\\profiles\\Info","com\\zoho\\crm\\api\\modules\\Argument","com\\zoho\\crm\\api\\usergroups\\Info","com\\zoho\\crm\\api\\record\\Criteria","com\\zoho\\crm\\api\\portalusertype\\APIException","com\\zoho\\crm\\api\\territories\\SuccessResponse","com\\zoho\\crm\\api\\notifications\\NotificationCondition","com\\zoho\\crm\\api\\findandmerge\\ResponseWrapper","com\\zoho\\crm\\api\\dealcontactroles\\ActionWrapper","com\\zoho\\crm\\api\\digest\\Dependee","com\\zoho\\crm\\api\\pipeline\\ResponseWrapper","com\\zoho\\crm\\api\\notes\\BodyWrapper","com\\zoho\\crm\\api\\currencies\\BaseCurrencyWrapper","com\\zoho\\crm\\api\\userstransferdelete\\TransferAndDelete","com\\zoho\\crm\\api\\appointmentpreference\\BodyWrapper","com\\zoho\\crm\\api\\globalpicklists\\APIException","com\\zoho\\crm\\api\\bulkread\\ActionWrapper","com\\zoho\\crm\\api\\portals\\SuccessResponse","com\\zoho\\crm\\api\\modules\\StaticSubformField","com\\zoho\\crm\\api\\usersterritories\\Validation","com\\zoho\\crm\\api\\timelines\\Module","com\\zoho\\crm\\api\\org\\FileBodyWrapper","com\\zoho\\crm\\api\\unblockemail\\ActionWrapper","com\\zoho\\crm\\api\\inventorymassconvert\\ConvertTo","com\\zoho\\crm\\api\\attachments\\ResponseWrapper","com\\zoho\\crm\\api\\tags\\AssociatedPlaces","com\\zoho\\crm\\api\\tags\\ErrorDetails","com\\zoho\\crm\\api\\blueprint\\Profile","com\\zoho\\crm\\api\\usergroups\\APIException","com\\zoho\\crm\\api\\wizards\\Button","com\\zoho\\crm\\api\\tags\\Tag","com\\zoho\\crm\\api\\users\\Owner","com\\zoho\\crm\\api\\recordlocking\\SuccessResponse","com\\zoho\\crm\\api\\inventorytemplates\\InventoryTemplates","com\\zoho\\crm\\api\\usergroups\\SourcesWrapper","com\\zoho\\crm\\api\\definition\\MinifiedProperty","com\\zoho\\crm\\api\\variables\\ActionWrapper","com\\zoho\\crm\\api\\portalinvite\\BodyWrapper","com\\zoho\\crm\\api\\emailsharingdetails\\EmailSharings","com\\zoho\\crm\\api\\usersterritories\\ResponseWrapper","com\\zoho\\crm\\api\\associateemail\\AssociateEmail","com\\zoho\\crm\\api\\webforms\\AnalyticsData","com\\zoho\\crm\\api\\inventorytemplates\\ResponseWrapper","com\\zoho\\crm\\api\\inventoryconvert\\Module","com\\zoho\\crm\\api\\emaildrafts\\Template","com\\zoho\\crm\\api\\sendmail\\InventoryTemplate","com\\zoho\\crm\\api\\unsubscribelinks\\Module","com\\zoho\\crm\\api\\relatedrecords\\BodyWrapper","com\\zoho\\crm\\api\\currencies\\ErrorDetails","com\\zoho\\crm\\api\\bulkwrite\\SuccessResponse","com\\zoho\\crm\\api\\sendmail\\InventoryDetails","com\\zoho\\crm\\api\\timelines\\RelatedRecord","com\\zoho\\crm\\api\\users\\Info","com\\zoho\\crm\\api\\coql\\ResponseWrapper","com\\zoho\\crm\\api\\usergroups\\Users","com\\zoho\\crm\\api\\massconvert\\SuccessResponse","com\\zoho\\crm\\api\\pipeline\\BodyWrapper","com\\zoho\\crm\\api\\modules\\ModuleFieldLookup","com\\zoho\\crm\\api\\blueprint\\Field","com\\zoho\\crm\\api\\backup\\Info","com\\zoho\\crm\\api\\userstransferdelete\\SuccessResponse","com\\zoho\\crm\\api\\businesshours\\BreakHoursCustomTiming","com\\zoho\\crm\\api\\profiles\\MinifiedProfile","com\\zoho\\crm\\api\\emailrelatedrecords\\Info","com\\zoho\\crm\\api\\files\\SuccessResponse","com\\zoho\\crm\\api\\relatedlists\\RelatedList","com\\zoho\\crm\\api\\variables\\VariableGroup","com\\zoho\\crm\\api\\record\\FileBodyWrapper","com\\zoho\\crm\\api\\wizards\\Element","com\\zoho\\crm\\api\\record\\Participants","com\\zoho\\crm\\api\\coql\\ClauseDetails","com\\zoho\\crm\\api\\features\\Feature","com\\zoho\\crm\\api\\blueprint\\Transition","com\\zoho\\crm\\api\\fiscalyear\\BodyWrapper","com\\zoho\\crm\\api\\webforms\\Tags","com\\zoho\\crm\\api\\usersterritories\\ActionWrappe","com\\zoho\\crm\\api\\notes\\SuccessResponse","com\\zoho\\crm\\api\\scoringrules\\LayoutRequestWrapper","com\\zoho\\crm\\api\\dealcontactroles\\Data","com\\zoho\\crm\\api\\fields\\Criteria","com\\zoho\\crm\\api\\emailtemplates\\APIException","com\\zoho\\crm\\api\\features\\Component","com\\zoho\\crm\\api\\blueprint\\Module","com\\zoho\\crm\\api\\associateemail\\APIException","com\\zoho\\crm\\api\\digest\\Digest","com\\zoho\\crm\\api\\contactroles\\SuccessResponse","com\\zoho\\crm\\api\\emailrelatedrecords\\LinkedRecord","com\\zoho\\crm\\api\\usergroups\\Resource","com\\zoho\\crm\\api\\associateemail\\ModuleMap","com\\zoho\\crm\\api\\assignmentrules\\User","com\\zoho\\crm\\api\\blueprint\\APIException","com\\zoho\\crm\\api\\record\\MassUpdate","com\\zoho\\crm\\api\\roles\\BodyWrapper","com\\zoho\\crm\\api\\notifications\\Event","com\\zoho\\crm\\api\\portalusertype\\UserType","com\\zoho\\crm\\api\\fields\\AutoNumber","com\\zoho\\crm\\api\\inventoryconvert\\SuccessResponse","com\\zoho\\crm\\api\\usersunavailability\\Info","com\\zoho\\crm\\api\\emailtemplates\\Info","com\\zoho\\crm\\api\\timelines\\FieldHistory","com\\zoho\\crm\\api\\cancelmeetings\\APIException","com\\zoho\\crm\\api\\pipeline\\APIException","com\\zoho\\crm\\api\\relatedlists\\Field","com\\zoho\\crm\\api\\changeowner\\BodyWrapper","com\\zoho\\crm\\api\\fields\\MinifiedField","com\\zoho\\crm\\api\\tags\\RecordActionWrapper","com\\zoho\\crm\\api\\scoringrules\\Field","com\\zoho\\crm\\api\\users\\AssociatedGroup","com\\zoho\\crm\\api\\bulkwrite\\RequestWrapper","com\\zoho\\crm\\api\\sharerecords\\ShareRecord","com\\zoho\\crm\\api\\webforms\\FontAttributes","com\\zoho\\crm\\api\\inventoryconvert\\ConvertTo","com\\zoho\\crm\\api\\pipeline\\TransferPipelineSuccessResponse","com\\zoho\\crm\\api\\sendmail\\Attachment","com\\zoho\\crm\\api\\usersterritories\\APIException","com\\zoho\\crm\\api\\bulkread\\FileBodyWrapper","com\\zoho\\crm\\api\\massdeletecvid\\Territory","com\\zoho\\crm\\api\\modules\\MinifiedModule","com\\zoho\\crm\\api\\notifications\\Notification","com\\zoho\\crm\\api\\modules\\LookupFieldProperties","com\\zoho\\crm\\api\\massdeletecvid\\Status","com\\zoho\\crm\\api\\taxes\\ResponseWrapper","com\\zoho\\crm\\api\\coql\\APIException","com\\zoho\\crm\\api\\shifthours\\ShiftCount","com\\zoho\\crm\\api\\servicepreference\\SuccessResponse","com\\zoho\\crm\\api\\hipaacompliance\\Modules","com\\zoho\\crm\\api\\fields\\BodyWrapper","com\\zoho\\crm\\api\\record\\Info","com\\zoho\\crm\\api\\reschedulehistory\\ResponseWrapper","com\\zoho\\crm\\api\\globalpicklists\\BodyWrapper","com\\zoho\\crm\\api\\record\\Record","com\\zoho\\crm\\api\\record\\RemindAt","com\\zoho\\crm\\api\\convertlead\\APIException","com\\zoho\\crm\\api\\sendmail\\LinkedRecord","com\\zoho\\crm\\api\\mailmerge\\ActionWrapper","com\\zoho\\crm\\api\\notes\\Note","com\\zoho\\crm\\api\\entityscores\\APIException","com\\zoho\\crm\\api\\emailcomposemeta\\FromAddress","com\\zoho\\crm\\api\\record\\MassUpdateSuccessResponse","com\\zoho\\crm\\api\\scoringrules\\Signal","com\\zoho\\crm\\api\\taxes\\APIException","com\\zoho\\crm\\api\\webforms\\WebForm","com\\zoho\\crm\\api\\unsubscribelinks\\AssociationsResponseWrapper","com\\zoho\\crm\\api\\wizards\\ExemptedPortalUserType","com\\zoho\\crm\\api\\sharerecords\\SuccessResponse","com\\zoho\\crm\\api\\portalusertype\\ActionWrapper","com\\zoho\\crm\\api\\portalusertype\\Views","com\\zoho\\crm\\api\\wizards\\Connection","com\\zoho\\crm\\api\\portalinvite\\APIException","com\\zoho\\crm\\api\\pipeline\\Maps","com\\zoho\\crm\\api\\taxes\\ExpectedField","com\\zoho\\crm\\api\\holidays\\Holidays","com\\zoho\\crm\\api\\portalusertype\\Filters","com\\zoho\\crm\\api\\servicepreference\\ActionWrapper","com\\zoho\\crm\\api\\pipeline\\TransferPipeline","com\\zoho\\crm\\api\\taxes\\Preference","com\\zoho\\crm\\api\\tags\\ExistingTag","com\\zoho\\crm\\api\\usergroups\\SourcesCountWrapper","com\\zoho\\crm\\api\\org\\Resource","com\\zoho\\crm\\api\\findandmerge\\MasterRecordFields","com\\zoho\\crm\\api\\backup\\History","com\\zoho\\crm\\api\\mailmerge\\DownloadMailMerge","com\\zoho\\crm\\api\\appointmentpreference\\ResponseWrapper","com\\zoho\\crm\\api\\record\\Comment","com\\zoho\\crm\\api\\relatedrecords\\FileBodyWrapper","com\\zoho\\crm\\api\\fields\\SharingProperties","com\\zoho\\crm\\api\\associateemail\\LinkedRecord","com\\zoho\\crm\\api\\variables\\SuccessResponse","com\\zoho\\crm\\api\\backup\\ActionWrapper","com\\zoho\\crm\\api\\holidays\\ResponseWrapper","com\\zoho\\crm\\api\\tags\\MergeWrapper","com\\zoho\\crm\\api\\org\\SuccessResponse","com\\zoho\\crm\\api\\masschangeowner\\Field","com\\zoho\\crm\\api\\bulkwrite\\APIException","com\\zoho\\crm\\api\\layouts\\Tooltip","com\\zoho\\crm\\api\\territories\\ReportingTo","com\\zoho\\crm\\api\\portalinvite\\Portal","com\\zoho\\crm\\api\\recordlocking\\Info","com\\zoho\\crm\\api\\layouts\\SuccessResponse","com\\zoho\\crm\\api\\notifications\\Criteria","com\\zoho\\crm\\api\\fields\\ConvertMapping","com\\zoho\\crm\\api\\massdeletecvid\\APIException","com\\zoho\\crm\\api\\unsubscribelinks\\Detail","com\\zoho\\crm\\api\\backup\\SuccessResponse","com\\zoho\\crm\\api\\globalpicklists\\SuccessResponse","com\\zoho\\crm\\api\\contactroles\\BodyWrapper","com\\zoho\\crm\\api\\servicepreference\\ServicePreference","com\\zoho\\crm\\api\\profiles\\CategoryOthers","com\\zoho\\crm\\api\\pipeline\\ForecastCategory","com\\zoho\\crm\\api\\fieldmapdependency\\PickListMapping","com\\zoho\\crm\\api\\globalpicklists\\Info","com\\zoho\\crm\\api\\record\\TimeRange","com\\zoho\\crm\\api\\notifications\\Field","com\\zoho\\crm\\api\\recordlockingconfiguration\\SuccessResponse","com\\zoho\\crm\\api\\territoryusers\\ResponseWrapper","com\\zoho\\crm\\api\\relatedrecords\\APIException","com\\zoho\\crm\\api\\inventorymassconvert\\Module","com\\zoho\\crm\\api\\fields\\ViewType","com\\zoho\\crm\\api\\backup\\BodyWrapper","com\\zoho\\crm\\api\\emailcomposemeta\\Signature","com\\zoho\\crm\\api\\conversionoption\\PreferenceFieldMatch","com\\zoho\\crm\\api\\entityscores\\ResponseWrapper","com\\zoho\\crm\\api\\convertlead\\MoveAttachmentsTo","com\\zoho\\crm\\api\\portalinvite\\ResponseWrapper","com\\zoho\\crm\\api\\globalpicklists\\Layout","com\\zoho\\crm\\api\\blueprint\\AutoNumber","com\\zoho\\crm\\api\\layouts\\Profiles","com\\zoho\\crm\\api\\layouts\\SectionSubformField","com\\zoho\\crm\\api\\scoringrules\\APIException","com\\zoho\\crm\\api\\wizards\\ChartData","com\\zoho\\crm\\api\\globalpicklists\\PickListValuesAssociation","com\\zoho\\crm\\api\\users\\MinifiedUser","com\\zoho\\crm\\api\\fieldmapdependency\\Parent1","com\\zoho\\crm\\api\\scoringrules\\RoleRequestWrapper","com\\zoho\\crm\\api\\currencies\\Format","com\\zoho\\crm\\api\\contactroles\\ContactRole","com\\zoho\\crm\\api\\emailrelatedrecords\\Module","com\\zoho\\crm\\api\\users\\SuccessResponse","com\\zoho\\crm\\api\\notifications\\ResponseWrapper","com\\zoho\\crm\\api\\pipeline\\Stages","com\\zoho\\crm\\api\\findandmerge\\Merge","com\\zoho\\crm\\api\\fromaddresses\\APIException","com\\zoho\\crm\\api\\changeowner\\Owner","com\\zoho\\crm\\api\\massconvert\\Status","com\\zoho\\crm\\api\\hipaacompliance\\SuccessResponse","com\\zoho\\crm\\api\\masschangeowner\\APIException","com\\zoho\\crm\\api\\portalinvite\\PortalInvite","com\\zoho\\crm\\api\\privacypreference\\Tpt","com\\zoho\\crm\\api\\massdeletecvid\\ResponseWrapper","com\\zoho\\crm\\api\\hipaacompliance\\ActionWrapper","com\\zoho\\crm\\api\\userstransferdelete\\MoveSubordinate","com\\zoho\\crm\\api\\emaildrafts\\SuccessResponse","com\\zoho\\crm\\api\\usersunavailability\\APIException","com\\zoho\\crm\\api\\fields\\ResponseWrapper","com\\zoho\\crm\\api\\convertlead\\ActionWrapper","com\\zoho\\crm\\api\\fields\\HipaaCompliance","com\\zoho\\crm\\api\\cancelmeetings\\Notify","com\\zoho\\crm\\api\\coql\\ParseErrorDetails","com\\zoho\\crm\\api\\mailmerge\\FileBodyWrapper","com\\zoho\\crm\\api\\emaildrafts\\Attachments","com\\zoho\\crm\\api\\scoringrules\\Info","com\\zoho\\crm\\api\\bulkwrite\\BulkWriteResponse","com\\zoho\\crm\\api\\usergroups\\AssociationResponse","com\\zoho\\crm\\api\\emaildrafts\\APIException","com\\zoho\\crm\\api\\recordlockingconfiguration\\Dependee","com\\zoho\\crm\\api\\usersterritories\\ActionWrapper","com\\zoho\\crm\\api\\currencies\\Currency","com\\zoho\\crm\\api\\scoringrules\\SignalRule","com\\zoho\\crm\\api\\blueprint\\ToolTip","com\\zoho\\crm\\api\\org\\LicenseDetails","com\\zoho\\crm\\api\\roles\\ActionWrapper","com\\zoho\\crm\\api\\users\\BodyWrapper","com\\zoho\\crm\\api\\record\\DeletedRecordsWrapper","com\\zoho\\crm\\api\\fields\\Multiselectlookup","com\\zoho\\crm\\api\\modules\\BodyWrapper","com\\zoho\\crm\\api\\shifthours\\ShiftCustomTiming","com\\zoho\\crm\\api\\tags\\Resources","com\\zoho\\crm\\api\\inventorymassconvert\\User","com\\zoho\\crm\\api\\customviews\\Criteria","com\\zoho\\crm\\api\\privacypreference\\PrivacyPreference","com\\zoho\\crm\\api\\holidays\\ShiftHoliday","com\\zoho\\crm\\api\\scoringrules\\FieldRule","com\\zoho\\crm\\api\\attachments\\Owner","com\\zoho\\crm\\api\\userstransferdelete\\Status","com\\zoho\\crm\\api\\pipeline\\Delete","com\\zoho\\crm\\api\\layouts\\MinifiedLayout","com\\zoho\\crm\\api\\roles\\SuccessResponse","com\\zoho\\crm\\api\\mailmerge\\MailMerge","com\\zoho\\crm\\api\\customviews\\Field","com\\zoho\\crm\\api\\findandmerge\\ActionWrapper","com\\zoho\\crm\\api\\modules\\SharingProperties","com\\zoho\\crm\\api\\usersunavailability\\UsersUnavailability","com\\zoho\\crm\\api\\webforms\\Abtesting","com\\zoho\\crm\\api\\assignmentrules\\SuccessResponse","com\\zoho\\crm\\api\\blueprint\\AssociationDetails","com\\zoho\\crm\\api\\hipaacompliance\\ResponseWrapper","com\\zoho\\crm\\api\\associateemail\\From","com\\zoho\\crm\\api\\globalpicklists\\ReplacedValue","com\\zoho\\crm\\api\\portalusertype\\Layouts","com\\zoho\\crm\\api\\features\\Limit","com\\zoho\\crm\\api\\timelines\\APIException","com\\zoho\\crm\\api\\fields\\Currency","com\\zoho\\crm\\api\\emailrelatedrecords\\Email","com\\zoho\\crm\\api\\fieldmapdependency\\BodyWrapper","com\\zoho\\crm\\api\\webforms\\ResponseWrapper","com\\zoho\\crm\\api\\sharerecords\\ActionWrapper","com\\zoho\\crm\\api\\record\\DuplicateRecord","com\\zoho\\crm\\api\\sendmail\\Data","com\\zoho\\crm\\api\\usersterritories\\TransferActionWrapper","com\\zoho\\crm\\api\\wizards\\PortalUserType","com\\zoho\\crm\\api\\layouts\\Sections","com\\zoho\\crm\\api\\record\\SuccessResponse","com\\zoho\\crm\\api\\dealcontactroles\\APIException","com\\zoho\\crm\\api\\currencies\\ActionWrapper","com\\zoho\\crm\\api\\notes\\Info","com\\zoho\\crm\\api\\massconvert\\BodyWrapper","com\\zoho\\crm\\api\\fiscalyear\\Year","com\\zoho\\crm\\api\\usergroups\\SuccessResponse","com\\zoho\\crm\\api\\portalusertype\\SuccessResponse","com\\zoho\\crm\\api\\modules\\ResponseWrapper","com\\zoho\\crm\\api\\usergroups\\Owner","com\\zoho\\crm\\api\\sendmail\\Owner","com\\zoho\\crm\\api\\fields\\AssociationDetails","com\\zoho\\crm\\api\\fieldmapdependency\\APIException","com\\zoho\\crm\\api\\fieldmapdependency\\SuccessResponse","com\\zoho\\crm\\api\\bulkwrite\\DefaultValue","com\\zoho\\crm\\api\\relatedrecords\\ActionWrapper","com\\zoho\\crm\\api\\globalpicklists\\Field","com\\zoho\\crm\\api\\globalpicklists\\Picklist","com\\zoho\\crm\\api\\territories\\MinifiedTerritory","com\\zoho\\crm\\api\\org\\Org","com\\zoho\\crm\\api\\profiles\\APIException","com\\zoho\\crm\\api\\availablecurrencies\\Currency","com\\zoho\\crm\\api\\mailmerge\\SignMailMergeWrapper","com\\zoho\\crm\\api\\profiles\\ResponseWrapper","com\\zoho\\crm\\api\\blueprint\\ViewType","com\\zoho\\crm\\api\\masschangeowner\\Owner","com\\zoho\\crm\\api\\record\\LineItemProduct","com\\zoho\\crm\\api\\usertypeusers\\BodyWrapper","com\\zoho\\crm\\api\\wizards\\Criteria","com\\zoho\\crm\\api\\attachments\\FileBodyWrapper","com\\zoho\\crm\\api\\modules\\RelatedListProperties","com\\zoho\\crm\\api\\coql\\BodyWrapper","com\\zoho\\crm\\api\\recordlocking\\BodyWrapper","com\\zoho\\crm\\api\\tags\\BodyWrapper","com\\zoho\\crm\\api\\massconvert\\PortalUserType","com\\zoho\\crm\\api\\webforms\\Suggestion","com\\zoho\\crm\\api\\wizards\\Transition","com\\zoho\\crm\\api\\webforms\\SuccessResponse","com\\zoho\\crm\\api\\masschangeowner\\BodyWrapper","com\\zoho\\crm\\api\\record\\BodyWrapper","com\\zoho\\crm\\api\\shifthours\\ActionWrapper","com\\zoho\\crm\\api\\org\\Feature","com\\zoho\\crm\\api\\privacypreference\\Section","com\\zoho\\crm\\api\\fields\\FileUpoladOption","com\\zoho\\crm\\api\\conversionoption\\PreferenceFieldMatchedValue","com\\zoho\\crm\\api\\inventorytemplates\\User","com\\zoho\\crm\\api\\users\\Users","com\\zoho\\crm\\api\\modules\\Territory","com\\zoho\\crm\\api\\inventorytemplates\\Folder","com\\zoho\\crm\\api\\territories\\DeletedAssociatedWrapper","com\\zoho\\crm\\api\\usersterritories\\BulkValidation","com\\zoho\\crm\\api\\pipeline\\TransferPipelineActionWrapper","com\\zoho\\crm\\api\\usersterritories\\TransferAndDelink","com\\zoho\\crm\\api\\holidays\\SuccessResponse","com\\zoho\\crm\\api\\portalsmeta\\Filters","com\\zoho\\crm\\api\\bulkread\\ResponseWrapper","com\\zoho\\crm\\api\\massdeletecvid\\CvidBodyWrapper","com\\zoho\\crm\\api\\conversionoption\\Field","com\\zoho\\crm\\api\\recordlocking\\RecordLock","com\\zoho\\crm\\api\\usersterritories\\TransferWrapper","com\\zoho\\crm\\api\\territories\\AssociatedUsersCountWrapper","com\\zoho\\crm\\api\\record\\MassUpdateBodyWrapper","com\\zoho\\crm\\api\\usersunavailability\\SuccessResponse","com\\zoho\\crm\\api\\territories\\Criteria","com\\zoho\\crm\\api\\record\\MassUpdateActionWrapper","com\\zoho\\crm\\api\\blueprint\\BodyWrapper","com\\zoho\\crm\\api\\entityscores\\Module","com\\zoho\\crm\\api\\bulkwrite\\File","com\\zoho\\crm\\api\\privacypreference\\Option","com\\zoho\\crm\\api\\associateemail\\To","com\\zoho\\crm\\api\\unsubscribelinks\\ActionWrapper","com\\zoho\\crm\\api\\hipaacompliance\\HipaaCompliance","com\\zoho\\crm\\api\\layouts\\SectionField","com\\zoho\\crm\\api\\bulkread\\ModuleDetails","com\\zoho\\crm\\api\\digest\\ActionWrapper","com\\zoho\\crm\\api\\relatedrecords\\SuccessResponse","com\\zoho\\crm\\api\\modules\\APIException","com\\zoho\\crm\\api\\modules\\Modules","com\\zoho\\crm\\api\\record\\MultiSelectPicklist","com\\zoho\\crm\\api\\masschangeowner\\SuccessResponse","com\\zoho\\crm\\api\\portalsmeta\\Views","com\\zoho\\crm\\api\\sharerecords\\APIException","com\\zoho\\crm\\api\\sendmail\\InReplyTo","com\\zoho\\crm\\api\\portalsmeta\\Modules","com\\zoho\\crm\\api\\fiscalyear\\SuccessResponse","com\\zoho\\crm\\api\\backup\\APIException","com\\zoho\\crm\\api\\massconvert\\ErrorDetails","com\\zoho\\crm\\api\\org\\APIException","com\\zoho\\crm\\api\\wizards\\Screen","com\\zoho\\crm\\api\\usertypeusers\\ActionWrapper","com\\zoho\\crm\\api\\contactroles\\ActionWrapper","com\\zoho\\crm\\api\\portalsmeta\\Wrapper","com\\zoho\\crm\\api\\sendmail\\BlockedEmailAddress","com\\zoho\\crm\\api\\customviews\\ResponseWrapper","com\\zoho\\crm\\api\\tags\\RecordDetailTag","com\\zoho\\crm\\api\\recordlockingconfiguration\\Criteria","com\\zoho\\crm\\api\\emailrelatedrecords\\Status","com\\zoho\\crm\\api\\bulkread\\BodyWrapper","com\\zoho\\crm\\api\\holidays\\ActionWrapper","com\\zoho\\crm\\api\\territories\\Manager","com\\zoho\\crm\\api\\modules\\LookupField","com\\zoho\\crm\\api\\customviews\\PinUnpinFields","com\\zoho\\crm\\api\\webforms\\Layout","com\\zoho\\crm\\api\\portals\\ActionWrapper","com\\zoho\\crm\\api\\emailcomposemeta\\User","com\\zoho\\crm\\api\\bulkread\\Criteria","com\\zoho\\crm\\api\\findandmerge\\SuccessResponse","com\\zoho\\crm\\api\\pipeline\\Pipeline","com\\zoho\\crm\\api\\timelines\\ResponseWrapper","com\\zoho\\crm\\api\\blueprint\\Formula","com\\zoho\\crm\\api\\fields\\External","com\\zoho\\crm\\api\\org\\CheckinPreferences","com\\zoho\\crm\\api\\webforms\\AcknowledgeVisitors","com\\zoho\\crm\\api\\usertypeusers\\APIException","com\\zoho\\crm\\api\\servicepreference\\ResponseWrapper","com\\zoho\\crm\\api\\territories\\BodyWrapper","com\\zoho\\crm\\api\\fields\\ForecastCategory","com\\zoho\\crm\\api\\recordlocking\\LockedForS","com\\zoho\\crm\\api\\pipeline\\ActionWrapper","com\\zoho\\crm\\api\\layouts\\Properties","com\\zoho\\crm\\api\\availablecurrencies\\APIException","com\\zoho\\crm\\api\\sharerecords\\BodyWrapper","com\\zoho\\crm\\api\\emaildrafts\\ActionWrapper","com\\zoho\\crm\\api\\inventoryconvert\\Record","com\\zoho\\crm\\api\\fromaddresses\\Address","com\\zoho\\crm\\api\\pipeline\\SuccessResponse","com\\zoho\\crm\\api\\fields\\MultiModuleLookup","com\\zoho\\crm\\api\\territories\\ActionWrapper","com\\zoho\\crm\\api\\bulkwrite\\Resource","com\\zoho\\crm\\api\\userstransferdelete\\Transfer","com\\zoho\\crm\\api\\notifications\\Info","com\\zoho\\crm\\api\\notifications\\BodyWrapper","com\\zoho\\crm\\api\\customviews\\CustomViews","com\\zoho\\crm\\api\\usersterritories\\ValidationWrapper","com\\zoho\\crm\\api\\modules\\ModuleFields","com\\zoho\\crm\\api\\businesshours\\SuccessResponse","com\\zoho\\crm\\api\\usersterritories\\SuccessResponse","com\\zoho\\crm\\api\\fieldmapdependency\\MapDependency","com\\zoho\\crm\\api\\features\\Detail","com\\zoho\\crm\\api\\currencies\\BaseCurrencyActionWrapper","com\\zoho\\crm\\api\\sendmail\\To","com\\zoho\\crm\\api\\attachments\\APIException","com\\zoho\\crm\\api\\fieldattachments\\APIException","com\\zoho\\crm\\api\\unsubscribelinks\\APIException","com\\zoho\\crm\\api\\changeowner\\ActionWrapper","com\\zoho\\crm\\api\\variables\\Variable","com\\zoho\\crm\\api\\org\\ActionWrapper","com\\zoho\\crm\\api\\sharerecords\\Module","com\\zoho\\crm\\api\\unsubscribelinks\\User","com\\zoho\\crm\\api\\webforms\\Module","com\\zoho\\crm\\api\\usergroups\\Groups","com\\zoho\\crm\\api\\territoryusers\\SuccessResponse","com\\zoho\\crm\\api\\webforms\\FormAttributes","com\\zoho\\crm\\api\\emaildrafts\\EmailDrafts","com\\zoho\\crm\\api\\scoringrules\\ResponseWrapper","com\\zoho\\crm\\api\\appointmentpreference\\ActionWrapper","com\\zoho\\crm\\api\\bulkwrite\\FileBodyWrapper","com\\zoho\\crm\\api\\globalpicklists\\ReplacePicklistValue","com\\zoho\\crm\\api\\emailsharingdetails\\APIException","com\\zoho\\crm\\api\\layouts\\BodyWrapper","com\\zoho\\crm\\api\\holidays\\Info","com\\zoho\\crm\\api\\fieldmapdependency\\SubModule","com\\zoho\\crm\\api\\fields\\RollupSummary","com\\zoho\\crm\\api\\features\\Info","com\\zoho\\crm\\api\\attachments\\ParentId","com\\zoho\\crm\\api\\mailmerge\\MailMergeWrapper","com\\zoho\\crm\\api\\holidays\\BusinessHoliday","com\\zoho\\crm\\api\\usergroups\\JobsWrapper","com\\zoho\\crm\\api\\webforms\\AcknowledgeVisitor","com\\zoho\\crm\\api\\modules\\StaticSubformProperties","com\\zoho\\crm\\api\\associateemail\\Record","com\\zoho\\crm\\api\\scoringrules\\ExpectedField","com\\zoho\\crm\\api\\profiles\\Profile","com\\zoho\\crm\\api\\recordlocking\\LockRecord","com\\zoho\\crm\\api\\users\\CountWrapper","com\\zoho\\crm\\api\\territories\\Field","com\\zoho\\crm\\api\\portalusertype\\Fields","com\\zoho\\crm\\api\\fieldmapdependency\\PicklistMap","com\\zoho\\crm\\api\\shifthours\\MandatoryDetails","com\\zoho\\crm\\api\\globalpicklists\\ReplaceSuccessResponse","com\\zoho\\crm\\api\\bulkread\\Query","com\\zoho\\crm\\api\\customviews\\Fields","com\\zoho\\crm\\api\\files\\FileBodyWrapper","com\\zoho\\crm\\api\\unblockemail\\SuccessResponse","com\\zoho\\crm\\api\\users\\Shift","com\\zoho\\crm\\api\\record\\Wizard","com\\zoho\\crm\\api\\sendmail\\APIException","com\\zoho\\crm\\api\\wizards\\Field","com\\zoho\\crm\\api\\dealcontactroles\\ResponseWrapper","com\\zoho\\crm\\api\\sendmail\\LinkedModule","com\\zoho\\crm\\api\\blueprint\\BluePrint","com\\zoho\\crm\\api\\definition\\Definition","com\\zoho\\crm\\api\\digest\\BodyWrapper","com\\zoho\\crm\\api\\territories\\Territories","com\\zoho\\crm\\api\\notifications\\ActionWrapper","com\\zoho\\crm\\api\\convertlead\\CarryOverTags","com\\zoho\\crm\\api\\usergroups\\Sources","com\\zoho\\crm\\api\\sharerecords\\Dependee","com\\zoho\\crm\\api\\unsubscribelinks\\BodyWrapper","com\\zoho\\crm\\api\\massdeletecvid\\ActionWrapper","com\\zoho\\crm\\api\\fields\\Private1","com\\zoho\\crm\\api\\currencies\\BodyWrapper","com\\zoho\\crm\\api\\record\\PricingDetails","com\\zoho\\crm\\api\\businesshours\\ActionWrapper","com\\zoho\\crm\\api\\territoryusers\\ActionWrapper","com\\zoho\\crm\\api\\record\\ImageUpload"],"interface":true},"com\\zoho\\crm\\api\\userstransferdelete\\TransferAndDeleteByID":{"transfer":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\userstransferdelete\\Transfer","request_supported":["action","create","delete","read","update"],"name":"transfer","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\userstransferdelete\\Transfer","unique_for":"none","structure":true},"moveSubordinate":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\userstransferdelete\\MoveSubordinate","request_supported":["action","create","delete","read","update"],"name":"move_subordinate","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\userstransferdelete\\MoveSubordinate","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\record\\Reminder":{"period":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"period","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"unit":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"unit","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"time":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\sendmail\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\sendmail\\SuccessResponse","com\\zoho\\crm\\api\\sendmail\\APIException"],"interface":true},"com\\zoho\\crm\\api\\layouts\\Tooltip":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["Info Icon"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"value":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\emaildrafts\\ResponseWrapper":{"emaildrafts":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\emaildrafts\\EmailDrafts","sub_type":{"type":"com\\zoho\\crm\\api\\emaildrafts\\EmailDrafts"},"request_supported":["action","create","delete","read","update"],"name":"__email_drafts","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\record\\CreateRecordsHeader":{"XEXTERNAL":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"X-EXTERNAL","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\usersterritories\\BulkValidation":{"alert":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"alert","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"assignment":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"assignment","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"criteria":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"criteria","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\scoringrules\\LayoutRequestWrapper":{"layout":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\scoringrules\\Layout","request_supported":["action","create","delete","read","update"],"name":"layout","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\scoringrules\\Layout","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\entityscores\\GetEntityScoreParam":{"cvid":{"name":"cvid","type":"String","structure":false},"fields":{"name":"fields","type":"String","structure":false}},"com\\zoho\\crm\\api\\changeowner\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\changeowner\\APIException","com\\zoho\\crm\\api\\changeowner\\ActionWrapper"],"interface":true},"com\\zoho\\crm\\api\\record\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\record\\APIException","com\\zoho\\crm\\api\\record\\SuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\fiscalyear\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\fiscalyear\\APIException","com\\zoho\\crm\\api\\fiscalyear\\ActionWrapper"],"interface":true},"com\\zoho\\crm\\api\\emailtemplates\\LastVersionStatistics":{"tracked":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"tracked","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"delivered":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"delivered","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"opened":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"opened","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"bounced":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"bounced","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"sent":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sent","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"clicked":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"clicked","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\holidays\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\holidays\\APIException","com\\zoho\\crm\\api\\holidays\\SuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\globalpicklists\\GetGlobalPicklistsParam":{"include":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"include","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"includeInnerDetails":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"include_inner_details","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\tags\\ErrorDetails":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"jsonPath":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\currencies\\ErrorDetails":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"jsonPath":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\territories\\DeletedAssociatedTerritories":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"deletedTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"deleted_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"deletedBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"deleted_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\usertypeusers\\DeleteUserFromThePortalParam":{"personalityIds":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"personality_ids","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\usersunavailability\\GetUsersUnavailabilityParam":{"territoryIds":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"territory_ids","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"roleIds":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"role_ids","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"groupIds":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"group_ids","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"filters":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"filters","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"includeInnerDetails":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"include_inner_details","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\currencies\\BodyWrapper":{"currencies":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\currencies\\Currency","sub_type":{"type":"com\\zoho\\crm\\api\\currencies\\Currency"},"request_supported":["action","create","delete","read","update"],"name":"currencies","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\variables\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\variables\\APIException","com\\zoho\\crm\\api\\variables\\ActionWrapper"],"interface":true},"com\\zoho\\crm\\api\\org\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\sendmail\\InReplyTo":{"owner":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\sendmail\\Owner","request_supported":["action","create","delete","read","update"],"name":"owner","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\sendmail\\Owner","unique_for":"none","structure":true},"messageId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\usertypeusers\\Info":{"perPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"per_page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"moreRecords":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"more_records","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"count":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"page":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"totalCount":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"total_count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\fields\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\fields\\APIException","com\\zoho\\crm\\api\\fields\\ActionWrapper"],"interface":true},"com\\zoho\\crm\\api\\attachments\\DeleteAttachmentsParam":{"ids":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"ids","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\appointmentpreference\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["MANDATORY_NOT_FOUND","DEPENDENT_MISMATCH","INVALID_DATA","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"dependee","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"com\\zoho\\crm\\api\\util\\Choice"},"request_supported":["action","create","delete","read","update"],"name":"supported_values","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\fieldmapdependency\\PickListMapping":{"displayValue":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"maps":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fieldmapdependency\\PicklistMap","sub_type":{"type":"com\\zoho\\crm\\api\\fieldmapdependency\\PicklistMap"},"request_supported":["action","create","delete","read","update"],"name":"maps","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"actualValue":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"actual_value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\inventoryconvert\\ConvertTo":{"module":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\inventoryconvert\\Module","request_supported":["action","create","delete","read","update"],"name":"module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\inventoryconvert\\Module","unique_for":"none","structure":true},"carryOverTags":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"carry_over_tags","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\bulkwrite\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\bulkwrite\\SuccessResponse","com\\zoho\\crm\\api\\bulkwrite\\APIException"],"interface":true},"com\\zoho\\crm\\api\\usersunavailability\\UsersUnavailability":{"allDay":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"all_day","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"comments":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"comments","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false,"max_length":250},"service":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"service","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"tpCalendarId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"tp_calendar_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"from":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"from","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"tpEventId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"tp_event_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"to":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"to","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"title":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"title","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"user":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\usersunavailability\\User","request_supported":["action","create","delete","read","update"],"name":"user","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\usersunavailability\\User","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\portalusertype\\UserType":{"modifiedTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"modified_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"default":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"default","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"personalityModule":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\portalusertype\\PersonalityModule","request_supported":["action","create","delete","read","update"],"name":"personality_module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\portalusertype\\PersonalityModule","unique_for":"none","structure":true},"createdBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\portalusertype\\Owner","request_supported":["action","create","delete","read","update"],"name":"created_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\portalusertype\\Owner","unique_for":"none","structure":true},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"noOfUsers":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"no_of_users","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"createdTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"created_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"active":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"active","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"modifiedBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\portalusertype\\Owner","request_supported":["action","create","delete","read","update"],"name":"modified_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\portalusertype\\Owner","unique_for":"none","structure":true},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"modules":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\portalusertype\\Modules","sub_type":{"type":"com\\zoho\\crm\\api\\portalusertype\\Modules"},"request_supported":["action","create","delete","read","update"],"name":"modules","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\globalpicklists\\DeleteGlobalPicklistsParam":{"ids":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"ids","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\emailcomposemeta\\User":{"zgid":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"zgid","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"signature":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\emailcomposemeta\\Signature","request_supported":["action","create","delete","read","update"],"name":"signature","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\emailcomposemeta\\Signature","unique_for":"none","structure":true},"fullName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"full_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"email":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"email","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"zuid":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"zuid","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\unblockemail\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\unblockemail\\SuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\tags\\AddTagsToMultipleRecordsParam":{"overWrite":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"over_write","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\territories\\ReportingTo":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\businesshours\\ResponseWrapper":{"businessHours":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\businesshours\\BusinessHours","request_supported":["action","create","delete","read","update"],"name":"business_hours","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\businesshours\\BusinessHours","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\blueprint\\Field":{"private":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\Private1","request_supported":["action","create","delete","read","update"],"name":"private","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\Private1","unique_for":"none","structure":true},"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"webhook":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"webhook","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"crypt":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\blueprint\\Crypt","request_supported":["action","create","delete","read","update"],"name":"crypt","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\blueprint\\Crypt","unique_for":"none","structure":true},"validationRule":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"validation_rule","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"tooltip":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\blueprint\\ToolTip","request_supported":["action","create","delete","read","update"],"name":"tooltip","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\blueprint\\ToolTip","unique_for":"none","structure":true},"quickSequenceNumber":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"quick_sequence_number","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLong","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"jsonType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"layouts":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\blueprint\\Layout","request_supported":["action","create","delete","read","update"],"name":"layouts","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\blueprint\\Layout","unique_for":"none","structure":true},"mandatory":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"mandatory","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"content":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"content","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"associationDetails":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\blueprint\\AssociationDetails","request_supported":["action","create","delete","read","update"],"name":"association_details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\blueprint\\AssociationDetails","unique_for":"none","structure":true},"pickListValues":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\PickListValue","sub_type":{"type":"com\\zoho\\crm\\api\\fields\\PickListValue"},"request_supported":["action","create","delete","read","update"],"name":"pick_list_values","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"fieldLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"field_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"fieldReadOnly":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"field_read_only","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"currency":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\blueprint\\Currency","request_supported":["action","create","delete","read","update"],"name":"currency","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\blueprint\\Currency","unique_for":"none","structure":true},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"displayLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"filterable":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"filterable","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"lookup":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\blueprint\\Module","request_supported":["action","create","delete","read","update"],"name":"lookup","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\blueprint\\Module","unique_for":"none","structure":true},"personalityName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"personality_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"visible":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"visible","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"dataType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"length":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"length","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"profiles":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\blueprint\\Profile","sub_type":{"type":"com\\zoho\\crm\\api\\blueprint\\Profile"},"request_supported":["action","create","delete","read","update"],"name":"profiles","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"pickListValuesSortedLexically":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"pick_list_values_sorted_lexically","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"readOnly":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"read_only","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"sortable":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sortable","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"historyTracking":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"history_tracking","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"systemMandatory":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"system_mandatory","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"autoNumber":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\blueprint\\AutoNumber","request_supported":["action","create","delete","read","update"],"name":"auto_number","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\blueprint\\AutoNumber","unique_for":"none","structure":true},"customField":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"custom_field","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"convertMapping":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"convert_mapping","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"decimalPlace":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"decimal_place","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"createdSource":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"created_source","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"multiModuleLookup":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\MultiModuleLookup","request_supported":["action","create","delete","read","update"],"name":"multi_module_lookup","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\MultiModuleLookup","unique_for":"none","structure":true},"external":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\External","request_supported":["action","create","delete","read","update"],"name":"external","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\External","unique_for":"none","structure":true},"displayType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":[-1,2],"name":"display_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"transitionSequence":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"transition_sequence","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"unique":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\Unique","request_supported":["action","create","delete","read","update"],"name":"unique","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\Unique","unique_for":"none","structure":true},"uiType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"ui_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"viewType":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\blueprint\\ViewType","request_supported":["action","create","delete","read","update"],"name":"view_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\blueprint\\ViewType","unique_for":"none","structure":true},"formula":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\blueprint\\Formula","request_supported":["action","create","delete","read","update"],"name":"formula","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\blueprint\\Formula","unique_for":"none","structure":true},"multiselectlookup":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\blueprint\\MultiSelectLookup","request_supported":["action","create","delete","read","update"],"name":"multiselectlookup","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\blueprint\\MultiSelectLookup","unique_for":"none","structure":true},"columnName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"column_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\findandmerge\\GetRecordMergeParam":{"jobId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"job_id","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\emailrelatedrecords\\Module":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\tags\\ExistingTag":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\dealcontactroles\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\dealcontactroles\\ActionWrapper","com\\zoho\\crm\\api\\dealcontactroles\\APIException"],"interface":true},"com\\zoho\\crm\\api\\usergroups\\SourcesWrapper":{"sources":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\usergroups\\Sources","sub_type":{"type":"com\\zoho\\crm\\api\\usergroups\\Sources"},"request_supported":["action","create","delete","read","update"],"name":"sources","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"info":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\usergroups\\Info","request_supported":["action","create","delete","read","update"],"name":"info","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\usergroups\\Info","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\fiscalyear\\BodyWrapper":{"fiscalYear":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fiscalyear\\Year","request_supported":["action","create","delete","read","update"],"name":"fiscal_year","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fiscalyear\\Year","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\customviews\\Criteria":{"comparator":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"comparator","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"groupOperator":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"group_operator","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"field":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\customviews\\Field","request_supported":["action","create","delete","read","update"],"name":"field","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\customviews\\Field","unique_for":"none","structure":true},"value":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TObject","nullable_for":"none","type":"Object","unique_for":"none","structure":false},"group":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\customviews\\Criteria","sub_type":{"type":"com\\zoho\\crm\\api\\customviews\\Criteria"},"request_supported":["action","create","delete","read","update"],"name":"group","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\sendmail\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_DATA","INVALID_MODULE","MANDATORY_NOT_FOUND","INTERNAL_SERVER_ERROR","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_path_index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\fieldmapdependency\\Info":{"perPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"per_page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"moreRecords":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"more_records","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"count":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"page":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\dealcontactroles\\GetAssociatedContactRolesParam":{"ids":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"ids","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"fields":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"fields","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\unsubscribelinks\\AssociatedPlaces":{"resource":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\unsubscribelinks\\Resource","request_supported":["action","create","delete","read","update"],"name":"resource","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\unsubscribelinks\\Resource","unique_for":"none","structure":true},"details":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\unsubscribelinks\\Detail","request_supported":["action","create","delete","read","update"],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\unsubscribelinks\\Detail","unique_for":"none","structure":true},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\territoryusers\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\territoryusers\\APIException","com\\zoho\\crm\\api\\territoryusers\\ActionWrapper"],"interface":true},"com\\zoho\\crm\\api\\unblockemail\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\unblockemail\\APIException","com\\zoho\\crm\\api\\unblockemail\\ActionWrapper"],"interface":true},"com\\zoho\\crm\\api\\territories\\ResponseWrapper":{"territories":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\territories\\Territories","sub_type":{"type":"com\\zoho\\crm\\api\\territories\\Territories"},"request_supported":["action","create","delete","read","update"],"name":"territories","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"info":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\territories\\Info","request_supported":["action","create","delete","read","update"],"name":"info","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\territories\\Info","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\recordlocking\\BodyWrapper":{"data":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\recordlocking\\LockRecord","sub_type":{"type":"com\\zoho\\crm\\api\\recordlocking\\LockRecord"},"request_supported":["action","create","delete","read","update"],"name":"data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\usergroups\\Sources":{"subTerritories":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sub_territories","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"source":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\usergroups\\Source","request_supported":["action","create","delete","read","update"],"name":"source","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\usergroups\\Source","unique_for":"none","structure":true},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["users","territories","roles"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"subordinates":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"subordinates","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\emailrelatedrecords\\Status":{"lastOpen":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"last_open","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"firstOpen":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"first_open","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"subCategory":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sub_category","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"count":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"bouncedReason":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"bounced_reason","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"category":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"category","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"bouncedTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"bounced_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\downloadinlineimages\\FileBodyWrapper":{"file":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"file","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TFile","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\StreamWrapper","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\territories\\AssociatedUsersCountWrapper":{"associatedUsersCount":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\territories\\AssociatedUsersCount","sub_type":{"type":"com\\zoho\\crm\\api\\territories\\AssociatedUsersCount"},"request_supported":["action","create","delete","read","update"],"name":"associated_users_count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"info":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\territories\\Info","request_supported":["action","create","delete","read","update"],"name":"info","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\territories\\Info","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\customviews\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\customviews\\APIException","com\\zoho\\crm\\api\\customviews\\ResponseWrapper"],"interface":true},"com\\zoho\\crm\\api\\bulkwrite\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["COEXISTENCE_NOT_ALLOWED","INVALID_TOKEN","INVALID_URL_PATTERN","INVALID_REQUEST_METHOD","FILE_TOO_LARGE","INVALID_FILE_FORMAT","MANDATORY_FIELDS_NOT_MAPPED","MANDATORY_NOT_FOUND","INVALID_FIELD","INVALID_FORMAT","INVALID_FILE_ID","HEADER_LIMIT_EXCEEDED","COLUMN_INDEX_NOT_FOUND","MODULE_NOT_AVAILABLE","INVALID_DATA","DUPLICATE_DATA","NOT_APPROVED","BLOCKED_RECORD","CANNOT_PROCESS","LIMIT_EXCEEDED","RESOURCE_NOT_FOUND","MISSING_REQUIRED_KEY","INVALID_FIELD_NAME","FILE_NOT_SUPPORTED","INVALID_CALLBACK_METHOD","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","Not Modified","AUTHENTICATION_FAILURE","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"xError":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["check if headers [feature, X-CRM-ORG] are present and valid"],"name":"x-error","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"httpStatus":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"http_status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"errorMessage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["Bad Request"],"name":"ERROR_MESSAGE","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"errorCode":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"ERROR_CODE","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"supported_callback_methods","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"xInfo":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["Link not valid"],"name":"x-info","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["invalid oauth token","Please check if the URL trying to access is a correct one","The http request method type is not a valid one","invalid file format. only zip format is supported","File size too large to process","The requested resource doesn't exist.","required key operation is not found in request body.","improper file id","required key index for field Company is not found in request body.","All mandatory fields are not mapped for the layout","Requested module 'asdf' is not available.","invalid mapping. invalid api_name ast_Name.","File not supported for bulk write"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"info":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["Forbidden"],"name":"info","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\contactroles\\BodyWrapper":{"contactRoles":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"spec_type":"com.zoho.api.spec.template.type.TCollections","type":"List","unique_for":"none","structure":true,"structure_name":"com\\zoho\\crm\\api\\contactroles\\ContactRole","sub_type":{"type":"com\\zoho\\crm\\api\\contactroles\\ContactRole"},"name":"contact_roles","required_for":"none","emptiable_for":"none","nullable_for":"none","max_length":100}},"com\\zoho\\crm\\api\\hipaacompliance\\Modules":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\notes\\Info":{"perPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"per_page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"moreRecords":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"more_records","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"nextPageToken":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"next_page_token","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"sortOrder":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sort_order","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"count":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"pageTokenExpiry":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page_token_expiry","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"sortBy":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sort_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"page":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"previousPageToken":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"previous_page_token","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\inventorymassconvert\\BodyWrapper":{"relatedModules":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\inventorymassconvert\\RelatedModules","sub_type":{"type":"com\\zoho\\crm\\api\\inventorymassconvert\\RelatedModules"},"request_supported":["action","create","delete","read","update"],"name":"related_modules","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"convertTo":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"spec_type":"com.zoho.api.spec.template.type.TCollections","type":"List","unique_for":"none","structure":true,"structure_name":"com\\zoho\\crm\\api\\inventorymassconvert\\ConvertTo","sub_type":{"type":"com\\zoho\\crm\\api\\inventorymassconvert\\ConvertTo"},"name":"convert_to","required_for":"none","emptiable_for":"none","nullable_for":"none","max_length":1},"ids":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"Long"},"request_supported":["action","create","delete","read","update"],"name":"ids","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false,"max_length":50},"assignTo":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\inventorymassconvert\\User","request_supported":["action","create","delete","read","update"],"name":"assign_to","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\inventorymassconvert\\User","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\massconvert\\PortalUserType":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\tags\\CountResponseWrapper":{"count":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\usertypeusers\\ResponseWrapper":{"users":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\usertypeusers\\Users","sub_type":{"type":"com\\zoho\\crm\\api\\usertypeusers\\Users"},"request_supported":["action","create","delete","read","update"],"name":"users","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"info":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\usertypeusers\\Info","request_supported":["action","create","delete","read","update"],"name":"info","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\usertypeusers\\Info","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\usersterritories\\ValidationHandler":{"classes":["com\\zoho\\crm\\api\\usersterritories\\APIException","com\\zoho\\crm\\api\\usersterritories\\ValidationWrapper"],"interface":true},"com\\zoho\\crm\\api\\territories\\TransferBodyWrapper":{"territories":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\territories\\TransferTerritory","sub_type":{"type":"com\\zoho\\crm\\api\\territories\\TransferTerritory"},"request_supported":["action","create","delete","read","update"],"name":"territories","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\territoryusers\\Info":{"perPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"per_page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"moreRecords":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"more_records","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"count":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"page":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\bulkread\\FileBodyWrapper":{"file":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"file","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TFile","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\StreamWrapper","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\variables\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\recordlockingconfiguration\\LockExcludedProfile":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\holidays\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["Holidays created successfully","Holidays updated successfully","Holidays deleted successfully"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\layouts\\Properties":{"maximumRows":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"maximum_rows","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"tooltip":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\layouts\\Tooltip","request_supported":["action","create","delete","read","update"],"name":"tooltip","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\layouts\\Tooltip","unique_for":"none","structure":true},"reorderRows":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"reorder_rows","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\fields\\External":{"show":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"show","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"allowMultipleConfig":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"allow_multiple_config","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\territories\\DeleteTerritoriesParam":{"ids":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"ids","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"deletePreviousForecasts":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"delete_previous_forecasts","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\masschangeowner\\CheckStatusParam":{"jobId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"job_id","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\profiles\\MinifiedProfile":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"delete":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"_delete","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\features\\GetFeatureDetailParam":{"module":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"module","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\portals\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\portals\\APIException","com\\zoho\\crm\\api\\portals\\ActionWrapper"],"interface":true},"com\\zoho\\crm\\api\\scoringrules\\ActionWrapper":{"scoringRules":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\scoringrules\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\scoringrules\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"scoring_rules","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\layouts\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\layouts\\ResponseWrapper","com\\zoho\\crm\\api\\layouts\\APIException"],"interface":true},"com\\zoho\\crm\\api\\globalpicklists\\ReplacePicklistValues":{"newValue":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\globalpicklists\\ReplacePicklistValue","request_supported":["action","create","delete","read","update"],"name":"new_value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\globalpicklists\\ReplacePicklistValue","unique_for":"none","structure":true},"oldValue":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\globalpicklists\\ReplacePicklistValue","request_supported":["action","create","delete","read","update"],"name":"old_value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\globalpicklists\\ReplacePicklistValue","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\conversionoption\\ResponseWrapper":{"conversionoptions":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\conversionoption\\ConversionOptions","request_supported":["action","create","delete","read","update"],"name":"__conversion_options","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\conversionoption\\ConversionOptions","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\privacypreference\\Config":{"tpt":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\privacypreference\\Tpt","sub_type":{"type":"com\\zoho\\crm\\api\\privacypreference\\Tpt"},"request_supported":["action","create","delete","read","update"],"name":"tpt","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"section":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\privacypreference\\Section","sub_type":{"type":"com\\zoho\\crm\\api\\privacypreference\\Section"},"request_supported":["action","create","delete","read","update"],"name":"section","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"zohoInteg":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\privacypreference\\Tpt","sub_type":{"type":"com\\zoho\\crm\\api\\privacypreference\\Tpt"},"request_supported":["action","create","delete","read","update"],"name":"zoho_integ","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\taxes\\ResponseWrapper":{"orgTaxes":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\taxes\\OrgTax","request_supported":["action","create","delete","read","update"],"name":"org_taxes","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\taxes\\OrgTax","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\unsubscribelinks\\AssociationsResponseWrapper":{"associations":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\unsubscribelinks\\AssociationDetails","sub_type":{"type":"com\\zoho\\crm\\api\\unsubscribelinks\\AssociationDetails"},"request_supported":["action","create","delete","read","update"],"name":"associations","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\contactroles\\ResponseWrapper":{"contactRoles":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\contactroles\\ContactRole","sub_type":{"type":"com\\zoho\\crm\\api\\contactroles\\ContactRole"},"request_supported":["action","create","delete","read","update"],"name":"contact_roles","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\record\\UpsertRecordsHeader":{"XEXTERNAL":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"X-EXTERNAL","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\pipeline\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_DATA","MANDATORY_NOT_FOUND","DUPLICATE_DATA","REQUIRED_PARAM_MISSING","INTERNAL_SERVER_ERROR","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"maximum_length","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"param_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"param","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_path_index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["required field not found"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\attachments\\Owner":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"email":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"email","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\globalpicklists\\PickListValuesAssociationsResponseWrapper":{"pickListValuesAssociations":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\globalpicklists\\PickListValuesAssociation","sub_type":{"type":"com\\zoho\\crm\\api\\globalpicklists\\PickListValuesAssociation"},"request_supported":["action","create","delete","read","update"],"name":"pick_list_values_associations","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\reschedulehistory\\RescheduleHistory":{"rescheduleReason":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Reschedule_Reason","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"modifiedTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Modified_Time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"orchestration":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"$orchestration","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"inMerge":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"$in_merge","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"sharingPermission":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"$sharing_permission","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"rescheduledFrom":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Rescheduled_From","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"approved":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"$approved","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"review":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"$review","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"rescheduledTo":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Rescheduled_To","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"createdTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Created_Time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"modifiedBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\reschedulehistory\\User","request_supported":["action","create","delete","read","update"],"name":"Modified_By","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\reschedulehistory\\User","unique_for":"none","structure":true},"state":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"$state","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"reviewProcess":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"$review_process","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"appointmentName":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\reschedulehistory\\AppointmentName","request_supported":["action","create","delete","read","update"],"name":"Appointment_Name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\reschedulehistory\\AppointmentName","unique_for":"none","structure":true},"canvasId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"$canvas_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"approval":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\reschedulehistory\\Approval","request_supported":["action","create","delete","read","update"],"name":"$approval","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\reschedulehistory\\Approval","unique_for":"none","structure":true},"editable":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"$editable","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"rescheduledTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Rescheduled_Time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"approvalState":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"$approval_state","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"currencySymbol":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"$currency_symbol","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"rescheduleNote":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Reschedule_Note","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"createdBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\reschedulehistory\\User","request_supported":["action","create","delete","read","update"],"name":"Created_By","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\reschedulehistory\\User","unique_for":"none","structure":true},"processFlow":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"$process_flow","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"ziaVisions":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"$zia_visions","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"rescheduledBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\reschedulehistory\\User","request_supported":["action","create","delete","read","update"],"name":"Rescheduled_By","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\reschedulehistory\\User","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\notifications\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\notifications\\Event","sub_type":{"type":"com\\zoho\\crm\\api\\notifications\\Event"},"request_supported":["action","create","delete","read","update"],"name":"events","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_uri","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"channel_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["Successfully subscribed for actions-watch of the given module","Successfully un-subscribed from actions-watch","Successfully updated the subscribe details","Successfully removed the subscribe details"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\scoringrules\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\scoringrules\\APIException","com\\zoho\\crm\\api\\scoringrules\\ResponseWrapper"],"interface":true},"com\\zoho\\crm\\api\\portalsmeta\\Modules":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"sharedType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"shared_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"pluralLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"plural_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"filters":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\portalsmeta\\Filters","sub_type":{"type":"com\\zoho\\crm\\api\\portalsmeta\\Filters"},"request_supported":["action","create","delete","read","update"],"name":"filters","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"layouts":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\portalsmeta\\Layouts","sub_type":{"type":"com\\zoho\\crm\\api\\portalsmeta\\Layouts"},"request_supported":["action","create","delete","read","update"],"name":"layouts","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"views":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\portalsmeta\\Views","sub_type":{"type":"com\\zoho\\crm\\api\\portalsmeta\\Views"},"request_supported":["action","create","delete","read","update"],"name":"views","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\bulkread\\CallBack":{"method":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["post"],"name":"method","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"url":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"url","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\findandmerge\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\findandmerge\\APIException","com\\zoho\\crm\\api\\findandmerge\\ResponseWrapper"],"interface":true},"com\\zoho\\crm\\api\\pipeline\\DeletePipelineParam":{"layoutId":{"name":"layout_id","type":"Long","structure":false}},"com\\zoho\\crm\\api\\massdeletecvid\\ActionWrapper":{"data":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\massdeletecvid\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\massdeletecvid\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\availablecurrencies\\ResponseWrapper":{"availableCurrencies":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\availablecurrencies\\Currency","sub_type":{"type":"com\\zoho\\crm\\api\\availablecurrencies\\Currency"},"request_supported":["action","create","delete","read","update"],"name":"available_currencies","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\portalinvite\\Data":{"classes":["com\\zoho\\crm\\api\\portalinvite\\SuccessResponse","com\\zoho\\crm\\api\\portalinvite\\APIException"],"interface":true},"com\\zoho\\crm\\api\\relatedrecords\\FileBodyWrapper":{"file":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"file","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TFile","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\StreamWrapper","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\contactroles\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\contactroles\\APIException","com\\zoho\\crm\\api\\contactroles\\SuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\privacyconfigurableapps\\Wrapper":{"privacyConfigurableApps":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\privacyconfigurableapps\\Apps","sub_type":{"type":"com\\zoho\\crm\\api\\privacyconfigurableapps\\Apps"},"request_supported":["action","create","delete","read","update"],"name":"privacy_configurable_apps","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\record\\MassUpdateActionWrapper":{"data":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\record\\MassUpdateActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\record\\MassUpdateActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\wizards\\PortalUserType":{"layout":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\layouts\\Layouts","request_supported":["action","create","delete","read","update"],"name":"layout","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\layouts\\Layouts","unique_for":"none","structure":true},"chartData":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\wizards\\ChartData","request_supported":["action","create","delete","read","update"],"name":"chart_data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\wizards\\ChartData","unique_for":"none","structure":true},"screens":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\wizards\\Screen","sub_type":{"type":"com\\zoho\\crm\\api\\wizards\\Screen"},"request_supported":["action","create","delete","read","update"],"name":"screens","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\findandmerge\\DataFields":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"data":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\findandmerge\\ImageData","sub_type":{"type":"com\\zoho\\crm\\api\\findandmerge\\ImageData"},"request_supported":["action","create","delete","read","update"],"name":"_data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\sharerecords\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\sharerecords\\SuccessResponse","com\\zoho\\crm\\api\\sharerecords\\APIException"],"interface":true},"com\\zoho\\crm\\api\\sendmail\\LinkedModule":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\record\\DeleteRecordUsingExternalIDHeader":{"XEXTERNAL":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"X-EXTERNAL","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\massconvert\\Status":{"failedCount":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Failed_Count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"convertedCount":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Converted_Count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"totalCount":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Total_Count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"notConvertedCount":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Not_Converted_Count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\appointmentpreference\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\appointmentpreference\\APIException","com\\zoho\\crm\\api\\appointmentpreference\\SuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\backup\\Urls":{"expiryDate":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expiry_date","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"attachmentLinks":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"attachment_links","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},"dataLinks":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"data_links","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\timelines\\Timeline":{"fieldHistory":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\timelines\\FieldHistory","sub_type":{"type":"com\\zoho\\crm\\api\\timelines\\FieldHistory"},"request_supported":["action","create","delete","read","update"],"name":"field_history","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"extension":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"extension","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"auditedTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"audited_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"record":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\timelines\\Record","request_supported":["action","create","delete","read","update"],"name":"record","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\timelines\\Record","unique_for":"none","structure":true},"action":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"action","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"source":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"source","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"doneBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\timelines\\NameIdStructure","request_supported":["action","create","delete","read","update"],"name":"done_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\timelines\\NameIdStructure","unique_for":"none","structure":true},"relatedRecord":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\timelines\\RelatedRecord","request_supported":["action","create","delete","read","update"],"name":"related_record","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\timelines\\RelatedRecord","unique_for":"none","structure":true},"automationDetails":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\timelines\\AutomationDetail","request_supported":["action","create","delete","read","update"],"name":"automation_details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\timelines\\AutomationDetail","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\notes\\DeleteNotesParam":{"ids":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"ids","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\record\\BodyWrapper":{"process":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"process","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},"data":{"response_supported":["action","create","delete","read","update"],"min_length":1,"request_supported":["action","create","delete","read","update"],"spec_type":"com.zoho.api.spec.template.type.TCollections","type":"List","unique_for":"none","structure":true,"structure_name":"com\\zoho\\crm\\api\\record\\Record","sub_type":{"type":"com\\zoho\\crm\\api\\record\\Record"},"name":"data","required_for":"none","emptiable_for":"none","nullable_for":"none","max_length":100},"larId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"lar_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"wfTrigger":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"wf_trigger","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"trigger":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"trigger","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},"duplicateCheckFields":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"duplicate_check_fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\availablecurrencies\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INTERNAL_SERVER_ERROR","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","MANDATORY_NOT_FOUND"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\notifications\\ActionWrapper":{"watch":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\notifications\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\notifications\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"watch","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\portals\\BodyWrapper":{"portals":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\portals\\Portals","sub_type":{"type":"com\\zoho\\crm\\api\\portals\\Portals"},"request_supported":["action","create","delete","read","update"],"name":"portals","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\usergroups\\Info":{"perPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"per_page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"moreRecords":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"more_records","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"count":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"page":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\usergroups\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\usergroups\\APIException","com\\zoho\\crm\\api\\usergroups\\SuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\globalpicklists\\ReplaceSuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SCHEDULED"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"job_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\users\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\users\\AssociatedGroupsWrapper","com\\zoho\\crm\\api\\users\\ResponseWrapper","com\\zoho\\crm\\api\\users\\APIException"],"interface":true},"com\\zoho\\crm\\api\\associateemail\\Available":{"linkedRecord":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\associateemail\\LinkedRecord","request_supported":["action","create","delete","read","update"],"name":"linked_record","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\associateemail\\LinkedRecord","unique_for":"none","structure":true},"record":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\associateemail\\Record","request_supported":["action","create","delete","read","update"],"name":"record","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\associateemail\\Record","unique_for":"none","structure":true},"available":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"available","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\roles\\ReportingTo":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\shifthours\\ShiftCount":{"totalShift":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"total_shift","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"totalShiftWithUser":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"total_shift_with_user","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\fields\\ConvertMapping":{"deals":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Deals","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"accounts":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Accounts","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"contacts":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Contacts","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\massdeletecvid\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\massdeletecvid\\APIException","com\\zoho\\crm\\api\\massdeletecvid\\ResponseWrapper"],"interface":true},"com\\zoho\\crm\\api\\record\\ActionWrapper":{"data":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\record\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\record\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\wizards\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_DATA","INTERNAL_ERROR","OAUTH_SCOPE_MISMATCH","INVALID_TOKEN","INVALID_URL_PATTERN","INVALID_REQUEST_METHOD","MANDATORY_NOT_FOUND","PATTERN_NOT_MATCHED","INVALID_MODULE","REQUIRED_PARAM_MISSING","DEPENDENT_FIELD_MISSING","BAD_REQUEST","NO_PERMISSION","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","Not Modified","AUTHENTICATION_FAILURE","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"permissions","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"param_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"dependee","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["Invalid Wizard ID","the module name given seems to be invalid","feature not available in this edition","permission denied","invalid oauth token","Please check if the URL trying to access is a correct one","The http request method type is not a valid one","Internal server error occurred."],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\webforms\\AnalyticsData":{"analyticsEnabled":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"analytics_enabled","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"iframeUrlTrackingCode":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"iframe_url_tracking_code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"analyticsEnabledTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"analytics_enabled_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"urlAnalyticsEnabled":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"url_analytics_enabled","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"trackingCode":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"tracking_code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\sharerecords\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["record will be shared successfully","Sharing Revoked"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\fields\\ResponseWrapper":{"fields":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\Fields","sub_type":{"type":"com\\zoho\\crm\\api\\fields\\Fields"},"request_supported":["action","create","delete","read","update"],"name":"fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\unblockemail\\ActionWrapper":{"data":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\unblockemail\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\unblockemail\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\shifthours\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_DATA","MANDATORY_NOT_FOUND","DEPENDENT_FIELD_MISSING","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"regex","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\shifthours\\MandatoryDetails","request_supported":["action","create","delete","read","update"],"name":"dependee","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\shifthours\\MandatoryDetails","unique_for":"none","structure":true},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_path_index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"minimum_length","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"maximum_length","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\fields\\Textarea":{"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\appointmentpreference\\GetAppointmentPreferenceParam":{"include":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"include","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\pipeline\\DPipelineWrapper":{"pipeline":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\pipeline\\DPipeline","sub_type":{"type":"com\\zoho\\crm\\api\\pipeline\\DPipeline"},"request_supported":["action","create","delete","read","update"],"name":"pipeline","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\layouts\\ResponseWrapper":{"layouts":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\layouts\\Layouts","sub_type":{"type":"com\\zoho\\crm\\api\\layouts\\Layouts"},"request_supported":["action","create","delete","read","update"],"name":"layouts","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\modules\\ActionWrapper":{"modules":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\modules\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\modules\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"modules","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\fiscalyear\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_DATA","MANDATORY_NOT_FOUND","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"Object"},"request_supported":["action","create","delete","read","update"],"name":"allowed_values","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["Please give a valid month","Please give a valid value","required field not found"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\globalpicklists\\ActionWrapper":{"globalPicklists":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\globalpicklists\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\globalpicklists\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"global_picklists","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\record\\DownloadHandler":{"classes":["com\\zoho\\crm\\api\\record\\APIException","com\\zoho\\crm\\api\\record\\FileBodyWrapper"],"interface":true},"com\\zoho\\crm\\api\\associateemail\\To":{"userName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"user_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"email":{"regex":"[a-z]{7}[@]zoho[.]com","response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"email","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\usersterritories\\ValidationWrapper":{"validateBeforeTransfer":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\usersterritories\\ValidationGroup","sub_type":{"type":"com\\zoho\\crm\\api\\usersterritories\\ValidationGroup"},"request_supported":["action","create","delete","read","update"],"name":"validate_before_transfer","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\portals\\Owner":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\bulkwrite\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\bulkwrite\\APIException","com\\zoho\\crm\\api\\bulkwrite\\FileBodyWrapper"],"interface":true},"com\\zoho\\crm\\api\\features\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_MODULE","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","MANDATORY_NOT_FOUND","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["the module name given seems to be invalid"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\masschangeowner\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"job_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["owner is successfully updated"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\sendmail\\BodyWrapper":{"data":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\sendmail\\Data","sub_type":{"type":"com\\zoho\\crm\\api\\sendmail\\Data"},"request_supported":["action","create","delete","read","update"],"name":"data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\findandmerge\\ActionWrapper":{"merge":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\findandmerge\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\findandmerge\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"merge","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\timelines\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\timelines\\APIException","com\\zoho\\crm\\api\\timelines\\ResponseWrapper"],"interface":true},"com\\zoho\\crm\\api\\massdeletecvid\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INTERNAL_SERVER_ERROR","INVALID_DATA","MANDATORY_NOT_FOUND","INVALID_MODULE","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["cvid"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["the cvid given seems to be invalid","required field not found","the module name given seems to be invalid"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\userstransferdelete\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\userstransferdelete\\APIException","com\\zoho\\crm\\api\\userstransferdelete\\ActionWrapper"],"interface":true},"com\\zoho\\crm\\api\\shifthours\\MandatoryDetails":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"jsonPath":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\pipeline\\UpdatePipelinesParam":{"layoutId":{"name":"layout_id","type":"Long","structure":false}},"com\\zoho\\crm\\api\\fields\\QueryDetails":{"criteria":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\Criteria","request_supported":["action","create","delete","read","update"],"name":"criteria","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\Criteria","unique_for":"none","structure":true},"queryId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"query_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\hipaacompliance\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\hipaacompliance\\APIException"],"interface":true},"com\\zoho\\crm\\api\\shifthours\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\usergroups\\Owner":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\mailmerge\\SignActionHandler":{"classes":["com\\zoho\\crm\\api\\mailmerge\\SignActionWrapper","com\\zoho\\crm\\api\\mailmerge\\APIException"],"interface":true},"com\\zoho\\crm\\api\\wizards\\Screen":{"displayLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"conditionalRules":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\wizards\\ConditionalRules","sub_type":{"type":"com\\zoho\\crm\\api\\wizards\\ConditionalRules"},"request_supported":["action","create","delete","read","update"],"name":"conditional_rules","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"referenceId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"reference_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"segments":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\wizards\\Segment","sub_type":{"type":"com\\zoho\\crm\\api\\wizards\\Segment"},"request_supported":["action","create","delete","read","update"],"name":"segments","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\unblockemail\\BodyWrapper":{"ids":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"ids","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false,"max_length":5},"unblockFields":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"unblock_fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\org\\FileBodyWrapper":{"file":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"file","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TFile","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\StreamWrapper","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\webforms\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\webforms\\ActionWrapper","com\\zoho\\crm\\api\\webforms\\APIException"],"interface":true},"com\\zoho\\crm\\api\\modules\\LookupFieldProperties":{"fields":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\modules\\LookupField","sub_type":{"type":"com\\zoho\\crm\\api\\modules\\LookupField"},"request_supported":["action","create","delete","read","update"],"name":"fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\recordlocking\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["RECORD_LOCKED","REQUIRED_PARAM_MISSING","MANDATORY_NOT_FOUND","LIMIT_EXCEEDED","INVALID_DATA","INVALID_MODULE","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"action","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"param","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"limit","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"available_limit","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"maximum_length","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"param_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_path_index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["required field not found","Invalid data"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\digest\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"digest_code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["Digest has been successfully generated"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\org\\ActionWrapper":{"org":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\org\\SuccessResponse","sub_type":{"type":"com\\zoho\\crm\\api\\org\\SuccessResponse"},"request_supported":["action","create","delete","read","update"],"name":"org","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\associateemail\\AssociateEmail":{"cc":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\associateemail\\To","sub_type":{"type":"com\\zoho\\crm\\api\\associateemail\\To"},"request_supported":["action","create","delete","read","update"],"name":"cc","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"dateTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"date_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"bcc":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\associateemail\\To","sub_type":{"type":"com\\zoho\\crm\\api\\associateemail\\To"},"request_supported":["action","create","delete","read","update"],"name":"bcc","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"attachments":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\associateemail\\Attachments","sub_type":{"type":"com\\zoho\\crm\\api\\associateemail\\Attachments"},"request_supported":["action","create","delete","read","update"],"name":"attachments","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"linkedRecord":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\associateemail\\LinkedRecord","request_supported":["action","create","delete","read","update"],"name":"linked_record","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\associateemail\\LinkedRecord","unique_for":"none","structure":true},"subject":{"response_supported":["action","create","delete","read","update"],"min_length":1,"request_supported":["action","create","delete","read","update"],"name":"subject","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false,"max_length":250},"from":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\associateemail\\From","request_supported":["action","create","delete","read","update"],"name":"from","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\associateemail\\From","unique_for":"none","structure":true},"mailFormat":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["html","text"],"name":"mail_format","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"to":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\associateemail\\To","sub_type":{"type":"com\\zoho\\crm\\api\\associateemail\\To"},"request_supported":["action","create","delete","read","update"],"name":"to","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"originalMessageId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"original_message_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"sent":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sent","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"content":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"content","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\holidays\\UpdateHolidaysHeader":{"xCrmOrg":{"name":"X-CRM-ORG","type":"String","structure":false}},"com\\zoho\\crm\\api\\shifthours\\BodyWrapper":{"shiftHours":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\shifthours\\ShiftHours","sub_type":{"type":"com\\zoho\\crm\\api\\shifthours\\ShiftHours"},"request_supported":["action","create","delete","read","update"],"name":"shift_hours","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\entityscores\\EntityScores":{"scoringRule":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\entityscores\\ScoringRule","request_supported":["action","create","delete","read","update"],"name":"Scoring_Rule","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\entityscores\\ScoringRule","unique_for":"none","structure":true},"score":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Score","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"fieldStates":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"$field_states","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},"positiveScore":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Positive_Score","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"ziaVisions":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"$zia_visions","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"touchPointPositiveScore":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Touch_Point_Positive_Score","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"touchPointNegativeScore":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Touch_Point_Negative_Score","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"negativeScore":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Negative_Score","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"entity":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\entityscores\\Entity","request_supported":["action","create","delete","read","update"],"name":"Entity","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\entityscores\\Entity","unique_for":"none","structure":true},"touchPointScore":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Touch_Point_Score","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\usersunavailability\\ResponseWrapper":{"usersUnavailability":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\usersunavailability\\UsersUnavailability","sub_type":{"type":"com\\zoho\\crm\\api\\usersunavailability\\UsersUnavailability"},"request_supported":["action","create","delete","read","update"],"name":"users_unavailability","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"info":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\usersunavailability\\Info","request_supported":["action","create","delete","read","update"],"name":"info","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\usersunavailability\\Info","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\portalinvite\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_DATA","REQUIRED_PARAM_MISSING","INVALID_MODULE","MANDATORY_NOT_FOUND","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"param_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"param","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"regex","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\associateemail\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\associateemail\\SuccessResponse","com\\zoho\\crm\\api\\associateemail\\APIException"],"interface":true},"com\\zoho\\crm\\api\\emaildrafts\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\emaildrafts\\SuccessResponse","com\\zoho\\crm\\api\\emaildrafts\\APIException"],"interface":true},"com\\zoho\\crm\\api\\blueprint\\BodyWrapper":{"blueprint":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\blueprint\\BluePrint","sub_type":{"type":"com\\zoho\\crm\\api\\blueprint\\BluePrint"},"request_supported":["action","create","delete","read","update"],"name":"blueprint","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\fieldattachments\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\fieldattachments\\FileBodyWrapper","com\\zoho\\crm\\api\\fieldattachments\\APIException"],"interface":true},"com\\zoho\\crm\\api\\backup\\ActionWrapper":{"backup":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\backup\\ActionResponse","request_supported":["action","create","delete","read","update"],"name":"backup","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","interface":true,"type":"com\\zoho\\crm\\api\\backup\\ActionResponse","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\scoringrules\\Layout":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\downloadinlineimages\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_TOKEN","INVALID_URL_PATTERN","INVALID_REQUEST_METHOD","INVALID_DATA","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","Not Modified","AUTHENTICATION_FAILURE","MANDATORY_NOT_FOUND","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["invalid oauth token","Please check if the URL trying to access is a correct one","The http request method type is not a valid one","The module name given seems to be invalid","the request does not contain any file","invalid file type"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\portalinvite\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\portalinvite\\SuccessResponse","com\\zoho\\crm\\api\\portalinvite\\APIException"],"interface":true},"com\\zoho\\crm\\api\\sendmail\\InventoryTemplate":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\files\\ActionWrapper":{"data":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\files\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\files\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\coql\\ResponseWrapper":{"data":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\record\\Record","sub_type":{"type":"com\\zoho\\crm\\api\\record\\Record"},"request_supported":["action","create","delete","read","update"],"name":"data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"info":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\record\\Info","request_supported":["action","create","delete","read","update"],"name":"info","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\record\\Info","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\record\\MassUpdate":{"failedCount":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Failed_Count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"updatedCount":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Updated_Count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"notUpdatedCount":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Not_Updated_Count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"totalCount":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Total_Count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["COMPLETED","SCHEDULED","RUNNING","FAILED"],"name":"Status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\usergroups\\AssociationWrapper":{"associations":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\usergroups\\AssociationResponse","sub_type":{"type":"com\\zoho\\crm\\api\\usergroups\\AssociationResponse"},"request_supported":["action","create","delete","read","update"],"name":"associations","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\users\\AssociatedGroup":{"modifiedTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"modified_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"createdBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"created_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"description":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"description","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"createdTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"created_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"modifiedBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"modified_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\taxes\\Preference":{"modifyTaxRates":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"modify_tax_rates","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"autoPopulateTax":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"auto_populate_tax","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\relatedrecords\\UpdateRelatedRecordsUsingExternalIDHeader":{"XEXTERNAL":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"X-EXTERNAL","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\layouts\\Profiles":{"defaultassignmentview":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\layouts\\DefaultAssignmentView","request_supported":["action","create","delete","read","update"],"name":"_default_assignment_view","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\layouts\\DefaultAssignmentView","unique_for":"none","structure":true},"default":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"default","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"defaultview":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\layouts\\DefaultView","request_supported":["action","create","delete","read","update"],"name":"_default_view","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\layouts\\DefaultView","unique_for":"none","structure":true},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\sharerecords\\DeleteActionHandler":{"classes":["com\\zoho\\crm\\api\\sharerecords\\DeleteActionWrapper","com\\zoho\\crm\\api\\sharerecords\\APIException"],"interface":true},"com\\zoho\\crm\\api\\usergroups\\Groups":{"modifiedTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"modified_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"sources":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\usergroups\\Sources","sub_type":{"type":"com\\zoho\\crm\\api\\usergroups\\Sources"},"request_supported":["action","create","delete","read","update"],"name":"sources","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"createdBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\usergroups\\Owner","request_supported":["action","create","delete","read","update"],"name":"created_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\usergroups\\Owner","unique_for":"none","structure":true},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"createdTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"created_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"description":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"description","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"modifiedBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\usergroups\\Owner","request_supported":["action","create","delete","read","update"],"name":"modified_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\usergroups\\Owner","unique_for":"none","structure":true},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\definition\\Property":{"displayLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"allowedValues":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"Object"},"request_supported":["action","create","delete","read","update"],"name":"allowed_values","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},"regex":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"regex","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"fieldLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"field_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"dataType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"uiType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"ui_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"length":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"length","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"readOnly":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"read_only","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"availableInUserLayout":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"available_in_user_layout","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"required":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"required","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"properties":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\definition\\MinifiedProperty","sub_type":{"type":"com\\zoho\\crm\\api\\definition\\MinifiedProperty"},"request_supported":["action","create","delete","read","update"],"name":"properties","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\territoryusers\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\emaildrafts\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\notifications\\Criteria":{"comparator":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"comparator","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"groupOperator":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"group_operator","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"field":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\notifications\\Field","request_supported":["action","create","delete","read","update"],"name":"field","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\notifications\\Field","unique_for":"none","structure":true},"value":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TObject","nullable_for":"none","type":"Object","unique_for":"none","structure":false},"group":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\notifications\\Criteria","sub_type":{"type":"com\\zoho\\crm\\api\\notifications\\Criteria"},"request_supported":["action","create","delete","read","update"],"name":"group","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\sendmail\\Cc":{"userName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"user_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"email":{"regex":"[a-z]{7}[@]zoho[.]com","response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"email","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\tags\\NewTagRequestWrapper":{"ids":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"Long"},"request_supported":["action","create","delete","read","update"],"name":"ids","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},"tags":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\tags\\Tag","sub_type":{"type":"com\\zoho\\crm\\api\\tags\\Tag"},"request_supported":["action","create","delete","read","update"],"name":"tags","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"overWrite":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"over_write","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\userstransferdelete\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\userstransferdelete\\APIException","com\\zoho\\crm\\api\\userstransferdelete\\SuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\businesshours\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_DATA","MANDATORY_NOT_FOUND","INVALID_MODULE","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"maximum_length","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_path_index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\businesshours\\Features","sub_type":{"type":"com\\zoho\\crm\\api\\businesshours\\Features"},"request_supported":["action","create","delete","read","update"],"name":"features","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"regex","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["required field not found"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\emailtemplates\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_MODULE","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","MANDATORY_NOT_FOUND","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"param_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\notes\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\notes\\ResponseWrapper","com\\zoho\\crm\\api\\notes\\APIException"],"interface":true},"com\\zoho\\crm\\api\\emailtemplates\\Info":{"perPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"per_page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"moreRecords":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"more_records","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"count":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"page":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\wizards\\Connection":{"targetScreen":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\wizards\\Screen","request_supported":["action","create","delete","read","update"],"name":"target_screen","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\wizards\\Screen","unique_for":"none","structure":true},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"sourceButton":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\wizards\\Button","request_supported":["action","create","delete","read","update"],"name":"source_button","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\wizards\\Button","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\blueprint\\Transition":{"criteriaMatched":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"criteria_matched","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"data":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\record\\Record","request_supported":["action","create","delete","read","update"],"name":"data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\record\\Record","unique_for":"none","structure":true},"nextTransitions":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\blueprint\\NextTransition","sub_type":{"type":"com\\zoho\\crm\\api\\blueprint\\NextTransition"},"request_supported":["action","create","delete","read","update"],"name":"next_transitions","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"textColorCode":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"text_color_code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"executionTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"execution_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"sequence":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sequence","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"parentTransition":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\blueprint\\Transition","request_supported":["action","create","delete","read","update"],"name":"parent_transition","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\blueprint\\Transition","unique_for":"none","structure":true},"percentPartialSave":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"percent_partial_save","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDouble","nullable_for":"none","type":"Float","unique_for":"none","structure":false},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"criteriaMessage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"criteria_message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"colorCode":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"color_code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"nextFieldValue":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"next_field_value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLong","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"fields":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\blueprint\\Field","sub_type":{"type":"com\\zoho\\crm\\api\\blueprint\\Field"},"request_supported":["action","create","delete","read","update"],"name":"fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\wizards\\Actions":{"field":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\Fields","request_supported":["action","create","delete","read","update"],"name":"field","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\Fields","unique_for":"none","structure":true},"exemptedProfiles":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\profiles\\Profile","sub_type":{"type":"com\\zoho\\crm\\api\\profiles\\Profile"},"request_supported":["action","create","delete","read","update"],"name":"exempted_profiles","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"segment":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\wizards\\Segment","request_supported":["action","create","delete","read","update"],"name":"segment","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\wizards\\Segment","unique_for":"none","structure":true},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"fields":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\Fields","request_supported":["action","create","delete","read","update"],"name":"fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\Fields","unique_for":"none","structure":true},"value":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TObject","nullable_for":"none","type":"Object","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\territories\\GetTerritoriesParam":{"filters":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"filters","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\definition\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_DATA","REQUIRED_PARAM_MISSING"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["resource"],"name":"param_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["resource"],"name":"param","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["invalid param","One of the expected parameter is missing"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\scoringrules\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["ALREADY_SCHEDULED","INVALID_DATA","DUPLICATE_DATA","MANDATORY_NOT_FOUND","REQUIRED_PARAM_MISSING","INVALID_MODULE","INVALID_URL_PATTERN","EXPECTED_FIELD_MISSING","LIMIT_EXCEEDED","INVALID_TOKEN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_path_index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"param_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"maximum_length","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\scoringrules\\ExpectedField","sub_type":{"type":"com\\zoho\\crm\\api\\scoringrules\\ExpectedField"},"request_supported":["action","create","delete","read","update"],"name":"expected_fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"param","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"limit","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["invalid data","the module name given seems to be invalid"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\dealcontactroles\\Info":{"perPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"per_page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"moreRecords":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"more_records","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"nextPageToken":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"next_page_token","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"count":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"pageTokenExpiry":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page_token_expiry","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"page":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"previousPageToken":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"previous_page_token","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\customviews\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\customviews\\APIException","com\\zoho\\crm\\api\\customviews\\SuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\sharerecords\\ShareRecord":{"shareRelatedRecords":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"share_related_records","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"sharedThrough":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\sharerecords\\SharedThrough","request_supported":["action","create","delete","read","update"],"name":"shared_through","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\sharerecords\\SharedThrough","unique_for":"none","structure":true},"sharedTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"shared_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"sharedBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\Users","request_supported":["action","create","delete","read","update"],"name":"shared_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\Users","unique_for":"none","structure":true},"permission":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"permission","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"sharedWith":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\Users","request_supported":["action","create","delete","read","update"],"name":"shared_with","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\Users","unique_for":"none","structure":true},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["public","private"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"user":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\Users","request_supported":["action","create","delete","read","update"],"name":"user","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\Users","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\webforms\\GetWebFormsParam":{"module":{"name":"module","type":"String","structure":false}},"com\\zoho\\crm\\api\\downloadattachments\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\downloadattachments\\FileBodyWrapper","com\\zoho\\crm\\api\\downloadattachments\\APIException"],"interface":true},"com\\zoho\\crm\\api\\inventorymassconvert\\ConvertTo":{"module":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\inventorymassconvert\\Module","request_supported":["action","create","delete","read","update"],"name":"module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\inventorymassconvert\\Module","unique_for":"none","structure":true},"carryOverTags":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"carry_over_tags","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\portals\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\portals\\ResponseWrapper","com\\zoho\\crm\\api\\portals\\APIException"],"interface":true},"com\\zoho\\crm\\api\\hipaacompliance\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\taxes\\ActionWrapper":{"orgTaxes":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\taxes\\ActionResponse","request_supported":["action","create","delete","read","update"],"name":"org_taxes","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","interface":true,"type":"com\\zoho\\crm\\api\\taxes\\ActionResponse","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\reschedulehistory\\GetAppointmentsRescheduledHistoryParam":{"perPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"per_page","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"sortOrder":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sort_order","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"ids":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"ids","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"sortBy":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sort_by","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"page":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"fields":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"fields","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\variables\\GetVariablesParam":{"group":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"group","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\customviews\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\customviews\\ActionWrapper","com\\zoho\\crm\\api\\customviews\\APIException"],"interface":true},"com\\zoho\\crm\\api\\masschangeowner\\Criteria":{"comparator":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"comparator","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"groupOperator":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"group_operator","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"field":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\masschangeowner\\Field","request_supported":["action","create","delete","read","update"],"name":"field","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\masschangeowner\\Field","unique_for":"none","structure":true},"value":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TObject","nullable_for":"none","type":"Object","unique_for":"none","structure":false},"group":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\masschangeowner\\Criteria","sub_type":{"type":"com\\zoho\\crm\\api\\masschangeowner\\Criteria"},"request_supported":["action","create","delete","read","update"],"name":"group","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\changeowner\\BodyWrapper":{"owner":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\changeowner\\Owner","request_supported":["action","create","delete","read","update"],"name":"owner","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\changeowner\\Owner","unique_for":"none","structure":true},"relatedModules":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\changeowner\\RelatedModules","sub_type":{"type":"com\\zoho\\crm\\api\\changeowner\\RelatedModules"},"request_supported":["action","create","delete","read","update"],"name":"related_modules","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"notify":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"notify","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\notes\\ActionWrapper":{"data":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\notes\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\notes\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\fields\\HistoryTrackingModule":{"layout":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\layouts\\Layouts","request_supported":["action","create","delete","read","update"],"name":"layout","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\layouts\\Layouts","unique_for":"none","structure":true},"displayLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"module":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\HistoryTrackingModule","request_supported":["action","create","delete","read","update"],"name":"module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\HistoryTrackingModule","unique_for":"none","structure":true},"moduleName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"module_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\sendmail\\Template":{"classes":["com\\zoho\\crm\\api\\emailtemplates\\EmailTemplate","com\\zoho\\crm\\api\\inventorytemplates\\InventoryTemplates"],"interface":true},"com\\zoho\\crm\\api\\pipeline\\TransferPipelinesParam":{"layoutId":{"name":"layout_id","type":"Long","structure":false}},"com\\zoho\\crm\\api\\wizards\\Element":{"resource":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\wizards\\Resource","request_supported":["action","create","delete","read","update"],"name":"resource","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\wizards\\Resource","unique_for":"none","structure":true},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\userstransferdelete\\ActionWrapper":{"transferAndDelete":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\userstransferdelete\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\userstransferdelete\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"transfer_and_delete","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\cancelmeetings\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_DATA","MANDATORY_NOT_FOUND","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"reason","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\fields\\HipaaCompliance":{"restricted":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"restricted","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"restrictedInExport":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"restricted_in_export","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\webforms\\FromAddress":{"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\emaildrafts\\EmailDrafts":{"cc":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\emaildrafts\\To","sub_type":{"type":"com\\zoho\\crm\\api\\emaildrafts\\To"},"request_supported":["action","create","delete","read","update"],"name":"cc","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"template":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\emaildrafts\\Template","request_supported":["action","create","delete","read","update"],"name":"template","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\emaildrafts\\Template","unique_for":"none","structure":true},"summary":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"summary","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"modifiedTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"modified_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"bcc":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\emaildrafts\\To","sub_type":{"type":"com\\zoho\\crm\\api\\emaildrafts\\To"},"request_supported":["action","create","delete","read","update"],"name":"bcc","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"attachments":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\emaildrafts\\Attachments","sub_type":{"type":"com\\zoho\\crm\\api\\emaildrafts\\Attachments"},"request_supported":["action","create","delete","read","update"],"name":"attachments","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"subject":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"subject","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"inventoryDetails":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\emaildrafts\\InventoryDetails","request_supported":["action","create","delete","read","update"],"name":"inventory_details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\emaildrafts\\InventoryDetails","unique_for":"none","structure":true},"richText":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"rich_text","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"emailOptOut":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"email_opt_out","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"content":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"content","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"replyTo":{"regex":"[a-z]{7}[@]zoho[.]com","response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"reply_to","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"createdTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"created_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"from":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"from","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"to":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\emaildrafts\\To","sub_type":{"type":"com\\zoho\\crm\\api\\emaildrafts\\To"},"request_supported":["action","create","delete","read","update"],"name":"to","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"scheduleDetails":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\emaildrafts\\ScheduleDetails","request_supported":["action","create","delete","read","update"],"name":"schedule_details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\emaildrafts\\ScheduleDetails","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\inventorytemplates\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_MODULE","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","MANDATORY_NOT_FOUND","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"param_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\userstransferdelete\\Transfer":{"records":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"records","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"assignment":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"assignment","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"criteria":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"criteria","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\fields\\GetFieldParam":{"include":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"include","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"module":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"module","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\taxes\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\taxes\\ResponseWrapper","com\\zoho\\crm\\api\\taxes\\APIException"],"interface":true},"com\\zoho\\crm\\api\\blueprint\\AutoNumber":{"startNumber":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"start_number","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"prefix":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"prefix","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"suffix":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"suffix","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\shifthours\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\shifthours\\APIException","com\\zoho\\crm\\api\\shifthours\\ActionWrapper"],"interface":true},"com\\zoho\\crm\\api\\conversionoption\\ConversionOptions":{"preferenceFieldMatchedValue":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\conversionoption\\PreferenceFieldMatchedValue","request_supported":["action","create","delete","read","update"],"name":"preference_field_matched_value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\conversionoption\\PreferenceFieldMatchedValue","unique_for":"none","structure":true},"deals":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\record\\Record","sub_type":{"type":"com\\zoho\\crm\\api\\record\\Record"},"request_supported":["action","create","delete","read","update"],"name":"Deals","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"modulePreference":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\modules\\Modules","request_supported":["action","create","delete","read","update"],"name":"module_preference","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\modules\\Modules","unique_for":"none","structure":true},"accounts":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\record\\Record","sub_type":{"type":"com\\zoho\\crm\\api\\record\\Record"},"request_supported":["action","create","delete","read","update"],"name":"Accounts","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"contacts":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\record\\Record","sub_type":{"type":"com\\zoho\\crm\\api\\record\\Record"},"request_supported":["action","create","delete","read","update"],"name":"Contacts","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"modulesWithMultipleLayouts":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\modules\\Modules","sub_type":{"type":"com\\zoho\\crm\\api\\modules\\Modules"},"request_supported":["action","create","delete","read","update"],"name":"modules_with_multiple_layouts","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\variablegroups\\MinifiedVariableGroup":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\notes\\GetNotesHeader":{"IfModifiedSince":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"If-Modified-Since","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\userstransferdelete\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"jobId","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["User added","User updated","User deleted"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\taxes\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\taxes\\SuccessResponse","com\\zoho\\crm\\api\\taxes\\APIException"],"interface":true},"com\\zoho\\crm\\api\\scoringrules\\ResponseWrapper":{"scoringRules":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\scoringrules\\ScoringRule","sub_type":{"type":"com\\zoho\\crm\\api\\scoringrules\\ScoringRule"},"request_supported":["action","create","delete","read","update"],"name":"scoring_rules","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"info":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\scoringrules\\Info","request_supported":["action","create","delete","read","update"],"name":"info","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\scoringrules\\Info","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\blueprint\\Currency":{"roundingOption":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"rounding_option","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"precision":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"precision","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\notifications\\Info":{"perPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"per_page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"moreRecords":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"more_records","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"count":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"page":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\convertlead\\BodyWrapper":{"data":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\convertlead\\LeadConverter","sub_type":{"type":"com\\zoho\\crm\\api\\convertlead\\LeadConverter"},"request_supported":["action","create","delete","read","update"],"name":"data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\cancelmeetings\\Notify":{"sendCancellingMail":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"send_cancelling_mail","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\downloadinlineimages\\GetDownloadInlineImagesParam":{"messageId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message_id","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"userId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"user_id","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\massconvert\\BodyWrapper":{"relatedModules":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\massconvert\\RelatedModule","sub_type":{"type":"com\\zoho\\crm\\api\\massconvert\\RelatedModule"},"request_supported":["action","create","delete","read","update"],"name":"related_modules","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"applyAssignmentThreshold":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"apply_assignment_threshold","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"deals":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\record\\Record","request_supported":["action","create","delete","read","update"],"name":"Deals","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\record\\Record","unique_for":"none","structure":true},"ids":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"Long"},"request_supported":["action","create","delete","read","update"],"name":"ids","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},"carryOverTags":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\massconvert\\MoveAttachmentsTo","sub_type":{"type":"com\\zoho\\crm\\api\\massconvert\\MoveAttachmentsTo"},"request_supported":["action","create","delete","read","update"],"name":"carry_over_tags","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"assignTo":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\massconvert\\AssignTo","request_supported":["action","create","delete","read","update"],"name":"assign_to","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\massconvert\\AssignTo","unique_for":"none","structure":true},"portalUserType":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\massconvert\\PortalUserType","request_supported":["action","create","delete","read","update"],"name":"portal_user_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\massconvert\\PortalUserType","unique_for":"none","structure":true},"moveAttachmentsTo":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\massconvert\\MoveAttachmentsTo","request_supported":["action","create","delete","read","update"],"name":"move_attachments_to","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\massconvert\\MoveAttachmentsTo","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\portalinvite\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS","SCHEDULED"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"record_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"job_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\portalsmeta\\Wrapper":{"relatedLists":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\portalsmeta\\RelatedLists","sub_type":{"type":"com\\zoho\\crm\\api\\portalsmeta\\RelatedLists"},"request_supported":["action","create","delete","read","update"],"name":"related_lists","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\profiles\\CategoryModule":{"displayLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"permissionsDetails":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"permissions_details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},"module":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\sharerecords\\ActionWrapper":{"share":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\sharerecords\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\sharerecords\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"share","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"notify":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"notify","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\bulkread\\ModuleDetails":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"module":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\recordlockingconfiguration\\Criteria":{"comparator":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"comparator","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"groupOperator":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"group_operator","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"field":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\recordlockingconfiguration\\Field","request_supported":["action","create","delete","read","update"],"name":"field","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\recordlockingconfiguration\\Field","unique_for":"none","structure":true},"value":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TObject","nullable_for":"none","type":"Object","unique_for":"none","structure":false},"group":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\recordlockingconfiguration\\Criteria","sub_type":{"type":"com\\zoho\\crm\\api\\recordlockingconfiguration\\Criteria"},"request_supported":["action","create","delete","read","update"],"name":"group","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\usergroups\\AssociationModule":{"module":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\modules\\MinifiedModule","request_supported":["action","create","delete","read","update"],"name":"module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\modules\\MinifiedModule","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\pipeline\\Pipeline":{"displayValue":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"parent":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\pipeline\\Pipeline","request_supported":["action","create","delete","read","update"],"name":"parent","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\pipeline\\Pipeline","unique_for":"none","structure":true},"default":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"default","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"maps":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\pipeline\\Maps","sub_type":{"type":"com\\zoho\\crm\\api\\pipeline\\Maps"},"request_supported":["action","create","delete","read","update"],"name":"maps","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"childAvailable":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"child_available","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"actualValue":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"actual_value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\servicepreference\\ResponseWrapper":{"servicePreferences":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\servicepreference\\ServicePreference","request_supported":["action","create","delete","read","update"],"name":"service_preferences","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\servicepreference\\ServicePreference","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\recordlocking\\ResponseWrapper":{"data":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\recordlocking\\RecordLock","sub_type":{"type":"com\\zoho\\crm\\api\\recordlocking\\RecordLock"},"request_supported":["action","create","delete","read","update"],"name":"data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"info":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\recordlocking\\Info","request_supported":["action","create","delete","read","update"],"name":"info","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\recordlocking\\Info","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\inventorytemplates\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\inventorytemplates\\APIException","com\\zoho\\crm\\api\\inventorytemplates\\ResponseWrapper"],"interface":true},"com\\zoho\\crm\\api\\holidays\\CreateHolidaysHeader":{"xCrmOrg":{"name":"X-CRM-ORG","type":"String","structure":false}},"com\\zoho\\crm\\api\\customviews\\PinUnpinFields":{"fields":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\customviews\\PinFields","sub_type":{"type":"com\\zoho\\crm\\api\\customviews\\PinFields"},"request_supported":["action","create","delete","read","update"],"name":"fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\fields\\DeleteFieldParam":{"module":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"module","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\entityscores\\GetEntityScoresParam":{"cvid":{"name":"cvid","type":"String","structure":false},"perPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"per_page","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"sortOrder":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sort_order","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"ids":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"ids","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"sortBy":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sort_by","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"page":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"pageToken":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page_token","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"fields":{"name":"fields","type":"String","structure":false}},"com\\zoho\\crm\\api\\attachments\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Modified_Time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Created_Time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\attachments\\Owner","request_supported":["action","create","delete","read","update"],"name":"Modified_By","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\attachments\\Owner","unique_for":"none","structure":true},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\attachments\\Owner","request_supported":["action","create","delete","read","update"],"name":"Created_By","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\attachments\\Owner","unique_for":"none","structure":true}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\attachments\\GetAttachmentsParam":{"perPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"per_page","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"ids":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"ids","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"page":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"fields":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"fields","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\webforms\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_DATA","EXPECTED_FIELD_MISSING","INVALID_MODULE","MANDATORY_NOT_FOUND","INVALID_FORM_ID","REQUIRED_PARAM_MISSING","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_path_index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\webforms\\Details","sub_type":{"type":"com\\zoho\\crm\\api\\webforms\\Details"},"request_supported":["action","create","delete","read","update"],"name":"expected_fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"param_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"param","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\hipaacompliance\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_API_NAME","NOT_SUPPORTED"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\emailtemplates\\Attachment":{"fileName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"file_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"size":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"size","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLong","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"fileId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"file_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\emailcomposemeta\\FromAddress":{"default":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":[true],"name":"default","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"userName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"user_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"email":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"email","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\recordlocking\\GetRecordLockingInformationsParam":{"ids":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"ids","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"fields":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"fields","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\layouts\\DealField":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"fieldLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"field_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"required":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"required","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\files\\GetFileParam":{"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\unsubscribelinks\\AssociationDetails":{"associatedPlaces":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\unsubscribelinks\\AssociatedPlaces","sub_type":{"type":"com\\zoho\\crm\\api\\unsubscribelinks\\AssociatedPlaces"},"request_supported":["action","create","delete","read","update"],"name":"associated_places","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\portalusertype\\Views":{"displayLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\bulkread\\JobDetail":{"result":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\bulkread\\Result","request_supported":["action","create","delete","read","update"],"name":"result","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\bulkread\\Result","unique_for":"none","structure":true},"createdBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"created_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"query":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\bulkread\\Query","request_supported":["action","create","delete","read","update"],"name":"query","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\bulkread\\Query","unique_for":"none","structure":true},"createdTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"created_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"state":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["COMPLETED","IN PROGRESS","ADDED","FAILURE"],"name":"state","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"operation":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"operation","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"fileType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["csv"],"name":"file_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\modules\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["MANDATORY_NOT_FOUND","INVALID_DATA","INVALID_MODULE","NOT_SUPPORTED","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"maximum_length","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_path_index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\templates\\Templates":{"modifiedTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"modified_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"folder":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\templates\\Folder","request_supported":["action","create","delete","read","update"],"name":"folder","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\templates\\Folder","unique_for":"none","structure":true},"attachmentPresent":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"attachment_present","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"subject":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"subject","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"module":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"consentLinked":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"consent_linked","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"modifiedBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\templates\\Folder","request_supported":["action","create","delete","read","update"],"name":"modified_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\templates\\Folder","unique_for":"none","structure":true},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"favourite":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"favourite","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\record\\MassUpdateResponse":{"classes":["com\\zoho\\crm\\api\\record\\APIException","com\\zoho\\crm\\api\\record\\MassUpdate"],"interface":true},"com\\zoho\\crm\\api\\massdeletecvid\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\massdeletecvid\\APIException","com\\zoho\\crm\\api\\massdeletecvid\\ActionWrapper"],"interface":true},"com\\zoho\\crm\\api\\globalpicklists\\PickListValuesAssociationsResponseHandler":{"classes":["com\\zoho\\crm\\api\\globalpicklists\\PickListValuesAssociationsResponseWrapper","com\\zoho\\crm\\api\\globalpicklists\\APIException"],"interface":true},"com\\zoho\\crm\\api\\shifthours\\GetShiftHoursHeader":{"xCrmOrg":{"name":"X-CRM-ORG","type":"String","structure":false}},"com\\zoho\\crm\\api\\shifthours\\UpdateShiftHoursHeader":{"xCrmOrg":{"name":"X-CRM-ORG","type":"String","structure":false}},"com\\zoho\\crm\\api\\portalsmeta\\RelatedLists":{"module":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\portalsmeta\\Modules","request_supported":["action","create","delete","read","update"],"name":"module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\portalsmeta\\Modules","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\unblockemail\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_TOKEN","INVALID_URL_PATTERN","INVALID_REQUEST_METHOD","INVALID_DATA","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","Not Modified","AUTHENTICATION_FAILURE","MANDATORY_NOT_FOUND","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_path_index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"supported_values","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["invalid oauth token","Please check if the URL trying to access is a correct one","The http request method type is not a valid one","The module name given seems to be invalid","the request does not contain any file","invalid file type"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\associateemail\\Attachments":{"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\portalusertype\\Fields":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"readOnly":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"read_only","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\attachments\\ResponseWrapper":{"data":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\attachments\\Attachment","sub_type":{"type":"com\\zoho\\crm\\api\\attachments\\Attachment"},"request_supported":["action","create","delete","read","update"],"name":"data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"info":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\attachments\\Info","request_supported":["action","create","delete","read","update"],"name":"info","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\attachments\\Info","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\bulkread\\Criteria":{"groupOperator":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["and","or"],"name":"group_operator","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"comparator":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["equal","not_equal","in","not_in","less_than","less_equal","greater_than","greater_equal","contains","not_contains","starts_with","ends_with","between","not_between"],"name":"comparator","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"field":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\MinifiedField","request_supported":["action","create","delete","read","update"],"name":"field","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\fields\\MinifiedField","unique_for":"none","structure":true},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"value":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TObject","nullable_for":"none","type":"Object","unique_for":"none","structure":false},"group":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\bulkread\\Criteria","sub_type":{"type":"com\\zoho\\crm\\api\\bulkread\\Criteria"},"request_supported":["action","create","delete","read","update"],"name":"group","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\record\\MassUpdateSuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"job_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Modified_Time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Created_Time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"Modified_By","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"Created_By","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["record updated","mass update scheduled successfully"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\pipeline\\Maps":{"displayValue":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"sequenceNumber":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sequence_number","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false,"max_length":10},"forecastCategory":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\pipeline\\ForecastCategory","request_supported":["action","create","delete","read","update"],"name":"forecast_category","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\pipeline\\ForecastCategory","unique_for":"none","structure":true},"actualValue":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"actual_value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"colourCode":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"colour_code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"forecastType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"forecast_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"delete":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"_delete","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\emailsharingdetails\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\emailsharingdetails\\ResponseWrapper","com\\zoho\\crm\\api\\emailsharingdetails\\APIException"],"interface":true},"com\\zoho\\crm\\api\\profiles\\DefaultView":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\masschangeowner\\ResponseWrapper":{"data":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\masschangeowner\\Status","sub_type":{"type":"com\\zoho\\crm\\api\\masschangeowner\\Status"},"request_supported":["action","create","delete","read","update"],"name":"data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\fields\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\variables\\GetVariableByIDParam":{"group":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"group","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\notes\\BodyWrapper":{"data":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\notes\\Note","sub_type":{"type":"com\\zoho\\crm\\api\\notes\\Note"},"request_supported":["action","create","delete","read","update"],"name":"data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\contactroles\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\contactroles\\APIException","com\\zoho\\crm\\api\\contactroles\\ActionWrapper"],"interface":true},"com\\zoho\\crm\\api\\servicepreference\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["Appointments preferences updated successfully"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\features\\ResponseWrapper":{"features":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\features\\Feature","sub_type":{"type":"com\\zoho\\crm\\api\\features\\Feature"},"request_supported":["action","create","delete","read","update"],"name":"__features","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"info":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\features\\Info","request_supported":["action","create","delete","read","update"],"name":"info","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\features\\Info","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\fieldmapdependency\\ActionWrapper":{"mapDependency":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fieldmapdependency\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\fieldmapdependency\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"map_dependency","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\usersterritories\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\usersterritories\\ResponseWrapper","com\\zoho\\crm\\api\\usersterritories\\APIException"],"interface":true},"com\\zoho\\crm\\api\\massconvert\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\massconvert\\ResponseWrapper","com\\zoho\\crm\\api\\massconvert\\APIException"],"interface":true},"com\\zoho\\crm\\api\\scoringrules\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\scoringrules\\ActionWrapper","com\\zoho\\crm\\api\\scoringrules\\SuccessResponse","com\\zoho\\crm\\api\\scoringrules\\APIException"],"interface":true},"com\\zoho\\crm\\api\\associateemail\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\associateemail\\ActionWrapper","com\\zoho\\crm\\api\\associateemail\\APIException"],"interface":true},"com\\zoho\\crm\\api\\record\\GetRecordHeader":{"IfModifiedSince":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"If-Modified-Since","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"XEXTERNAL":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"X-EXTERNAL","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\currencies\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["The multi-currency feature is enabled and given currency is created as the base currency.","The currency created successfully.","The currency updated successfully."],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\usertypeusers\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\usertypeusers\\ResponseWrapper","com\\zoho\\crm\\api\\usertypeusers\\APIException"],"interface":true},"com\\zoho\\crm\\api\\globalpicklists\\ReplaceBodyWrapper":{"replacePicklistValues":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\globalpicklists\\ReplacePicklistValues","sub_type":{"type":"com\\zoho\\crm\\api\\globalpicklists\\ReplacePicklistValues"},"request_supported":["action","create","delete","read","update"],"name":"replace_picklist_values","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\businesshours\\BodyWrapper":{"businessHours":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\businesshours\\BusinessHours","request_supported":["action","create","delete","read","update"],"name":"business_hours","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\businesshours\\BusinessHours","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\users\\GetUsersHeader":{"IfModifiedSince":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"If-Modified-Since","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\assignmentrules\\AssignmentRules":{"modifiedTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"modified_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"createdBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\assignmentrules\\User","request_supported":["action","create","delete","read","update"],"name":"created_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\assignmentrules\\User","unique_for":"none","structure":true},"module":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\modules\\MinifiedModule","request_supported":["action","create","delete","read","update"],"name":"module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\modules\\MinifiedModule","unique_for":"none","structure":true},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"createdTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"created_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"description":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"description","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"modifiedBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\assignmentrules\\User","request_supported":["action","create","delete","read","update"],"name":"modified_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\assignmentrules\\User","unique_for":"none","structure":true},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"defaultAssignee":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\assignmentrules\\DefaultAssignee","request_supported":["action","create","delete","read","update"],"name":"default_assignee","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\assignmentrules\\DefaultAssignee","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\profiles\\ResponseWrapper":{"profiles":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\profiles\\Profile","sub_type":{"type":"com\\zoho\\crm\\api\\profiles\\Profile"},"request_supported":["action","create","delete","read","update"],"name":"profiles","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"info":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\profiles\\Info","request_supported":["action","create","delete","read","update"],"name":"info","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\profiles\\Info","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\cancelmeetings\\ActionWrapper":{"data":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\cancelmeetings\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\cancelmeetings\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\backup\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["BACKUP_ALREADY_SCHEDULED","ALREADY_CANCELLED","INVALID_DATA","INPROGRESS","RESOURCE_NOT_FOUND","REQUEST_BODY_NOT_READABLE","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","MANDATORY_NOT_FOUND","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\fields\\Currency":{"roundingOption":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["normal","round_off","round_up","round_down"],"name":"rounding_option","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"precision":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"precision","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\tags\\RecordActionHandler":{"classes":["com\\zoho\\crm\\api\\tags\\APIException","com\\zoho\\crm\\api\\tags\\RecordActionWrapper"],"interface":true},"com\\zoho\\crm\\api\\modules\\Territory":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"subordinates":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"subordinates","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\users\\CustomizeInfo":{"bcView":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"bc_view","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TObject","nullable_for":"none","type":"Object","unique_for":"none","structure":false},"showDetailView":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"show_detail_view","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"showHome":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"show_home","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"showRightPanel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"show_right_panel","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TObject","nullable_for":"none","type":"Object","unique_for":"none","structure":false},"notesDesc":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"notes_desc","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TObject","nullable_for":"none","type":"Object","unique_for":"none","structure":false},"unpinRecentItem":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"unpin_recent_item","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TObject","nullable_for":"none","type":"Object","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\usergroups\\Resource":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\webforms\\UpdateWebFormsParam":{"module":{"name":"module","type":"String","structure":false}},"com\\zoho\\crm\\api\\fiscalyear\\ActionWrapper":{"fiscalYear":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fiscalyear\\ActionResponse","request_supported":["action","create","delete","read","update"],"name":"fiscal_year","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","interface":true,"type":"com\\zoho\\crm\\api\\fiscalyear\\ActionResponse","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\holidays\\UpdateHolidayHeader":{"xCrmOrg":{"name":"X-CRM-ORG","type":"String","structure":false}},"com\\zoho\\crm\\api\\mailmerge\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"report_link","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\record\\DeleteRecordUsingExternalIDParam":{"wfTrigger":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"wf_trigger","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\relatedrecords\\GetRelatedRecordParam":{"fields":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"fields","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\users\\Role":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\usersterritories\\ValidationGroup":{"classes":["com\\zoho\\crm\\api\\usersterritories\\Validation","com\\zoho\\crm\\api\\usersterritories\\BulkValidation"],"interface":true},"com\\zoho\\crm\\api\\blueprint\\ViewType":{"view":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"view","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"edit":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"edit","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"quickCreate":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"quick_create","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"create":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"create","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\reschedulehistory\\AppointmentName":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\users\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_DATA","MAPPING_MISMATCH","MANDATORY_NOT_FOUND","EXPECTED_FIELD_MISSING","INTERNAL_SERVER_ERROR","DUPLICATE_DATA","PATTERN_NOT_MATCHED","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"maximum_length","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\ErrorDetails","request_supported":["action","create","delete","read","update"],"name":"mapped_field","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\ErrorDetails","unique_for":"none","structure":true},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"regex","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\ErrorDetails","sub_type":{"type":"com\\zoho\\crm\\api\\users\\ErrorDetails"},"request_supported":["action","create","delete","read","update"],"name":"expected_fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_path_index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\customviews\\PinFields":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"pin":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"_pin","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\org\\Feature":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"resources":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\org\\Resource","sub_type":{"type":"com\\zoho\\crm\\api\\org\\Resource"},"request_supported":["action","create","delete","read","update"],"name":"resources","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\modules\\BodyWrapper":{"modules":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\modules\\Modules","sub_type":{"type":"com\\zoho\\crm\\api\\modules\\Modules"},"request_supported":["action","create","delete","read","update"],"name":"modules","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\appointmentpreference\\ActionWrapper":{"appointmentPreferences":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\appointmentpreference\\ActionResponse","request_supported":["action","create","delete","read","update"],"name":"appointment_preferences","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","interface":true,"type":"com\\zoho\\crm\\api\\appointmentpreference\\ActionResponse","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\customviews\\Info":{"default":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"default","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"perPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"per_page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"moreRecords":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"more_records","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"count":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"translation":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\customviews\\Translation","request_supported":["action","create","delete","read","update"],"name":"translation","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\customviews\\Translation","unique_for":"none","structure":true},"page":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\record\\UploadPhotoParam":{"restrictTriggers":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"restrict_triggers","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\usergroups\\AssociatedUser":{"count":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"userGroup":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\usergroups\\UserGroup","request_supported":["action","create","delete","read","update"],"name":"user_group","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\usergroups\\UserGroup","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\convertlead\\ActionWrapper":{"data":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\convertlead\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\convertlead\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\emailsharingdetails\\ShareFromUser":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\blueprint\\Module":{"displayLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"module":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\recordlockingconfiguration\\RestrictedCustomButton":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\globalpicklists\\Resource":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\record\\Record","sub_type":{"type":"com\\zoho\\crm\\api\\record\\Record"},"request_supported":["action","create","delete","read","update"],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\emailrelatedrecords\\LinkedRecord":{"module":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\emailrelatedrecords\\Module","request_supported":["action","create","delete","read","update"],"name":"module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\emailrelatedrecords\\Module","unique_for":"none","structure":true},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\userstransferdelete\\GetStatusParam":{"jobId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"job_id","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\files\\FileBodyWrapper":{"file":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"file","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TFile","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\StreamWrapper","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\timelines\\State":{"isLastState":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"is_last_state","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"triggerType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"trigger_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\relatedlists\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\relatedlists\\ResponseWrapper","com\\zoho\\crm\\api\\relatedlists\\APIException"],"interface":true},"com\\zoho\\crm\\api\\portalusertype\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_DATA","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","MANDATORY_NOT_FOUND","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_path_index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\wizards\\ButtonBackground":{"buttonBackground":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"button_background","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\fieldattachments\\FileBodyWrapper":{"file":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"file","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TFile","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\StreamWrapper","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\recordlockingconfiguration\\RecordLock":{"lockForPortalUsers":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"lock_for_portal_users","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"lockExcludedProfiles":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\recordlockingconfiguration\\LockExcludedProfile","sub_type":{"type":"com\\zoho\\crm\\api\\recordlockingconfiguration\\LockExcludedProfile"},"request_supported":["action","create","delete","read","update"],"name":"lock_excluded_profiles","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"lockedFor":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"locked_for","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"modifiedTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"modified_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"lockingRules":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\recordlockingconfiguration\\LockingRules","sub_type":{"type":"com\\zoho\\crm\\api\\recordlockingconfiguration\\LockingRules"},"request_supported":["action","create","delete","read","update"],"name":"locking_rules","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"restrictedCustomButtons":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\recordlockingconfiguration\\RestrictedCustomButton","sub_type":{"type":"com\\zoho\\crm\\api\\recordlockingconfiguration\\RestrictedCustomButton"},"request_supported":["action","create","delete","read","update"],"name":"restricted_custom_buttons","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"restrictedCommunications":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"restricted_communications","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},"lockType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["manual","automatic","both"],"name":"lock_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"excludedFields":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\MinifiedField","sub_type":{"type":"com\\zoho\\crm\\api\\fields\\MinifiedField"},"request_supported":["action","create","delete","read","update"],"name":"excluded_fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"createdBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"created_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"featureType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"feature_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"createdTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"created_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"modifiedBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"modified_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"systemDefined":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"system_defined","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"restrictedActions":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"restricted_actions","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\unsubscribelinks\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\unsubscribelinks\\ActionWrapper","com\\zoho\\crm\\api\\unsubscribelinks\\APIException"],"interface":true},"com\\zoho\\crm\\api\\inventorymassconvert\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SCHEDULED"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"job_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["Mass Convert scheduled successfully"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\relatedrecords\\DeleteRelatedRecordUsingExternalIDHeader":{"XEXTERNAL":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"X-EXTERNAL","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\fields\\ForecastCategory":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\assignmentrules\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\assignmentrules\\APIException","com\\zoho\\crm\\api\\assignmentrules\\ResponseWrapper"],"interface":true},"com\\zoho\\crm\\api\\usersterritories\\Info":{"perPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"per_page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"moreRecords":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"more_records","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"count":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"page":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\bulkwrite\\FieldMapping":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"parentColumnIndex":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"parent_column_index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"defaultValue":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\bulkwrite\\DefaultValue","request_supported":["action","create","delete","read","update"],"name":"default_value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\bulkwrite\\DefaultValue","unique_for":"none","structure":true},"module":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"format":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"format","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"index":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"findBy":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"find_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\scoringrules\\Signal":{"namespace":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"namespace","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\fields\\OperationType":{"webUpdate":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"web_update","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"webCreate":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"web_create","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"apiUpdate":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_update","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"apiCreate":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_create","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\reschedulehistory\\BodyWrapper":{"data":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"spec_type":"com.zoho.api.spec.template.type.TCollections","type":"List","unique_for":"none","structure":true,"structure_name":"com\\zoho\\crm\\api\\reschedulehistory\\RescheduleHistory","sub_type":{"type":"com\\zoho\\crm\\api\\reschedulehistory\\RescheduleHistory"},"name":"data","required_for":"none","emptiable_for":"none","nullable_for":"none","max_length":100}},"com\\zoho\\crm\\api\\fieldmapdependency\\GetMapDependencyParam":{"module":{"name":"module","type":"String","structure":false}},"com\\zoho\\crm\\api\\users\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\users\\APIException","com\\zoho\\crm\\api\\users\\ActionWrapper"],"interface":true},"com\\zoho\\crm\\api\\relatedrecords\\ActionWrapper":{"data":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\relatedrecords\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\relatedrecords\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\reschedulehistory\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\reschedulehistory\\APIException","com\\zoho\\crm\\api\\reschedulehistory\\ResponseWrapper"],"interface":true},"com\\zoho\\crm\\api\\appointmentpreference\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\appointmentpreference\\APIException","com\\zoho\\crm\\api\\appointmentpreference\\ResponseWrapper"],"interface":true},"com\\zoho\\crm\\api\\fromaddresses\\Address":{"default":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"default","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"userName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"user_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"email":{"regex":"[a-z]{7}[@]zoho[.]com","response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"email","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\inventorytemplates\\ModuleMap":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\holidays\\ResponseWrapper":{"holidays":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\holidays\\Holiday","sub_type":{"type":"com\\zoho\\crm\\api\\holidays\\Holiday"},"request_supported":["action","create","delete","read","update"],"name":"holidays","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"info":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\holidays\\Info","request_supported":["action","create","delete","read","update"],"name":"info","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\holidays\\Info","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\portalinvite\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\portalinvite\\ActionWrapper","com\\zoho\\crm\\api\\portalinvite\\APIException"],"interface":true},"com\\zoho\\crm\\api\\digest\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_DATA","MANDATORY_NOT_FOUND","NO_PERMISSION","DEPENDENT_PARAM_MISSING","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"maximum_length","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"permissions","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\digest\\Dependee","request_supported":["action","create","delete","read","update"],"name":"dependee","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\digest\\Dependee","unique_for":"none","structure":true}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["required field not found","Permission Denied."],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\notifications\\NotificationCondition":{"module":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\notifications\\Module","request_supported":["action","create","delete","read","update"],"name":"module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\notifications\\Module","unique_for":"none","structure":true},"fieldSelection":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\notifications\\Criteria","request_supported":["action","create","delete","read","update"],"name":"field_selection","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\notifications\\Criteria","unique_for":"none","structure":true},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\globalpicklists\\Association":{"field":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\globalpicklists\\Field","request_supported":["action","create","delete","read","update"],"name":"field","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\globalpicklists\\Field","unique_for":"none","structure":true},"module":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\globalpicklists\\Module","request_supported":["action","create","delete","read","update"],"name":"module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\globalpicklists\\Module","unique_for":"none","structure":true},"layouts":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\globalpicklists\\Layout","sub_type":{"type":"com\\zoho\\crm\\api\\globalpicklists\\Layout"},"request_supported":["action","create","delete","read","update"],"name":"layouts","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\fromaddresses\\ResponseWrapper":{"fromAddresses":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fromaddresses\\Address","sub_type":{"type":"com\\zoho\\crm\\api\\fromaddresses\\Address"},"request_supported":["action","create","delete","read","update"],"name":"from_addresses","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\mailmerge\\SignMailMerge":{"signers":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\mailmerge\\Signers","sub_type":{"type":"com\\zoho\\crm\\api\\mailmerge\\Signers"},"request_supported":["action","create","delete","read","update"],"name":"signers","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"fileName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"file_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false,"max_length":255},"mailMergeTemplate":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\mailmerge\\MailMergeTemplate","request_supported":["action","create","delete","read","update"],"name":"mail_merge_template","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\mailmerge\\MailMergeTemplate","unique_for":"none","structure":true},"signInOrder":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sign_in_order","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\customviews\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["DUPLICATE_DATA","INVALID_DATA","INTERNAL_SERVER_ERROR","MANDATORY_NOT_FOUND","EXPECTED_FIELD_MISSING","INVALID_MODULE","REQUIRED_PARAM_MISSING","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"regex","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\customviews\\ErrorDetails","sub_type":{"type":"com\\zoho\\crm\\api\\customviews\\ErrorDetails"},"request_supported":["action","create","delete","read","update"],"name":"expected_fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"maximum_length","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"param_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_path_index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\record\\UpdateRecordsHeader":{"XEXTERNAL":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"X-EXTERNAL","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\tags\\GetTagsParam":{"myTags":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"my_tags","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"module":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"module","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\relatedrecords\\UpdateRelatedRecordsHeader":{"XEXTERNAL":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"X-EXTERNAL","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\profiles\\Profile":{"displayLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"permissionType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"permission_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"permissionsDetails":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\profiles\\PermissionDetail","sub_type":{"type":"com\\zoho\\crm\\api\\profiles\\PermissionDetail"},"request_supported":["action","create","delete","read","update"],"name":"permissions_details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"modifiedTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"modified_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"defaultview":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\profiles\\DefaultView","request_supported":["action","create","delete","read","update"],"name":"_default_view","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\profiles\\DefaultView","unique_for":"none","structure":true},"custom":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"custom","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"description":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"description","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["normal_profile","lite_profile"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"delete":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"_delete","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"sections":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\profiles\\Section","sub_type":{"type":"com\\zoho\\crm\\api\\profiles\\Section"},"request_supported":["action","create","delete","read","update"],"name":"sections","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"default":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"default","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"createdBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"created_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"createdTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"created_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"modifiedBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"modified_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"category":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"category","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\bulkread\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\bulkread\\APIException","com\\zoho\\crm\\api\\bulkread\\ActionWrapper"],"interface":true},"com\\zoho\\crm\\api\\layouts\\SectionSubformField":{"layout":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\layouts\\MinifiedLayout","request_supported":["action","create","delete","read","update"],"name":"layout","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\layouts\\MinifiedLayout","unique_for":"none","structure":true},"module":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\emailsharingdetails\\EmailSharings":{"availableTypes":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"available_types","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},"shareFromUsers":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\emailsharingdetails\\ShareFromUser","sub_type":{"type":"com\\zoho\\crm\\api\\emailsharingdetails\\ShareFromUser"},"request_supported":["action","create","delete","read","update"],"name":"share_from_users","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\customviews\\SharedTo":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["users","roles","groups","territories"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"subordinates":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"subordinates","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\inventoryconvert\\Module":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\files\\ResponseHandler":{"classes":["com\\zoho\\crm\\api\\files\\APIException","com\\zoho\\crm\\api\\files\\FileBodyWrapper"],"interface":true},"com\\zoho\\crm\\api\\usersterritories\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\usersterritories\\ActionWrappe","com\\zoho\\crm\\api\\usersterritories\\APIException","com\\zoho\\crm\\api\\usersterritories\\ActionWrapper"],"interface":true},"com\\zoho\\crm\\api\\entityscores\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_MODULE","INVALID_REQUEST","REQUIRED_PARAM_MISSING","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","MANDATORY_NOT_FOUND","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_path_index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"param_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\backup\\BodyWrapper":{"backup":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\backup\\Backup","request_supported":["action","create","delete","read","update"],"name":"backup","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\backup\\Backup","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\globalpicklists\\ReplacePicklistValue":{"displayValue":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\coql\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_QUERY","SYNTAX_ERROR","LIMIT_EXCEEDED","INVALID_ALIAS","DUPLICATE_DATA","DUPLICATE_ALIAS","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE","MANDATORY_NOT_FOUND","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"near","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"column","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"line","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"clause","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"limit","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"column_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"reason","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"operator","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["invalid query formed","value given seems to be invalid for the column","data type not supported","column given seems to be invalid"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\layouts\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["REQUIRED_PARAM_MISSING","InvalidModule","INVALID_TOKEN","INVALID_URL_PATTERN","INVALID_REQUEST_METHOD","INVALID_DATA","NOT_ALLOWED","NO_PERMISSION","BAD_REQUEST","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","ALREADY_USED","Not Modified","AUTHENTICATION_FAILURE","MANDATORY_NOT_FOUND","INTERNAL_SERVER_ERROR"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"param","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"info_message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"parent_api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"supported_values","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["invalid data","api_name cannot be changed","invalid oauth token","Please check if the URL trying to access is a correct one","The http request method type is not a valid one","invalid transition","invalid data","record not in process"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\inventoryconvert\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\inventoryconvert\\Record","request_supported":["action","create","delete","read","update"],"name":"Sales_Orders","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\inventoryconvert\\Record","unique_for":"none","structure":true},{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\inventoryconvert\\Record","request_supported":["action","create","delete","read","update"],"name":"Invoices","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\inventoryconvert\\Record","unique_for":"none","structure":true}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["The record has been converted successfully"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\recordlocking\\RecordLock":{"modifiedTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Modified_Time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"lockedForS":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\recordlocking\\LockedForS","request_supported":["action","create","delete","read","update"],"name":"locked_for_s","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\recordlocking\\LockedForS","unique_for":"none","structure":true},"recordLockingRuleIdS":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"record_locking_rule_id__s","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLong","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"lockedByS":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"locked_by__s","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"lockedReasonS":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"locked_reason__s","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"recordLockingConfigurationIdS":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"record_locking_configuration_id__s","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLong","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"lockedTimeS":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Locked_time__s","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"lockSourceS":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["Manual","Automatic"],"name":"lock_source__s","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"createdBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"Created_By","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"createdTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Created_Time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"modifiedBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"Modified_By","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"tag":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\tags\\Tag","sub_type":{"type":"com\\zoho\\crm\\api\\tags\\Tag"},"request_supported":["action","create","delete","read","update"],"name":"Tag","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\record\\UpdateRecordHeader":{"XEXTERNAL":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"X-EXTERNAL","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\relatedrecords\\GetRelatedRecordsParam":{"perPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"per_page","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"page":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"fields":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"fields","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\convertlead\\MoveAttachmentsTo":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\bulkwrite\\File":{"updatedCount":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"updated_count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"skippedCount":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"skipped_count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"addedCount":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"added_count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"totalCount":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"total_count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["ADDED","IN PROGRESS","COMPLETED","SKIPPED","FAILED"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\assignmentrules\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\assignmentrules\\APIException","com\\zoho\\crm\\api\\assignmentrules\\SuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\globalpicklists\\ReplaceActionWrapper":{"replacePicklistValues":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\globalpicklists\\ReplaceActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\globalpicklists\\ReplaceActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"replace_picklist_values","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\record\\Wizard":{"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\cancelmeetings\\BodyWrapper":{"data":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\cancelmeetings\\Notify","sub_type":{"type":"com\\zoho\\crm\\api\\cancelmeetings\\Notify"},"request_supported":["action","create","delete","read","update"],"name":"data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\territoryusers\\DeassociateTerritoryUsersParam":{"ids":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"ids","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\reschedulehistory\\ActionWrapper":{"data":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\reschedulehistory\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\reschedulehistory\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\modules\\StaticSubformField":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\webforms\\Fields":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"fieldName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"field_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"secretKey":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"secret_key","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"hidden":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"hidden","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"advanced":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"advanced","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"dateFormat":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"date_format","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"module":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\webforms\\Module","request_supported":["action","create","delete","read","update"],"name":"module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\webforms\\Module","unique_for":"none","structure":true},"required":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"required","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"layout":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\webforms\\Layout","request_supported":["action","create","delete","read","update"],"name":"layout","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\webforms\\Layout","unique_for":"none","structure":true},"help":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"help","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"siteKey":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"site_key","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"field":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\webforms\\Fields","request_supported":["action","create","delete","read","update"],"name":"field","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\webforms\\Fields","unique_for":"none","structure":true},"fieldLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"field_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"theme":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"theme","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"recaptchaLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"recaptcha_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\profiles\\BodyWrapper":{"profiles":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\profiles\\Profile","sub_type":{"type":"com\\zoho\\crm\\api\\profiles\\Profile"},"request_supported":["action","create","delete","read","update"],"name":"profiles","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\changeowner\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["owner is successfully updated"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\coql\\BodyWrapper":{"selectQuery":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"select_query","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\scoringrules\\ExpectedField":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"jsonPath":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\webforms\\AutoResponseRule":{"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\customviews\\GetCustomViewsParam":{"perPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"per_page","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"module":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"module","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"page":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\businesshours\\BreakHoursCustomTiming":{"days":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],"name":"days","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"businessTiming":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"business_timing","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\entityscores\\GetEntityScoresHeader":{"IfModifiedSince":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"If-Modified-Since","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\shifthours\\BreakCustomTiming":{"breakTiming":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"LocalTime"},"request_supported":["action","create","delete","read","update"],"name":"break_timing","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},"days":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"days","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\tags\\GetRecordCountForTagParam":{"module":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"module","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\usersterritories\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INTERNAL_SERVER_ERROR","INVALID_DATA","MANDATORY_NOT_FOUND","INVALID_TOKEN","INVALID_URL_PATTERN","BAD_REQUEST","NO_PERMISSION","OAUTH_SCOPE_MISMATCH","INTERNAL_ERROR","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","INVALID_REQUEST_METHOD","Not Modified","AUTHENTICATION_FAILURE"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"owner_status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_path_index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\findandmerge\\MasterRecordFields":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"data":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\findandmerge\\ImageData","sub_type":{"type":"com\\zoho\\crm\\api\\findandmerge\\ImageData"},"request_supported":["action","create","delete","read","update"],"name":"_data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\wizards\\Segment":{"displayLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"sequenceNumber":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sequence_number","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"buttons":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\wizards\\Button","sub_type":{"type":"com\\zoho\\crm\\api\\wizards\\Button"},"request_supported":["action","create","delete","read","update"],"name":"buttons","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"elements":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\wizards\\Element","sub_type":{"type":"com\\zoho\\crm\\api\\wizards\\Element"},"request_supported":["action","create","delete","read","update"],"name":"elements","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"columnCount":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"column_count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"type":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"fields":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\fields\\Fields","sub_type":{"type":"com\\zoho\\crm\\api\\fields\\Fields"},"request_supported":["action","create","delete","read","update"],"name":"fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\modules\\MinifiedModule":{"apiName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"module":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"module","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"moduleName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"module_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\findandmerge\\Merge":{"jobId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"job_id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"data":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\findandmerge\\MergeData","sub_type":{"type":"com\\zoho\\crm\\api\\findandmerge\\MergeData"},"request_supported":["action","create","delete","read","update"],"name":"data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"masterRecordFields":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\findandmerge\\MasterRecordFields","sub_type":{"type":"com\\zoho\\crm\\api\\findandmerge\\MasterRecordFields"},"request_supported":["action","create","delete","read","update"],"name":"master_record_fields","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\taxes\\Tax":{"displayLabel":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"display_label","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"sequenceNumber":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"sequence_number","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"value":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"value","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDouble","nullable_for":"none","type":"Float","unique_for":"none","structure":false},"delete":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"_delete","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\backup\\History":{"fileName":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"file_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"repeatType":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"repeat_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"count":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"action":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"action","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"state":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"state","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"doneBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\backup\\Requester","request_supported":["action","create","delete","read","update"],"name":"done_by","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\backup\\Requester","unique_for":"none","structure":true},"logTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"log_time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\masschangeowner\\ActionWrapper":{"data":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\masschangeowner\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\masschangeowner\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"data","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\sharerecords\\ResponseWrapper":{"share":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\sharerecords\\ShareRecord","sub_type":{"type":"com\\zoho\\crm\\api\\sharerecords\\ShareRecord"},"request_supported":["action","create","delete","read","update"],"name":"share","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"shareableUser":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\Users","sub_type":{"type":"com\\zoho\\crm\\api\\users\\Users"},"request_supported":["action","create","delete","read","update"],"name":"shareable_user","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\webforms\\UpdateWebFormParam":{"module":{"name":"module","type":"String","structure":false}},"com\\zoho\\crm\\api\\bulkwrite\\FileBodyWrapper":{"file":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"file","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TFile","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\StreamWrapper","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\record\\Consent":{"owner":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"Owner","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"modifiedTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Modified_Time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"mailSentTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Mail_Sent_Time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"consentThrough":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Consent_Through","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"consentDate":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Consent_Date","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDate","nullable_for":"none","type":"Date","unique_for":"none","structure":false},"contactThroughEmail":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Contact_Through_Email","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"consentRemarks":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Consent_Remarks","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"createdBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"Created_By","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"contactThroughSocial":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Contact_Through_Social","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"contactThroughPhone":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Contact_Through_Phone","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"createdTime":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Created_Time","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TDateTime","nullable_for":"none","type":"DateTime","unique_for":"none","structure":false},"contactThroughSurvey":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Contact_Through_Survey","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"modifiedBy":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\users\\MinifiedUser","request_supported":["action","create","delete","read","update"],"name":"Modified_By","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"com\\zoho\\crm\\api\\users\\MinifiedUser","unique_for":"none","structure":true},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"tag":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\tags\\Tag","sub_type":{"type":"com\\zoho\\crm\\api\\tags\\Tag"},"request_supported":["action","create","delete","read","update"],"name":"Tag","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"dataProcessingBasis":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"Data_Processing_Basis","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\layouts\\ActionsAllowed":{"edit":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"edit","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"rename":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"rename","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"clone":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"clone","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"downgrade":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"downgrade","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"delete":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"delete","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"setLayoutPermissions":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"set_layout_permissions","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"deactivate":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"deactivate","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\blueprint\\SuccessResponse":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["SUCCESS"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["transition updated successfully"],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["success"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\scoringrules\\GetScoringRulesParam":{"perPage":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"per_page","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"module":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"module","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"active":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":[true,false],"name":"active","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"page":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"page","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"layoutId":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"layout_id","required_for":"false","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\currencies\\ActionWrapper":{"currencies":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\currencies\\ActionResponse","sub_type":{"type":"com\\zoho\\crm\\api\\currencies\\ActionResponse"},"request_supported":["action","create","delete","read","update"],"name":"currencies","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\currencies\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\currencies\\APIException","com\\zoho\\crm\\api\\currencies\\SuccessResponse"],"interface":true},"com\\zoho\\crm\\api\\notes\\GetNoteParam":{"fields":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"fields","required_for":"true","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\digest\\ActionHandler":{"classes":["com\\zoho\\crm\\api\\digest\\APIException","com\\zoho\\crm\\api\\digest\\ActionWrapper"],"interface":true},"com\\zoho\\crm\\api\\shifthours\\ShiftHours":{"holidays":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\shifthours\\Holidays","sub_type":{"type":"com\\zoho\\crm\\api\\shifthours\\Holidays"},"request_supported":["action","create","delete","read","update"],"name":"holidays","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"timezone":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"timezone","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TTimeZone","nullable_for":"none","type":"TimeZone","unique_for":"none","structure":false},"sameAsEveryday":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"same_as_everyday","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TBoolean","nullable_for":"none","type":"Boolean","unique_for":"none","structure":false},"name":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},"usersCount":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"users_count","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},"id":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TLongString","nullable_for":"none","type":"Long","unique_for":"none","structure":false},"breakHours":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\shifthours\\BreakHours","sub_type":{"type":"com\\zoho\\crm\\api\\shifthours\\BreakHours"},"request_supported":["action","create","delete","read","update"],"name":"break_hours","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"dailyTiming":{"response_supported":["action","create","delete","read","update"],"min_length":2,"request_supported":["action","create","delete","read","update"],"spec_type":"com.zoho.api.spec.template.type.TCollections","type":"List","unique_for":"none","structure":false,"sub_type":{"type":"LocalTime"},"name":"daily_timing","required_for":"none","emptiable_for":"none","nullable_for":"none","max_length":2},"shiftDays":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"shift_days","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},"users":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\shifthours\\Users","sub_type":{"type":"com\\zoho\\crm\\api\\shifthours\\Users"},"request_supported":["action","create","delete","read","update"],"name":"users","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true},"customTiming":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\shifthours\\ShiftCustomTiming","sub_type":{"type":"com\\zoho\\crm\\api\\shifthours\\ShiftCustomTiming"},"request_supported":["action","create","delete","read","update"],"name":"custom_timing","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\notes\\APIException":{"code":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["INVALID_DATA","MANDATORY_NOT_FOUND","INVALID_MODULE","INTERNAL_SERVER_ERROR","REQUIRED_PARAM_MISSING","NO_PERMISSION","INVALID_TOKEN","INVALID_URL_PATTERN","INVALID_REQUEST_METHOD","INTERNAL_ERROR","NOT_SUPPORTED","REQUIRED_PARAM_MISSING","BAD_REQUEST","OAUTH_SCOPE_MISMATCH","LIMIT_REACHED","NOT_ALLOWED","ALREADY_USED","Not Modified","AUTHENTICATION_FAILURE"],"name":"code","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"details":{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"keys":[{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"api_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"expected_data_type","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"id","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"sub_type":{"type":"String"},"request_supported":["action","create","delete","read","update"],"name":"permissions","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"param","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"json_path","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"resource_path_index","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"param_name","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"String","unique_for":"none","structure":false},{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"name":"maximum_length","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TInteger","nullable_for":"none","type":"Integer","unique_for":"none","structure":false}],"name":"details","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TMap","nullable_for":"none","type":"Map","unique_for":"none","structure":false},"message":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["invalid data","required field not found","the module name given seems to be invalid","record not deleted","One of the expected parameter is missing","invalid oauth token","Please check if the URL trying to access is a correct one","The http request method type is not a valid one","The module name given seems to be invalid","the id given seems to be invalid","One of the expected parameter is missing","Internal server error occurred."],"name":"message","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false},"status":{"response_supported":["action","create","delete","read","update"],"request_supported":["action","create","delete","read","update"],"values":["error"],"name":"status","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TString","nullable_for":"none","type":"com\\zoho\\crm\\api\\util\\Choice","unique_for":"none","structure":false}},"com\\zoho\\crm\\api\\pipeline\\GetPipelineParam":{"layoutId":{"name":"layout_id","type":"Long","structure":false}},"com\\zoho\\crm\\api\\globalpicklists\\ResponseWrapper":{"globalPicklists":{"response_supported":["action","create","delete","read","update"],"structure_name":"com\\zoho\\crm\\api\\globalpicklists\\Picklist","sub_type":{"type":"com\\zoho\\crm\\api\\globalpicklists\\Picklist"},"request_supported":["action","create","delete","read","update"],"name":"global_picklists","required_for":"none","emptiable_for":"none","spec_type":"com.zoho.api.spec.template.type.TCollections","nullable_for":"none","type":"List","unique_for":"none","structure":true}},"com\\zoho\\crm\\api\\files\\ActionResponse":{"classes":["com\\zoho\\crm\\api\\files\\SuccessResponse"],"interface":true}} \ No newline at end of file