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

Represents a Shopify hosted image. More...

Inheritance diagram for Shopify.Unity.MediaImage:
Shopify.Unity.SDK.AbstractResponse Shopify.Unity.Media Shopify.Unity.Node

Public Member Functions

 MediaImage (Dictionary< string, object > dataJSON)
 Accepts deserialized json data. Will further parse passed in data. More...
 
string alt ()
 A word or phrase to share the nature or contents of a media. More...
 
string id ()
 Globally unique identifier. More...
 
Image image ()
 The image for the media. More...
 
MediaContentType mediaContentType ()
 The media content type. More...
 
Image previewImage ()
 The preview image for the media. 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

Represents a Shopify hosted image.

Constructor & Destructor Documentation

◆ MediaImage()

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

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

Parameters
dataJSONDeserialized JSON data for MediaImage

Member Function Documentation

◆ alt()

string Shopify.Unity.MediaImage.alt ( )
inline

A word or phrase to share the nature or contents of a media.

Implements Shopify.Unity.Media.

◆ id()

string Shopify.Unity.MediaImage.id ( )
inline

Globally unique identifier.

Implements Shopify.Unity.Node.

◆ image()

Image Shopify.Unity.MediaImage.image ( )
inline

The image for the media.

◆ mediaContentType()

MediaContentType Shopify.Unity.MediaImage.mediaContentType ( )
inline

The media content type.

Implements Shopify.Unity.Media.

◆ previewImage()

Image Shopify.Unity.MediaImage.previewImage ( )
inline

The preview image for the media.

Implements Shopify.Unity.Media.


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