Class Comment
A comment on a file.
public class Comment : IDirectResponseSchema
- Inheritance
-
Comment
- Implements
-
IDirectResponseSchema
- Inherited Members
Constructors
Comment()
public Comment()
Properties
Anchor
A region of the document represented as a JSON string. See anchor documentation for details on how to define and interpret anchor properties.
public virtual string Anchor { get; set; }
Property Value
Author
The author of the comment. The author's email address and permission ID will not be populated.
public virtual User Author { get; set; }
Property Value
Content
The plain text content of the comment. This field is used for setting the content, while htmlContent should be displayed.
public virtual string Content { get; set; }
Property Value
CreatedTime
DateTime representation of CreatedTimeRaw.
public virtual DateTime? CreatedTime { get; set; }
Property Value
CreatedTimeRaw
The time at which the comment was created (RFC 3339 date-time).
public virtual string CreatedTimeRaw { get; set; }
Property Value
Deleted
Whether the comment has been deleted. A deleted comment has no content.
public virtual bool? Deleted { get; set; }
Property Value
- bool?
ETag
The ETag of the item.
public virtual string ETag { get; set; }
Property Value
HtmlContent
The content of the comment with HTML formatting.
public virtual string HtmlContent { get; set; }
Property Value
Id
The ID of the comment.
public virtual string Id { get; set; }
Property Value
Kind
Identifies what kind of resource this is. Value: the fixed string "drive#comment".
public virtual string Kind { get; set; }
Property Value
ModifiedTime
DateTime representation of ModifiedTimeRaw.
public virtual DateTime? ModifiedTime { get; set; }
Property Value
ModifiedTimeRaw
The last time the comment or any of its replies was modified (RFC 3339 date-time).
public virtual string ModifiedTimeRaw { get; set; }
Property Value
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.
public virtual Comment.QuotedFileContentData QuotedFileContent { get; set; }
Property Value
Replies
The full list of replies to the comment in chronological order.
public virtual IList<Reply> Replies { get; set; }
Property Value
Resolved
Whether the comment has been resolved by one of its replies.
public virtual bool? Resolved { get; set; }
Property Value
- bool?