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

A comment on an article. More...

Public Member Functions

 CommentQuery (StringBuilder query)
 CommentQuery is used to build queries. Typically CommentQuery will not be used directly but instead will be used when building queries from either QueryRootQuery or MutationQuery. More...
 
CommentQuery author (CommentAuthorDelegate buildQuery)
 The comment’s author. More...
 
CommentQuery content (long? truncateAt=null, string alias=null)
 Stripped content of the comment, single line with HTML tags removed. More...
 
CommentQuery contentHtml ()
 The content of the comment, complete with HTML formatting. More...
 
CommentQuery id ()
 Globally unique identifier. More...
 

Detailed Description

A comment on an article.

Constructor & Destructor Documentation

◆ CommentQuery()

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

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

Member Function Documentation

◆ author()

CommentQuery Shopify.Unity.GraphQL.CommentQuery.author ( CommentAuthorDelegate  buildQuery)
inline

The comment’s author.

◆ content()

CommentQuery Shopify.Unity.GraphQL.CommentQuery.content ( long?  truncateAt = null,
string  alias = null 
)
inline

Stripped content of the comment, single line with HTML tags removed.

Parameters
truncateAtTruncates string after the given length.

◆ contentHtml()

CommentQuery Shopify.Unity.GraphQL.CommentQuery.contentHtml ( )
inline

The content of the comment, complete with HTML formatting.

◆ id()

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

Globally unique identifier.


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