medias; } /** * @param Media $media */ public function addMedia(Media $media): void { $this->medias[] = $media; } /** * @return bool */ public function hasNextPage(): bool { return $this->hasNextPage; } /** * @param bool $hasNextPage */ public function setHasNextPage(bool $hasNextPage): void { $this->hasNextPage = $hasNextPage; } /** * @return string */ public function getEndCursor(): string { return $this->endCursor; } /** * @param string $endCursor */ public function setEndCursor(string $endCursor): void { $this->endCursor = $endCursor; } }