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

An auto-generated type for paginating through multiple Comments. . CommentConnection can be cast to List<Comment>. More...

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

Public Member Functions

 CommentConnection (Dictionary< string, object > dataJSON)
 Accepts deserialized json data. Will further parse passed in data. More...
 
IEnumerator GetEnumerator ()
 
List< CommentEdgeedges ()
 A list of edges. More...
 
PageInfo pageInfo ()
 Information to aid in pagination. More...
 
object Clone ()
 
void AddFromConnection (CommentConnection 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< Comment > (CommentConnection connection)
 Adds the ability to cast CommentConnection to List<Comment>. More...
 

Protected Attributes

List< CommentNodes
 
- 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 Comments. . CommentConnection can be cast to List<Comment>.

Constructor & Destructor Documentation

◆ CommentConnection()

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

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

Parameters
dataJSONDeserialized JSON data for CommentConnection

Member Function Documentation

◆ AddFromConnection()

void Shopify.Unity.CommentConnection.AddFromConnection ( CommentConnection  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<CommentEdge> Shopify.Unity.CommentConnection.edges ( )
inline

A list of edges.

◆ operator List< Comment >()

static Shopify.Unity.CommentConnection.operator List< Comment > ( CommentConnection  connection)
inlineexplicitstatic

Adds the ability to cast CommentConnection to List<Comment>.

◆ pageInfo()

PageInfo Shopify.Unity.CommentConnection.pageInfo ( )
inline

Information to aid in pagination.


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