Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Types.Site
Description
Contains the types generated from the schema Site
Synopsis
- data Site = Site {
- siteAddress :: Maybe Address
- siteCreated_at :: Maybe JsonDateTime
- siteDeleted_at :: Maybe JsonDateTime
- siteFeatures :: Maybe [SiteFeatures]
- siteId :: Maybe Text
- siteMode :: Maybe SiteMode
- siteObject :: Maybe Text
- sitePublic_api_key :: Maybe Text
- siteSettings :: Maybe Settings
- siteSubdomain :: Maybe Text
- siteUpdated_at :: Maybe JsonDateTime
- mkSite :: Site
- data SiteFeatures
- data SiteMode
Documentation
Defines the object schema located at components.schemas.Site
in the specification.
Constructors
Site | |
Fields
|
data SiteFeatures Source #
Defines the enum schema located at components.schemas.Site.properties.features.items
in the specification.
Constructors
SiteFeaturesOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
SiteFeaturesTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
SiteFeaturesEnumCredit_memos | Represents the JSON value |
SiteFeaturesEnumManual_invoicing | Represents the JSON value |
SiteFeaturesEnumOnly_bill_what_changed | Represents the JSON value |
SiteFeaturesEnumSubscription_terms | Represents the JSON value |
Instances
FromJSON SiteFeatures Source # | |
Defined in RecurlyClient.Types.Site | |
ToJSON SiteFeatures Source # | |
Defined in RecurlyClient.Types.Site Methods toJSON :: SiteFeatures -> Value # toEncoding :: SiteFeatures -> Encoding # toJSONList :: [SiteFeatures] -> Value # toEncodingList :: [SiteFeatures] -> Encoding # | |
Show SiteFeatures Source # | |
Defined in RecurlyClient.Types.Site Methods showsPrec :: Int -> SiteFeatures -> ShowS # show :: SiteFeatures -> String # showList :: [SiteFeatures] -> ShowS # | |
Eq SiteFeatures Source # | |
Defined in RecurlyClient.Types.Site |
Defines the enum schema located at components.schemas.Site.properties.mode
in the specification.
Constructors
SiteModeOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
SiteModeTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
SiteModeEnumDevelopment | Represents the JSON value |
SiteModeEnumProduction | Represents the JSON value |
SiteModeEnumSandbox | Represents the JSON value |