self::INT_TYPE, 'location' => 'query', 'description' => << 'string', 'location' => 'query', 'description' => << sprintf('The unique ID, or identifier, for the %s', $type), 'type' => self::STRING_TYPE, 'location' => self::JSON, ]; } public function idPath(): array { return [ 'type' => self::STRING_TYPE, 'location' => self::URL, 'description' => 'The unique ID of the resource', ]; } public function name(string $resource): array { return [ 'description' => sprintf('The name of the %s', $resource), 'type' => self::STRING_TYPE, 'location' => self::JSON, ]; } public function sortDir(): array { return [ 'type' => self::STRING_TYPE, 'location' => self::QUERY, 'description' => 'Sorts by one or more sets of attribute and sort direction combinations.', 'enum' => ['asc', 'desc'], ]; } public function sortKey(): array { return [ 'type' => self::STRING_TYPE, 'location' => self::QUERY, 'description' => 'Sorts by one or more sets of attribute and sort direction combinations.', ]; } public function allTenants(): array { return [ 'type' => self::BOOL_TYPE, 'location' => self::QUERY, 'sentAs' => 'all_tenants', 'description' => '(Admin only) Set this to true to pull volume information from all tenants.', ]; } }