Class Comment
A comment on a file.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.Drive.v3.Data
Assembly: Google.Apis.Drive.v3.dll
Syntax
public class Comment : IDirectResponseSchema
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.
Declaration
[JsonProperty("anchor")]
public virtual string Anchor { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Author
The author of the comment. The author's email address and permission ID will not be populated.
Declaration
[JsonProperty("author")]
public virtual User Author { get; set; }
Property Value
Type | Description |
---|---|
User |
Content
The plain text content of the comment. This field is used for setting the content, while htmlContent should be displayed.
Declaration
[JsonProperty("content")]
public virtual string Content { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CreatedTime
System.DateTime representation of CreatedTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTime? CreatedTime { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
CreatedTimeRaw
The time at which the comment was created (RFC 3339 date-time).
Declaration
[JsonProperty("createdTime")]
public virtual string CreatedTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Deleted
Whether the comment has been deleted. A deleted comment has no content.
Declaration
[JsonProperty("deleted")]
public virtual bool? Deleted { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.String |
HtmlContent
The content of the comment with HTML formatting.
Declaration
[JsonProperty("htmlContent")]
public virtual string HtmlContent { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Id
The ID of the comment.
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Kind
Identifies what kind of resource this is. Value: the fixed string "drive#comment".
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ModifiedTime
System.DateTime representation of ModifiedTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTime? ModifiedTime { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
ModifiedTimeRaw
The last time the comment or any of its replies was modified (RFC 3339 date-time).
Declaration
[JsonProperty("modifiedTime")]
public virtual string ModifiedTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
System.String |
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.
Declaration
[JsonProperty("quotedFileContent")]
public virtual Comment.QuotedFileContentData QuotedFileContent { get; set; }
Property Value
Type | Description |
---|---|
Comment.QuotedFileContentData |
Replies
The full list of replies to the comment in chronological order.
Declaration
[JsonProperty("replies")]
public virtual IList<Reply> Replies { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<Reply> |
Resolved
Whether the comment has been resolved by one of its replies.
Declaration
[JsonProperty("resolved")]
public virtual bool? Resolved { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |