class

GoogleDrive::Reply

Inherits OpenApi::Json / OpenApi::Validatable / JSON::Serializable::Unmapped / JSON::Serializable / Reference / Object

A reply to a comment on a file.

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, action : String | Nil = nil, author : GoogleDrive::User | Nil = nil, content : String | Nil = nil, created_time : Time | Nil = nil, deleted : Bool | Nil = nil, html_content : String | Nil = nil, id : String | Nil = nil, kind : String | Nil = "drive#reply", modified_time : Time | Nil = nil)

Initializes the object @param [Hash] attributes Model attributes in the form of hash

Source

Instance methods

==(other : self)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

action

The action the reply performed to the parent comment. Valid values are: - resolve - reopen

Source
action=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] action Object to be assigned

Source
author
Source
author=(new_value : GoogleDrive::User | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] author Object to be assigned

Source
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.

Source
content=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] content Object to be assigned

Source
created_time

The time at which the reply was created (RFC 3339 date-time).

Source
created_time=(new_value : Time | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] created_time Object to be assigned

Source
deleted

Whether the reply has been deleted. A deleted reply has no content.

Source
deleted=(new_value : Bool | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] deleted Object to be assigned

Source
hash(hasher)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

html_content

The content of the reply with HTML formatting.

Source
html_content=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] html_content Object to be assigned

Source
id

The ID of the reply.

Source
id=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] id Object to be assigned

Source
kind

Identifies what kind of resource this is. Value: the fixed string "drive#reply".

Source
kind=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] kind Object to be assigned

Source
list_invalid_properties

Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons

Source
modified_time

The last time the reply was modified (RFC 3339 date-time).

Source
modified_time=(new_value : Time | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] modified_time Object to be assigned

Source
valid?

Check to see if the all the properties in the model are valid @return true if the model is valid

Source