* $booksService = new Google\Service\Books(...); * $membership = $booksService->membership; * */ class SeriesMembership extends \Google\Service\Resource { /** * Returns Series membership data given the series id. (membership.get) * * @param string $seriesId String that identifies the series * @param array $optParams Optional parameters. * * @opt_param string page_size Number of maximum results per page to be included * in the response. * @opt_param string page_token The value of the nextToken from the previous * page. * @return SeriesmembershipModel */ public function get($seriesId, $optParams = []) { $params = ['series_id' => $seriesId]; $params = array_merge($params, $optParams); return $this->call('get', [$params], SeriesmembershipModel::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(SeriesMembership::class, 'Google_Service_Books_Resource_SeriesMembership');