JFIF  x x C         C     "        } !1AQa "q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz        w !1AQ aq"2B #3Rbr{ gilour

File "Comment.php"

Full Path: /home/palsarh/web/palsarh.in/public_html/vendor/google/apiclient-services/src/CloudSupport/Comment.php
File size: 2.92 KB
MIME-type: text/x-php
Charset: utf-8

<?php
/*
 * Copyright 2014 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.
 */

namespace Google\Service\CloudSupport;

class Comment extends \Google\Model
{
  /**
   * The full comment body. Maximum of 12800 characters.
   *
   * @var string
   */
  public $body;
  /**
   * Output only. The time when the comment was created.
   *
   * @var string
   */
  public $createTime;
  protected $creatorType = Actor::class;
  protected $creatorDataType = '';
  /**
   * Output only. Identifier. The resource name of the comment.
   *
   * @var string
   */
  public $name;
  /**
   * Output only. DEPRECATED. DO NOT USE. A duplicate of the `body` field. This
   * field is only present for legacy reasons.
   *
   * @deprecated
   * @var string
   */
  public $plainTextBody;

  /**
   * The full comment body. Maximum of 12800 characters.
   *
   * @param string $body
   */
  public function setBody($body)
  {
    $this->body = $body;
  }
  /**
   * @return string
   */
  public function getBody()
  {
    return $this->body;
  }
  /**
   * Output only. The time when the comment was created.
   *
   * @param string $createTime
   */
  public function setCreateTime($createTime)
  {
    $this->createTime = $createTime;
  }
  /**
   * @return string
   */
  public function getCreateTime()
  {
    return $this->createTime;
  }
  /**
   * Output only. The user or Google Support agent who created the comment.
   *
   * @param Actor $creator
   */
  public function setCreator(Actor $creator)
  {
    $this->creator = $creator;
  }
  /**
   * @return Actor
   */
  public function getCreator()
  {
    return $this->creator;
  }
  /**
   * Output only. Identifier. The resource name of the comment.
   *
   * @param string $name
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
  /**
   * Output only. DEPRECATED. DO NOT USE. A duplicate of the `body` field. This
   * field is only present for legacy reasons.
   *
   * @deprecated
   * @param string $plainTextBody
   */
  public function setPlainTextBody($plainTextBody)
  {
    $this->plainTextBody = $plainTextBody;
  }
  /**
   * @deprecated
   * @return string
   */
  public function getPlainTextBody()
  {
    return $this->plainTextBody;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Comment::class, 'Google_Service_CloudSupport_Comment');