module Text.HTML5.MetaData.Schema.TradeAction where
import Text.HTML5.MetaData.Class
import Text.HTML5.MetaData.Type
import Data.Text
import Data.Typeable
import qualified Text.HTML5.MetaData.Schema.Thing
import qualified Text.HTML5.MetaData.Schema.Action
import qualified Text.HTML5.MetaData.Schema.BuyAction
import qualified Text.HTML5.MetaData.Schema.DonateAction
import qualified Text.HTML5.MetaData.Schema.OrderAction
import qualified Text.HTML5.MetaData.Schema.PayAction
import qualified Text.HTML5.MetaData.Schema.QuoteAction
import qualified Text.HTML5.MetaData.Schema.RentAction
import qualified Text.HTML5.MetaData.Schema.SellAction
import qualified Text.HTML5.MetaData.Schema.TipAction
data TradeAction = TradeAction { additionalType :: AdditionalType
, alternateName :: AlternateName
, description :: Description
, image :: Image
, name :: Name
, sameAs :: SameAs
, url :: Url
, agent :: Agent
, endTime :: EndTime
, instrument :: Instrument
, location :: Location
, object :: Object
, participant :: Participant
, result :: Result
, startTime :: StartTime
, price :: Price
}
deriving (Show, Read, Eq, Typeable)
instance MetaData TradeAction where
_label = const "Trade Action"
_comment_plain = const ""
_comment = const ""
_url = const "http://schema.org/TradeAction"
_ancestors = const [typeOf (undefined :: Text.HTML5.MetaData.Schema.Thing.Thing)
,typeOf (undefined :: Text.HTML5.MetaData.Schema.Action.Action)]
_subtypes = const [typeOf (undefined :: Text.HTML5.MetaData.Schema.BuyAction.BuyAction)
,typeOf (undefined :: Text.HTML5.MetaData.Schema.DonateAction.DonateAction)
,typeOf (undefined :: Text.HTML5.MetaData.Schema.OrderAction.OrderAction)
,typeOf (undefined :: Text.HTML5.MetaData.Schema.PayAction.PayAction)
,typeOf (undefined :: Text.HTML5.MetaData.Schema.QuoteAction.QuoteAction)
,typeOf (undefined :: Text.HTML5.MetaData.Schema.RentAction.RentAction)
,typeOf (undefined :: Text.HTML5.MetaData.Schema.SellAction.SellAction)
,typeOf (undefined :: Text.HTML5.MetaData.Schema.TipAction.TipAction)]
_supertypes = const [typeOf (undefined :: Text.HTML5.MetaData.Schema.Action.Action)]