An auto-generated type for paginating through multiple Pages. . PageConnection can be cast to List<Page>
.
More...
|
| PageConnection (Dictionary< string, object > dataJSON) |
| Accepts deserialized json data. Will further parse passed in data. More...
|
|
IEnumerator | GetEnumerator () |
|
List< PageEdge > | edges () |
| A list of edges. More...
|
|
PageInfo | pageInfo () |
| Information to aid in pagination. More...
|
|
object | Clone () |
|
void | AddFromConnection (PageConnection 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...
|
|
|
List< Page > | Nodes |
|
Dictionary< string, object > | Data |
|
|
T | Get< T > (string field, string alias=null) |
|
Dictionary< string, object > | DataJSON [get, protected set] |
|
An auto-generated type for paginating through multiple Pages. . PageConnection can be cast to List<Page>
.
◆ PageConnection()
Shopify.Unity.PageConnection.PageConnection |
( |
Dictionary< string, object > |
dataJSON | ) |
|
|
inline |
Accepts deserialized json data. Will further parse passed in data.
- Parameters
-
◆ AddFromConnection()
void Shopify.Unity.PageConnection.AddFromConnection |
( |
PageConnection |
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
-
◆ edges()
List<PageEdge> Shopify.Unity.PageConnection.edges |
( |
| ) |
|
|
inline |
◆ operator List< Page >()
◆ pageInfo()
PageInfo Shopify.Unity.PageConnection.pageInfo |
( |
| ) |
|
|
inline |
Information to aid in pagination.
The documentation for this class was generated from the following file:
- Assets/Shopify/Unity/Generated/PageConnection.cs