Model class provides methods to access data stored in 1CRM.
You can get an instance of Model class by calling Client::model() method, passing model name as parameter:
$token = stored_access_token();
$auth = new Authentication\OAuth($token);
$client = new APIClient\Client('https://demo.1crmcloud.com/api.php', $auth);
$model = $client->model('Contact');
Retrieving single record
Retrieving list of records
Retrieving list of related records
Working with results lists
Creating records
Adding related records
Updating records
Deleting records
Obtaining model metadata