=== begin: KitchSink.php * An API with every strange thing in it

* *

* For more information about this service, see the API * Documentation *

* * @author Google, Inc. */ class KitchSink extends \Google\Service { /** A non googleapis.com scope. */ const MAIL_GOOGLE_COM = "https://mail.google.com/"; /** a product level scope. */ const PRODUCT = "https://www.googleapis.com/auth/product"; /** A typical scope. */ const USERINFO_EMAIL = "https://www.googleapis.com/auth/userinfo.email"; public $featured_series; public $global_series; public $my_series; public $myrecent_private; public $profiles; public $responses; public $series; public $series_responses; public $series_submissions; public $submissions; public $tags; public $topics; public $topics_submissions; public $votes; private $base_methods; /** * Constructs the internal representation of the KitchSink service. * * @param Client|array $clientOrConfig The client used to deliver requests, or a * config array to pass to a new Client instance. * @param string $rootUrl The root URL used for requests to the service. */ public function __construct($clientOrConfig = [], $rootUrl = null) { parent::__construct($clientOrConfig); $this->rootUrl = $rootUrl ?: 'https://www.googleapis.com/'; $this->servicePath = 'sink/v1/'; $this->version = 'v1'; $this->serviceName = 'kitch_sink'; $this->featured_series = new KitchSink\Resource\FeaturedSeries( $this, $this->serviceName, 'series', [ 'methods' => [ 'list' => [ 'path' => 'series/featured', 'httpMethod' => 'GET', 'parameters' => [], ], ] ] ); $this->global_series = new KitchSink\Resource\KitchSinkGlobalSeries( $this, $this->serviceName, 'series', [ 'methods' => [ 'list' => [ 'path' => 'search', 'httpMethod' => 'GET', 'parameters' => [ 'enum' => [ 'location' => 'query', 'type' => 'object', ], 'max-results' => [ 'location' => 'query', 'type' => 'integer', ], 'q' => [ 'location' => 'query', 'type' => 'string', ], 'start-index' => [ 'location' => 'query', 'type' => 'integer', ], ], ], ] ] ); $this->my_series = new KitchSink\Resource\MySeries( $this, $this->serviceName, 'series', [ 'methods' => [ 'list' => [ 'path' => 'series/@me/mine', 'httpMethod' => 'GET', 'parameters' => [], ], ] ] ); $this->myrecent_private = new KitchSink\Resource\MyrecentKitchSinkPrivate( $this, $this->serviceName, 'private', [ 'methods' => [ 'list' => [ 'path' => 'series/@me/recent', 'httpMethod' => 'GET', 'parameters' => [], ], ] ] ); $this->profiles = new KitchSink\Resource\Profiles( $this, $this->serviceName, 'profiles', [ 'methods' => [ 'get' => [ 'path' => 'profiles/@me', 'httpMethod' => 'GET', 'parameters' => [], ],'update' => [ 'path' => 'profiles/@me', 'httpMethod' => 'PUT', 'parameters' => [], ], ] ] ); $this->responses = new KitchSink\Resource\Responses( $this, $this->serviceName, 'responses', [ 'methods' => [ 'insert' => [ 'path' => 'series/{seriesId}/topics/{topicId}/submissions/{parentSubmissionId}/responses', 'httpMethod' => 'POST', 'parameters' => [ 'seriesId' => [ 'location' => 'path', 'type' => 'integer', 'required' => true, ], 'topicId' => [ 'location' => 'path', 'type' => 'integer', 'required' => true, ], 'parentSubmissionId' => [ 'location' => 'path', 'type' => 'integer', 'required' => true, ], 'anonymous' => [ 'location' => 'query', 'type' => 'boolean', ], ], ],'list' => [ 'path' => 'series/{seriesId}/submissions/{submissionId}/responses', 'httpMethod' => 'GET', 'parameters' => [ 'seriesId' => [ 'location' => 'path', 'type' => 'integer', 'required' => true, ], 'submissionId' => [ 'location' => 'path', 'type' => 'integer', 'required' => true, ], 'author' => [ 'location' => 'query', 'type' => 'string', ], 'hasAttachedVideo' => [ 'location' => 'query', 'type' => 'boolean', ], 'q' => [ 'location' => 'query', 'type' => 'string', ], 'sort' => [ 'location' => 'query', 'type' => 'string', ], 'start-index' => [ 'location' => 'query', 'type' => 'integer', ], ], ], ] ] ); $this->series = new KitchSink\Resource\Series( $this, $this->serviceName, 'series', [ 'methods' => [ 'get' => [ 'path' => 'series/{seriesId}', 'httpMethod' => 'GET', 'parameters' => [ 'seriesId' => [ 'location' => 'path', 'type' => 'integer', 'required' => true, ], ], ],'insert' => [ 'path' => 'series', 'httpMethod' => 'POST', 'parameters' => [], ],'list' => [ 'path' => 'series', 'httpMethod' => 'GET', 'parameters' => [ 'max-results' => [ 'location' => 'query', 'type' => 'integer', ], 'q' => [ 'location' => 'query', 'type' => 'string', ], 'start-index' => [ 'location' => 'query', 'type' => 'integer', ], ], ],'update' => [ 'path' => 'series/{seriesId}', 'httpMethod' => 'PUT', 'parameters' => [ 'seriesId' => [ 'location' => 'path', 'type' => 'integer', 'required' => true, ], ], ], ] ] ); $this->series_responses = new KitchSink\Resource\SeriesResponses( $this, $this->serviceName, 'responses', [ 'methods' => [ 'list' => [ 'path' => 'series/{seriesId}/responses', 'httpMethod' => 'GET', 'parameters' => [ 'seriesId' => [ 'location' => 'path', 'type' => 'integer', 'required' => true, ], 'author' => [ 'location' => 'query', 'type' => 'string', ], 'hasAttachedVideo' => [ 'location' => 'query', 'type' => 'boolean', ], 'max-results' => [ 'location' => 'query', 'type' => 'integer', ], 'q' => [ 'location' => 'query', 'type' => 'string', 'required' => true, ], 'sort' => [ 'location' => 'query', 'type' => 'string', ], 'start-index' => [ 'location' => 'query', 'type' => 'integer', ], ], ], ] ] ); $this->series_submissions = new KitchSink\Resource\SeriesSubmissions( $this, $this->serviceName, 'submissions', [ 'methods' => [ 'list' => [ 'path' => 'series/{seriesId}/submissions', 'httpMethod' => 'GET', 'parameters' => [ 'seriesId' => [ 'location' => 'path', 'type' => 'integer', 'required' => true, ], 'author' => [ 'location' => 'query', 'type' => 'string', ], 'hasAttachedVideo' => [ 'location' => 'query', 'type' => 'boolean', ], 'lang' => [ 'location' => 'query', 'type' => 'string', ], 'q' => [ 'location' => 'query', 'type' => 'string', ], 'sort' => [ 'location' => 'query', 'type' => 'string', ], 'start-index' => [ 'location' => 'query', 'type' => 'integer', ], ], ], ] ] ); $this->submissions = new KitchSink\Resource\Submissions( $this, $this->serviceName, 'submissions', [ 'methods' => [ 'get' => [ 'path' => 'series/{seriesId}/submissions/{submissionId}', 'httpMethod' => 'GET', 'parameters' => [ 'seriesId' => [ 'location' => 'path', 'type' => 'integer', 'required' => true, ], 'submissionId' => [ 'location' => 'path', 'type' => 'integer', 'required' => true, ], 'lang' => [ 'location' => 'query', 'type' => 'string', ], ], ],'insert' => [ 'path' => 'series/{seriesId}/topics/{topicId}/submissions', 'httpMethod' => 'POST', 'parameters' => [ 'seriesId' => [ 'location' => 'path', 'type' => 'integer', 'required' => true, ], 'topicId' => [ 'location' => 'path', 'type' => 'integer', 'required' => true, ], 'anonymous' => [ 'location' => 'query', 'type' => 'boolean', ], ], ], ] ] ); $this->tags = new KitchSink\Resource\Tags( $this, $this->serviceName, 'tags', [ 'methods' => [ 'delete' => [ 'path' => 'series/{seriesId}/submissions/{submissionId}/tags/{tagId}', 'httpMethod' => 'DELETE', 'parameters' => [ 'seriesId' => [ 'location' => 'path', 'type' => 'integer', 'required' => true, ], 'submissionId' => [ 'location' => 'path', 'type' => 'integer', 'required' => true, ], 'tagId' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'insert' => [ 'path' => 'series/{seriesId}/submissions/{submissionId}/tags', 'httpMethod' => 'POST', 'parameters' => [ 'seriesId' => [ 'location' => 'path', 'type' => 'integer', 'required' => true, ], 'submissionId' => [ 'location' => 'path', 'type' => 'integer', 'required' => true, ], ], ],'list' => [ 'path' => 'series/{id}/submissions/{else}/tags', 'httpMethod' => 'GET', 'parameters' => [ 'else' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'id' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ], ] ] ); $this->topics = new KitchSink\Resource\Topics( $this, $this->serviceName, 'topics', [ 'methods' => [ 'get' => [ 'path' => 'series/{seriesId}/topics/{topicId}', 'httpMethod' => 'GET', 'parameters' => [ 'seriesId' => [ 'location' => 'path', 'type' => 'integer', 'required' => true, ], 'topicId' => [ 'location' => 'path', 'type' => 'integer', 'required' => true, ], ], ],'insert' => [ 'path' => 'series/{seriesId}/topics', 'httpMethod' => 'POST', 'parameters' => [ 'seriesId' => [ 'location' => 'path', 'type' => 'integer', 'required' => true, ], ], ],'list' => [ 'path' => 'series/{seriesId}/topics', 'httpMethod' => 'GET', 'parameters' => [ 'seriesId' => [ 'location' => 'path', 'type' => 'integer', 'required' => true, ], 'max-results' => [ 'location' => 'query', 'type' => 'integer', ], 'mode' => [ 'location' => 'query', 'type' => 'string', ], 'q' => [ 'location' => 'query', 'type' => 'string', ], 'start-index' => [ 'location' => 'query', 'type' => 'integer', ], ], ],'update' => [ 'path' => 'series/{seriesId}/topics/{topicId}', 'httpMethod' => 'PUT', 'parameters' => [ 'seriesId' => [ 'location' => 'path', 'type' => 'integer', 'required' => true, ], 'topicId' => [ 'location' => 'path', 'type' => 'integer', 'required' => true, ], ], ], ] ] ); $this->topics_submissions = new KitchSink\Resource\TopicsSubmissions( $this, $this->serviceName, 'submissions', [ 'methods' => [ 'list' => [ 'path' => 'series/{seriesId}/topics/{topicId}/submissions', 'httpMethod' => 'GET', 'parameters' => [ 'seriesId' => [ 'location' => 'path', 'type' => 'integer', 'required' => true, ], 'topicId' => [ 'location' => 'path', 'type' => 'integer', 'required' => true, ], 'author' => [ 'location' => 'query', 'type' => 'string', ], 'hasAttachedVideo' => [ 'location' => 'query', 'type' => 'boolean', ], 'q' => [ 'location' => 'query', 'type' => 'string', ], 'sort' => [ 'location' => 'query', 'type' => 'string', ], 'start-index' => [ 'location' => 'query', 'type' => 'integer', ], ], ], ] ] ); $this->votes = new KitchSink\Resource\Votes( $this, $this->serviceName, 'votes', [ 'methods' => [ 'get' => [ 'path' => 'series/{seriesId}/submissions/{submissionId}/votes/@me', 'httpMethod' => 'GET', 'parameters' => [ 'seriesId' => [ 'location' => 'path', 'type' => 'integer', 'required' => true, ], 'submissionId' => [ 'location' => 'path', 'type' => 'integer', 'required' => true, ], 'userId' => [ 'location' => 'query', 'type' => 'string', ], ], ],'insert' => [ 'path' => 'series/{seriesId}/submissions/{submissionId}/votes/@me', 'httpMethod' => 'POST', 'parameters' => [ 'seriesId' => [ 'location' => 'path', 'type' => 'integer', 'required' => true, ], 'submissionId' => [ 'location' => 'path', 'type' => 'integer', 'required' => true, ], ], ],'list' => [ 'path' => 'series/{seriesId}/votes/@me', 'httpMethod' => 'GET', 'parameters' => [ 'seriesId' => [ 'location' => 'path', 'type' => 'integer', 'required' => true, ], 'start-index' => [ 'location' => 'query', 'type' => 'integer', ], ], ],'update' => [ 'path' => 'series/{seriesId}/submissions/{submission_id}/votes/@me', 'httpMethod' => 'PUT', 'parameters' => [ 'seriesId' => [ 'location' => 'path', 'type' => 'integer', 'required' => true, ], 'submission_id' => [ 'location' => 'path', 'type' => 'integer', 'required' => true, ], 'userId' => [ 'location' => 'query', 'type' => 'string', ], ], ], ] ] ); $this->base_methods = new Resource( $this, $this->serviceName, '', [ 'methods' => [ 'tag' => [ 'path' => 'kitchen_sink/v1/tag', 'httpMethod' => 'POST', 'parameters' => [ 'access_token' => [ 'location' => 'query', 'type' => 'string', ], ], ], ] ] ); } /** * Get tag (tag) * * @param array $optParams Optional parameters. * * @opt_param string access_token The oauth2 access token * @return Tag */ public function tag($optParams = []) { $params = []; $params = array_merge($params, $optParams); return $this->base_methods->call('tag', [$params], Tag::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(KitchSink::class, 'Google_Service_KitchSink'); === end: KitchSink.php === begin: KitchSink/Enum.php name = $name; } /** * @return string */ public function getName() { return $this->name; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Enum::class, 'Google_Service_KitchSink_Enum'); === end: KitchSink/Enum.php === begin: KitchSink/Geometry.php type = $type; } /** * @return string */ public function getType() { return $this->type; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Geometry::class, 'Google_Service_KitchSink_Geometry'); === end: KitchSink/Geometry.php === begin: KitchSink/GeometryCollection.php type = 'Collection'; } /** * @param Geometry[] */ public function setGeometries($geometries) { $this->geometries = $geometries; } /** * @return Geometry[] */ public function getGeometries() { return $this->geometries; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GeometryCollection::class, 'Google_Service_KitchSink_GeometryCollection'); === end: KitchSink/GeometryCollection.php === begin: KitchSink/GeometryPolygon.php type = 'Polygon'; } /** * @param string */ public function setCoordinates($coordinates) { $this->coordinates = $coordinates; } /** * @return string */ public function getCoordinates() { return $this->coordinates; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GeometryPolygon::class, 'Google_Service_KitchSink_GeometryPolygon'); === end: KitchSink/GeometryPolygon.php === begin: KitchSink/GeometryReference.php type = 'Ref'; } /** * @param string */ public function setCoordinates($coordinates) { $this->coordinates = $coordinates; } /** * @return string */ public function getCoordinates() { return $this->coordinates; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GeometryReference::class, 'Google_Service_KitchSink_GeometryReference'); === end: KitchSink/GeometryReference.php === begin: KitchSink/KitchSinkReadOnly.php name = $name; } /** * @return string */ public function getName() { return $this->name; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(KitchSinkReadOnly::class, 'Google_Service_KitchSink_KitchSinkReadOnly'); === end: KitchSink/KitchSinkReadOnly.php === begin: KitchSink/LatLong.php latitude = $latitude; } public function getLatitude() { return $this->latitude; } /** * @param string */ public function setLocation($location) { $this->location = $location; } /** * @return string */ public function getLocation() { return $this->location; } public function setLongitude($longitude) { $this->longitude = $longitude; } public function getLongitude() { return $this->longitude; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(LatLong::class, 'Google_Service_KitchSink_LatLong'); === end: KitchSink/LatLong.php === begin: KitchSink/ModeratorTopicsResourcePartial.php attribution = $attribution; } /** * @return ProfileAttribution */ public function getAttribution() { return $this->attribution; } /** * @param ProfileId */ public function setId(ProfileId $id) { $this->id = $id; } /** * @return ProfileId */ public function getId() { return $this->id; } /** * @param string */ public function setKind($kind) { $this->kind = $kind; } /** * @return string */ public function getKind() { return $this->kind; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Profile::class, 'Google_Service_KitchSink_Profile'); === end: KitchSink/Profile.php === begin: KitchSink/ProfileAttribution.php avatarUrl = $avatarUrl; } /** * @return string */ public function getAvatarUrl() { return $this->avatarUrl; } /** * @param string */ public function setDisplayName($displayName) { $this->displayName = $displayName; } /** * @return string */ public function getDisplayName() { return $this->displayName; } /** * @param LatLong */ public function setGeo(LatLong $geo) { $this->geo = $geo; } /** * @return LatLong */ public function getGeo() { return $this->geo; } /** * @param string */ public function setLocation($location) { $this->location = $location; } /** * @return string */ public function getLocation() { return $this->location; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ProfileAttribution::class, 'Google_Service_KitchSink_ProfileAttribution'); === end: KitchSink/ProfileAttribution.php === begin: KitchSink/ProfileId.php user = $user; } /** * @return string */ public function getUser() { return $this->user; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ProfileId::class, 'Google_Service_KitchSink_ProfileId'); === end: KitchSink/ProfileId.php === begin: KitchSink/Resource/Featured.php * $kitch_sinkService = new Google\Service\KitchSink(...); * $featured = $kitch_sinkService->featured; * */ class Featured extends \Google\Service\Resource { } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Featured::class, 'Google_Service_KitchSink_Resource_Featured'); === end: KitchSink/Resource/Featured.php === begin: KitchSink/Resource/FeaturedSeries.php * $kitch_sinkService = new Google\Service\KitchSink(...); * $series = $kitch_sinkService->featured_series; * */ class FeaturedSeries extends \Google\Service\Resource { /** * Lists the featured series. (series.listFeaturedSeries) * * @param array $optParams Optional parameters. * @return SeriesList */ public function listFeaturedSeries($optParams = []) { $params = []; $params = array_merge($params, $optParams); return $this->call('list', [$params], SeriesList::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(FeaturedSeries::class, 'Google_Service_KitchSink_Resource_FeaturedSeries'); === end: KitchSink/Resource/FeaturedSeries.php === begin: KitchSink/Resource/KitchSinkGlobal.php * $kitch_sinkService = new Google\Service\KitchSink(...); * $global = $kitch_sinkService->global; * */ class KitchSinkGlobal extends \Google\Service\Resource { } // Adding a class alias for backwards compatibility with the previous class name. class_alias(KitchSinkGlobal::class, 'Google_Service_KitchSink_Resource_KitchSinkGlobal'); === end: KitchSink/Resource/KitchSinkGlobal.php === begin: KitchSink/Resource/KitchSinkGlobalSeries.php * $kitch_sinkService = new Google\Service\KitchSink(...); * $series = $kitch_sinkService->global_series; * */ class KitchSinkGlobalSeries extends \Google\Service\Resource { /** * Searches the public series and returns the search results. * (series.listKitchSinkGlobalSeries) * * @param array $optParams Optional parameters. * * @opt_param object enum Enum * @opt_param int max-results Maximum number of results to return. * @opt_param string q Search query. * @opt_param int start-index Index of the first result to be retrieved. * @return SeriesList */ public function listKitchSinkGlobalSeries($optParams = []) { $params = []; $params = array_merge($params, $optParams); return $this->call('list', [$params], SeriesList::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(KitchSinkGlobalSeries::class, 'Google_Service_KitchSink_Resource_KitchSinkGlobalSeries'); === end: KitchSink/Resource/KitchSinkGlobalSeries.php === begin: KitchSink/Resource/My.php * $kitch_sinkService = new Google\Service\KitchSink(...); * $my = $kitch_sinkService->my; * */ class My extends \Google\Service\Resource { } // Adding a class alias for backwards compatibility with the previous class name. class_alias(My::class, 'Google_Service_KitchSink_Resource_My'); === end: KitchSink/Resource/My.php === begin: KitchSink/Resource/MySeries.php * $kitch_sinkService = new Google\Service\KitchSink(...); * $series = $kitch_sinkService->my_series; * */ class MySeries extends \Google\Service\Resource { /** * Lists all series created by the authenticated user. (series.listMySeries) * * @param array $optParams Optional parameters. * @return SeriesList */ public function listMySeries($optParams = []) { $params = []; $params = array_merge($params, $optParams); return $this->call('list', [$params], SeriesList::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(MySeries::class, 'Google_Service_KitchSink_Resource_MySeries'); === end: KitchSink/Resource/MySeries.php === begin: KitchSink/Resource/Myrecent.php * $kitch_sinkService = new Google\Service\KitchSink(...); * $myrecent = $kitch_sinkService->myrecent; * */ class Myrecent extends \Google\Service\Resource { } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Myrecent::class, 'Google_Service_KitchSink_Resource_Myrecent'); === end: KitchSink/Resource/Myrecent.php === begin: KitchSink/Resource/MyrecentKitchSinkPrivate.php * $kitch_sinkService = new Google\Service\KitchSink(...); * $private = $kitch_sinkService->myrecent_private; * */ class MyrecentKitchSinkPrivate extends \Google\Service\Resource { /** * Resource using a name which is a keyword in many languages, to check their * handling. (private.listMyrecentKitchSinkPrivate) * * @param array $optParams Optional parameters. * @return SeriesList */ public function listMyrecentKitchSinkPrivate($optParams = []) { $params = []; $params = array_merge($params, $optParams); return $this->call('list', [$params], SeriesList::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(MyrecentKitchSinkPrivate::class, 'Google_Service_KitchSink_Resource_MyrecentKitchSinkPrivate'); === end: KitchSink/Resource/MyrecentKitchSinkPrivate.php === begin: KitchSink/Resource/Profiles.php * $kitch_sinkService = new Google\Service\KitchSink(...); * $profiles = $kitch_sinkService->profiles; * */ class Profiles extends \Google\Service\Resource { /** * Returns the profile information for the authenticated user. (profiles.get) * * @param array $optParams Optional parameters. * @return Profile */ public function get($optParams = []) { $params = []; $params = array_merge($params, $optParams); return $this->call('get', [$params], Profile::class); } /** * Updates the profile information for the authenticated user. (profiles.update) * * @param Profile $postBody * @param array $optParams Optional parameters. * @return Profile */ public function update(Profile $postBody, $optParams = []) { $params = ['postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('update', [$params], Profile::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Profiles::class, 'Google_Service_KitchSink_Resource_Profiles'); === end: KitchSink/Resource/Profiles.php === begin: KitchSink/Resource/Responses.php * $kitch_sinkService = new Google\Service\KitchSink(...); * $responses = $kitch_sinkService->responses; * */ class Responses extends \Google\Service\Resource { /** * Inserts a response for the specified submission in the specified topic within * the specified series. (responses.insert) * * @param int $seriesId The decimal ID of the Series. * @param int $topicId The decimal ID of the Topic within the Series. * @param int $parentSubmissionId The decimal ID of the parent Submission within * the Series. * @param Submission $postBody * @param array $optParams Optional parameters. * * @opt_param bool anonymous Set to true to mark the new submission as * anonymous. * @return Submission */ public function insert($seriesId, $topicId, $parentSubmissionId, Submission $postBody, $optParams = []) { $params = ['seriesId' => $seriesId, 'topicId' => $topicId, 'parentSubmissionId' => $parentSubmissionId, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('insert', [$params], Submission::class); } /** * Lists or searches the responses for the specified submission within the * specified series and returns the search results. (responses.listResponses) * * @param int $seriesId The decimal ID of the Series. * @param int $submissionId The decimal ID of the Submission within the Series. * @param array $optParams Optional parameters. * * @opt_param string author Restricts the results to submissions by a specific * author. * @opt_param bool hasAttachedVideo Specifies whether to restrict to submissions * that have videos attached. * @opt_param string q Search query. * @opt_param string sort Sort order. * @opt_param int start-index Index of the first result to be retrieved. * @return SubmissionList */ public function listResponses($seriesId, $submissionId, $optParams = []) { $params = ['seriesId' => $seriesId, 'submissionId' => $submissionId]; $params = array_merge($params, $optParams); return $this->call('list', [$params], SubmissionList::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Responses::class, 'Google_Service_KitchSink_Resource_Responses'); === end: KitchSink/Resource/Responses.php === begin: KitchSink/Resource/Series.php * $kitch_sinkService = new Google\Service\KitchSink(...); * $series = $kitch_sinkService->series; * */ class Series extends \Google\Service\Resource { /** * Returns the specified series. (series.get) * * @param int $seriesId The decimal ID of the Series. * @param array $optParams Optional parameters. * @return SeriesModel */ public function get($seriesId, $optParams = []) { $params = ['seriesId' => $seriesId]; $params = array_merge($params, $optParams); return $this->call('get', [$params], SeriesModel::class); } /** * Media method without request data. (series.insert) * * @param array $optParams Optional parameters. * @return SeriesModel */ public function insert($optParams = []) { $params = []; $params = array_merge($params, $optParams); return $this->call('insert', [$params], SeriesModel::class); } /** * Searches the series and returns the search results. (series.listSeries) * * @param array $optParams Optional parameters. * * @opt_param int max-results Maximum number of results to return. * @opt_param string q Search query. * @opt_param int start-index Index of the first result to be retrieved. * @return SeriesList */ public function listSeries($optParams = []) { $params = []; $params = array_merge($params, $optParams); return $this->call('list', [$params], SeriesList::class); } /** * Updates the specified series. (series.update) * * @param int $seriesId The decimal ID of the Series. * @param SeriesModel $postBody * @param array $optParams Optional parameters. * @return SeriesModel */ public function update($seriesId, SeriesModel $postBody, $optParams = []) { $params = ['seriesId' => $seriesId, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('update', [$params], SeriesModel::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Series::class, 'Google_Service_KitchSink_Resource_Series'); === end: KitchSink/Resource/Series.php === begin: KitchSink/Resource/SeriesResponses.php * $kitch_sinkService = new Google\Service\KitchSink(...); * $responses = $kitch_sinkService->series_responses; * */ class SeriesResponses extends \Google\Service\Resource { /** * Searches the responses for the specified series and returns the search * results. (responses.listSeriesResponses) * * @param int $seriesId The decimal ID of the Series. * @param string $q Search query - a required query parameter. * @param array $optParams Optional parameters. * * @opt_param string author Restricts the results to submissions by a specific * author. * @opt_param bool hasAttachedVideo Specifies whether to restrict to submissions * that have videos attached. * @opt_param int max-results Maximum number of results to return. * @opt_param string sort Sort order. * @opt_param int start-index Index of the first result to be retrieved. * @return SeriesList */ public function listSeriesResponses($seriesId, $q, $optParams = []) { $params = ['seriesId' => $seriesId, 'q' => $q]; $params = array_merge($params, $optParams); return $this->call('list', [$params], SeriesList::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(SeriesResponses::class, 'Google_Service_KitchSink_Resource_SeriesResponses'); === end: KitchSink/Resource/SeriesResponses.php === begin: KitchSink/Resource/SeriesSubmissions.php * $kitch_sinkService = new Google\Service\KitchSink(...); * $submissions = $kitch_sinkService->series_submissions; * */ class SeriesSubmissions extends \Google\Service\Resource { /** * Searches the submissions for the specified series and returns the search * results. (submissions.listSeriesSubmissions) * * @param int $seriesId The decimal ID of the Series. * @param array $optParams Optional parameters. * * @opt_param string author Restricts the results to submissions by a specific * author. * @opt_param bool hasAttachedVideo Specifies whether to restrict to submissions * that have videos attached. * @opt_param string lang The language code for the language the client prefers * resuls in. * @opt_param string q Search query. * @opt_param string sort Sort order. * @opt_param int start-index Index of the first result to be retrieved. * @return SubmissionList */ public function listSeriesSubmissions($seriesId, $optParams = []) { $params = ['seriesId' => $seriesId]; $params = array_merge($params, $optParams); return $this->call('list', [$params], SubmissionList::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(SeriesSubmissions::class, 'Google_Service_KitchSink_Resource_SeriesSubmissions'); === end: KitchSink/Resource/SeriesSubmissions.php === begin: KitchSink/Resource/Submissions.php * $kitch_sinkService = new Google\Service\KitchSink(...); * $submissions = $kitch_sinkService->submissions; * */ class Submissions extends \Google\Service\Resource { /** * Returns the specified submission within the specified series. * (submissions.get) * * @param int $seriesId The decimal ID of the Series. * @param int $submissionId The decimal ID of the Submission within the Series. * @param array $optParams Optional parameters. * * @opt_param string lang The language code for the language the client prefers * resuls in. * @return Submission */ public function get($seriesId, $submissionId, $optParams = []) { $params = ['seriesId' => $seriesId, 'submissionId' => $submissionId]; $params = array_merge($params, $optParams); return $this->call('get', [$params], Submission::class); } /** * Inserts a new submission in the specified topic within the specified series. * (submissions.insert) * * @param int $seriesId The decimal ID of the Series. * @param int $topicId The decimal ID of the Topic within the Series. * @param Submission $postBody * @param array $optParams Optional parameters. * * @opt_param bool anonymous Set to true to mark the new submission as * anonymous. * @return Submission */ public function insert($seriesId, $topicId, Submission $postBody, $optParams = []) { $params = ['seriesId' => $seriesId, 'topicId' => $topicId, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('insert', [$params], Submission::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Submissions::class, 'Google_Service_KitchSink_Resource_Submissions'); === end: KitchSink/Resource/Submissions.php === begin: KitchSink/Resource/Tags.php * $kitch_sinkService = new Google\Service\KitchSink(...); * $tags = $kitch_sinkService->tags; * */ class Tags extends \Google\Service\Resource { /** * Deletes the specified tag from the specified submission within the specified * series. (tags.delete) * * @param int $seriesId The decimal ID of the Series. * @param int $submissionId The decimal ID of the Submission within the Series. * @param string $tagId * @param array $optParams Optional parameters. */ public function delete($seriesId, $submissionId, $tagId, $optParams = []) { $params = ['seriesId' => $seriesId, 'submissionId' => $submissionId, 'tagId' => $tagId]; $params = array_merge($params, $optParams); return $this->call('delete', [$params]); } /** * Inserts a new tag for the specified submission within the specified series. * (tags.insert) * * @param int $seriesId The decimal ID of the Series. * @param int $submissionId The decimal ID of the Submission within the Series. * @param Tag $postBody * @param array $optParams Optional parameters. * @return Tag */ public function insert($seriesId, $submissionId, Tag $postBody, $optParams = []) { $params = ['seriesId' => $seriesId, 'submissionId' => $submissionId, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('insert', [$params], Tag::class); } /** * A method with a parameters named |id| and |else| (tags.listTags) * * @param string $else A parameter name 'else'. * @param string $id id is a reserved word in Objective-C * @param array $optParams Optional parameters. * @return TagList */ public function listTags($else, $id, $optParams = []) { $params = ['else' => $else, 'id' => $id]; $params = array_merge($params, $optParams); return $this->call('list', [$params], TagList::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Tags::class, 'Google_Service_KitchSink_Resource_Tags'); === end: KitchSink/Resource/Tags.php === begin: KitchSink/Resource/Topics.php * $kitch_sinkService = new Google\Service\KitchSink(...); * $topics = $kitch_sinkService->topics; * */ class Topics extends \Google\Service\Resource { /** * Returns the specified topic from the specified series. (topics.get) * * @param int $seriesId The decimal ID of the Series. * @param int $topicId The decimal ID of the Topic within the Series. * @param array $optParams Optional parameters. * @return Topic2 */ public function get($seriesId, $topicId, $optParams = []) { $params = ['seriesId' => $seriesId, 'topicId' => $topicId]; $params = array_merge($params, $optParams); return $this->call('get', [$params], Topic2::class); } /** * Inserts a new topic into the specified series. (topics.insert) * * @param int $seriesId The decimal ID of the Series. * @param Topic $postBody * @param array $optParams Optional parameters. * @return Topic */ public function insert($seriesId, Topic $postBody, $optParams = []) { $params = ['seriesId' => $seriesId, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('insert', [$params], Topic::class); } /** * Searches the topics within the specified series and returns the search * results. (topics.listTopics) * * @param int $seriesId The decimal ID of the Series. * @param array $optParams Optional parameters. * * @opt_param int max-results Maximum number of results to return. * @opt_param string mode * @opt_param string q Search query. * @opt_param int start-index Index of the first result to be retrieved. * @return TopicList */ public function listTopics($seriesId, $optParams = []) { $params = ['seriesId' => $seriesId]; $params = array_merge($params, $optParams); return $this->call('list', [$params], TopicList::class); } /** * Updates the specified topic within the specified series. (topics.update) * * @param int $seriesId The decimal ID of the Series. * @param int $topicId The decimal ID of the Topic within the Series. * @param Topic $postBody * @param array $optParams Optional parameters. * @return Topic */ public function update($seriesId, $topicId, Topic $postBody, $optParams = []) { $params = ['seriesId' => $seriesId, 'topicId' => $topicId, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('update', [$params], Topic::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Topics::class, 'Google_Service_KitchSink_Resource_Topics'); === end: KitchSink/Resource/Topics.php === begin: KitchSink/Resource/TopicsSubmissions.php * $kitch_sinkService = new Google\Service\KitchSink(...); * $submissions = $kitch_sinkService->topics_submissions; * */ class TopicsSubmissions extends \Google\Service\Resource { /** * Searches the submissions for the specified topic within the specified series * and returns the search results. (submissions.listTopicsSubmissions) * * @param int $seriesId The decimal ID of the Series. * @param int $topicId The decimal ID of the Topic within the Series. * @param array $optParams Optional parameters. * * @opt_param string author Restricts the results to submissions by a specific * author. * @opt_param bool hasAttachedVideo Specifies whether to restrict to submissions * that have videos attached. * @opt_param string q Search query. * @opt_param string sort Sort order. * @opt_param int start-index Index of the first result to be retrieved. * @return SubmissionList */ public function listTopicsSubmissions($seriesId, $topicId, $optParams = []) { $params = ['seriesId' => $seriesId, 'topicId' => $topicId]; $params = array_merge($params, $optParams); return $this->call('list', [$params], SubmissionList::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(TopicsSubmissions::class, 'Google_Service_KitchSink_Resource_TopicsSubmissions'); === end: KitchSink/Resource/TopicsSubmissions.php === begin: KitchSink/Resource/Votes.php * $kitch_sinkService = new Google\Service\KitchSink(...); * $votes = $kitch_sinkService->votes; * */ class Votes extends \Google\Service\Resource { /** * Returns the votes by the authenticated user for the specified submission * within the specified series. (votes.get) * * @param int $seriesId The decimal ID of the Series. * @param int $submissionId The decimal ID of the Submission within the Series. * @param array $optParams Optional parameters. * * @opt_param string userId * @return Vote */ public function get($seriesId, $submissionId, $optParams = []) { $params = ['seriesId' => $seriesId, 'submissionId' => $submissionId]; $params = array_merge($params, $optParams); return $this->call('get', [$params], Vote::class); } /** * Inserts a new vote by the authenticated user for the specified submission * within the specified series. (votes.insert) * * @param int $seriesId The decimal ID of the Series. * @param int $submissionId The decimal ID of the Submission within the Series. * @param Vote $postBody * @param array $optParams Optional parameters. * @return Vote */ public function insert($seriesId, $submissionId, Vote $postBody, $optParams = []) { $params = ['seriesId' => $seriesId, 'submissionId' => $submissionId, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('insert', [$params], Vote::class); } /** * Lists the votes by the authenticated user for the given series. * (votes.listVotes) * * @param int $seriesId The decimal ID of the Series. * @param array $optParams Optional parameters. * * @opt_param int start-index Index of the first result to be retrieved. * @return VoteList */ public function listVotes($seriesId, $optParams = []) { $params = ['seriesId' => $seriesId]; $params = array_merge($params, $optParams); return $this->call('list', [$params], VoteList::class); } /** * Updates the votes by the authenticated user for the specified submission * within the specified series. (votes.update) * * @param int $seriesId The decimal ID of the Series. * @param int $submissionId The decimal ID of the Submission within the Series. * @param Vote $postBody * @param array $optParams Optional parameters. * * @opt_param string userId * @return Vote */ public function update($seriesId, $submissionId, Vote $postBody, $optParams = []) { $params = ['seriesId' => $seriesId, 'submission_id' => $submissionId, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('update', [$params], Vote::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Votes::class, 'Google_Service_KitchSink_Resource_Votes'); === end: KitchSink/Resource/Votes.php === begin: KitchSink/Rule.php submissions = $submissions; } /** * @return RuleSubmissions */ public function getSubmissions() { return $this->submissions; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Rule::class, 'Google_Service_KitchSink_Rule'); === end: KitchSink/Rule.php === begin: KitchSink/RuleSubmissions.php close = $close; } /** * @return int */ public function getClose() { return $this->close; } /** * @param int */ public function setOpen($open) { $this->open = $open; } /** * @return int */ public function getOpen() { return $this->open; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(RuleSubmissions::class, 'Google_Service_KitchSink_RuleSubmissions'); === end: KitchSink/RuleSubmissions.php === begin: KitchSink/Series.php anonymousSubmissionAllowed = $anonymousSubmissionAllowed; } /** * @return bool */ public function getAnonymousSubmissionAllowed() { return $this->anonymousSubmissionAllowed; } /** * @param SeriesCounters */ public function setCounters(SeriesCounters $counters) { $this->counters = $counters; } /** * @return SeriesCounters */ public function getCounters() { return $this->counters; } /** * @param string */ public function setDescription($description) { $this->description = $description; } /** * @return string */ public function getDescription() { return $this->description; } /** * @param SeriesId */ public function setId(SeriesId $id) { $this->id = $id; } /** * @return SeriesId */ public function getId() { return $this->id; } /** * @param string */ public function setKind($kind) { $this->kind = $kind; } /** * @return string */ public function getKind() { return $this->kind; } /** * @param string */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * @param int */ public function setNumTopics($numTopics) { $this->numTopics = $numTopics; } /** * @return int */ public function getNumTopics() { return $this->numTopics; } /** * @param bool */ public function setVideoSubmissionAllowed($videoSubmissionAllowed) { $this->videoSubmissionAllowed = $videoSubmissionAllowed; } /** * @return bool */ public function getVideoSubmissionAllowed() { return $this->videoSubmissionAllowed; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Series::class, 'Google_Service_KitchSink_Series'); === end: KitchSink/Series.php === begin: KitchSink/SeriesCounters.php "minus_votes", "noneVotes" => "none_votes", "plusVotes" => "plus_votes", ]; /** * @var int */ public $anonymousSubmissions; protected $countersType = SeriesCountersCounters::class; protected $countersDataType = ''; /** * @var int */ public $else; /** * @var int */ public $minusVotes; /** * @var string */ public $noneVotes; /** * @var int */ public $plusVotes; /** * @var int */ public $submissions; /** * @var string */ public $users; /** * @param int */ public function setAnonymousSubmissions($anonymousSubmissions) { $this->anonymousSubmissions = $anonymousSubmissions; } /** * @return int */ public function getAnonymousSubmissions() { return $this->anonymousSubmissions; } /** * @param SeriesCountersCounters */ public function setCounters(SeriesCountersCounters $counters) { $this->counters = $counters; } /** * @return SeriesCountersCounters */ public function getCounters() { return $this->counters; } /** * @param int */ public function setElse($else) { $this->else = $else; } /** * @return int */ public function getElse() { return $this->else; } /** * @param int */ public function setMinusVotes($minusVotes) { $this->minusVotes = $minusVotes; } /** * @return int */ public function getMinusVotes() { return $this->minusVotes; } /** * @param string */ public function setNoneVotes($noneVotes) { $this->noneVotes = $noneVotes; } /** * @return string */ public function getNoneVotes() { return $this->noneVotes; } /** * @param int */ public function setPlusVotes($plusVotes) { $this->plusVotes = $plusVotes; } /** * @return int */ public function getPlusVotes() { return $this->plusVotes; } /** * @param int */ public function setSubmissions($submissions) { $this->submissions = $submissions; } /** * @return int */ public function getSubmissions() { return $this->submissions; } /** * @param string */ public function setUsers($users) { $this->users = $users; } /** * @return string */ public function getUsers() { return $this->users; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(SeriesCounters::class, 'Google_Service_KitchSink_SeriesCounters'); === end: KitchSink/SeriesCounters.php === begin: KitchSink/SeriesCountersCounters.php "all-votes", ]; /** * @var int */ public $allVotes; /** * @param int */ public function setAllVotes($allVotes) { $this->allVotes = $allVotes; } /** * @return int */ public function getAllVotes() { return $this->allVotes; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(SeriesCountersCounters::class, 'Google_Service_KitchSink_SeriesCountersCounters'); === end: KitchSink/SeriesCountersCounters.php === begin: KitchSink/SeriesId.php seriesId = $seriesId; } /** * @return int */ public function getSeriesId() { return $this->seriesId; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(SeriesId::class, 'Google_Service_KitchSink_SeriesId'); === end: KitchSink/SeriesId.php === begin: KitchSink/SeriesList.php items = $items; } /** * @return Series[] */ public function getItems() { return $this->items; } /** * @param string */ public function setKind($kind) { $this->kind = $kind; } /** * @return string */ public function getKind() { return $this->kind; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(SeriesList::class, 'Google_Service_KitchSink_SeriesList'); === end: KitchSink/SeriesList.php === begin: KitchSink/Submission.php "@attachmentUrl", ]; /** * @var string */ public $attachmentUrl; protected $attributionType = SubmissionAttribution::class; protected $attributionDataType = ''; /** * @var string */ public $author; protected $countersType = SubmissionCounters::class; protected $countersDataType = ''; /** * @var int */ public $created; protected $geoType = LatLong::class; protected $geoDataType = 'array'; protected $idType = SubmissionId::class; protected $idDataType = ''; /** * @var string */ public $kind; protected $parentSubmissionIdType = SubmissionParentSubmissionId::class; protected $parentSubmissionIdDataType = ''; /** * @var string */ public $text; protected $topicsType = ModeratorTopicsResourcePartial::class; protected $topicsDataType = 'array'; protected $translationsType = Translation::class; protected $translationsDataType = 'map'; /** * @param string */ public function setAttachmentUrl($attachmentUrl) { $this->attachmentUrl = $attachmentUrl; } /** * @return string */ public function getAttachmentUrl() { return $this->attachmentUrl; } /** * @param SubmissionAttribution */ public function setAttribution(SubmissionAttribution $attribution) { $this->attribution = $attribution; } /** * @return SubmissionAttribution */ public function getAttribution() { return $this->attribution; } /** * @param string */ public function setAuthor($author) { $this->author = $author; } /** * @return string */ public function getAuthor() { return $this->author; } /** * @param SubmissionCounters */ public function setCounters(SubmissionCounters $counters) { $this->counters = $counters; } /** * @return SubmissionCounters */ public function getCounters() { return $this->counters; } /** * @param int */ public function setCreated($created) { $this->created = $created; } /** * @return int */ public function getCreated() { return $this->created; } /** * @param LatLong[] */ public function setGeo($geo) { $this->geo = $geo; } /** * @return LatLong[] */ public function getGeo() { return $this->geo; } /** * @param SubmissionId */ public function setId(SubmissionId $id) { $this->id = $id; } /** * @return SubmissionId */ public function getId() { return $this->id; } /** * @param string */ public function setKind($kind) { $this->kind = $kind; } /** * @return string */ public function getKind() { return $this->kind; } /** * @param SubmissionParentSubmissionId */ public function setParentSubmissionId(SubmissionParentSubmissionId $parentSubmissionId) { $this->parentSubmissionId = $parentSubmissionId; } /** * @return SubmissionParentSubmissionId */ public function getParentSubmissionId() { return $this->parentSubmissionId; } /** * @param string */ public function setText($text) { $this->text = $text; } /** * @return string */ public function getText() { return $this->text; } /** * @param ModeratorTopicsResourcePartial[] */ public function setTopics($topics) { $this->topics = $topics; } /** * @return ModeratorTopicsResourcePartial[] */ public function getTopics() { return $this->topics; } /** * @param Translation[] */ public function setTranslations($translations) { $this->translations = $translations; } /** * @return Translation[] */ public function getTranslations() { return $this->translations; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Submission::class, 'Google_Service_KitchSink_Submission'); === end: KitchSink/Submission.php === begin: KitchSink/SubmissionAttribution.php "$avatarUrl", "object" => "$object", ]; /** * @var string */ public $avatarUrl; /** * @var string */ public $object; /** * @var string */ public $location; /** * @param string */ public function setAvatarUrl($avatarUrl) { $this->avatarUrl = $avatarUrl; } /** * @return string */ public function getAvatarUrl() { return $this->avatarUrl; } /** * @param string */ public function setObject($object) { $this->object = $object; } /** * @return string */ public function getObject() { return $this->object; } /** * @param string */ public function setLocation($location) { $this->location = $location; } /** * @return string */ public function getLocation() { return $this->location; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(SubmissionAttribution::class, 'Google_Service_KitchSink_SubmissionAttribution'); === end: KitchSink/SubmissionAttribution.php === begin: KitchSink/SubmissionCounters.php "minus_votes", "noneVotes" => "none_votes", "plusVotes" => "plus_votes", ]; /** * @var int */ public $minusVotes; /** * @var int */ public $noneVotes; /** * @var int */ public $plusVotes; /** * @param int */ public function setMinusVotes($minusVotes) { $this->minusVotes = $minusVotes; } /** * @return int */ public function getMinusVotes() { return $this->minusVotes; } /** * @param int */ public function setNoneVotes($noneVotes) { $this->noneVotes = $noneVotes; } /** * @return int */ public function getNoneVotes() { return $this->noneVotes; } /** * @param int */ public function setPlusVotes($plusVotes) { $this->plusVotes = $plusVotes; } /** * @return int */ public function getPlusVotes() { return $this->plusVotes; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(SubmissionCounters::class, 'Google_Service_KitchSink_SubmissionCounters'); === end: KitchSink/SubmissionCounters.php === begin: KitchSink/SubmissionId.php seriesId = $seriesId; } /** * @return int */ public function getSeriesId() { return $this->seriesId; } /** * @param int */ public function setSubmissionId($submissionId) { $this->submissionId = $submissionId; } /** * @return int */ public function getSubmissionId() { return $this->submissionId; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(SubmissionId::class, 'Google_Service_KitchSink_SubmissionId'); === end: KitchSink/SubmissionId.php === begin: KitchSink/SubmissionList.php items = $items; } /** * @return Submission[] */ public function getItems() { return $this->items; } /** * @param string */ public function setKind($kind) { $this->kind = $kind; } /** * @return string */ public function getKind() { return $this->kind; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(SubmissionList::class, 'Google_Service_KitchSink_SubmissionList'); === end: KitchSink/SubmissionList.php === begin: KitchSink/SubmissionParentSubmissionId.php seriesId = $seriesId; } /** * @return int */ public function getSeriesId() { return $this->seriesId; } /** * @param int */ public function setSubmissionId($submissionId) { $this->submissionId = $submissionId; } /** * @return int */ public function getSubmissionId() { return $this->submissionId; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(SubmissionParentSubmissionId::class, 'Google_Service_KitchSink_SubmissionParentSubmissionId'); === end: KitchSink/SubmissionParentSubmissionId.php === begin: KitchSink/Tag.php geometry = $geometry; } /** * @return Geometry */ public function getGeometry() { return $this->geometry; } /** * @param TagId */ public function setId(TagId $id) { $this->id = $id; } /** * @return TagId */ public function getId() { return $this->id; } /** * @param string */ public function setKind($kind) { $this->kind = $kind; } /** * @return string */ public function getKind() { return $this->kind; } /** * @param string */ public function setText($text) { $this->text = $text; } /** * @return string */ public function getText() { return $this->text; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Tag::class, 'Google_Service_KitchSink_Tag'); === end: KitchSink/Tag.php === begin: KitchSink/TagId.php seriesId = $seriesId; } /** * @return int */ public function getSeriesId() { return $this->seriesId; } /** * @param int */ public function setSubmissionId($submissionId) { $this->submissionId = $submissionId; } /** * @return int */ public function getSubmissionId() { return $this->submissionId; } /** * @param string */ public function setTag($tag) { $this->tag = $tag; } /** * @return string */ public function getTag() { return $this->tag; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(TagId::class, 'Google_Service_KitchSink_TagId'); === end: KitchSink/TagId.php === begin: KitchSink/Topic.php counters = $counters; } /** * @return TopicCounters */ public function getCounters() { return $this->counters; } /** * @param string */ public function setDescription($description) { $this->description = $description; } /** * @return string */ public function getDescription() { return $this->description; } /** * @param TopicId */ public function setId(TopicId $id) { $this->id = $id; } /** * @return TopicId */ public function getId() { return $this->id; } /** * @param string */ public function setKind($kind) { $this->kind = $kind; } /** * @return string */ public function getKind() { return $this->kind; } /** * @param string */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * @param string */ public function setPresenter($presenter) { $this->presenter = $presenter; } /** * @return string */ public function getPresenter() { return $this->presenter; } /** * @param TopicRules */ public function setRules(TopicRules $rules) { $this->rules = $rules; } /** * @return TopicRules */ public function getRules() { return $this->rules; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Topic::class, 'Google_Service_KitchSink_Topic'); === end: KitchSink/Topic.php === begin: KitchSink/Topic2.php counters = $counters; } /** * @return Topic2Counters */ public function getCounters() { return $this->counters; } /** * @param string */ public function setDescription($description) { $this->description = $description; } /** * @return string */ public function getDescription() { return $this->description; } /** * @param Submission */ public function setFeaturedSubmission(Submission $featuredSubmission) { $this->featuredSubmission = $featuredSubmission; } /** * @return Submission */ public function getFeaturedSubmission() { return $this->featuredSubmission; } /** * @param Topic2Id */ public function setId(Topic2Id $id) { $this->id = $id; } /** * @return Topic2Id */ public function getId() { return $this->id; } /** * @param string */ public function setKind($kind) { $this->kind = $kind; } /** * @return string */ public function getKind() { return $this->kind; } /** * @param string */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * @param string */ public function setPresenter($presenter) { $this->presenter = $presenter; } /** * @return string */ public function getPresenter() { return $this->presenter; } /** * @param Rule[] */ public function setRules($rules) { $this->rules = $rules; } /** * @return Rule[] */ public function getRules() { return $this->rules; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Topic2::class, 'Google_Service_KitchSink_Topic2'); === end: KitchSink/Topic2.php === begin: KitchSink/Topic2Counters.php "minus_votes", "noneVotes" => "none_votes", "plusVotes" => "plus_votes", ]; /** * @var int */ public $minusVotes; /** * @var int */ public $noneVotes; /** * @var int */ public $plusVotes; /** * @var int */ public $submissions; /** * @var int */ public $users; /** * @var int */ public $videoSubmissions; /** * @param int */ public function setMinusVotes($minusVotes) { $this->minusVotes = $minusVotes; } /** * @return int */ public function getMinusVotes() { return $this->minusVotes; } /** * @param int */ public function setNoneVotes($noneVotes) { $this->noneVotes = $noneVotes; } /** * @return int */ public function getNoneVotes() { return $this->noneVotes; } /** * @param int */ public function setPlusVotes($plusVotes) { $this->plusVotes = $plusVotes; } /** * @return int */ public function getPlusVotes() { return $this->plusVotes; } /** * @param int */ public function setSubmissions($submissions) { $this->submissions = $submissions; } /** * @return int */ public function getSubmissions() { return $this->submissions; } /** * @param int */ public function setUsers($users) { $this->users = $users; } /** * @return int */ public function getUsers() { return $this->users; } /** * @param int */ public function setVideoSubmissions($videoSubmissions) { $this->videoSubmissions = $videoSubmissions; } /** * @return int */ public function getVideoSubmissions() { return $this->videoSubmissions; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Topic2Counters::class, 'Google_Service_KitchSink_Topic2Counters'); === end: KitchSink/Topic2Counters.php === begin: KitchSink/Topic2Id.php seriesId = $seriesId; } /** * @return int */ public function getSeriesId() { return $this->seriesId; } /** * @param int */ public function setTopicId($topicId) { $this->topicId = $topicId; } /** * @return int */ public function getTopicId() { return $this->topicId; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Topic2Id::class, 'Google_Service_KitchSink_Topic2Id'); === end: KitchSink/Topic2Id.php === begin: KitchSink/TopicCounters.php "minus_votes", "noneVotes" => "none_votes", "plusVotes" => "plus_votes", ]; /** * @var int */ public $minusVotes; /** * @var int */ public $noneVotes; /** * @var int */ public $plusVotes; /** * @var int */ public $submissions; /** * @var int */ public $users; /** * @var int */ public $videoSubmissions; /** * @param int */ public function setMinusVotes($minusVotes) { $this->minusVotes = $minusVotes; } /** * @return int */ public function getMinusVotes() { return $this->minusVotes; } /** * @param int */ public function setNoneVotes($noneVotes) { $this->noneVotes = $noneVotes; } /** * @return int */ public function getNoneVotes() { return $this->noneVotes; } /** * @param int */ public function setPlusVotes($plusVotes) { $this->plusVotes = $plusVotes; } /** * @return int */ public function getPlusVotes() { return $this->plusVotes; } /** * @param int */ public function setSubmissions($submissions) { $this->submissions = $submissions; } /** * @return int */ public function getSubmissions() { return $this->submissions; } /** * @param int */ public function setUsers($users) { $this->users = $users; } /** * @return int */ public function getUsers() { return $this->users; } /** * @param int */ public function setVideoSubmissions($videoSubmissions) { $this->videoSubmissions = $videoSubmissions; } /** * @return int */ public function getVideoSubmissions() { return $this->videoSubmissions; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(TopicCounters::class, 'Google_Service_KitchSink_TopicCounters'); === end: KitchSink/TopicCounters.php === begin: KitchSink/TopicId.php seriesId = $seriesId; } /** * @return int */ public function getSeriesId() { return $this->seriesId; } /** * @param int */ public function setTopicId($topicId) { $this->topicId = $topicId; } /** * @return int */ public function getTopicId() { return $this->topicId; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(TopicId::class, 'Google_Service_KitchSink_TopicId'); === end: KitchSink/TopicId.php === begin: KitchSink/TopicList.php items = $items; } /** * @return Topic[] */ public function getItems() { return $this->items; } /** * @param string */ public function setKind($kind) { $this->kind = $kind; } /** * @return string */ public function getKind() { return $this->kind; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(TopicList::class, 'Google_Service_KitchSink_TopicList'); === end: KitchSink/TopicList.php === begin: KitchSink/TopicRules.php submissions = $submissions; } /** * @return TopicRulesSubmissions */ public function getSubmissions() { return $this->submissions; } /** * @param TopicRulesVotes */ public function setVotes(TopicRulesVotes $votes) { $this->votes = $votes; } /** * @return TopicRulesVotes */ public function getVotes() { return $this->votes; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(TopicRules::class, 'Google_Service_KitchSink_TopicRules'); === end: KitchSink/TopicRules.php === begin: KitchSink/TopicRulesSubmissions.php close = $close; } /** * @return int */ public function getClose() { return $this->close; } /** * @param int */ public function setOpen($open) { $this->open = $open; } /** * @return int */ public function getOpen() { return $this->open; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(TopicRulesSubmissions::class, 'Google_Service_KitchSink_TopicRulesSubmissions'); === end: KitchSink/TopicRulesSubmissions.php === begin: KitchSink/TopicRulesVotes.php close = $close; } /** * @return int */ public function getClose() { return $this->close; } /** * @param int */ public function setOpen($open) { $this->open = $open; } /** * @return int */ public function getOpen() { return $this->open; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(TopicRulesVotes::class, 'Google_Service_KitchSink_TopicRulesVotes'); === end: KitchSink/TopicRulesVotes.php === begin: KitchSink/Translation.php lang = $lang; } /** * @return string */ public function getLang() { return $this->lang; } /** * @param string */ public function setText($text) { $this->text = $text; } /** * @return string */ public function getText() { return $this->text; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Translation::class, 'Google_Service_KitchSink_Translation'); === end: KitchSink/Translation.php === begin: KitchSink/Vote.php flag = $flag; } /** * @return string */ public function getFlag() { return $this->flag; } /** * @param VoteId */ public function setId(VoteId $id) { $this->id = $id; } /** * @return VoteId */ public function getId() { return $this->id; } /** * @param string */ public function setKind($kind) { $this->kind = $kind; } /** * @return string */ public function getKind() { return $this->kind; } /** * @param string */ public function setVote($vote) { $this->vote = $vote; } /** * @return string */ public function getVote() { return $this->vote; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Vote::class, 'Google_Service_KitchSink_Vote'); === end: KitchSink/Vote.php === begin: KitchSink/VoteId.php items = $items; } /** * @return Vote[] */ public function getItems() { return $this->items; } /** * @param string */ public function setKind($kind) { $this->kind = $kind; } /** * @return string */ public function getKind() { return $this->kind; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(VoteList::class, 'Google_Service_KitchSink_VoteList'); === end: KitchSink/VoteList.php