CommentsRequest class

Contains the request methods about Comments.

Inheritance
Implemented types

Constructors

CommentsRequest.create(String? fileId, DriveComment? comment, {String? form, String? fields, bool? prettyPrint, String? quotaId, Map<String, dynamic>? parameters})
Constructor for a create request.
CommentsRequest.delete(String? fileId, String? commentId, {String? form, String? fields, bool? prettyPrint, String? quotaId, Map<String, dynamic>? parameters})
Constructor for a delete request.
CommentsRequest.fromJson(String source)
factory
CommentsRequest.fromMap(Map<String, dynamic> map)
factory
CommentsRequest.getRequest(String? fileId, String? commentId, {bool? includeDeleted, String? form, String? fields, bool? prettyPrint, String? quotaId, Map<String, dynamic>? parameters})
Constructor for a get request.
CommentsRequest.list(String? fileId, {int? pageSize, bool? includeDeleted, String? cursor, DateTime? startEditedTime, String? form, String? fields, bool? prettyPrint, String? quotaId, Map<String, dynamic>? parameters})
Constructor for a list request.
CommentsRequest.update(String? fileId, String? commentId, DriveComment? comment, {String? form, String? fields, bool? prettyPrint, String? quotaId})
Constructor for a update request.

Properties

comment DriveComment?
Comment instance to specify on the create request.
getter/setter pair
commentId String?
Comment ID.
getter/setter pair
cursor String?
Cursor for the current page, which is obtained from nextCursor in the previous response.
getter/setter pair
fields String?
Fields to be contained in a response.
getter/setter pairoverride
fileId String?
File ID.
getter/setter pair
form String?
Response data format.
getter/setter pairoverride
hashCode int
The hash code for this object.
no setterinherited
includeDeleted bool?
Whether to return deleted comments on a get request.
getter/setter pair
pageSize int?
Page Size for list request.
getter/setter pair
parameters Map<String, dynamic>?
Parameters for the request.
getter/setter pairoverride
prettyPrint bool?
Indicates whether to return a response containing indentations and newline characters.
getter/setter pairoverride
quotaId String?
A string of less than 40 characters to identify a user.
getter/setter pairoverride
requestName String
Request type that describes a DriveRequest with its service name and method name concatenated with a #.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startEditedTime DateTime?
Earliest modification time of a comment.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
Returns a json representation of a Batchable instance.
override
toMap() Map<String, dynamic>
Returns the map representation of a Batchable instance.
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited