Show / Hide Table of Contents

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
object
StandardResponse<InnerType>
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
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

Extension Methods

Utilities.ThrowIfNull<T>(T, string)
In this article
Back to top Generated by DocFX