Media object represents a media item, like image or video, related to a Product.

Constructor

new()

Variables

thumbnail:String

URL for image or video thumbnail to our Azure media storage.

type:String

Inner media type. One of: image, video.

url:String

Video URL.

Inherited Variables

Defined by IdModel

id:String

Id of the model.

Inherited Methods

Defined by Model

toObject():Dynamic

Returns:

A Haxe dynamic object with a shallow copy of this model's properties.

toString():String

Returns:

A String with the JSON representation of this Model.