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

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

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






Reply (Google Drive API v3-rev20240914-2.0.0)












com.google.api.services.drive.model

Class Reply

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


    public final class Reply
    extends com.google.api.client.json.GenericJson
    A reply to a comment on a file. 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

      • Reply

        public Reply()
    • Method Detail

      • getAction

        public String getAction()
        The action the reply performed to the parent comment. Valid values are: * `resolve` * `reopen`
        Returns:
        value or null for none
      • setAction

        public Reply setAction(String action)
        The action the reply performed to the parent comment. Valid values are: * `resolve` * `reopen`
        Parameters:
        action - action or null for none
      • 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 Reply 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 of the reply. This field is used for setting the content, while `htmlContent` should be displayed. This is required on creates if no `action` is specified.
        Returns:
        value or null for none
      • setContent

        public Reply setContent(String content)
        The plain text content of the reply. This field is used for setting the content, while `htmlContent` should be displayed. This is required on creates if no `action` is specified.
        Parameters:
        content - content or null for none
      • getCreatedTime

        public com.google.api.client.util.DateTime getCreatedTime()
        The time at which the reply was created (RFC 3339 date-time).
        Returns:
        value or null for none
      • setCreatedTime

        public Reply setCreatedTime(com.google.api.client.util.DateTime createdTime)
        The time at which the reply was created (RFC 3339 date-time).
        Parameters:
        createdTime - createdTime or null for none
      • getDeleted

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

        public Reply setDeleted(Boolean deleted)
        Output only. Whether the reply has been deleted. A deleted reply has no content.
        Parameters:
        deleted - deleted or null for none
      • getHtmlContent

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

        public Reply setHtmlContent(String htmlContent)
        Output only. The content of the reply with HTML formatting.
        Parameters:
        htmlContent - htmlContent or null for none
      • getId

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

        public Reply setId(String id)
        Output only. The ID of the reply.
        Parameters:
        id - id or null for none
      • getKind

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

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

        public com.google.api.client.util.DateTime getModifiedTime()
        The last time the reply was modified (RFC 3339 date-time).
        Returns:
        value or null for none
      • setModifiedTime

        public Reply setModifiedTime(com.google.api.client.util.DateTime modifiedTime)
        The last time the reply was modified (RFC 3339 date-time).
        Parameters:
        modifiedTime - modifiedTime or null for none
      • set

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

        public Reply 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