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.
Inheritance
System.Object
StandardResponse<InnerType>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Util
Assembly: Google.Apis.Core.dll
Syntax
public sealed class StandardResponse<InnerType>
Type Parameters
Name | Description |
---|---|
InnerType |
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 |