public sealed 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.
Namespace
Google.Apis.UtilAssembly
Google.Apis.Core.dll
Type Parameter |
|
|---|---|
| Name | Description |
InnerType |
|
Properties
Data
[JsonProperty("data")]
public InnerType Data { get; set; }May be null if call failed.
| Property Value | |
|---|---|
| Type | Description |
InnerType |
|
Error
[JsonProperty("error")]
public RequestError Error { get; set; }May be null if call succedded.
| Property Value | |
|---|---|
| Type | Description |
RequestError |
|