Class StandardResponse<InnerType>
Calls to Google Api return StandardResponses as Json with two properties Data, being the return type of the method called and Error, being any errors that occure.
Inherited Members
Namespace: Google.Apis.Util
Assembly: Google.Apis.Core.dll
Syntax
public sealed class StandardResponse<InnerType>
Type Parameters
Name | Description |
---|---|
InnerType | Calls to Google Api return StandardResponses as Json with two properties Data, being the return type of the method called and Error, being any errors that occure. |
Properties
Data
May be null if call failed.
Declaration
[JsonProperty("data")]
public InnerType Data { get; set; }
Property Value
Type | Description |
---|---|
InnerType |
Error
May be null if call succedded.
Declaration
[JsonProperty("error")]
public RequestError Error { get; set; }
Property Value
Type | Description |
---|---|
RequestError |