All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.drive.model.Comment.html Maven / Gradle / Ivy

There is a newer version: v3-rev20240903-2.0.0
Show newest version






Comment (Drive API v3-rev20210612-1.31.5)












com.google.api.services.drive.model

Class Comment

    • Constructor Detail

      • Comment

        public Comment()
    • Method Detail

      • getAnchor

        public String getAnchor()
        A region of the document represented as a JSON string. For details on defining anchor properties, refer to Add comments and replies.
        Returns:
        value or null for none
      • setAnchor

        public Comment setAnchor(String anchor)
        A region of the document represented as a JSON string. For details on defining anchor properties, refer to Add comments and replies.
        Parameters:
        anchor - anchor or null for none
      • getAuthor

        public User getAuthor()
        The author of the comment. The author's email address and permission ID will not be populated.
        Returns:
        value or null for none
      • setAuthor

        public Comment setAuthor(User author)
        The author of the comment. The author's email address and permission ID will not be populated.
        Parameters:
        author - author or null for none
      • getContent

        public String getContent()
        The plain text content of the comment. This field is used for setting the content, while htmlContent should be displayed.
        Returns:
        value or null for none
      • setContent

        public Comment setContent(String content)
        The plain text content of the comment. This field is used for setting the content, while htmlContent should be displayed.
        Parameters:
        content - content or null for none
      • getCreatedTime

        public DateTime getCreatedTime()
        The time at which the comment was created (RFC 3339 date-time).
        Returns:
        value or null for none
      • setCreatedTime

        public Comment setCreatedTime(DateTime createdTime)
        The time at which the comment was created (RFC 3339 date-time).
        Parameters:
        createdTime - createdTime or null for none
      • getDeleted

        public Boolean getDeleted()
        Whether the comment has been deleted. A deleted comment has no content.
        Returns:
        value or null for none
      • setDeleted

        public Comment setDeleted(Boolean deleted)
        Whether the comment has been deleted. A deleted comment has no content.
        Parameters:
        deleted - deleted or null for none
      • getHtmlContent

        public String getHtmlContent()
        The content of the comment with HTML formatting.
        Returns:
        value or null for none
      • setHtmlContent

        public Comment setHtmlContent(String htmlContent)
        The content of the comment with HTML formatting.
        Parameters:
        htmlContent - htmlContent or null for none
      • getId

        public String getId()
        The ID of the comment.
        Returns:
        value or null for none
      • setId

        public Comment setId(String id)
        The ID of the comment.
        Parameters:
        id - id or null for none
      • getKind

        public String getKind()
        Identifies what kind of resource this is. Value: the fixed string "drive#comment".
        Returns:
        value or null for none
      • setKind

        public Comment setKind(String kind)
        Identifies what kind of resource this is. Value: the fixed string "drive#comment".
        Parameters:
        kind - kind or null for none
      • getModifiedTime

        public DateTime getModifiedTime()
        The last time the comment or any of its replies was modified (RFC 3339 date-time).
        Returns:
        value or null for none
      • setModifiedTime

        public Comment setModifiedTime(DateTime modifiedTime)
        The last time the comment or any of its replies was modified (RFC 3339 date-time).
        Parameters:
        modifiedTime - modifiedTime or null for none
      • getQuotedFileContent

        public Comment.QuotedFileContent getQuotedFileContent()
        The file content to which the comment refers, typically within the anchor region. For a text file, for example, this would be the text at the location of the comment.
        Returns:
        value or null for none
      • setQuotedFileContent

        public Comment setQuotedFileContent(Comment.QuotedFileContent quotedFileContent)
        The file content to which the comment refers, typically within the anchor region. For a text file, for example, this would be the text at the location of the comment.
        Parameters:
        quotedFileContent - quotedFileContent or null for none
      • getReplies

        public List<Reply> getReplies()
        The full list of replies to the comment in chronological order.
        Returns:
        value or null for none
      • setReplies

        public Comment setReplies(List<Reply> replies)
        The full list of replies to the comment in chronological order.
        Parameters:
        replies - replies or null for none
      • getResolved

        public Boolean getResolved()
        Whether the comment has been resolved by one of its replies.
        Returns:
        value or null for none
      • setResolved

        public Comment setResolved(Boolean resolved)
        Whether the comment has been resolved by one of its replies.
        Parameters:
        resolved - resolved or null for none

Copyright © 2011–2021 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy