Class StandardResponse<InnerType> (1.68.0)

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.

Inheritance

object > StandardResponse<InnerType>

Namespace

Google.Apis.Util

Assembly

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

Extension Method