public function deserialize($data, ResourceType $resourceType = null)
    {
        if (empty($resourceType)) {
            $resourceType = new ResourceType();
        }
        $resourceType->setName($data['name']);

        return $resourceType;
    }