Google_Comment

The Google Drive WP Media Google Comment class.

Defined (1)

The class is defined in the following location(s).

/gdwpm-api/contrib/Google_DriveService.php  
  1. class Google_Comment extends Google_Model { 
  2. public $anchor; 
  3. protected $__authorType = 'Google_User'; 
  4. protected $__authorDataType = ''; 
  5. public $author; 
  6. public $commentId; 
  7. public $content; 
  8. protected $__contextType = 'Google_CommentContext'; 
  9. protected $__contextDataType = ''; 
  10. public $context; 
  11. public $createdDate; 
  12. public $deleted; 
  13. public $fileId; 
  14. public $fileTitle; 
  15. public $htmlContent; 
  16. public $kind; 
  17. public $modifiedDate; 
  18. protected $__repliesType = 'Google_CommentReply'; 
  19. protected $__repliesDataType = 'array'; 
  20. public $replies; 
  21. public $selfLink; 
  22. public $status; 
  23. public function setAnchor( $anchor) { 
  24. $this->anchor = $anchor; 
  25. public function getAnchor() { 
  26. return $this->anchor; 
  27. public function setAuthor(Google_User $author) { 
  28. $this->author = $author; 
  29. public function getAuthor() { 
  30. return $this->author; 
  31. public function setCommentId( $commentId) { 
  32. $this->commentId = $commentId; 
  33. public function getCommentId() { 
  34. return $this->commentId; 
  35. public function setContent( $content) { 
  36. $this->content = $content; 
  37. public function getContent() { 
  38. return $this->content; 
  39. public function setContext(Google_CommentContext $context) { 
  40. $this->context = $context; 
  41. public function getContext() { 
  42. return $this->context; 
  43. public function setCreatedDate( $createdDate) { 
  44. $this->createdDate = $createdDate; 
  45. public function getCreatedDate() { 
  46. return $this->createdDate; 
  47. public function setDeleted( $deleted) { 
  48. $this->deleted = $deleted; 
  49. public function getDeleted() { 
  50. return $this->deleted; 
  51. public function setFileId( $fileId) { 
  52. $this->fileId = $fileId; 
  53. public function getFileId() { 
  54. return $this->fileId; 
  55. public function setFileTitle( $fileTitle) { 
  56. $this->fileTitle = $fileTitle; 
  57. public function getFileTitle() { 
  58. return $this->fileTitle; 
  59. public function setHtmlContent( $htmlContent) { 
  60. $this->htmlContent = $htmlContent; 
  61. public function getHtmlContent() { 
  62. return $this->htmlContent; 
  63. public function setKind( $kind) { 
  64. $this->kind = $kind; 
  65. public function getKind() { 
  66. return $this->kind; 
  67. public function setModifiedDate( $modifiedDate) { 
  68. $this->modifiedDate = $modifiedDate; 
  69. public function getModifiedDate() { 
  70. return $this->modifiedDate; 
  71. public function setReplies(/** array(Google_CommentReply) */ $replies) { 
  72. $this->assertIsArray($replies, 'Google_CommentReply', __METHOD__); 
  73. $this->replies = $replies; 
  74. public function getReplies() { 
  75. return $this->replies; 
  76. public function setSelfLink( $selfLink) { 
  77. $this->selfLink = $selfLink; 
  78. public function getSelfLink() { 
  79. return $this->selfLink; 
  80. public function setStatus( $status) { 
  81. $this->status = $status; 
  82. public function getStatus() { 
  83. return $this->status;