Class Answer
Represents an answer to a question
Implements
Inherited Members
Namespace: Google.Apis.MyBusinessQA.v1.Data
Assembly: Google.Apis.MyBusinessQA.v1.dll
Syntax
public class Answer : IDirectResponseSchema
Properties
Author
Output only. The author of the answer. Will only be set during list operations.
Declaration
[JsonProperty("author")]
public virtual Author Author { get; set; }
Property Value
Type | Description |
---|---|
Author |
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 timestamp for when the answer was written. Only retrieved during ListResponse fetching.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Output only. The unique name for the answer locations//questions//answers/*
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Text
Required. The text of the answer. It should contain at least one non-whitespace character. The maximum length is 4096 characters.
Declaration
[JsonProperty("text")]
public virtual string Text { 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 timestamp for when the answer was last modified.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
UpvoteCount
Output only. The number of upvotes for the answer.
Declaration
[JsonProperty("upvoteCount")]
public virtual int? UpvoteCount { get; set; }
Property Value
Type | Description |
---|---|
int? |