Shopify SDK for Unity
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
Shopify.Unity.ArticleConnection Class Reference

An auto-generated type for paginating through multiple Articles. . ArticleConnection can be cast to List<Article>. More...

Inheritance diagram for Shopify.Unity.ArticleConnection:
Shopify.Unity.SDK.AbstractResponse

Public Member Functions

 ArticleConnection (Dictionary< string, object > dataJSON)
 Accepts deserialized json data. Will further parse passed in data. More...
 
IEnumerator GetEnumerator ()
 
List< ArticleEdgeedges ()
 A list of edges. More...
 
PageInfo pageInfo ()
 Information to aid in pagination. More...
 
object Clone ()
 
void AddFromConnection (ArticleConnection connection)
 This is a utility function that allows you to append newly queried data from a connection into this one. The passed in Connection will be appended into this Connection. The edges will receive all new nodes, and both the cursors and pageInfo will be updated based on the passed Connection. More...
 

Static Public Member Functions

static operator List< Article > (ArticleConnection connection)
 Adds the ability to cast ArticleConnection to List<Article>. More...
 

Protected Attributes

List< ArticleNodes
 
- Protected Attributes inherited from Shopify.Unity.SDK.AbstractResponse
Dictionary< string, object > Data
 

Additional Inherited Members

- Protected Member Functions inherited from Shopify.Unity.SDK.AbstractResponse
Get< T > (string field, string alias=null)
 
- Properties inherited from Shopify.Unity.SDK.AbstractResponse
Dictionary< string, object > DataJSON [get, protected set]
 

Detailed Description

An auto-generated type for paginating through multiple Articles. . ArticleConnection can be cast to List<Article>.

Constructor & Destructor Documentation

◆ ArticleConnection()

Shopify.Unity.ArticleConnection.ArticleConnection ( Dictionary< string, object >  dataJSON)
inline

Accepts deserialized json data. Will further parse passed in data.

Parameters
dataJSONDeserialized JSON data for ArticleConnection

Member Function Documentation

◆ AddFromConnection()

void Shopify.Unity.ArticleConnection.AddFromConnection ( ArticleConnection  connection)
inline

This is a utility function that allows you to append newly queried data from a connection into this one. The passed in Connection will be appended into this Connection. The edges will receive all new nodes, and both the cursors and pageInfo will be updated based on the passed Connection.

Parameters
connectionresponse

◆ edges()

List<ArticleEdge> Shopify.Unity.ArticleConnection.edges ( )
inline

A list of edges.

◆ operator List< Article >()

static Shopify.Unity.ArticleConnection.operator List< Article > ( ArticleConnection  connection)
inlineexplicitstatic

Adds the ability to cast ArticleConnection to List<Article>.

◆ pageInfo()

PageInfo Shopify.Unity.ArticleConnection.pageInfo ( )
inline

Information to aid in pagination.


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