Class Post
Represents a single post in a comment thread. Developer Preview.
Implements
Inherited Members
Namespace: Google.Apis.Slides.v1.Data
Assembly: Google.Apis.Slides.v1.dll
Syntax
public class Post : IDirectResponseSchema
Properties
AssigneeEmail
Optional. The email of the user who is being newly assigned to the thread as part of this post. Returns a
400 bad request error if: - The parent thread is a CommentThread whose headPost does not have an assignee. -
commentAction is specified as RESOLVE or REOPEN. - assignee_email exceeds 2048 UTF-8 code units.
Declaration
[JsonProperty("assigneeEmail")]
public virtual string AssigneeEmail { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Author
Output only. The user who created the post.
Declaration
[JsonProperty("author")]
public virtual PostAuthor Author { get; set; }
Property Value
| Type | Description |
|---|---|
| PostAuthor |
CommentAction
Action taken as part of creating the post.
Declaration
[JsonProperty("commentAction")]
public virtual string CommentAction { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Content
The content of the post. Required to be non-empty if comment_action is not RESOLVE or REOPEN. This text
content will be handled similarly to comments created in the Slides editor. It will have similar behaviors
for formatting, notifications, etc. May not exceed 2048 UTF-8 code units.
Declaration
[JsonProperty("content")]
public virtual string Content { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ContentHtml
Output only. The content of the post as HTML.
Declaration
[JsonProperty("contentHtml")]
public virtual string ContentHtml { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
CreateTimeRaw
Output only. The time the post was created.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Deleted
Output only. Whether the post is deleted. If true, content and author fields will be empty.
Declaration
[JsonProperty("deleted")]
public virtual bool? Deleted { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
FromCopiedPresentation
Output only. Whether the post is from a copied presentation. This field cannot be set directly by callers.
Declaration
[JsonProperty("fromCopiedPresentation")]
public virtual bool? FromCopiedPresentation { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
FromImportedPresentation
Output only. Whether the post is from an imported presentation. This field cannot be set directly by callers.
Declaration
[JsonProperty("fromImportedPresentation")]
public virtual bool? FromImportedPresentation { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
PostId
Output only. The unique ID of the post.
Declaration
[JsonProperty("postId")]
public virtual string PostId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
UpdateTimeRaw
Output only. The time the post was last updated.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |