├── .gitattributes ├── src └── com │ └── zoho │ ├── crm │ └── api │ │ ├── record │ │ ├── Options.php │ │ ├── FileHandler.php │ │ ├── ActionHandler.php │ │ ├── ActionResponse.php │ │ ├── DownloadHandler.php │ │ ├── ResponseHandler.php │ │ ├── MassUpdateResponse.php │ │ ├── ConvertActionHandler.php │ │ ├── ConvertActionResponse.php │ │ ├── DeletedRecordsHandler.php │ │ ├── MassUpdateActionHandler.php │ │ ├── MassUpdateActionResponse.php │ │ ├── MassUpdateResponseHandler.php │ │ ├── DeleteRecordParam.php │ │ ├── DeleteRecordHeader.php │ │ ├── UpdateRecordHeader.php │ │ ├── DeleteRecordsHeader.php │ │ ├── SearchRecordsHeader.php │ │ ├── UpdateRecordsHeader.php │ │ ├── UpsertRecordsHeader.php │ │ ├── GetMassUpdateStatusParam.php │ │ ├── GetDeletedRecordsHeader.php │ │ ├── DeleteRecordsParam.php │ │ ├── GetRecordHeader.php │ │ ├── GetRecordsHeader.php │ │ ├── GetDeletedRecordsParam.php │ │ ├── Field.php │ │ ├── Attachments.php │ │ ├── Notes.php │ │ ├── SearchRecordsParam.php │ │ ├── ConvertBodyWrapper.php │ │ ├── RemindAt.php │ │ ├── ActionWrapper.php │ │ ├── RecurringActivity.php │ │ ├── ConvertActionWrapper.php │ │ ├── MassUpdateActionWrapper.php │ │ ├── MassUpdateResponseWrapper.php │ │ ├── GetRecordParam.php │ │ ├── FileBodyWrapper.php │ │ ├── Price_Books.php │ │ ├── PricingDetails.php │ │ ├── LineItemProduct.php │ │ ├── ResponseWrapper.php │ │ ├── Reminder.php │ │ ├── DeletedRecordsWrapper.php │ │ └── Territory.php │ │ ├── fields │ │ ├── GetFieldParam.php │ │ ├── ResponseHandler.php │ │ ├── GetFieldsParam.php │ │ ├── ResponseWrapper.php │ │ ├── Unique.php │ │ ├── LookupField.php │ │ └── ToolTip.php │ │ ├── file │ │ ├── ActionHandler.php │ │ ├── ActionResponse.php │ │ ├── ResponseHandler.php │ │ ├── GetFileParam.php │ │ ├── UploadFilesParam.php │ │ ├── ActionWrapper.php │ │ ├── BodyWrapper.php │ │ └── FileBodyWrapper.php │ │ ├── org │ │ ├── ActionResponse.php │ │ ├── ResponseHandler.php │ │ ├── ResponseWrapper.php │ │ ├── FileBodyWrapper.php │ │ └── OrgOperations.php │ │ ├── tags │ │ ├── ActionHandler.php │ │ ├── CountHandler.php │ │ ├── ActionResponse.php │ │ ├── ResponseHandler.php │ │ ├── RecordActionHandler.php │ │ ├── RecordActionResponse.php │ │ ├── CreateTagsParam.php │ │ ├── UpdateTagParam.php │ │ ├── UpdateTagsParam.php │ │ ├── GetRecordCountForTagParam.php │ │ ├── RemoveTagsFromRecordParam.php │ │ ├── GetTagsParam.php │ │ ├── AddTagsToRecordParam.php │ │ ├── RemoveTagsFromMultipleRecordsParam.php │ │ ├── AddTagsToMultipleRecordsParam.php │ │ ├── BodyWrapper.php │ │ ├── MergeWrapper.php │ │ ├── ActionWrapper.php │ │ ├── CountWrapper.php │ │ ├── ConflictWrapper.php │ │ ├── ResponseWrapper.php │ │ └── Info.php │ │ ├── layouts │ │ ├── GetLayoutParam.php │ │ ├── GetLayoutsParam.php │ │ ├── ResponseHandler.php │ │ └── ResponseWrapper.php │ │ ├── modules │ │ ├── ActionHandler.php │ │ ├── ActionResponse.php │ │ ├── ResponseHandler.php │ │ ├── GetModulesHeader.php │ │ ├── BodyWrapper.php │ │ ├── ActionWrapper.php │ │ ├── ResponseWrapper.php │ │ └── Argument.php │ │ ├── notes │ │ ├── ActionHandler.php │ │ ├── ActionResponse.php │ │ ├── ResponseHandler.php │ │ ├── GetNoteParam.php │ │ ├── DeleteNotesParam.php │ │ ├── GetNoteHeader.php │ │ ├── GetNotesHeader.php │ │ ├── GetNotesParam.php │ │ ├── BodyWrapper.php │ │ ├── ActionWrapper.php │ │ └── ResponseWrapper.php │ │ ├── query │ │ ├── ResponseHandler.php │ │ ├── QueryOperations.php │ │ ├── BodyWrapper.php │ │ └── ResponseWrapper.php │ │ ├── roles │ │ ├── ResponseHandler.php │ │ ├── ResponseWrapper.php │ │ └── RolesOperations.php │ │ ├── taxes │ │ ├── ActionHandler.php │ │ ├── ActionResponse.php │ │ ├── ResponseHandler.php │ │ ├── DeleteTaxesParam.php │ │ ├── BodyWrapper.php │ │ └── ActionWrapper.php │ │ ├── users │ │ ├── ActionHandler.php │ │ ├── ActionResponse.php │ │ ├── ResponseHandler.php │ │ ├── GetUserHeader.php │ │ ├── GetUsersHeader.php │ │ ├── GetUsersParam.php │ │ ├── BodyWrapper.php │ │ ├── RequestWrapper.php │ │ ├── ActionWrapper.php │ │ ├── Shift.php │ │ └── ResponseWrapper.php │ │ ├── bulkread │ │ ├── ActionHandler.php │ │ ├── ActionResponse.php │ │ ├── ResponseHandler.php │ │ ├── ResponseWrapper.php │ │ ├── FileBodyWrapper.php │ │ ├── ActionWrapper.php │ │ └── CallBack.php │ │ ├── variables │ │ ├── ActionHandler.php │ │ ├── ActionResponse.php │ │ ├── ResponseHandler.php │ │ ├── GetVariablesParam.php │ │ ├── DeleteVariablesParam.php │ │ ├── GetVariableByIDParam.php │ │ ├── GetVariableForAPINameParam.php │ │ ├── BodyWrapper.php │ │ ├── ActionWrapper.php │ │ └── ResponseWrapper.php │ │ ├── attachments │ │ ├── ActionHandler.php │ │ ├── ActionResponse.php │ │ ├── ResponseHandler.php │ │ ├── DeleteAttachmentsParam.php │ │ ├── UploadLinkAttachmentParam.php │ │ ├── GetAttachmentsParam.php │ │ ├── ActionWrapper.php │ │ ├── FileBodyWrapper.php │ │ └── ResponseWrapper.php │ │ ├── blueprint │ │ ├── ActionResponse.php │ │ ├── ResponseHandler.php │ │ ├── BodyWrapper.php │ │ ├── ResponseWrapper.php │ │ ├── NextTransition.php │ │ └── ValidationError.php │ │ ├── bulkwrite │ │ ├── ActionResponse.php │ │ ├── ResponseHandler.php │ │ ├── ResponseWrapper.php │ │ ├── UploadFileHeader.php │ │ ├── Result.php │ │ ├── FileBodyWrapper.php │ │ └── CallBack.php │ │ ├── contactroles │ │ ├── ActionHandler.php │ │ ├── ActionResponse.php │ │ ├── ResponseHandler.php │ │ ├── DeleteContactRolesParam.php │ │ ├── BodyWrapper.php │ │ ├── ActionWrapper.php │ │ └── ResponseWrapper.php │ │ ├── currencies │ │ ├── ActionHandler.php │ │ ├── ActionResponse.php │ │ ├── ResponseHandler.php │ │ ├── BaseCurrencyActionHandler.php │ │ ├── BodyWrapper.php │ │ ├── ActionWrapper.php │ │ ├── ResponseWrapper.php │ │ ├── BaseCurrencyWrapper.php │ │ └── BaseCurrencyActionWrapper.php │ │ ├── notification │ │ ├── ActionHandler.php │ │ ├── ActionResponse.php │ │ ├── ResponseHandler.php │ │ ├── DisableNotificationsParam.php │ │ ├── GetNotificationDetailsParam.php │ │ ├── BodyWrapper.php │ │ ├── ActionWrapper.php │ │ └── ResponseWrapper.php │ │ ├── profiles │ │ ├── GetProfileHeader.php │ │ ├── ResponseHandler.php │ │ ├── GetProfilesHeader.php │ │ ├── ResponseWrapper.php │ │ └── Section.php │ │ ├── sharerecords │ │ ├── ActionHandler.php │ │ ├── ActionResponse.php │ │ ├── ResponseHandler.php │ │ ├── DeleteActionHandler.php │ │ ├── DeleteActionResponse.php │ │ ├── GetSharedRecordDetailsParam.php │ │ ├── BodyWrapper.php │ │ ├── ActionWrapper.php │ │ └── DeleteActionWrapper.php │ │ ├── customviews │ │ ├── GetCustomViewParam.php │ │ ├── ResponseHandler.php │ │ ├── GetCustomViewsParam.php │ │ ├── Range.php │ │ └── ResponseWrapper.php │ │ ├── relatedlists │ │ ├── ResponseHandler.php │ │ ├── GetRelatedListParam.php │ │ ├── GetRelatedListsParam.php │ │ └── ResponseWrapper.php │ │ ├── relatedrecords │ │ ├── ActionHandler.php │ │ ├── ActionResponse.php │ │ ├── ResponseHandler.php │ │ ├── DelinkRecordsParam.php │ │ ├── GetRelatedRecordHeader.php │ │ ├── GetRelatedRecordsHeader.php │ │ ├── GetRelatedRecordsParam.php │ │ ├── ActionWrapper.php │ │ ├── BodyWrapper.php │ │ └── FileBodyWrapper.php │ │ ├── territories │ │ ├── ResponseHandler.php │ │ ├── ResponseWrapper.php │ │ └── TerritoriesOperations.php │ │ ├── variablegroups │ │ ├── ResponseHandler.php │ │ └── ResponseWrapper.php │ │ ├── util │ │ ├── Model.php │ │ ├── Choice.php │ │ ├── XMLConverter.php │ │ └── StreamWrapper.php │ │ ├── Header.php │ │ ├── Param.php │ │ ├── UserSignature.php │ │ └── RequestProxy.php │ └── api │ ├── logger │ ├── Levels.php │ └── Logger.php │ └── authenticator │ ├── Token.php │ └── store │ └── TokenStore.php └── composer.json /.gitattributes: -------------------------------------------------------------------------------- 1 | /samples export-ignore 2 | /class_hierarchy.png export-ignore -------------------------------------------------------------------------------- /src/com/zoho/crm/api/record/Options.php: -------------------------------------------------------------------------------- 1 | value = $value; 11 | } 12 | 13 | public function getValue() 14 | { 15 | return $this->value; 16 | } 17 | } -------------------------------------------------------------------------------- /src/com/zoho/crm/api/variables/GetVariablesParam.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/relatedrecords/GetRelatedRecordsParam.php: -------------------------------------------------------------------------------- 1 | =7.0", 16 | "ext-json" : "*", 17 | "ext-curl" : "*" 18 | }, 19 | "require-dev" : { 20 | "phpunit/phpunit" : ">=5.7" 21 | }, 22 | "autoload" : { 23 | "psr-4" : { 24 | "" : "src/" 25 | } 26 | } 27 | } -------------------------------------------------------------------------------- /src/com/zoho/crm/api/attachments/GetAttachmentsParam.php: -------------------------------------------------------------------------------- 1 | apiName=$apiName; 27 | 28 | } 29 | 30 | /** 31 | * The method to get the aPIName 32 | * @return string A string representing the apiName 33 | */ 34 | public function getAPIName() 35 | { 36 | return $this->apiName; 37 | 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/Header.php: -------------------------------------------------------------------------------- 1 | name = $name; 21 | 22 | $this->className = $className; 23 | } 24 | 25 | /** 26 | * This is a getter method to get header name. 27 | * @return string A string representing the header name. 28 | */ 29 | public function getName() 30 | { 31 | return $this->name; 32 | } 33 | 34 | /** 35 | * This is a getter method to get header class name. 36 | * @return string A string representing the header class name. 37 | */ 38 | public function getClassName() 39 | { 40 | return $this->className; 41 | } 42 | } -------------------------------------------------------------------------------- /src/com/zoho/crm/api/Param.php: -------------------------------------------------------------------------------- 1 | name = $name; 21 | 22 | $this->className = $className; 23 | } 24 | 25 | /** 26 | * This is a getter method to get parameter name. 27 | * @return string A string representing the parameter name. 28 | */ 29 | public function getName() 30 | { 31 | return $this->name; 32 | } 33 | 34 | /** 35 | * This is a getter method to get parameter class name. 36 | * @return string A string representing the parameter class name. 37 | */ 38 | public function getClassName() 39 | { 40 | return $this->className; 41 | } 42 | } -------------------------------------------------------------------------------- /src/com/zoho/crm/api/query/QueryOperations.php: -------------------------------------------------------------------------------- 1 | setAPIPath($apiPath); 23 | $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); 24 | $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); 25 | $handlerInstance->setContentType('application/json'); 26 | $handlerInstance->setRequest($request); 27 | $handlerInstance->setMandatoryChecker(true); 28 | return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); 29 | 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/record/Attachments.php: -------------------------------------------------------------------------------- 1 | email = $email; 34 | } 35 | 36 | /** 37 | * This is a getter method to get user email. 38 | * @return string A string representing the CRM user email. 39 | */ 40 | public function getEmail() 41 | { 42 | return $this->email; 43 | } 44 | } -------------------------------------------------------------------------------- /src/com/zoho/crm/api/record/SearchRecordsParam.php: -------------------------------------------------------------------------------- 1 | data; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to data 24 | * @param array $data A array 25 | */ 26 | public function setData(array $data) 27 | { 28 | $this->data=$data; 29 | $this->keyModified['data'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/tags/BodyWrapper.php: -------------------------------------------------------------------------------- 1 | tags; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to tags 24 | * @param array $tags A array 25 | */ 26 | public function setTags(array $tags) 27 | { 28 | $this->tags=$tags; 29 | $this->keyModified['tags'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/tags/MergeWrapper.php: -------------------------------------------------------------------------------- 1 | tags; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to tags 24 | * @param array $tags A array 25 | */ 26 | public function setTags(array $tags) 27 | { 28 | $this->tags=$tags; 29 | $this->keyModified['tags'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/api/authenticator/store/TokenStore.php: -------------------------------------------------------------------------------- 1 | org; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to org 24 | * @param array $org A array 25 | */ 26 | public function setOrg(array $org) 27 | { 28 | $this->org=$org; 29 | $this->keyModified['org'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/taxes/BodyWrapper.php: -------------------------------------------------------------------------------- 1 | taxes; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to taxes 24 | * @param array $taxes A array 25 | */ 26 | public function setTaxes(array $taxes) 27 | { 28 | $this->taxes=$taxes; 29 | $this->keyModified['taxes'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/users/BodyWrapper.php: -------------------------------------------------------------------------------- 1 | users; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to users 24 | * @param array $users A array 25 | */ 26 | public function setUsers(array $users) 27 | { 28 | $this->users=$users; 29 | $this->keyModified['users'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/file/ActionWrapper.php: -------------------------------------------------------------------------------- 1 | data; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to data 24 | * @param array $data A array 25 | */ 26 | public function setData(array $data) 27 | { 28 | $this->data=$data; 29 | $this->keyModified['data'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/record/ConvertBodyWrapper.php: -------------------------------------------------------------------------------- 1 | data; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to data 24 | * @param array $data A array 25 | */ 26 | public function setData(array $data) 27 | { 28 | $this->data=$data; 29 | $this->keyModified['data'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/record/RemindAt.php: -------------------------------------------------------------------------------- 1 | alarm; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to alarm 24 | * @param string $alarm A string 25 | */ 26 | public function setAlarm(string $alarm) 27 | { 28 | $this->alarm=$alarm; 29 | $this->keyModified['ALARM'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/tags/ActionWrapper.php: -------------------------------------------------------------------------------- 1 | tags; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to tags 24 | * @param array $tags A array 25 | */ 26 | public function setTags(array $tags) 27 | { 28 | $this->tags=$tags; 29 | $this->keyModified['tags'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/notes/ActionWrapper.php: -------------------------------------------------------------------------------- 1 | data; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to data 24 | * @param array $data A array 25 | */ 26 | public function setData(array $data) 27 | { 28 | $this->data=$data; 29 | $this->keyModified['data'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/record/ActionWrapper.php: -------------------------------------------------------------------------------- 1 | data; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to data 24 | * @param array $data A array 25 | */ 26 | public function setData(array $data) 27 | { 28 | $this->data=$data; 29 | $this->keyModified['data'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/users/RequestWrapper.php: -------------------------------------------------------------------------------- 1 | users; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to users 24 | * @param array $users A array 25 | */ 26 | public function setUsers(array $users) 27 | { 28 | $this->users=$users; 29 | $this->keyModified['users'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/notification/BodyWrapper.php: -------------------------------------------------------------------------------- 1 | watch; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to watch 24 | * @param array $watch A array 25 | */ 26 | public function setWatch(array $watch) 27 | { 28 | $this->watch=$watch; 29 | $this->keyModified['watch'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/sharerecords/BodyWrapper.php: -------------------------------------------------------------------------------- 1 | share; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to share 24 | * @param array $share A array 25 | */ 26 | public function setShare(array $share) 27 | { 28 | $this->share=$share; 29 | $this->keyModified['share'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/attachments/ActionWrapper.php: -------------------------------------------------------------------------------- 1 | data; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to data 24 | * @param array $data A array 25 | */ 26 | public function setData(array $data) 27 | { 28 | $this->data=$data; 29 | $this->keyModified['data'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/bulkread/ResponseWrapper.php: -------------------------------------------------------------------------------- 1 | data; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to data 24 | * @param array $data A array 25 | */ 26 | public function setData(array $data) 27 | { 28 | $this->data=$data; 29 | $this->keyModified['data'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/record/RecurringActivity.php: -------------------------------------------------------------------------------- 1 | rrule; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to rrule 24 | * @param string $rrule A string 25 | */ 26 | public function setRrule(string $rrule) 27 | { 28 | $this->rrule=$rrule; 29 | $this->keyModified['RRULE'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/tags/CountWrapper.php: -------------------------------------------------------------------------------- 1 | count; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to count 24 | * @param string $count A string 25 | */ 26 | public function setCount(string $count) 27 | { 28 | $this->count=$count; 29 | $this->keyModified['count'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/taxes/ActionWrapper.php: -------------------------------------------------------------------------------- 1 | taxes; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to taxes 24 | * @param array $taxes A array 25 | */ 26 | public function setTaxes(array $taxes) 27 | { 28 | $this->taxes=$taxes; 29 | $this->keyModified['taxes'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/users/ActionWrapper.php: -------------------------------------------------------------------------------- 1 | users; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to users 24 | * @param array $users A array 25 | */ 26 | public function setUsers(array $users) 27 | { 28 | $this->users=$users; 29 | $this->keyModified['users'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/relatedrecords/ActionWrapper.php: -------------------------------------------------------------------------------- 1 | data; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to data 24 | * @param array $data A array 25 | */ 26 | public function setData(array $data) 27 | { 28 | $this->data=$data; 29 | $this->keyModified['data'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/roles/ResponseWrapper.php: -------------------------------------------------------------------------------- 1 | roles; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to roles 24 | * @param array $roles A array 25 | */ 26 | public function setRoles(array $roles) 27 | { 28 | $this->roles=$roles; 29 | $this->keyModified['roles'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/modules/BodyWrapper.php: -------------------------------------------------------------------------------- 1 | modules; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to modules 24 | * @param array $modules A array 25 | */ 26 | public function setModules(array $modules) 27 | { 28 | $this->modules=$modules; 29 | $this->keyModified['modules'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/record/ConvertActionWrapper.php: -------------------------------------------------------------------------------- 1 | data; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to data 24 | * @param array $data A array 25 | */ 26 | public function setData(array $data) 27 | { 28 | $this->data=$data; 29 | $this->keyModified['data'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/file/BodyWrapper.php: -------------------------------------------------------------------------------- 1 | file; 20 | 21 | } 22 | 23 | /** 24 | * The method to set the value to file 25 | * @param array $file A array 26 | */ 27 | public function setFile(array $file) 28 | { 29 | $this->file=$file; 30 | $this->keyModified['file'] = 1; 31 | 32 | } 33 | 34 | /** 35 | * The method to check if the user has modified the given key 36 | * @param string $key A string 37 | * @return int A int representing the modification 38 | */ 39 | public function isKeyModified(string $key) 40 | { 41 | if(((array_key_exists($key, $this->keyModified)))) 42 | { 43 | return $this->keyModified[$key]; 44 | 45 | } 46 | return null; 47 | 48 | } 49 | 50 | /** 51 | * The method to mark the given key as modified 52 | * @param string $key A string 53 | * @param int $modification A int 54 | */ 55 | public function setKeyModified(string $key, int $modification) 56 | { 57 | $this->keyModified[$key] = $modification; 58 | 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/notification/ActionWrapper.php: -------------------------------------------------------------------------------- 1 | watch; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to watch 24 | * @param array $watch A array 25 | */ 26 | public function setWatch(array $watch) 27 | { 28 | $this->watch=$watch; 29 | $this->keyModified['watch'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/sharerecords/ActionWrapper.php: -------------------------------------------------------------------------------- 1 | share; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to share 24 | * @param array $share A array 25 | */ 26 | public function setShare(array $share) 27 | { 28 | $this->share=$share; 29 | $this->keyModified['share'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/fields/ResponseWrapper.php: -------------------------------------------------------------------------------- 1 | fields; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to fields 24 | * @param array $fields A array 25 | */ 26 | public function setFields(array $fields) 27 | { 28 | $this->fields=$fields; 29 | $this->keyModified['fields'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/record/MassUpdateActionWrapper.php: -------------------------------------------------------------------------------- 1 | data; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to data 24 | * @param array $data A array 25 | */ 26 | public function setData(array $data) 27 | { 28 | $this->data=$data; 29 | $this->keyModified['data'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/api/logger/Logger.php: -------------------------------------------------------------------------------- 1 | level = $level; 17 | 18 | $this->filePath = $filePath; 19 | } 20 | 21 | /** 22 | * Creates an Logger class instance with the specified log level and file path. 23 | * @param Levels $level A string containing the log level. 24 | * @param string $filePath A string containing the log file path. 25 | * @return \com\zoho\api\logger\Logger A Logger class instance. 26 | */ 27 | public static function getInstance($level, $filePath) 28 | { 29 | return new Logger($level, $filePath); 30 | } 31 | 32 | /** 33 | * This is a getter method to get logger level. 34 | * @return string A string representing the logger level. 35 | */ 36 | public function getLevel() 37 | { 38 | return $this->level; 39 | } 40 | 41 | /** 42 | * This is a getter method to get log file path. 43 | * @return string A string representing the log file path. 44 | */ 45 | public function getFilePath() 46 | { 47 | return $this->filePath; 48 | } 49 | } 50 | ?> -------------------------------------------------------------------------------- /src/com/zoho/crm/api/record/MassUpdateResponseWrapper.php: -------------------------------------------------------------------------------- 1 | data; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to data 24 | * @param array $data A array 25 | */ 26 | public function setData(array $data) 27 | { 28 | $this->data=$data; 29 | $this->keyModified['data'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/modules/ActionWrapper.php: -------------------------------------------------------------------------------- 1 | modules; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to modules 24 | * @param array $modules A array 25 | */ 26 | public function setModules(array $modules) 27 | { 28 | $this->modules=$modules; 29 | $this->keyModified['modules'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/relatedrecords/BodyWrapper.php: -------------------------------------------------------------------------------- 1 | data; 20 | 21 | } 22 | 23 | /** 24 | * The method to set the value to data 25 | * @param array $data A array 26 | */ 27 | public function setData(array $data) 28 | { 29 | $this->data=$data; 30 | $this->keyModified['data'] = 1; 31 | 32 | } 33 | 34 | /** 35 | * The method to check if the user has modified the given key 36 | * @param string $key A string 37 | * @return int A int representing the modification 38 | */ 39 | public function isKeyModified(string $key) 40 | { 41 | if(((array_key_exists($key, $this->keyModified)))) 42 | { 43 | return $this->keyModified[$key]; 44 | 45 | } 46 | return null; 47 | 48 | } 49 | 50 | /** 51 | * The method to mark the given key as modified 52 | * @param string $key A string 53 | * @param int $modification A int 54 | */ 55 | public function setKeyModified(string $key, int $modification) 56 | { 57 | $this->keyModified[$key] = $modification; 58 | 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/layouts/ResponseWrapper.php: -------------------------------------------------------------------------------- 1 | layouts; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to layouts 24 | * @param array $layouts A array 25 | */ 26 | public function setLayouts(array $layouts) 27 | { 28 | $this->layouts=$layouts; 29 | $this->keyModified['layouts'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/modules/ResponseWrapper.php: -------------------------------------------------------------------------------- 1 | modules; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to modules 24 | * @param array $modules A array 25 | */ 26 | public function setModules(array $modules) 27 | { 28 | $this->modules=$modules; 29 | $this->keyModified['modules'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/blueprint/BodyWrapper.php: -------------------------------------------------------------------------------- 1 | blueprint; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to blueprint 24 | * @param array $blueprint A array 25 | */ 26 | public function setBlueprint(array $blueprint) 27 | { 28 | $this->blueprint=$blueprint; 29 | $this->keyModified['blueprint'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/variables/BodyWrapper.php: -------------------------------------------------------------------------------- 1 | variables; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to variables 24 | * @param array $variables A array 25 | */ 26 | public function setVariables(array $variables) 27 | { 28 | $this->variables=$variables; 29 | $this->keyModified['variables'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/currencies/BodyWrapper.php: -------------------------------------------------------------------------------- 1 | currencies; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to currencies 24 | * @param array $currencies A array 25 | */ 26 | public function setCurrencies(array $currencies) 27 | { 28 | $this->currencies=$currencies; 29 | $this->keyModified['currencies'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/profiles/ResponseWrapper.php: -------------------------------------------------------------------------------- 1 | profiles; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to profiles 24 | * @param array $profiles A array 25 | */ 26 | public function setProfiles(array $profiles) 27 | { 28 | $this->profiles=$profiles; 29 | $this->keyModified['profiles'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/tags/ConflictWrapper.php: -------------------------------------------------------------------------------- 1 | conflictId; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to conflictId 24 | * @param string $conflictId A string 25 | */ 26 | public function setConflictId(string $conflictId) 27 | { 28 | $this->conflictId=$conflictId; 29 | $this->keyModified['conflict_id'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/variables/ActionWrapper.php: -------------------------------------------------------------------------------- 1 | variables; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to variables 24 | * @param array $variables A array 25 | */ 26 | public function setVariables(array $variables) 27 | { 28 | $this->variables=$variables; 29 | $this->keyModified['variables'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/bulkwrite/Result.php: -------------------------------------------------------------------------------- 1 | downloadUrl; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to downloadUrl 24 | * @param string $downloadUrl A string 25 | */ 26 | public function setDownloadUrl(string $downloadUrl) 27 | { 28 | $this->downloadUrl=$downloadUrl; 29 | $this->keyModified['download_url'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/query/BodyWrapper.php: -------------------------------------------------------------------------------- 1 | selectQuery; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to selectQuery 24 | * @param string $selectQuery A string 25 | */ 26 | public function setSelectQuery(string $selectQuery) 27 | { 28 | $this->selectQuery=$selectQuery; 29 | $this->keyModified['select_query'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/org/FileBodyWrapper.php: -------------------------------------------------------------------------------- 1 | file; 20 | 21 | } 22 | 23 | /** 24 | * The method to set the value to file 25 | * @param StreamWrapper $file An instance of StreamWrapper 26 | */ 27 | public function setFile(StreamWrapper $file) 28 | { 29 | $this->file=$file; 30 | $this->keyModified['file'] = 1; 31 | 32 | } 33 | 34 | /** 35 | * The method to check if the user has modified the given key 36 | * @param string $key A string 37 | * @return int A int representing the modification 38 | */ 39 | public function isKeyModified(string $key) 40 | { 41 | if(((array_key_exists($key, $this->keyModified)))) 42 | { 43 | return $this->keyModified[$key]; 44 | 45 | } 46 | return null; 47 | 48 | } 49 | 50 | /** 51 | * The method to mark the given key as modified 52 | * @param string $key A string 53 | * @param int $modification A int 54 | */ 55 | public function setKeyModified(string $key, int $modification) 56 | { 57 | $this->keyModified[$key] = $modification; 58 | 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/variables/ResponseWrapper.php: -------------------------------------------------------------------------------- 1 | variables; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to variables 24 | * @param array $variables A array 25 | */ 26 | public function setVariables(array $variables) 27 | { 28 | $this->variables=$variables; 29 | $this->keyModified['variables'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/currencies/ActionWrapper.php: -------------------------------------------------------------------------------- 1 | currencies; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to currencies 24 | * @param array $currencies A array 25 | */ 26 | public function setCurrencies(array $currencies) 27 | { 28 | $this->currencies=$currencies; 29 | $this->keyModified['currencies'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/currencies/ResponseWrapper.php: -------------------------------------------------------------------------------- 1 | currencies; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to currencies 24 | * @param array $currencies A array 25 | */ 26 | public function setCurrencies(array $currencies) 27 | { 28 | $this->currencies=$currencies; 29 | $this->keyModified['currencies'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/fields/Unique.php: -------------------------------------------------------------------------------- 1 | casesensitive; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to casesensitive 24 | * @param string $casesensitive A string 25 | */ 26 | public function setCasesensitive(string $casesensitive) 27 | { 28 | $this->casesensitive=$casesensitive; 29 | $this->keyModified['casesensitive'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/blueprint/ResponseWrapper.php: -------------------------------------------------------------------------------- 1 | blueprint; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to blueprint 24 | * @param BluePrint $blueprint An instance of BluePrint 25 | */ 26 | public function setBlueprint(BluePrint $blueprint) 27 | { 28 | $this->blueprint=$blueprint; 29 | $this->keyModified['blueprint'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/contactroles/BodyWrapper.php: -------------------------------------------------------------------------------- 1 | contactRoles; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to contactRoles 24 | * @param array $contactRoles A array 25 | */ 26 | public function setContactRoles(array $contactRoles) 27 | { 28 | $this->contactRoles=$contactRoles; 29 | $this->keyModified['contact_roles'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/file/FileBodyWrapper.php: -------------------------------------------------------------------------------- 1 | file; 20 | 21 | } 22 | 23 | /** 24 | * The method to set the value to file 25 | * @param StreamWrapper $file An instance of StreamWrapper 26 | */ 27 | public function setFile(StreamWrapper $file) 28 | { 29 | $this->file=$file; 30 | $this->keyModified['file'] = 1; 31 | 32 | } 33 | 34 | /** 35 | * The method to check if the user has modified the given key 36 | * @param string $key A string 37 | * @return int A int representing the modification 38 | */ 39 | public function isKeyModified(string $key) 40 | { 41 | if(((array_key_exists($key, $this->keyModified)))) 42 | { 43 | return $this->keyModified[$key]; 44 | 45 | } 46 | return null; 47 | 48 | } 49 | 50 | /** 51 | * The method to mark the given key as modified 52 | * @param string $key A string 53 | * @param int $modification A int 54 | */ 55 | public function setKeyModified(string $key, int $modification) 56 | { 57 | $this->keyModified[$key] = $modification; 58 | 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/bulkread/FileBodyWrapper.php: -------------------------------------------------------------------------------- 1 | file; 20 | 21 | } 22 | 23 | /** 24 | * The method to set the value to file 25 | * @param StreamWrapper $file An instance of StreamWrapper 26 | */ 27 | public function setFile(StreamWrapper $file) 28 | { 29 | $this->file=$file; 30 | $this->keyModified['file'] = 1; 31 | 32 | } 33 | 34 | /** 35 | * The method to check if the user has modified the given key 36 | * @param string $key A string 37 | * @return int A int representing the modification 38 | */ 39 | public function isKeyModified(string $key) 40 | { 41 | if(((array_key_exists($key, $this->keyModified)))) 42 | { 43 | return $this->keyModified[$key]; 44 | 45 | } 46 | return null; 47 | 48 | } 49 | 50 | /** 51 | * The method to mark the given key as modified 52 | * @param string $key A string 53 | * @param int $modification A int 54 | */ 55 | public function setKeyModified(string $key, int $modification) 56 | { 57 | $this->keyModified[$key] = $modification; 58 | 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/territories/ResponseWrapper.php: -------------------------------------------------------------------------------- 1 | territories; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to territories 24 | * @param array $territories A array 25 | */ 26 | public function setTerritories(array $territories) 27 | { 28 | $this->territories=$territories; 29 | $this->keyModified['territories'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/attachments/FileBodyWrapper.php: -------------------------------------------------------------------------------- 1 | file; 20 | 21 | } 22 | 23 | /** 24 | * The method to set the value to file 25 | * @param StreamWrapper $file An instance of StreamWrapper 26 | */ 27 | public function setFile(StreamWrapper $file) 28 | { 29 | $this->file=$file; 30 | $this->keyModified['file'] = 1; 31 | 32 | } 33 | 34 | /** 35 | * The method to check if the user has modified the given key 36 | * @param string $key A string 37 | * @return int A int representing the modification 38 | */ 39 | public function isKeyModified(string $key) 40 | { 41 | if(((array_key_exists($key, $this->keyModified)))) 42 | { 43 | return $this->keyModified[$key]; 44 | 45 | } 46 | return null; 47 | 48 | } 49 | 50 | /** 51 | * The method to mark the given key as modified 52 | * @param string $key A string 53 | * @param int $modification A int 54 | */ 55 | public function setKeyModified(string $key, int $modification) 56 | { 57 | $this->keyModified[$key] = $modification; 58 | 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/bulkwrite/FileBodyWrapper.php: -------------------------------------------------------------------------------- 1 | file; 20 | 21 | } 22 | 23 | /** 24 | * The method to set the value to file 25 | * @param StreamWrapper $file An instance of StreamWrapper 26 | */ 27 | public function setFile(StreamWrapper $file) 28 | { 29 | $this->file=$file; 30 | $this->keyModified['file'] = 1; 31 | 32 | } 33 | 34 | /** 35 | * The method to check if the user has modified the given key 36 | * @param string $key A string 37 | * @return int A int representing the modification 38 | */ 39 | public function isKeyModified(string $key) 40 | { 41 | if(((array_key_exists($key, $this->keyModified)))) 42 | { 43 | return $this->keyModified[$key]; 44 | 45 | } 46 | return null; 47 | 48 | } 49 | 50 | /** 51 | * The method to mark the given key as modified 52 | * @param string $key A string 53 | * @param int $modification A int 54 | */ 55 | public function setKeyModified(string $key, int $modification) 56 | { 57 | $this->keyModified[$key] = $modification; 58 | 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/contactroles/ActionWrapper.php: -------------------------------------------------------------------------------- 1 | contactRoles; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to contactRoles 24 | * @param array $contactRoles A array 25 | */ 26 | public function setContactRoles(array $contactRoles) 27 | { 28 | $this->contactRoles=$contactRoles; 29 | $this->keyModified['contact_roles'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/record/GetRecordParam.php: -------------------------------------------------------------------------------- 1 | contactRoles; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to contactRoles 24 | * @param array $contactRoles A array 25 | */ 26 | public function setContactRoles(array $contactRoles) 27 | { 28 | $this->contactRoles=$contactRoles; 29 | $this->keyModified['contact_roles'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/currencies/BaseCurrencyWrapper.php: -------------------------------------------------------------------------------- 1 | baseCurrency; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to baseCurrency 24 | * @param Currency $baseCurrency An instance of Currency 25 | */ 26 | public function setBaseCurrency(Currency $baseCurrency) 27 | { 28 | $this->baseCurrency=$baseCurrency; 29 | $this->keyModified['base_currency'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/record/FileBodyWrapper.php: -------------------------------------------------------------------------------- 1 | file; 20 | 21 | } 22 | 23 | /** 24 | * The method to set the value to file 25 | * @param StreamWrapper $file An instance of StreamWrapper 26 | */ 27 | public function setFile(StreamWrapper $file) 28 | { 29 | $this->file=$file; 30 | $this->keyModified['file'] = 1; 31 | 32 | } 33 | 34 | /** 35 | * The method to check if the user has modified the given key 36 | * @param string $key A string 37 | * @return int A int representing the modification 38 | */ 39 | public function isKeyModified(string $key) 40 | { 41 | if(((array_key_exists($key, $this->keyModified)))) 42 | { 43 | return $this->keyModified[$key]; 44 | 45 | } 46 | return null; 47 | 48 | } 49 | 50 | /** 51 | * The method to mark the given key as modified 52 | * @param string $key A string 53 | * @param int $modification A int 54 | */ 55 | public function setKeyModified(string $key, int $modification) 56 | { 57 | $this->keyModified[$key] = $modification; 58 | 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/relatedlists/ResponseWrapper.php: -------------------------------------------------------------------------------- 1 | relatedLists; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to relatedLists 24 | * @param array $relatedLists A array 25 | */ 26 | public function setRelatedLists(array $relatedLists) 27 | { 28 | $this->relatedLists=$relatedLists; 29 | $this->keyModified['related_lists'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/relatedrecords/FileBodyWrapper.php: -------------------------------------------------------------------------------- 1 | file; 20 | 21 | } 22 | 23 | /** 24 | * The method to set the value to file 25 | * @param StreamWrapper $file An instance of StreamWrapper 26 | */ 27 | public function setFile(StreamWrapper $file) 28 | { 29 | $this->file=$file; 30 | $this->keyModified['file'] = 1; 31 | 32 | } 33 | 34 | /** 35 | * The method to check if the user has modified the given key 36 | * @param string $key A string 37 | * @return int A int representing the modification 38 | */ 39 | public function isKeyModified(string $key) 40 | { 41 | if(((array_key_exists($key, $this->keyModified)))) 42 | { 43 | return $this->keyModified[$key]; 44 | 45 | } 46 | return null; 47 | 48 | } 49 | 50 | /** 51 | * The method to mark the given key as modified 52 | * @param string $key A string 53 | * @param int $modification A int 54 | */ 55 | public function setKeyModified(string $key, int $modification) 56 | { 57 | $this->keyModified[$key] = $modification; 58 | 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/sharerecords/DeleteActionWrapper.php: -------------------------------------------------------------------------------- 1 | share; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to share 24 | * @param DeleteActionResponse $share An instance of DeleteActionResponse 25 | */ 26 | public function setShare(DeleteActionResponse $share) 27 | { 28 | $this->share=$share; 29 | $this->keyModified['share'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/variablegroups/ResponseWrapper.php: -------------------------------------------------------------------------------- 1 | variableGroups; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to variableGroups 24 | * @param array $variableGroups A array 25 | */ 26 | public function setVariableGroups(array $variableGroups) 27 | { 28 | $this->variableGroups=$variableGroups; 29 | $this->keyModified['variable_groups'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/roles/RolesOperations.php: -------------------------------------------------------------------------------- 1 | setAPIPath($apiPath); 22 | $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); 23 | $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); 24 | return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); 25 | 26 | } 27 | 28 | /** 29 | * The method to get role 30 | * @param string $id A string 31 | * @return APIResponse An instance of APIResponse 32 | */ 33 | public function getRole(string $id) 34 | { 35 | $handlerInstance=new CommonAPIHandler(); 36 | $apiPath=""; 37 | $apiPath=$apiPath.('/crm/v2/settings/roles/'); 38 | $apiPath=$apiPath.(strval($id)); 39 | $handlerInstance->setAPIPath($apiPath); 40 | $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); 41 | $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); 42 | return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); 43 | 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/currencies/BaseCurrencyActionWrapper.php: -------------------------------------------------------------------------------- 1 | baseCurrency; 19 | 20 | } 21 | 22 | /** 23 | * The method to set the value to baseCurrency 24 | * @param ActionResponse $baseCurrency An instance of ActionResponse 25 | */ 26 | public function setBaseCurrency(ActionResponse $baseCurrency) 27 | { 28 | $this->baseCurrency=$baseCurrency; 29 | $this->keyModified['base_currency'] = 1; 30 | 31 | } 32 | 33 | /** 34 | * The method to check if the user has modified the given key 35 | * @param string $key A string 36 | * @return int A int representing the modification 37 | */ 38 | public function isKeyModified(string $key) 39 | { 40 | if(((array_key_exists($key, $this->keyModified)))) 41 | { 42 | return $this->keyModified[$key]; 43 | 44 | } 45 | return null; 46 | 47 | } 48 | 49 | /** 50 | * The method to mark the given key as modified 51 | * @param string $key A string 52 | * @param int $modification A int 53 | */ 54 | public function setKeyModified(string $key, int $modification) 55 | { 56 | $this->keyModified[$key] = $modification; 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/record/Price_Books.php: -------------------------------------------------------------------------------- 1 | setAPIPath($apiPath); 22 | $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); 23 | $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); 24 | return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); 25 | 26 | } 27 | 28 | /** 29 | * The method to get territory 30 | * @param string $id A string 31 | * @return APIResponse An instance of APIResponse 32 | */ 33 | public function getTerritory(string $id) 34 | { 35 | $handlerInstance=new CommonAPIHandler(); 36 | $apiPath=""; 37 | $apiPath=$apiPath.('/crm/v2/settings/territories/'); 38 | $apiPath=$apiPath.(strval($id)); 39 | $handlerInstance->setAPIPath($apiPath); 40 | $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); 41 | $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); 42 | return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); 43 | 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/record/PricingDetails.php: -------------------------------------------------------------------------------- 1 | getKeyValue('to_range'); 18 | 19 | } 20 | 21 | /** 22 | * The method to set the value to toRange 23 | * @param float $toRange A float 24 | */ 25 | public function setToRange(float $toRange) 26 | { 27 | $this->addKeyValue('to_range', $toRange); 28 | 29 | } 30 | 31 | /** 32 | * The method to get the discount 33 | * @return float A float representing the discount 34 | */ 35 | public function getDiscount() 36 | { 37 | return $this->getKeyValue('discount'); 38 | 39 | } 40 | 41 | /** 42 | * The method to set the value to discount 43 | * @param float $discount A float 44 | */ 45 | public function setDiscount(float $discount) 46 | { 47 | $this->addKeyValue('discount', $discount); 48 | 49 | } 50 | 51 | /** 52 | * The method to get the fromRange 53 | * @return float A float representing the fromRange 54 | */ 55 | public function getFromRange() 56 | { 57 | return $this->getKeyValue('from_range'); 58 | 59 | } 60 | 61 | /** 62 | * The method to set the value to fromRange 63 | * @param float $fromRange A float 64 | */ 65 | public function setFromRange(float $fromRange) 66 | { 67 | $this->addKeyValue('from_range', $fromRange); 68 | 69 | } 70 | } 71 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/record/LineItemProduct.php: -------------------------------------------------------------------------------- 1 | getKeyValue('Product_Code'); 18 | 19 | } 20 | 21 | /** 22 | * The method to set the value to productCode 23 | * @param string $productCode A string 24 | */ 25 | public function setProductCode(string $productCode) 26 | { 27 | $this->addKeyValue('Product_Code', $productCode); 28 | 29 | } 30 | 31 | /** 32 | * The method to get the currency 33 | * @return string A string representing the currency 34 | */ 35 | public function getCurrency() 36 | { 37 | return $this->getKeyValue('Currency'); 38 | 39 | } 40 | 41 | /** 42 | * The method to set the value to currency 43 | * @param string $currency A string 44 | */ 45 | public function setCurrency(string $currency) 46 | { 47 | $this->addKeyValue('Currency', $currency); 48 | 49 | } 50 | 51 | /** 52 | * The method to get the name 53 | * @return string A string representing the name 54 | */ 55 | public function getName() 56 | { 57 | return $this->getKeyValue('name'); 58 | 59 | } 60 | 61 | /** 62 | * The method to set the value to name 63 | * @param string $name A string 64 | */ 65 | public function setName(string $name) 66 | { 67 | $this->addKeyValue('name', $name); 68 | 69 | } 70 | } 71 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/org/OrgOperations.php: -------------------------------------------------------------------------------- 1 | setAPIPath($apiPath); 22 | $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_GET); 23 | $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_READ); 24 | return $handlerInstance->apiCall(ResponseHandler::class, 'application/json'); 25 | 26 | } 27 | 28 | /** 29 | * The method to upload organization photo 30 | * @param FileBodyWrapper $request An instance of FileBodyWrapper 31 | * @return APIResponse An instance of APIResponse 32 | */ 33 | public function uploadOrganizationPhoto(FileBodyWrapper $request) 34 | { 35 | $handlerInstance=new CommonAPIHandler(); 36 | $apiPath=""; 37 | $apiPath=$apiPath.('/crm/v2/org/photo'); 38 | $handlerInstance->setAPIPath($apiPath); 39 | $handlerInstance->setHttpMethod(Constants::REQUEST_METHOD_POST); 40 | $handlerInstance->setCategoryMethod(Constants::REQUEST_CATEGORY_CREATE); 41 | $handlerInstance->setContentType('multipart/form-data'); 42 | $handlerInstance->setRequest($request); 43 | $handlerInstance->setMandatoryChecker(true); 44 | return $handlerInstance->apiCall(ActionResponse::class, 'application/json'); 45 | 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/customviews/Range.php: -------------------------------------------------------------------------------- 1 | from; 20 | 21 | } 22 | 23 | /** 24 | * The method to set the value to from 25 | * @param int $from A int 26 | */ 27 | public function setFrom(int $from) 28 | { 29 | $this->from=$from; 30 | $this->keyModified['from'] = 1; 31 | 32 | } 33 | 34 | /** 35 | * The method to get the to 36 | * @return int A int representing the to 37 | */ 38 | public function getTo() 39 | { 40 | return $this->to; 41 | 42 | } 43 | 44 | /** 45 | * The method to set the value to to 46 | * @param int $to A int 47 | */ 48 | public function setTo(int $to) 49 | { 50 | $this->to=$to; 51 | $this->keyModified['to'] = 1; 52 | 53 | } 54 | 55 | /** 56 | * The method to check if the user has modified the given key 57 | * @param string $key A string 58 | * @return int A int representing the modification 59 | */ 60 | public function isKeyModified(string $key) 61 | { 62 | if(((array_key_exists($key, $this->keyModified)))) 63 | { 64 | return $this->keyModified[$key]; 65 | 66 | } 67 | return null; 68 | 69 | } 70 | 71 | /** 72 | * The method to mark the given key as modified 73 | * @param string $key A string 74 | * @param int $modification A int 75 | */ 76 | public function setKeyModified(string $key, int $modification) 77 | { 78 | $this->keyModified[$key] = $modification; 79 | 80 | } 81 | } 82 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/users/Shift.php: -------------------------------------------------------------------------------- 1 | id; 20 | 21 | } 22 | 23 | /** 24 | * The method to set the value to id 25 | * @param string $id A string 26 | */ 27 | public function setId(string $id) 28 | { 29 | $this->id=$id; 30 | $this->keyModified['id'] = 1; 31 | 32 | } 33 | 34 | /** 35 | * The method to get the name 36 | * @return string A string representing the name 37 | */ 38 | public function getName() 39 | { 40 | return $this->name; 41 | 42 | } 43 | 44 | /** 45 | * The method to set the value to name 46 | * @param string $name A string 47 | */ 48 | public function setName(string $name) 49 | { 50 | $this->name=$name; 51 | $this->keyModified['name'] = 1; 52 | 53 | } 54 | 55 | /** 56 | * The method to check if the user has modified the given key 57 | * @param string $key A string 58 | * @return int A int representing the modification 59 | */ 60 | public function isKeyModified(string $key) 61 | { 62 | if(((array_key_exists($key, $this->keyModified)))) 63 | { 64 | return $this->keyModified[$key]; 65 | 66 | } 67 | return null; 68 | 69 | } 70 | 71 | /** 72 | * The method to mark the given key as modified 73 | * @param string $key A string 74 | * @param int $modification A int 75 | */ 76 | public function setKeyModified(string $key, int $modification) 77 | { 78 | $this->keyModified[$key] = $modification; 79 | 80 | } 81 | } 82 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/fields/LookupField.php: -------------------------------------------------------------------------------- 1 | id; 20 | 21 | } 22 | 23 | /** 24 | * The method to set the value to id 25 | * @param string $id A string 26 | */ 27 | public function setId(string $id) 28 | { 29 | $this->id=$id; 30 | $this->keyModified['id'] = 1; 31 | 32 | } 33 | 34 | /** 35 | * The method to get the name 36 | * @return string A string representing the name 37 | */ 38 | public function getName() 39 | { 40 | return $this->name; 41 | 42 | } 43 | 44 | /** 45 | * The method to set the value to name 46 | * @param string $name A string 47 | */ 48 | public function setName(string $name) 49 | { 50 | $this->name=$name; 51 | $this->keyModified['name'] = 1; 52 | 53 | } 54 | 55 | /** 56 | * The method to check if the user has modified the given key 57 | * @param string $key A string 58 | * @return int A int representing the modification 59 | */ 60 | public function isKeyModified(string $key) 61 | { 62 | if(((array_key_exists($key, $this->keyModified)))) 63 | { 64 | return $this->keyModified[$key]; 65 | 66 | } 67 | return null; 68 | 69 | } 70 | 71 | /** 72 | * The method to mark the given key as modified 73 | * @param string $key A string 74 | * @param int $modification A int 75 | */ 76 | public function setKeyModified(string $key, int $modification) 77 | { 78 | $this->keyModified[$key] = $modification; 79 | 80 | } 81 | } 82 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/blueprint/NextTransition.php: -------------------------------------------------------------------------------- 1 | id; 20 | 21 | } 22 | 23 | /** 24 | * The method to set the value to id 25 | * @param string $id A string 26 | */ 27 | public function setId(string $id) 28 | { 29 | $this->id=$id; 30 | $this->keyModified['id'] = 1; 31 | 32 | } 33 | 34 | /** 35 | * The method to get the name 36 | * @return string A string representing the name 37 | */ 38 | public function getName() 39 | { 40 | return $this->name; 41 | 42 | } 43 | 44 | /** 45 | * The method to set the value to name 46 | * @param string $name A string 47 | */ 48 | public function setName(string $name) 49 | { 50 | $this->name=$name; 51 | $this->keyModified['name'] = 1; 52 | 53 | } 54 | 55 | /** 56 | * The method to check if the user has modified the given key 57 | * @param string $key A string 58 | * @return int A int representing the modification 59 | */ 60 | public function isKeyModified(string $key) 61 | { 62 | if(((array_key_exists($key, $this->keyModified)))) 63 | { 64 | return $this->keyModified[$key]; 65 | 66 | } 67 | return null; 68 | 69 | } 70 | 71 | /** 72 | * The method to mark the given key as modified 73 | * @param string $key A string 74 | * @param int $modification A int 75 | */ 76 | public function setKeyModified(string $key, int $modification) 77 | { 78 | $this->keyModified[$key] = $modification; 79 | 80 | } 81 | } 82 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/fields/ToolTip.php: -------------------------------------------------------------------------------- 1 | name; 20 | 21 | } 22 | 23 | /** 24 | * The method to set the value to name 25 | * @param string $name A string 26 | */ 27 | public function setName(string $name) 28 | { 29 | $this->name=$name; 30 | $this->keyModified['name'] = 1; 31 | 32 | } 33 | 34 | /** 35 | * The method to get the value 36 | * @return string A string representing the value 37 | */ 38 | public function getValue() 39 | { 40 | return $this->value; 41 | 42 | } 43 | 44 | /** 45 | * The method to set the value to value 46 | * @param string $value A string 47 | */ 48 | public function setValue(string $value) 49 | { 50 | $this->value=$value; 51 | $this->keyModified['value'] = 1; 52 | 53 | } 54 | 55 | /** 56 | * The method to check if the user has modified the given key 57 | * @param string $key A string 58 | * @return int A int representing the modification 59 | */ 60 | public function isKeyModified(string $key) 61 | { 62 | if(((array_key_exists($key, $this->keyModified)))) 63 | { 64 | return $this->keyModified[$key]; 65 | 66 | } 67 | return null; 68 | 69 | } 70 | 71 | /** 72 | * The method to mark the given key as modified 73 | * @param string $key A string 74 | * @param int $modification A int 75 | */ 76 | public function setKeyModified(string $key, int $modification) 77 | { 78 | $this->keyModified[$key] = $modification; 79 | 80 | } 81 | } 82 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/modules/Argument.php: -------------------------------------------------------------------------------- 1 | name; 20 | 21 | } 22 | 23 | /** 24 | * The method to set the value to name 25 | * @param string $name A string 26 | */ 27 | public function setName(string $name) 28 | { 29 | $this->name=$name; 30 | $this->keyModified['name'] = 1; 31 | 32 | } 33 | 34 | /** 35 | * The method to get the value 36 | * @return string A string representing the value 37 | */ 38 | public function getValue() 39 | { 40 | return $this->value; 41 | 42 | } 43 | 44 | /** 45 | * The method to set the value to value 46 | * @param string $value A string 47 | */ 48 | public function setValue(string $value) 49 | { 50 | $this->value=$value; 51 | $this->keyModified['value'] = 1; 52 | 53 | } 54 | 55 | /** 56 | * The method to check if the user has modified the given key 57 | * @param string $key A string 58 | * @return int A int representing the modification 59 | */ 60 | public function isKeyModified(string $key) 61 | { 62 | if(((array_key_exists($key, $this->keyModified)))) 63 | { 64 | return $this->keyModified[$key]; 65 | 66 | } 67 | return null; 68 | 69 | } 70 | 71 | /** 72 | * The method to mark the given key as modified 73 | * @param string $key A string 74 | * @param int $modification A int 75 | */ 76 | public function setKeyModified(string $key, int $modification) 77 | { 78 | $this->keyModified[$key] = $modification; 79 | 80 | } 81 | } 82 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/tags/ResponseWrapper.php: -------------------------------------------------------------------------------- 1 | tags; 20 | 21 | } 22 | 23 | /** 24 | * The method to set the value to tags 25 | * @param array $tags A array 26 | */ 27 | public function setTags(array $tags) 28 | { 29 | $this->tags=$tags; 30 | $this->keyModified['tags'] = 1; 31 | 32 | } 33 | 34 | /** 35 | * The method to get the info 36 | * @return Info An instance of Info 37 | */ 38 | public function getInfo() 39 | { 40 | return $this->info; 41 | 42 | } 43 | 44 | /** 45 | * The method to set the value to info 46 | * @param Info $info An instance of Info 47 | */ 48 | public function setInfo(Info $info) 49 | { 50 | $this->info=$info; 51 | $this->keyModified['info'] = 1; 52 | 53 | } 54 | 55 | /** 56 | * The method to check if the user has modified the given key 57 | * @param string $key A string 58 | * @return int A int representing the modification 59 | */ 60 | public function isKeyModified(string $key) 61 | { 62 | if(((array_key_exists($key, $this->keyModified)))) 63 | { 64 | return $this->keyModified[$key]; 65 | 66 | } 67 | return null; 68 | 69 | } 70 | 71 | /** 72 | * The method to mark the given key as modified 73 | * @param string $key A string 74 | * @param int $modification A int 75 | */ 76 | public function setKeyModified(string $key, int $modification) 77 | { 78 | $this->keyModified[$key] = $modification; 79 | 80 | } 81 | } 82 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/bulkread/ActionWrapper.php: -------------------------------------------------------------------------------- 1 | data; 20 | 21 | } 22 | 23 | /** 24 | * The method to set the value to data 25 | * @param array $data A array 26 | */ 27 | public function setData(array $data) 28 | { 29 | $this->data=$data; 30 | $this->keyModified['data'] = 1; 31 | 32 | } 33 | 34 | /** 35 | * The method to get the info 36 | * @return array A array representing the info 37 | */ 38 | public function getInfo() 39 | { 40 | return $this->info; 41 | 42 | } 43 | 44 | /** 45 | * The method to set the value to info 46 | * @param array $info A array 47 | */ 48 | public function setInfo(array $info) 49 | { 50 | $this->info=$info; 51 | $this->keyModified['info'] = 1; 52 | 53 | } 54 | 55 | /** 56 | * The method to check if the user has modified the given key 57 | * @param string $key A string 58 | * @return int A int representing the modification 59 | */ 60 | public function isKeyModified(string $key) 61 | { 62 | if(((array_key_exists($key, $this->keyModified)))) 63 | { 64 | return $this->keyModified[$key]; 65 | 66 | } 67 | return null; 68 | 69 | } 70 | 71 | /** 72 | * The method to mark the given key as modified 73 | * @param string $key A string 74 | * @param int $modification A int 75 | */ 76 | public function setKeyModified(string $key, int $modification) 77 | { 78 | $this->keyModified[$key] = $modification; 79 | 80 | } 81 | } 82 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/notes/ResponseWrapper.php: -------------------------------------------------------------------------------- 1 | data; 20 | 21 | } 22 | 23 | /** 24 | * The method to set the value to data 25 | * @param array $data A array 26 | */ 27 | public function setData(array $data) 28 | { 29 | $this->data=$data; 30 | $this->keyModified['data'] = 1; 31 | 32 | } 33 | 34 | /** 35 | * The method to get the info 36 | * @return Info An instance of Info 37 | */ 38 | public function getInfo() 39 | { 40 | return $this->info; 41 | 42 | } 43 | 44 | /** 45 | * The method to set the value to info 46 | * @param Info $info An instance of Info 47 | */ 48 | public function setInfo(Info $info) 49 | { 50 | $this->info=$info; 51 | $this->keyModified['info'] = 1; 52 | 53 | } 54 | 55 | /** 56 | * The method to check if the user has modified the given key 57 | * @param string $key A string 58 | * @return int A int representing the modification 59 | */ 60 | public function isKeyModified(string $key) 61 | { 62 | if(((array_key_exists($key, $this->keyModified)))) 63 | { 64 | return $this->keyModified[$key]; 65 | 66 | } 67 | return null; 68 | 69 | } 70 | 71 | /** 72 | * The method to mark the given key as modified 73 | * @param string $key A string 74 | * @param int $modification A int 75 | */ 76 | public function setKeyModified(string $key, int $modification) 77 | { 78 | $this->keyModified[$key] = $modification; 79 | 80 | } 81 | } 82 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/record/ResponseWrapper.php: -------------------------------------------------------------------------------- 1 | data; 20 | 21 | } 22 | 23 | /** 24 | * The method to set the value to data 25 | * @param array $data A array 26 | */ 27 | public function setData(array $data) 28 | { 29 | $this->data=$data; 30 | $this->keyModified['data'] = 1; 31 | 32 | } 33 | 34 | /** 35 | * The method to get the info 36 | * @return Info An instance of Info 37 | */ 38 | public function getInfo() 39 | { 40 | return $this->info; 41 | 42 | } 43 | 44 | /** 45 | * The method to set the value to info 46 | * @param Info $info An instance of Info 47 | */ 48 | public function setInfo(Info $info) 49 | { 50 | $this->info=$info; 51 | $this->keyModified['info'] = 1; 52 | 53 | } 54 | 55 | /** 56 | * The method to check if the user has modified the given key 57 | * @param string $key A string 58 | * @return int A int representing the modification 59 | */ 60 | public function isKeyModified(string $key) 61 | { 62 | if(((array_key_exists($key, $this->keyModified)))) 63 | { 64 | return $this->keyModified[$key]; 65 | 66 | } 67 | return null; 68 | 69 | } 70 | 71 | /** 72 | * The method to mark the given key as modified 73 | * @param string $key A string 74 | * @param int $modification A int 75 | */ 76 | public function setKeyModified(string $key, int $modification) 77 | { 78 | $this->keyModified[$key] = $modification; 79 | 80 | } 81 | } 82 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/record/Reminder.php: -------------------------------------------------------------------------------- 1 | period; 20 | 21 | } 22 | 23 | /** 24 | * The method to set the value to period 25 | * @param string $period A string 26 | */ 27 | public function setPeriod(string $period) 28 | { 29 | $this->period=$period; 30 | $this->keyModified['period'] = 1; 31 | 32 | } 33 | 34 | /** 35 | * The method to get the unit 36 | * @return string A string representing the unit 37 | */ 38 | public function getUnit() 39 | { 40 | return $this->unit; 41 | 42 | } 43 | 44 | /** 45 | * The method to set the value to unit 46 | * @param string $unit A string 47 | */ 48 | public function setUnit(string $unit) 49 | { 50 | $this->unit=$unit; 51 | $this->keyModified['unit'] = 1; 52 | 53 | } 54 | 55 | /** 56 | * The method to check if the user has modified the given key 57 | * @param string $key A string 58 | * @return int A int representing the modification 59 | */ 60 | public function isKeyModified(string $key) 61 | { 62 | if(((array_key_exists($key, $this->keyModified)))) 63 | { 64 | return $this->keyModified[$key]; 65 | 66 | } 67 | return null; 68 | 69 | } 70 | 71 | /** 72 | * The method to mark the given key as modified 73 | * @param string $key A string 74 | * @param int $modification A int 75 | */ 76 | public function setKeyModified(string $key, int $modification) 77 | { 78 | $this->keyModified[$key] = $modification; 79 | 80 | } 81 | } 82 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/RequestProxy.php: -------------------------------------------------------------------------------- 1 | host = $host; 28 | 29 | $this->port = $port; 30 | 31 | $this->user = $user; 32 | 33 | $this->password = $password != null?$password : ""; 34 | } 35 | 36 | /** 37 | * This is a getter method to get Proxy host. 38 | * @return string host 39 | */ 40 | public function getHost() 41 | { 42 | return $this->host; 43 | } 44 | 45 | /** 46 | * This is a getter method to get Proxy port. 47 | * @return string port 48 | */ 49 | public function getPort() 50 | { 51 | return $this->port; 52 | } 53 | 54 | /** 55 | * This is a getter method to get Proxy user name. 56 | * @return string user 57 | */ 58 | public function getUser() 59 | { 60 | return $this->user; 61 | } 62 | 63 | /** 64 | * This is a getter method to get Proxy password. 65 | * @return string password 66 | */ 67 | public function getPassword() 68 | { 69 | return $this->password; 70 | } 71 | } 72 | ?> -------------------------------------------------------------------------------- /src/com/zoho/crm/api/users/ResponseWrapper.php: -------------------------------------------------------------------------------- 1 | users; 20 | 21 | } 22 | 23 | /** 24 | * The method to set the value to users 25 | * @param array $users A array 26 | */ 27 | public function setUsers(array $users) 28 | { 29 | $this->users=$users; 30 | $this->keyModified['users'] = 1; 31 | 32 | } 33 | 34 | /** 35 | * The method to get the info 36 | * @return Info An instance of Info 37 | */ 38 | public function getInfo() 39 | { 40 | return $this->info; 41 | 42 | } 43 | 44 | /** 45 | * The method to set the value to info 46 | * @param Info $info An instance of Info 47 | */ 48 | public function setInfo(Info $info) 49 | { 50 | $this->info=$info; 51 | $this->keyModified['info'] = 1; 52 | 53 | } 54 | 55 | /** 56 | * The method to check if the user has modified the given key 57 | * @param string $key A string 58 | * @return int A int representing the modification 59 | */ 60 | public function isKeyModified(string $key) 61 | { 62 | if(((array_key_exists($key, $this->keyModified)))) 63 | { 64 | return $this->keyModified[$key]; 65 | 66 | } 67 | return null; 68 | 69 | } 70 | 71 | /** 72 | * The method to mark the given key as modified 73 | * @param string $key A string 74 | * @param int $modification A int 75 | */ 76 | public function setKeyModified(string $key, int $modification) 77 | { 78 | $this->keyModified[$key] = $modification; 79 | 80 | } 81 | } 82 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/record/DeletedRecordsWrapper.php: -------------------------------------------------------------------------------- 1 | data; 20 | 21 | } 22 | 23 | /** 24 | * The method to set the value to data 25 | * @param array $data A array 26 | */ 27 | public function setData(array $data) 28 | { 29 | $this->data=$data; 30 | $this->keyModified['data'] = 1; 31 | 32 | } 33 | 34 | /** 35 | * The method to get the info 36 | * @return Info An instance of Info 37 | */ 38 | public function getInfo() 39 | { 40 | return $this->info; 41 | 42 | } 43 | 44 | /** 45 | * The method to set the value to info 46 | * @param Info $info An instance of Info 47 | */ 48 | public function setInfo(Info $info) 49 | { 50 | $this->info=$info; 51 | $this->keyModified['info'] = 1; 52 | 53 | } 54 | 55 | /** 56 | * The method to check if the user has modified the given key 57 | * @param string $key A string 58 | * @return int A int representing the modification 59 | */ 60 | public function isKeyModified(string $key) 61 | { 62 | if(((array_key_exists($key, $this->keyModified)))) 63 | { 64 | return $this->keyModified[$key]; 65 | 66 | } 67 | return null; 68 | 69 | } 70 | 71 | /** 72 | * The method to mark the given key as modified 73 | * @param string $key A string 74 | * @param int $modification A int 75 | */ 76 | public function setKeyModified(string $key, int $modification) 77 | { 78 | $this->keyModified[$key] = $modification; 79 | 80 | } 81 | } 82 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/notification/ResponseWrapper.php: -------------------------------------------------------------------------------- 1 | watch; 20 | 21 | } 22 | 23 | /** 24 | * The method to set the value to watch 25 | * @param array $watch A array 26 | */ 27 | public function setWatch(array $watch) 28 | { 29 | $this->watch=$watch; 30 | $this->keyModified['watch'] = 1; 31 | 32 | } 33 | 34 | /** 35 | * The method to get the info 36 | * @return Info An instance of Info 37 | */ 38 | public function getInfo() 39 | { 40 | return $this->info; 41 | 42 | } 43 | 44 | /** 45 | * The method to set the value to info 46 | * @param Info $info An instance of Info 47 | */ 48 | public function setInfo(Info $info) 49 | { 50 | $this->info=$info; 51 | $this->keyModified['info'] = 1; 52 | 53 | } 54 | 55 | /** 56 | * The method to check if the user has modified the given key 57 | * @param string $key A string 58 | * @return int A int representing the modification 59 | */ 60 | public function isKeyModified(string $key) 61 | { 62 | if(((array_key_exists($key, $this->keyModified)))) 63 | { 64 | return $this->keyModified[$key]; 65 | 66 | } 67 | return null; 68 | 69 | } 70 | 71 | /** 72 | * The method to mark the given key as modified 73 | * @param string $key A string 74 | * @param int $modification A int 75 | */ 76 | public function setKeyModified(string $key, int $modification) 77 | { 78 | $this->keyModified[$key] = $modification; 79 | 80 | } 81 | } 82 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/bulkread/CallBack.php: -------------------------------------------------------------------------------- 1 | url; 21 | 22 | } 23 | 24 | /** 25 | * The method to set the value to url 26 | * @param string $url A string 27 | */ 28 | public function setUrl(string $url) 29 | { 30 | $this->url=$url; 31 | $this->keyModified['url'] = 1; 32 | 33 | } 34 | 35 | /** 36 | * The method to get the method 37 | * @return Choice An instance of Choice 38 | */ 39 | public function getMethod() 40 | { 41 | return $this->method; 42 | 43 | } 44 | 45 | /** 46 | * The method to set the value to method 47 | * @param Choice $method An instance of Choice 48 | */ 49 | public function setMethod(Choice $method) 50 | { 51 | $this->method=$method; 52 | $this->keyModified['method'] = 1; 53 | 54 | } 55 | 56 | /** 57 | * The method to check if the user has modified the given key 58 | * @param string $key A string 59 | * @return int A int representing the modification 60 | */ 61 | public function isKeyModified(string $key) 62 | { 63 | if(((array_key_exists($key, $this->keyModified)))) 64 | { 65 | return $this->keyModified[$key]; 66 | 67 | } 68 | return null; 69 | 70 | } 71 | 72 | /** 73 | * The method to mark the given key as modified 74 | * @param string $key A string 75 | * @param int $modification A int 76 | */ 77 | public function setKeyModified(string $key, int $modification) 78 | { 79 | $this->keyModified[$key] = $modification; 80 | 81 | } 82 | } 83 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/bulkwrite/CallBack.php: -------------------------------------------------------------------------------- 1 | url; 21 | 22 | } 23 | 24 | /** 25 | * The method to set the value to url 26 | * @param string $url A string 27 | */ 28 | public function setUrl(string $url) 29 | { 30 | $this->url=$url; 31 | $this->keyModified['url'] = 1; 32 | 33 | } 34 | 35 | /** 36 | * The method to get the method 37 | * @return Choice An instance of Choice 38 | */ 39 | public function getMethod() 40 | { 41 | return $this->method; 42 | 43 | } 44 | 45 | /** 46 | * The method to set the value to method 47 | * @param Choice $method An instance of Choice 48 | */ 49 | public function setMethod(Choice $method) 50 | { 51 | $this->method=$method; 52 | $this->keyModified['method'] = 1; 53 | 54 | } 55 | 56 | /** 57 | * The method to check if the user has modified the given key 58 | * @param string $key A string 59 | * @return int A int representing the modification 60 | */ 61 | public function isKeyModified(string $key) 62 | { 63 | if(((array_key_exists($key, $this->keyModified)))) 64 | { 65 | return $this->keyModified[$key]; 66 | 67 | } 68 | return null; 69 | 70 | } 71 | 72 | /** 73 | * The method to mark the given key as modified 74 | * @param string $key A string 75 | * @param int $modification A int 76 | */ 77 | public function setKeyModified(string $key, int $modification) 78 | { 79 | $this->keyModified[$key] = $modification; 80 | 81 | } 82 | } 83 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/record/Territory.php: -------------------------------------------------------------------------------- 1 | id; 20 | 21 | } 22 | 23 | /** 24 | * The method to set the value to id 25 | * @param string $id A string 26 | */ 27 | public function setId(string $id) 28 | { 29 | $this->id=$id; 30 | $this->keyModified['id'] = 1; 31 | 32 | } 33 | 34 | /** 35 | * The method to get the includeChild 36 | * @return bool A bool representing the includeChild 37 | */ 38 | public function getIncludeChild() 39 | { 40 | return $this->includeChild; 41 | 42 | } 43 | 44 | /** 45 | * The method to set the value to includeChild 46 | * @param bool $includeChild A bool 47 | */ 48 | public function setIncludeChild(bool $includeChild) 49 | { 50 | $this->includeChild=$includeChild; 51 | $this->keyModified['include_child'] = 1; 52 | 53 | } 54 | 55 | /** 56 | * The method to check if the user has modified the given key 57 | * @param string $key A string 58 | * @return int A int representing the modification 59 | */ 60 | public function isKeyModified(string $key) 61 | { 62 | if(((array_key_exists($key, $this->keyModified)))) 63 | { 64 | return $this->keyModified[$key]; 65 | 66 | } 67 | return null; 68 | 69 | } 70 | 71 | /** 72 | * The method to mark the given key as modified 73 | * @param string $key A string 74 | * @param int $modification A int 75 | */ 76 | public function setKeyModified(string $key, int $modification) 77 | { 78 | $this->keyModified[$key] = $modification; 79 | 80 | } 81 | } 82 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/attachments/ResponseWrapper.php: -------------------------------------------------------------------------------- 1 | data; 21 | 22 | } 23 | 24 | /** 25 | * The method to set the value to data 26 | * @param array $data A array 27 | */ 28 | public function setData(array $data) 29 | { 30 | $this->data=$data; 31 | $this->keyModified['data'] = 1; 32 | 33 | } 34 | 35 | /** 36 | * The method to get the info 37 | * @return Info An instance of Info 38 | */ 39 | public function getInfo() 40 | { 41 | return $this->info; 42 | 43 | } 44 | 45 | /** 46 | * The method to set the value to info 47 | * @param Info $info An instance of Info 48 | */ 49 | public function setInfo(Info $info) 50 | { 51 | $this->info=$info; 52 | $this->keyModified['info'] = 1; 53 | 54 | } 55 | 56 | /** 57 | * The method to check if the user has modified the given key 58 | * @param string $key A string 59 | * @return int A int representing the modification 60 | */ 61 | public function isKeyModified(string $key) 62 | { 63 | if(((array_key_exists($key, $this->keyModified)))) 64 | { 65 | return $this->keyModified[$key]; 66 | 67 | } 68 | return null; 69 | 70 | } 71 | 72 | /** 73 | * The method to mark the given key as modified 74 | * @param string $key A string 75 | * @param int $modification A int 76 | */ 77 | public function setKeyModified(string $key, int $modification) 78 | { 79 | $this->keyModified[$key] = $modification; 80 | 81 | } 82 | } 83 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/profiles/Section.php: -------------------------------------------------------------------------------- 1 | name; 20 | 21 | } 22 | 23 | /** 24 | * The method to set the value to name 25 | * @param string $name A string 26 | */ 27 | public function setName(string $name) 28 | { 29 | $this->name=$name; 30 | $this->keyModified['name'] = 1; 31 | 32 | } 33 | 34 | /** 35 | * The method to get the categories 36 | * @return array A array representing the categories 37 | */ 38 | public function getCategories() 39 | { 40 | return $this->categories; 41 | 42 | } 43 | 44 | /** 45 | * The method to set the value to categories 46 | * @param array $categories A array 47 | */ 48 | public function setCategories(array $categories) 49 | { 50 | $this->categories=$categories; 51 | $this->keyModified['categories'] = 1; 52 | 53 | } 54 | 55 | /** 56 | * The method to check if the user has modified the given key 57 | * @param string $key A string 58 | * @return int A int representing the modification 59 | */ 60 | public function isKeyModified(string $key) 61 | { 62 | if(((array_key_exists($key, $this->keyModified)))) 63 | { 64 | return $this->keyModified[$key]; 65 | 66 | } 67 | return null; 68 | 69 | } 70 | 71 | /** 72 | * The method to mark the given key as modified 73 | * @param string $key A string 74 | * @param int $modification A int 75 | */ 76 | public function setKeyModified(string $key, int $modification) 77 | { 78 | $this->keyModified[$key] = $modification; 79 | 80 | } 81 | } 82 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/tags/Info.php: -------------------------------------------------------------------------------- 1 | count; 20 | 21 | } 22 | 23 | /** 24 | * The method to set the value to count 25 | * @param int $count A int 26 | */ 27 | public function setCount(int $count) 28 | { 29 | $this->count=$count; 30 | $this->keyModified['count'] = 1; 31 | 32 | } 33 | 34 | /** 35 | * The method to get the allowedCount 36 | * @return int A int representing the allowedCount 37 | */ 38 | public function getAllowedCount() 39 | { 40 | return $this->allowedCount; 41 | 42 | } 43 | 44 | /** 45 | * The method to set the value to allowedCount 46 | * @param int $allowedCount A int 47 | */ 48 | public function setAllowedCount(int $allowedCount) 49 | { 50 | $this->allowedCount=$allowedCount; 51 | $this->keyModified['allowed_count'] = 1; 52 | 53 | } 54 | 55 | /** 56 | * The method to check if the user has modified the given key 57 | * @param string $key A string 58 | * @return int A int representing the modification 59 | */ 60 | public function isKeyModified(string $key) 61 | { 62 | if(((array_key_exists($key, $this->keyModified)))) 63 | { 64 | return $this->keyModified[$key]; 65 | 66 | } 67 | return null; 68 | 69 | } 70 | 71 | /** 72 | * The method to mark the given key as modified 73 | * @param string $key A string 74 | * @param int $modification A int 75 | */ 76 | public function setKeyModified(string $key, int $modification) 77 | { 78 | $this->keyModified[$key] = $modification; 79 | 80 | } 81 | } 82 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/util/StreamWrapper.php: -------------------------------------------------------------------------------- 1 | name = $name; 24 | 25 | $this->stream = $stream; 26 | 27 | if ($filepath != null) 28 | { 29 | if(file_exists($filepath)) 30 | { 31 | $file = fopen($filepath, "rb"); 32 | 33 | $this->name = basename($filepath); 34 | 35 | $this->stream = fread($file, filesize($filepath)); 36 | 37 | fclose($file); 38 | } 39 | else 40 | { 41 | throw new SDKException(Constants::FILE_ERROR, Constants::FILE_DOES_NOT_EXISTS." ".$filepath); 42 | } 43 | } 44 | } 45 | 46 | /** 47 | * This is a getter method to get the file name. 48 | * @return string A string representing the file name. 49 | */ 50 | public function getName() 51 | { 52 | return $this->name; 53 | } 54 | 55 | /** 56 | * This is a getter method to get the file input stream. 57 | * @return object A object representing the file input stream. 58 | */ 59 | public function getStream() 60 | { 61 | return $this->stream; 62 | } 63 | } -------------------------------------------------------------------------------- /src/com/zoho/crm/api/blueprint/ValidationError.php: -------------------------------------------------------------------------------- 1 | apiName; 20 | 21 | } 22 | 23 | /** 24 | * The method to set the value to aPIName 25 | * @param string $apiName A string 26 | */ 27 | public function setAPIName(string $apiName) 28 | { 29 | $this->apiName=$apiName; 30 | $this->keyModified['api_name'] = 1; 31 | 32 | } 33 | 34 | /** 35 | * The method to get the message 36 | * @return string A string representing the message 37 | */ 38 | public function getMessage() 39 | { 40 | return $this->message; 41 | 42 | } 43 | 44 | /** 45 | * The method to set the value to message 46 | * @param string $message A string 47 | */ 48 | public function setMessage(string $message) 49 | { 50 | $this->message=$message; 51 | $this->keyModified['message'] = 1; 52 | 53 | } 54 | 55 | /** 56 | * The method to check if the user has modified the given key 57 | * @param string $key A string 58 | * @return int A int representing the modification 59 | */ 60 | public function isKeyModified(string $key) 61 | { 62 | if(((array_key_exists($key, $this->keyModified)))) 63 | { 64 | return $this->keyModified[$key]; 65 | 66 | } 67 | return null; 68 | 69 | } 70 | 71 | /** 72 | * The method to mark the given key as modified 73 | * @param string $key A string 74 | * @param int $modification A int 75 | */ 76 | public function setKeyModified(string $key, int $modification) 77 | { 78 | $this->keyModified[$key] = $modification; 79 | 80 | } 81 | } 82 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/query/ResponseWrapper.php: -------------------------------------------------------------------------------- 1 | data; 22 | 23 | } 24 | 25 | /** 26 | * The method to set the value to data 27 | * @param array $data A array 28 | */ 29 | public function setData(array $data) 30 | { 31 | $this->data=$data; 32 | $this->keyModified['data'] = 1; 33 | 34 | } 35 | 36 | /** 37 | * The method to get the info 38 | * @return Info An instance of Info 39 | */ 40 | public function getInfo() 41 | { 42 | return $this->info; 43 | 44 | } 45 | 46 | /** 47 | * The method to set the value to info 48 | * @param Info $info An instance of Info 49 | */ 50 | public function setInfo(Info $info) 51 | { 52 | $this->info=$info; 53 | $this->keyModified['info'] = 1; 54 | 55 | } 56 | 57 | /** 58 | * The method to check if the user has modified the given key 59 | * @param string $key A string 60 | * @return int A int representing the modification 61 | */ 62 | public function isKeyModified(string $key) 63 | { 64 | if(((array_key_exists($key, $this->keyModified)))) 65 | { 66 | return $this->keyModified[$key]; 67 | 68 | } 69 | return null; 70 | 71 | } 72 | 73 | /** 74 | * The method to mark the given key as modified 75 | * @param string $key A string 76 | * @param int $modification A int 77 | */ 78 | public function setKeyModified(string $key, int $modification) 79 | { 80 | $this->keyModified[$key] = $modification; 81 | 82 | } 83 | } 84 | -------------------------------------------------------------------------------- /src/com/zoho/crm/api/customviews/ResponseWrapper.php: -------------------------------------------------------------------------------- 1 | customViews; 20 | 21 | } 22 | 23 | /** 24 | * The method to set the value to customViews 25 | * @param array $customViews A array 26 | */ 27 | public function setCustomViews(array $customViews) 28 | { 29 | $this->customViews=$customViews; 30 | $this->keyModified['custom_views'] = 1; 31 | 32 | } 33 | 34 | /** 35 | * The method to get the info 36 | * @return Info An instance of Info 37 | */ 38 | public function getInfo() 39 | { 40 | return $this->info; 41 | 42 | } 43 | 44 | /** 45 | * The method to set the value to info 46 | * @param Info $info An instance of Info 47 | */ 48 | public function setInfo(Info $info) 49 | { 50 | $this->info=$info; 51 | $this->keyModified['info'] = 1; 52 | 53 | } 54 | 55 | /** 56 | * The method to check if the user has modified the given key 57 | * @param string $key A string 58 | * @return int A int representing the modification 59 | */ 60 | public function isKeyModified(string $key) 61 | { 62 | if(((array_key_exists($key, $this->keyModified)))) 63 | { 64 | return $this->keyModified[$key]; 65 | 66 | } 67 | return null; 68 | 69 | } 70 | 71 | /** 72 | * The method to mark the given key as modified 73 | * @param string $key A string 74 | * @param int $modification A int 75 | */ 76 | public function setKeyModified(string $key, int $modification) 77 | { 78 | $this->keyModified[$key] = $modification; 79 | 80 | } 81 | } 82 | --------------------------------------------------------------------------------