Shopify SDK for Unity
Public Member Functions | List of all members
Shopify.Unity.GraphQL.BlogQuery Class Reference

An online store blog. More...

Public Member Functions

 BlogQuery (StringBuilder query)
 BlogQuery is used to build queries. Typically BlogQuery will not be used directly but instead will be used when building queries from either QueryRootQuery or MutationQuery. More...
 
BlogQuery articleByHandle (ArticleDelegate buildQuery, string handle, string alias=null)
 Find an article by its handle. More...
 
BlogQuery articles (ArticleConnectionDelegate buildQuery, long? first=null, string after=null, long? last=null, string before=null, bool? reverse=null, ArticleSortKeys? sortKey=null, string queryValue=null, string alias=null)
 List of the blog's articles. More...
 
BlogQuery authors (ArticleAuthorDelegate buildQuery)
 The authors who have contributed to the blog. More...
 
BlogQuery handle ()
 A human-friendly unique string for the Blog automatically generated from its title. More...
 
BlogQuery id ()
 Globally unique identifier. More...
 
BlogQuery title ()
 The blogs’s title. More...
 
BlogQuery url ()
 The url pointing to the blog accessible from the web. More...
 

Detailed Description

An online store blog.

Constructor & Destructor Documentation

◆ BlogQuery()

Shopify.Unity.GraphQL.BlogQuery.BlogQuery ( StringBuilder  query)
inline

BlogQuery is used to build queries. Typically BlogQuery will not be used directly but instead will be used when building queries from either QueryRootQuery or MutationQuery.

Member Function Documentation

◆ articleByHandle()

BlogQuery Shopify.Unity.GraphQL.BlogQuery.articleByHandle ( ArticleDelegate  buildQuery,
string  handle,
string  alias = null 
)
inline

Find an article by its handle.

Parameters
handleThe handle of the article.

◆ articles()

BlogQuery Shopify.Unity.GraphQL.BlogQuery.articles ( ArticleConnectionDelegate  buildQuery,
long?  first = null,
string  after = null,
long?  last = null,
string  before = null,
bool?  reverse = null,
ArticleSortKeys sortKey = null,
string  queryValue = null,
string  alias = null 
)
inline

List of the blog's articles.

Parameters
firstReturns up to the first n elements from the list.
afterReturns the elements that come after the specified cursor.
lastReturns up to the last n elements from the list.
beforeReturns the elements that come before the specified cursor.
reverseReverse the order of the underlying list.
sortKeySort the underlying list by the given key.
querySupported filter parameters:
  • author
  • blog_title
  • created_at
  • tag
  • updated_at

See the detailed search syntax for more information about using filters.

◆ authors()

BlogQuery Shopify.Unity.GraphQL.BlogQuery.authors ( ArticleAuthorDelegate  buildQuery)
inline

The authors who have contributed to the blog.

◆ handle()

BlogQuery Shopify.Unity.GraphQL.BlogQuery.handle ( )
inline

A human-friendly unique string for the Blog automatically generated from its title.

◆ id()

BlogQuery Shopify.Unity.GraphQL.BlogQuery.id ( )
inline

Globally unique identifier.

◆ title()

BlogQuery Shopify.Unity.GraphQL.BlogQuery.title ( )
inline

The blogs’s title.

◆ url()

BlogQuery Shopify.Unity.GraphQL.BlogQuery.url ( )
inline

The url pointing to the blog accessible from the web.


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