'createdByUserId', 'created_by_project_id' => 'createdByProjectId', 'archive_policy' => 'archivePolicy', ]; /** * {@inheritdoc} */ protected function getAliases(): array { return parent::getAliases() + [ 'resource' => new Alias('resource', Resource::class), ]; } /** * {@inheritdoc} */ public function retrieve() { $response = $this->executeWithState($this->api->getMetric()); $this->populateFromResponse($response); } }