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
System.Object
StandardResponse<InnerType>
Namespace: Google.Apis.Util
Assembly: Google.Apis.Core.dll
Syntax
public sealed class StandardResponse<InnerType> : object
Type Parameters
Name Description
InnerType

Properties

Data

May be null if call failed.

Declaration
public InnerType Data { get; set; }
Property Value
Type Description
InnerType

Error

May be null if call succedded.

Declaration
public RequestError Error { get; set; }
Property Value
Type Description
RequestError

Extension Methods

Utilities.ThrowIfNull<T>(T, String)
Back to top