Shopify SDK for Unity
Public Member Functions | Properties | List of all members
Shopify.Unity.SDK.TopLevelResponse Class Reference

Base class for QueryResponse and MutationResponse , which are top-level responses for all GraphQL queries. More...

Inheritance diagram for Shopify.Unity.SDK.TopLevelResponse:
Shopify.Unity.SDK.MutationResponse Shopify.Unity.SDK.QueryResponse

Public Member Functions

 TopLevelResponse (Dictionary< string, object > dataJSON)
 
 TopLevelResponse (string httpError)
 

Properties

string HTTPError [get]
 Contains a string representing an http error. Is null if there was no http error. More...
 
Dictionary< string, object > DataJSON [get]
 Contains JSON response data from the GraphQL query. Is null if no data was returned. More...
 
string errors [get]
 Contains a list of errors as a JSON string returned by the GraphQL end point. Is null if no errors were returned. More...
 

Detailed Description

Base class for QueryResponse

and MutationResponse

, which are top-level responses for all GraphQL queries.

Property Documentation

◆ DataJSON

Dictionary<string, object> Shopify.Unity.SDK.TopLevelResponse.DataJSON
get

Contains JSON response data from the GraphQL query. Is null if no data was returned.

◆ errors

string Shopify.Unity.SDK.TopLevelResponse.errors
get

Contains a list of errors as a JSON string returned by the GraphQL end point. Is null if no errors were returned.

◆ HTTPError

string Shopify.Unity.SDK.TopLevelResponse.HTTPError
get

Contains a string representing an http error. Is null if there was no http error.


The documentation for this class was generated from the following file: