for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
// ---------------------------------------------------------------------
//
// Copyright (C) 2018-2024 Artem Rodygin
// You should have received a copy of the MIT License along with
// this file. If not, see <https://opensource.org/licenses/MIT>.
namespace Linode\Networking\Repository;
use Linode\Entity;
use Linode\Internal\AbstractRepository;
use Linode\Networking\IPv6Range;
use Linode\Networking\IPv6RangeRepositoryInterface;
/**
* @codeCoverageIgnore This class was autogenerated.
*/
class IPv6RangeRepository extends AbstractRepository implements IPv6RangeRepositoryInterface
{
protected function getBaseUri(): string
return '/networking/ipv6/ranges';
}
protected function getSupportedFields(): array
return [
IPv6Range::FIELD_RANGE,
IPv6Range::FIELD_REGION,
];
protected function jsonToEntity(array $json): Entity
return new IPv6Range($this->client, $json);