Initial commit

This commit is contained in:
Caribana
2017-05-26 11:41:26 +02:00
commit 61c24500af
6264 changed files with 645934 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ConsumerSurveys_FieldMask extends Google_Collection
{
protected $collection_key = 'fields';
protected $fieldsType = 'Google_Service_ConsumerSurveys_FieldMask';
protected $fieldsDataType = 'array';
public $id;
public function setFields($fields)
{
$this->fields = $fields;
}
public function getFields()
{
return $this->fields;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
}

View File

@@ -0,0 +1,76 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ConsumerSurveys_MobileAppPanel extends Google_Collection
{
protected $collection_key = 'owners';
public $country;
public $isPublicPanel;
public $language;
public $mobileAppPanelId;
public $name;
public $owners;
public function setCountry($country)
{
$this->country = $country;
}
public function getCountry()
{
return $this->country;
}
public function setIsPublicPanel($isPublicPanel)
{
$this->isPublicPanel = $isPublicPanel;
}
public function getIsPublicPanel()
{
return $this->isPublicPanel;
}
public function setLanguage($language)
{
$this->language = $language;
}
public function getLanguage()
{
return $this->language;
}
public function setMobileAppPanelId($mobileAppPanelId)
{
$this->mobileAppPanelId = $mobileAppPanelId;
}
public function getMobileAppPanelId()
{
return $this->mobileAppPanelId;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setOwners($owners)
{
$this->owners = $owners;
}
public function getOwners()
{
return $this->owners;
}
}

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ConsumerSurveys_MobileAppPanelsListResponse extends Google_Collection
{
protected $collection_key = 'resources';
protected $pageInfoType = 'Google_Service_ConsumerSurveys_PageInfo';
protected $pageInfoDataType = '';
public $requestId;
protected $resourcesType = 'Google_Service_ConsumerSurveys_MobileAppPanel';
protected $resourcesDataType = 'array';
protected $tokenPaginationType = 'Google_Service_ConsumerSurveys_TokenPagination';
protected $tokenPaginationDataType = '';
public function setPageInfo(Google_Service_ConsumerSurveys_PageInfo $pageInfo)
{
$this->pageInfo = $pageInfo;
}
public function getPageInfo()
{
return $this->pageInfo;
}
public function setRequestId($requestId)
{
$this->requestId = $requestId;
}
public function getRequestId()
{
return $this->requestId;
}
public function setResources($resources)
{
$this->resources = $resources;
}
public function getResources()
{
return $this->resources;
}
public function setTokenPagination(Google_Service_ConsumerSurveys_TokenPagination $tokenPagination)
{
$this->tokenPagination = $tokenPagination;
}
public function getTokenPagination()
{
return $this->tokenPagination;
}
}

View File

@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ConsumerSurveys_PageInfo extends Google_Model
{
public $resultPerPage;
public $startIndex;
public $totalResults;
public function setResultPerPage($resultPerPage)
{
$this->resultPerPage = $resultPerPage;
}
public function getResultPerPage()
{
return $this->resultPerPage;
}
public function setStartIndex($startIndex)
{
$this->startIndex = $startIndex;
}
public function getStartIndex()
{
return $this->startIndex;
}
public function setTotalResults($totalResults)
{
$this->totalResults = $totalResults;
}
public function getTotalResults()
{
return $this->totalResults;
}
}

View File

@@ -0,0 +1,74 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "mobileapppanels" collection of methods.
* Typical usage is:
* <code>
* $consumersurveysService = new Google_Service_ConsumerSurveys(...);
* $mobileapppanels = $consumersurveysService->mobileapppanels;
* </code>
*/
class Google_Service_ConsumerSurveys_Resource_Mobileapppanels extends Google_Service_Resource
{
/**
* Retrieves a MobileAppPanel that is available to the authenticated user.
* (mobileapppanels.get)
*
* @param string $panelId External URL ID for the panel.
* @param array $optParams Optional parameters.
* @return Google_Service_ConsumerSurveys_MobileAppPanel
*/
public function get($panelId, $optParams = array())
{
$params = array('panelId' => $panelId);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_ConsumerSurveys_MobileAppPanel");
}
/**
* Lists the MobileAppPanels available to the authenticated user.
* (mobileapppanels.listMobileapppanels)
*
* @param array $optParams Optional parameters.
*
* @opt_param string maxResults
* @opt_param string startIndex
* @opt_param string token
* @return Google_Service_ConsumerSurveys_MobileAppPanelsListResponse
*/
public function listMobileapppanels($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_ConsumerSurveys_MobileAppPanelsListResponse");
}
/**
* Updates a MobileAppPanel. Currently the only property that can be updated is
* the owners property. (mobileapppanels.update)
*
* @param string $panelId External URL ID for the panel.
* @param Google_Service_ConsumerSurveys_MobileAppPanel $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_ConsumerSurveys_MobileAppPanel
*/
public function update($panelId, Google_Service_ConsumerSurveys_MobileAppPanel $postBody, $optParams = array())
{
$params = array('panelId' => $panelId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('update', array($params), "Google_Service_ConsumerSurveys_MobileAppPanel");
}
}

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "results" collection of methods.
* Typical usage is:
* <code>
* $consumersurveysService = new Google_Service_ConsumerSurveys(...);
* $results = $consumersurveysService->results;
* </code>
*/
class Google_Service_ConsumerSurveys_Resource_Results extends Google_Service_Resource
{
/**
* Retrieves any survey results that have been produced so far. Results are
* formatted as an Excel file. You must add "?alt=media" to the URL as an
* argument to get results. (results.get)
*
* @param string $surveyUrlId External URL ID for the survey.
* @param array $optParams Optional parameters.
* @return Google_Service_ConsumerSurveys_SurveyResults
*/
public function get($surveyUrlId, $optParams = array())
{
$params = array('surveyUrlId' => $surveyUrlId);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_ConsumerSurveys_SurveyResults");
}
}

View File

@@ -0,0 +1,125 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "surveys" collection of methods.
* Typical usage is:
* <code>
* $consumersurveysService = new Google_Service_ConsumerSurveys(...);
* $surveys = $consumersurveysService->surveys;
* </code>
*/
class Google_Service_ConsumerSurveys_Resource_Surveys extends Google_Service_Resource
{
/**
* Removes a survey from view in all user GET requests. (surveys.delete)
*
* @param string $surveyUrlId External URL ID for the survey.
* @param array $optParams Optional parameters.
* @return Google_Service_ConsumerSurveys_SurveysDeleteResponse
*/
public function delete($surveyUrlId, $optParams = array())
{
$params = array('surveyUrlId' => $surveyUrlId);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params), "Google_Service_ConsumerSurveys_SurveysDeleteResponse");
}
/**
* Retrieves information about the specified survey. (surveys.get)
*
* @param string $surveyUrlId External URL ID for the survey.
* @param array $optParams Optional parameters.
* @return Google_Service_ConsumerSurveys_Survey
*/
public function get($surveyUrlId, $optParams = array())
{
$params = array('surveyUrlId' => $surveyUrlId);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_ConsumerSurveys_Survey");
}
/**
* Creates a survey. (surveys.insert)
*
* @param Google_Service_ConsumerSurveys_Survey $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_ConsumerSurveys_Survey
*/
public function insert(Google_Service_ConsumerSurveys_Survey $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('insert', array($params), "Google_Service_ConsumerSurveys_Survey");
}
/**
* Lists the surveys owned by the authenticated user. (surveys.listSurveys)
*
* @param array $optParams Optional parameters.
*
* @opt_param string maxResults
* @opt_param string startIndex
* @opt_param string token
* @return Google_Service_ConsumerSurveys_SurveysListResponse
*/
public function listSurveys($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_ConsumerSurveys_SurveysListResponse");
}
/**
* Begins running a survey. (surveys.start)
*
* @param string $resourceId
* @param Google_Service_ConsumerSurveys_SurveysStartRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_ConsumerSurveys_SurveysStartResponse
*/
public function start($resourceId, Google_Service_ConsumerSurveys_SurveysStartRequest $postBody, $optParams = array())
{
$params = array('resourceId' => $resourceId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('start', array($params), "Google_Service_ConsumerSurveys_SurveysStartResponse");
}
/**
* Stops a running survey. (surveys.stop)
*
* @param string $resourceId
* @param array $optParams Optional parameters.
* @return Google_Service_ConsumerSurveys_SurveysStopResponse
*/
public function stop($resourceId, $optParams = array())
{
$params = array('resourceId' => $resourceId);
$params = array_merge($params, $optParams);
return $this->call('stop', array($params), "Google_Service_ConsumerSurveys_SurveysStopResponse");
}
/**
* Updates a survey. Currently the only property that can be updated is the
* owners property. (surveys.update)
*
* @param string $surveyUrlId External URL ID for the survey.
* @param Google_Service_ConsumerSurveys_Survey $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_ConsumerSurveys_Survey
*/
public function update($surveyUrlId, Google_Service_ConsumerSurveys_Survey $postBody, $optParams = array())
{
$params = array('surveyUrlId' => $surveyUrlId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('update', array($params), "Google_Service_ConsumerSurveys_Survey");
}
}

View File

@@ -0,0 +1,31 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ConsumerSurveys_ResultsGetRequest extends Google_Model
{
protected $resultMaskType = 'Google_Service_ConsumerSurveys_ResultsMask';
protected $resultMaskDataType = '';
public function setResultMask(Google_Service_ConsumerSurveys_ResultsMask $resultMask)
{
$this->resultMask = $resultMask;
}
public function getResultMask()
{
return $this->resultMask;
}
}

View File

@@ -0,0 +1,41 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ConsumerSurveys_ResultsMask extends Google_Collection
{
protected $collection_key = 'fields';
protected $fieldsType = 'Google_Service_ConsumerSurveys_FieldMask';
protected $fieldsDataType = 'array';
public $projection;
public function setFields($fields)
{
$this->fields = $fields;
}
public function getFields()
{
return $this->fields;
}
public function setProjection($projection)
{
$this->projection = $projection;
}
public function getProjection()
{
return $this->projection;
}
}

View File

@@ -0,0 +1,125 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ConsumerSurveys_Survey extends Google_Collection
{
protected $collection_key = 'questions';
protected $audienceType = 'Google_Service_ConsumerSurveys_SurveyAudience';
protected $audienceDataType = '';
protected $costType = 'Google_Service_ConsumerSurveys_SurveyCost';
protected $costDataType = '';
public $customerData;
public $description;
public $owners;
protected $questionsType = 'Google_Service_ConsumerSurveys_SurveyQuestion';
protected $questionsDataType = 'array';
protected $rejectionReasonType = 'Google_Service_ConsumerSurveys_SurveyRejection';
protected $rejectionReasonDataType = '';
public $state;
public $surveyUrlId;
public $title;
public $wantedResponseCount;
public function setAudience(Google_Service_ConsumerSurveys_SurveyAudience $audience)
{
$this->audience = $audience;
}
public function getAudience()
{
return $this->audience;
}
public function setCost(Google_Service_ConsumerSurveys_SurveyCost $cost)
{
$this->cost = $cost;
}
public function getCost()
{
return $this->cost;
}
public function setCustomerData($customerData)
{
$this->customerData = $customerData;
}
public function getCustomerData()
{
return $this->customerData;
}
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
public function setOwners($owners)
{
$this->owners = $owners;
}
public function getOwners()
{
return $this->owners;
}
public function setQuestions($questions)
{
$this->questions = $questions;
}
public function getQuestions()
{
return $this->questions;
}
public function setRejectionReason(Google_Service_ConsumerSurveys_SurveyRejection $rejectionReason)
{
$this->rejectionReason = $rejectionReason;
}
public function getRejectionReason()
{
return $this->rejectionReason;
}
public function setState($state)
{
$this->state = $state;
}
public function getState()
{
return $this->state;
}
public function setSurveyUrlId($surveyUrlId)
{
$this->surveyUrlId = $surveyUrlId;
}
public function getSurveyUrlId()
{
return $this->surveyUrlId;
}
public function setTitle($title)
{
$this->title = $title;
}
public function getTitle()
{
return $this->title;
}
public function setWantedResponseCount($wantedResponseCount)
{
$this->wantedResponseCount = $wantedResponseCount;
}
public function getWantedResponseCount()
{
return $this->wantedResponseCount;
}
}

View File

@@ -0,0 +1,85 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ConsumerSurveys_SurveyAudience extends Google_Collection
{
protected $collection_key = 'languages';
public $ages;
public $country;
public $countrySubdivision;
public $gender;
public $languages;
public $mobileAppPanelId;
public $populationSource;
public function setAges($ages)
{
$this->ages = $ages;
}
public function getAges()
{
return $this->ages;
}
public function setCountry($country)
{
$this->country = $country;
}
public function getCountry()
{
return $this->country;
}
public function setCountrySubdivision($countrySubdivision)
{
$this->countrySubdivision = $countrySubdivision;
}
public function getCountrySubdivision()
{
return $this->countrySubdivision;
}
public function setGender($gender)
{
$this->gender = $gender;
}
public function getGender()
{
return $this->gender;
}
public function setLanguages($languages)
{
$this->languages = $languages;
}
public function getLanguages()
{
return $this->languages;
}
public function setMobileAppPanelId($mobileAppPanelId)
{
$this->mobileAppPanelId = $mobileAppPanelId;
}
public function getMobileAppPanelId()
{
return $this->mobileAppPanelId;
}
public function setPopulationSource($populationSource)
{
$this->populationSource = $populationSource;
}
public function getPopulationSource()
{
return $this->populationSource;
}
}

View File

@@ -0,0 +1,57 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ConsumerSurveys_SurveyCost extends Google_Model
{
public $costPerResponseNanos;
public $currencyCode;
public $maxCostPerResponseNanos;
public $nanos;
public function setCostPerResponseNanos($costPerResponseNanos)
{
$this->costPerResponseNanos = $costPerResponseNanos;
}
public function getCostPerResponseNanos()
{
return $this->costPerResponseNanos;
}
public function setCurrencyCode($currencyCode)
{
$this->currencyCode = $currencyCode;
}
public function getCurrencyCode()
{
return $this->currencyCode;
}
public function setMaxCostPerResponseNanos($maxCostPerResponseNanos)
{
$this->maxCostPerResponseNanos = $maxCostPerResponseNanos;
}
public function getMaxCostPerResponseNanos()
{
return $this->maxCostPerResponseNanos;
}
public function setNanos($nanos)
{
$this->nanos = $nanos;
}
public function getNanos()
{
return $this->nanos;
}
}

View File

@@ -0,0 +1,185 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ConsumerSurveys_SurveyQuestion extends Google_Collection
{
protected $collection_key = 'thresholdAnswers';
public $answerOrder;
public $answers;
public $hasOther;
public $highValueLabel;
protected $imagesType = 'Google_Service_ConsumerSurveys_SurveyQuestionImage';
protected $imagesDataType = 'array';
public $lastAnswerPositionPinned;
public $lowValueLabel;
public $mustPickSuggestion;
public $numStars;
public $openTextPlaceholder;
public $openTextSuggestions;
public $question;
public $sentimentText;
public $singleLineResponse;
public $thresholdAnswers;
public $type;
public $unitOfMeasurementLabel;
public $videoId;
public function setAnswerOrder($answerOrder)
{
$this->answerOrder = $answerOrder;
}
public function getAnswerOrder()
{
return $this->answerOrder;
}
public function setAnswers($answers)
{
$this->answers = $answers;
}
public function getAnswers()
{
return $this->answers;
}
public function setHasOther($hasOther)
{
$this->hasOther = $hasOther;
}
public function getHasOther()
{
return $this->hasOther;
}
public function setHighValueLabel($highValueLabel)
{
$this->highValueLabel = $highValueLabel;
}
public function getHighValueLabel()
{
return $this->highValueLabel;
}
public function setImages($images)
{
$this->images = $images;
}
public function getImages()
{
return $this->images;
}
public function setLastAnswerPositionPinned($lastAnswerPositionPinned)
{
$this->lastAnswerPositionPinned = $lastAnswerPositionPinned;
}
public function getLastAnswerPositionPinned()
{
return $this->lastAnswerPositionPinned;
}
public function setLowValueLabel($lowValueLabel)
{
$this->lowValueLabel = $lowValueLabel;
}
public function getLowValueLabel()
{
return $this->lowValueLabel;
}
public function setMustPickSuggestion($mustPickSuggestion)
{
$this->mustPickSuggestion = $mustPickSuggestion;
}
public function getMustPickSuggestion()
{
return $this->mustPickSuggestion;
}
public function setNumStars($numStars)
{
$this->numStars = $numStars;
}
public function getNumStars()
{
return $this->numStars;
}
public function setOpenTextPlaceholder($openTextPlaceholder)
{
$this->openTextPlaceholder = $openTextPlaceholder;
}
public function getOpenTextPlaceholder()
{
return $this->openTextPlaceholder;
}
public function setOpenTextSuggestions($openTextSuggestions)
{
$this->openTextSuggestions = $openTextSuggestions;
}
public function getOpenTextSuggestions()
{
return $this->openTextSuggestions;
}
public function setQuestion($question)
{
$this->question = $question;
}
public function getQuestion()
{
return $this->question;
}
public function setSentimentText($sentimentText)
{
$this->sentimentText = $sentimentText;
}
public function getSentimentText()
{
return $this->sentimentText;
}
public function setSingleLineResponse($singleLineResponse)
{
$this->singleLineResponse = $singleLineResponse;
}
public function getSingleLineResponse()
{
return $this->singleLineResponse;
}
public function setThresholdAnswers($thresholdAnswers)
{
$this->thresholdAnswers = $thresholdAnswers;
}
public function getThresholdAnswers()
{
return $this->thresholdAnswers;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
public function setUnitOfMeasurementLabel($unitOfMeasurementLabel)
{
$this->unitOfMeasurementLabel = $unitOfMeasurementLabel;
}
public function getUnitOfMeasurementLabel()
{
return $this->unitOfMeasurementLabel;
}
public function setVideoId($videoId)
{
$this->videoId = $videoId;
}
public function getVideoId()
{
return $this->videoId;
}
}

View File

@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ConsumerSurveys_SurveyQuestionImage extends Google_Model
{
public $altText;
public $data;
public $url;
public function setAltText($altText)
{
$this->altText = $altText;
}
public function getAltText()
{
return $this->altText;
}
public function setData($data)
{
$this->data = $data;
}
public function getData()
{
return $this->data;
}
public function setUrl($url)
{
$this->url = $url;
}
public function getUrl()
{
return $this->url;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ConsumerSurveys_SurveyRejection extends Google_Model
{
public $explanation;
public $type;
public function setExplanation($explanation)
{
$this->explanation = $explanation;
}
public function getExplanation()
{
return $this->explanation;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ConsumerSurveys_SurveyResults extends Google_Model
{
public $status;
public $surveyUrlId;
public function setStatus($status)
{
$this->status = $status;
}
public function getStatus()
{
return $this->status;
}
public function setSurveyUrlId($surveyUrlId)
{
$this->surveyUrlId = $surveyUrlId;
}
public function getSurveyUrlId()
{
return $this->surveyUrlId;
}
}

View File

@@ -0,0 +1,30 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ConsumerSurveys_SurveysDeleteResponse extends Google_Model
{
public $requestId;
public function setRequestId($requestId)
{
$this->requestId = $requestId;
}
public function getRequestId()
{
return $this->requestId;
}
}

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ConsumerSurveys_SurveysListResponse extends Google_Collection
{
protected $collection_key = 'resources';
protected $pageInfoType = 'Google_Service_ConsumerSurveys_PageInfo';
protected $pageInfoDataType = '';
public $requestId;
protected $resourcesType = 'Google_Service_ConsumerSurveys_Survey';
protected $resourcesDataType = 'array';
protected $tokenPaginationType = 'Google_Service_ConsumerSurveys_TokenPagination';
protected $tokenPaginationDataType = '';
public function setPageInfo(Google_Service_ConsumerSurveys_PageInfo $pageInfo)
{
$this->pageInfo = $pageInfo;
}
public function getPageInfo()
{
return $this->pageInfo;
}
public function setRequestId($requestId)
{
$this->requestId = $requestId;
}
public function getRequestId()
{
return $this->requestId;
}
public function setResources($resources)
{
$this->resources = $resources;
}
public function getResources()
{
return $this->resources;
}
public function setTokenPagination(Google_Service_ConsumerSurveys_TokenPagination $tokenPagination)
{
$this->tokenPagination = $tokenPagination;
}
public function getTokenPagination()
{
return $this->tokenPagination;
}
}

View File

@@ -0,0 +1,30 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ConsumerSurveys_SurveysStartRequest extends Google_Model
{
public $maxCostPerResponseNanos;
public function setMaxCostPerResponseNanos($maxCostPerResponseNanos)
{
$this->maxCostPerResponseNanos = $maxCostPerResponseNanos;
}
public function getMaxCostPerResponseNanos()
{
return $this->maxCostPerResponseNanos;
}
}

View File

@@ -0,0 +1,40 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ConsumerSurveys_SurveysStartResponse extends Google_Model
{
public $requestId;
protected $resourceType = 'Google_Service_ConsumerSurveys_Survey';
protected $resourceDataType = '';
public function setRequestId($requestId)
{
$this->requestId = $requestId;
}
public function getRequestId()
{
return $this->requestId;
}
public function setResource(Google_Service_ConsumerSurveys_Survey $resource)
{
$this->resource = $resource;
}
public function getResource()
{
return $this->resource;
}
}

View File

@@ -0,0 +1,40 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ConsumerSurveys_SurveysStopResponse extends Google_Model
{
public $requestId;
protected $resourceType = 'Google_Service_ConsumerSurveys_Survey';
protected $resourceDataType = '';
public function setRequestId($requestId)
{
$this->requestId = $requestId;
}
public function getRequestId()
{
return $this->requestId;
}
public function setResource(Google_Service_ConsumerSurveys_Survey $resource)
{
$this->resource = $resource;
}
public function getResource()
{
return $this->resource;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_ConsumerSurveys_TokenPagination extends Google_Model
{
public $nextPageToken;
public $previousPageToken;
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
public function setPreviousPageToken($previousPageToken)
{
$this->previousPageToken = $previousPageToken;
}
public function getPreviousPageToken()
{
return $this->previousPageToken;
}
}