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

A comment on an article. More...

Inheritance diagram for Shopify.Unity.Comment:
Shopify.Unity.SDK.AbstractResponse Shopify.Unity.Node

Public Member Functions

 Comment (Dictionary< string, object > dataJSON)
 Accepts deserialized json data. Will further parse passed in data. More...
 
CommentAuthor author ()
 The comment’s author. More...
 
string content (string alias=null)
 Stripped content of the comment, single line with HTML tags removed. More...
 
string contentHtml ()
 The content of the comment, complete with HTML formatting. More...
 
string id ()
 Globally unique identifier. More...
 
object Clone ()
 

Additional Inherited Members

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

Detailed Description

A comment on an article.

Constructor & Destructor Documentation

◆ Comment()

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

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

Parameters
dataJSONDeserialized JSON data for Comment

Member Function Documentation

◆ author()

CommentAuthor Shopify.Unity.Comment.author ( )
inline

The comment’s author.

◆ content()

string Shopify.Unity.Comment.content ( string  alias = null)
inline

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

Parameters
aliasIf the original field queried was queried using an alias, then pass the matching string.

◆ contentHtml()

string Shopify.Unity.Comment.contentHtml ( )
inline

The content of the comment, complete with HTML formatting.

◆ id()

string Shopify.Unity.Comment.id ( )
inline

Globally unique identifier.

Implements Shopify.Unity.Node.


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