Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Operations.Get_add_on
Description
Contains the different functions to run the operation get_add_on
Synopsis
- get_add_on :: forall m. MonadHTTP m => Text -> ClientT m (Response Get_add_onResponse)
- data Get_add_onResponse
- get_add_onWithConfiguration :: forall m. MonadHTTP m => Configuration -> Text -> m (Response Get_add_onResponse)
- get_add_onRaw :: forall m. MonadHTTP m => Text -> ClientT m (Response ByteString)
- get_add_onWithConfigurationRaw :: forall m. MonadHTTP m => Configuration -> Text -> m (Response ByteString)
Documentation
Arguments
:: forall m. MonadHTTP m | |
=> Text | add_on_id: Add-on ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-gold`. |
-> ClientT m (Response Get_add_onResponse) | Monadic computation which returns the result of the operation |
GET /add_ons/{add_on_id}
Fetch an add-on
data Get_add_onResponse Source #
Represents a response of the operation get_add_on
.
The response constructor is chosen by the status code of the response. If no case matches (no specific case for the response code, no range case, no default case), Get_add_onResponseError
is used.
Constructors
Get_add_onResponseError String | Means either no matching case available or a parse error |
Get_add_onResponse200 AddOn | An add-on. |
Get_add_onResponse404 Error | Incorrect site or add-on ID. |
Get_add_onResponseDefault Error | Unexpected error. |
Instances
Show Get_add_onResponse Source # | |
Defined in RecurlyClient.Operations.Get_add_on Methods showsPrec :: Int -> Get_add_onResponse -> ShowS # show :: Get_add_onResponse -> String # showList :: [Get_add_onResponse] -> ShowS # | |
Eq Get_add_onResponse Source # | |
Defined in RecurlyClient.Operations.Get_add_on Methods (==) :: Get_add_onResponse -> Get_add_onResponse -> Bool # (/=) :: Get_add_onResponse -> Get_add_onResponse -> Bool # |
get_add_onWithConfiguration Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> Text | add_on_id: Add-on ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-gold`. |
-> m (Response Get_add_onResponse) | Monadic computation which returns the result of the operation |
GET /add_ons/{add_on_id}
The same as get_add_on
but accepts an explicit configuration.
Arguments
:: forall m. MonadHTTP m | |
=> Text | add_on_id: Add-on ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-gold`. |
-> ClientT m (Response ByteString) | Monadic computation which returns the result of the operation |
GET /add_ons/{add_on_id}
The same as get_add_on
but returns the raw ByteString
.
get_add_onWithConfigurationRaw Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> Text | add_on_id: Add-on ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-gold`. |
-> m (Response ByteString) | Monadic computation which returns the result of the operation |
GET /add_ons/{add_on_id}
The same as get_add_on
but accepts an explicit configuration and returns the raw ByteString
.