EvilFreelancer/bookeo-api-php

View on GitHub
src/Models/Resource.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Bookeo\Models;

use Bookeo\Model;

/**
 * Class Resource
 *
 * @codeCoverageIgnore
 * @package Bookeo\Models
 */
class Resource extends Model
{
    /**
     * List of allowed fields
     *
     * @return array
     */
    public function allowed(): array
    {
        return [
            'id'   => 'string', // The id of the resource.
            'name' => 'string', // The name of the resource
        ];
    }
}