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

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

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






CommentReply (Google Drive API v2-rev20240809-2.0.0)












com.google.api.services.drive.model

Class CommentReply

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    public final class CommentReply
    extends com.google.api.client.json.GenericJson
    A comment on a file in Google Drive. Some resource methods (such as `replies.update`) require a `replyId`. Use the `replies.list` method to retrieve the ID for a reply.

    This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Drive API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json

    Author:
    Google, Inc.
    • Constructor Detail

      • CommentReply

        public CommentReply()
    • Method Detail

      • getAuthor

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

        public CommentReply setAuthor(User author)
        Output only. The author of the reply. 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 used to create this reply. This is not HTML safe and should only be used as a starting point to make edits to a reply's content. This field is required on inserts if no verb is specified (resolve/reopen).
        Returns:
        value or null for none
      • setContent

        public CommentReply setContent(String content)
        The plain text content used to create this reply. This is not HTML safe and should only be used as a starting point to make edits to a reply's content. This field is required on inserts if no verb is specified (resolve/reopen).
        Parameters:
        content - content or null for none
      • getCreatedDate

        public com.google.api.client.util.DateTime getCreatedDate()
        The date when this reply was first created.
        Returns:
        value or null for none
      • setCreatedDate

        public CommentReply setCreatedDate(com.google.api.client.util.DateTime createdDate)
        The date when this reply was first created.
        Parameters:
        createdDate - createdDate or null for none
      • getDeleted

        public Boolean getDeleted()
        Output only. Whether this reply has been deleted. If a reply has been deleted the content will be cleared and this will only represent a reply that once existed.
        Returns:
        value or null for none
      • setDeleted

        public CommentReply setDeleted(Boolean deleted)
        Output only. Whether this reply has been deleted. If a reply has been deleted the content will be cleared and this will only represent a reply that once existed.
        Parameters:
        deleted - deleted or null for none
      • getHtmlContent

        public String getHtmlContent()
        Output only. HTML formatted content for this reply.
        Returns:
        value or null for none
      • setHtmlContent

        public CommentReply setHtmlContent(String htmlContent)
        Output only. HTML formatted content for this reply.
        Parameters:
        htmlContent - htmlContent or null for none
      • getKind

        public String getKind()
        Output only. This is always `drive#commentReply`.
        Returns:
        value or null for none
      • setKind

        public CommentReply setKind(String kind)
        Output only. This is always `drive#commentReply`.
        Parameters:
        kind - kind or null for none
      • getModifiedDate

        public com.google.api.client.util.DateTime getModifiedDate()
        The date when this reply was last modified.
        Returns:
        value or null for none
      • setModifiedDate

        public CommentReply setModifiedDate(com.google.api.client.util.DateTime modifiedDate)
        The date when this reply was last modified.
        Parameters:
        modifiedDate - modifiedDate or null for none
      • getReplyId

        public String getReplyId()
        Output only. The ID of the reply.
        Returns:
        value or null for none
      • setReplyId

        public CommentReply setReplyId(String replyId)
        Output only. The ID of the reply.
        Parameters:
        replyId - replyId or null for none
      • getVerb

        public String getVerb()
        The action this reply performed to the parent comment. When creating a new reply this is the action to be perform to the parent comment. Possible values are: * `resolve` - To resolve a comment. * `reopen` - To reopen (un-resolve) a comment.
        Returns:
        value or null for none
      • setVerb

        public CommentReply setVerb(String verb)
        The action this reply performed to the parent comment. When creating a new reply this is the action to be perform to the parent comment. Possible values are: * `resolve` - To resolve a comment. * `reopen` - To reopen (un-resolve) a comment.
        Parameters:
        verb - verb or null for none
      • set

        public CommentReply set(String fieldName,
                                Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

        public CommentReply clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy