Google_Submission
The WordPress Core Google Submission class.
Defined (1)
The class is defined in the following location(s).
- /google-api-php-client/src/contrib/Google_ModeratorService.php
- class Google_Submission extends Google_Model {
- public $kind;
- protected $__attributionType = 'Google_SubmissionAttribution';
- protected $__attributionDataType = '';
- public $attribution;
- public $created;
- public $text;
- protected $__topicsType = 'Google_ModeratorTopicsResourcePartial';
- protected $__topicsDataType = 'array';
- public $topics;
- public $author;
- protected $__translationsType = 'Google_SubmissionTranslations';
- protected $__translationsDataType = 'array';
- public $translations;
- protected $__parentSubmissionIdType = 'Google_SubmissionParentSubmissionId';
- protected $__parentSubmissionIdDataType = '';
- public $parentSubmissionId;
- protected $__voteType = 'Google_ModeratorVotesResourcePartial';
- protected $__voteDataType = '';
- public $vote;
- public $attachmentUrl;
- protected $__geoType = 'Google_SubmissionGeo';
- protected $__geoDataType = '';
- public $geo;
- protected $__idType = 'Google_SubmissionId';
- protected $__idDataType = '';
- public $id;
- protected $__countersType = 'Google_SubmissionCounters';
- protected $__countersDataType = '';
- public $counters;
- public function setKind($kind) {
- $this->kind = $kind;
- }
- public function getKind() {
- return $this->kind;
- }
- public function setAttribution(Google_SubmissionAttribution $attribution) {
- $this->attribution = $attribution;
- }
- public function getAttribution() {
- return $this->attribution;
- }
- public function setCreated($created) {
- $this->created = $created;
- }
- public function getCreated() {
- return $this->created;
- }
- public function setText($text) {
- $this->text = $text;
- }
- public function getText() {
- return $this->text;
- }
- public function setTopics(/** array(Google_ModeratorTopicsResourcePartial) */ $topics) {
- $this->assertIsArray($topics, 'Google_ModeratorTopicsResourcePartial', __METHOD__);
- $this->topics = $topics;
- }
- public function getTopics() {
- return $this->topics;
- }
- public function setAuthor($author) {
- $this->author = $author;
- }
- public function getAuthor() {
- return $this->author;
- }
- public function setTranslations(/** array(Google_SubmissionTranslations) */ $translations) {
- $this->assertIsArray($translations, 'Google_SubmissionTranslations', __METHOD__);
- $this->translations = $translations;
- }
- public function getTranslations() {
- return $this->translations;
- }
- public function setParentSubmissionId(Google_SubmissionParentSubmissionId $parentSubmissionId) {
- $this->parentSubmissionId = $parentSubmissionId;
- }
- public function getParentSubmissionId() {
- return $this->parentSubmissionId;
- }
- public function setVote(Google_ModeratorVotesResourcePartial $vote) {
- $this->vote = $vote;
- }
- public function getVote() {
- return $this->vote;
- }
- public function setAttachmentUrl($attachmentUrl) {
- $this->attachmentUrl = $attachmentUrl;
- }
- public function getAttachmentUrl() {
- return $this->attachmentUrl;
- }
- public function setGeo(Google_SubmissionGeo $geo) {
- $this->geo = $geo;
- }
- public function getGeo() {
- return $this->geo;
- }
- public function setId(Google_SubmissionId $id) {
- $this->id = $id;
- }
- public function getId() {
- return $this->id;
- }
- public function setCounters(Google_SubmissionCounters $counters) {
- $this->counters = $counters;
- }
- public function getCounters() {
- return $this->counters;
- }
- }