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

An article in an online store blog. More...

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

Public Member Functions

 Article (Dictionary< string, object > dataJSON)
 Accepts deserialized json data. Will further parse passed in data. More...
 
ArticleAuthor author ()
 The article's author. More...
 
ArticleAuthor authorV2 ()
 The article's author. More...
 
Blog blog ()
 The blog that the article belongs to. More...
 
CommentConnection comments (string alias=null)
 List of comments posted on the article. More...
 
string content (string alias=null)
 Stripped content of the article, single line with HTML tags removed. More...
 
string contentHtml ()
 The content of the article, complete with HTML formatting. More...
 
string excerpt (string alias=null)
 Stripped excerpt of the article, single line with HTML tags removed. More...
 
string excerptHtml ()
 The excerpt of the article, complete with HTML formatting. More...
 
string handle ()
 A human-friendly unique string for the Article automatically generated from its title. More...
 
string id ()
 Globally unique identifier. More...
 
Image image (string alias=null)
 The image associated with the article. More...
 
DateTime? publishedAt ()
 The date and time when the article was published. More...
 
Seo seo ()
 The article’s SEO information. More...
 
List< string > tags ()
 A categorization that a article can be tagged with. More...
 
string title ()
 The article’s name. More...
 
string url ()
 The url pointing to the article accessible from the web. 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

An article in an online store blog.

Constructor & Destructor Documentation

◆ Article()

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

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

Parameters
dataJSONDeserialized JSON data for Article

Member Function Documentation

◆ author()

ArticleAuthor Shopify.Unity.Article.author ( )
inline

The article's author.

Deprecated:
Use authorV2 instead

◆ authorV2()

ArticleAuthor Shopify.Unity.Article.authorV2 ( )
inline

The article's author.

◆ blog()

Blog Shopify.Unity.Article.blog ( )
inline

The blog that the article belongs to.

◆ comments()

CommentConnection Shopify.Unity.Article.comments ( string  alias = null)
inline

List of comments posted on the article.

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

◆ content()

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

Stripped content of the article, 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.Article.contentHtml ( )
inline

The content of the article, complete with HTML formatting.

◆ excerpt()

string Shopify.Unity.Article.excerpt ( string  alias = null)
inline

Stripped excerpt of the article, single line with HTML tags removed.

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

◆ excerptHtml()

string Shopify.Unity.Article.excerptHtml ( )
inline

The excerpt of the article, complete with HTML formatting.

◆ handle()

string Shopify.Unity.Article.handle ( )
inline

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

◆ id()

string Shopify.Unity.Article.id ( )
inline

Globally unique identifier.

Implements Shopify.Unity.Node.

◆ image()

Image Shopify.Unity.Article.image ( string  alias = null)
inline

The image associated with the article.

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

◆ publishedAt()

DateTime? Shopify.Unity.Article.publishedAt ( )
inline

The date and time when the article was published.

◆ seo()

Seo Shopify.Unity.Article.seo ( )
inline

The article’s SEO information.

◆ tags()

List<string> Shopify.Unity.Article.tags ( )
inline

A categorization that a article can be tagged with.

◆ title()

string Shopify.Unity.Article.title ( )
inline

The article’s name.

◆ url()

string Shopify.Unity.Article.url ( )
inline

The url pointing to the article accessible from the web.


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