| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
RecurlyClient.Operations.Update_plan_add_on
Description
Contains the different functions to run the operation update_plan_add_on
Synopsis
- update_plan_add_on :: forall m. MonadHTTP m => Update_plan_add_onParameters -> AddOnUpdate -> ClientT m (Response Update_plan_add_onResponse)
- data Update_plan_add_onParameters = Update_plan_add_onParameters {}
- mkUpdate_plan_add_onParameters :: Text -> Text -> Update_plan_add_onParameters
- data Update_plan_add_onResponse
- update_plan_add_onWithConfiguration :: forall m. MonadHTTP m => Configuration -> Update_plan_add_onParameters -> AddOnUpdate -> m (Response Update_plan_add_onResponse)
- update_plan_add_onRaw :: forall m. MonadHTTP m => Update_plan_add_onParameters -> AddOnUpdate -> ClientT m (Response ByteString)
- update_plan_add_onWithConfigurationRaw :: forall m. MonadHTTP m => Configuration -> Update_plan_add_onParameters -> AddOnUpdate -> m (Response ByteString)
Documentation
Arguments
| :: forall m. MonadHTTP m | |
| => Update_plan_add_onParameters | Contains all available parameters of this operation (query and path parameters) |
| -> AddOnUpdate | The request body to send |
| -> ClientT m (Response Update_plan_add_onResponse) | Monadic computation which returns the result of the operation |
PUT /plans/{plan_id}/add_ons/{add_on_id}Update an add-on
data Update_plan_add_onParameters Source #
Defines the object schema located at paths./plans/{plan_id}/add_ons/{add_on_id}.PUT.parameters in the specification.
Constructors
| Update_plan_add_onParameters | |
Fields
| |
Instances
mkUpdate_plan_add_onParameters Source #
Arguments
| :: Text | |
| -> Text | |
| -> Update_plan_add_onParameters |
Create a new Update_plan_add_onParameters with all required fields.
data Update_plan_add_onResponse Source #
Represents a response of the operation update_plan_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), Update_plan_add_onResponseError is used.
Constructors
| Update_plan_add_onResponseError String | Means either no matching case available or a parse error |
| Update_plan_add_onResponse201 AddOn | An add-on. |
| Update_plan_add_onResponse404 Error | Incorrect site, plan, or add-on ID. |
| Update_plan_add_onResponse422 Error | A validation error such as 'Code has already been taken.' |
| Update_plan_add_onResponseDefault Error | Unexpected error. |
Instances
| Show Update_plan_add_onResponse Source # | |
Defined in RecurlyClient.Operations.Update_plan_add_on Methods showsPrec :: Int -> Update_plan_add_onResponse -> ShowS # show :: Update_plan_add_onResponse -> String # showList :: [Update_plan_add_onResponse] -> ShowS # | |
| Eq Update_plan_add_onResponse Source # | |
Defined in RecurlyClient.Operations.Update_plan_add_on Methods (==) :: Update_plan_add_onResponse -> Update_plan_add_onResponse -> Bool # (/=) :: Update_plan_add_onResponse -> Update_plan_add_onResponse -> Bool # | |
update_plan_add_onWithConfiguration Source #
Arguments
| :: forall m. MonadHTTP m | |
| => Configuration | The configuration to use in the request |
| -> Update_plan_add_onParameters | Contains all available parameters of this operation (query and path parameters) |
| -> AddOnUpdate | The request body to send |
| -> m (Response Update_plan_add_onResponse) | Monadic computation which returns the result of the operation |
PUT /plans/{plan_id}/add_ons/{add_on_id}The same as update_plan_add_on but accepts an explicit configuration.
update_plan_add_onRaw Source #
Arguments
| :: forall m. MonadHTTP m | |
| => Update_plan_add_onParameters | Contains all available parameters of this operation (query and path parameters) |
| -> AddOnUpdate | The request body to send |
| -> ClientT m (Response ByteString) | Monadic computation which returns the result of the operation |
PUT /plans/{plan_id}/add_ons/{add_on_id}The same as update_plan_add_on but returns the raw ByteString.
update_plan_add_onWithConfigurationRaw Source #
Arguments
| :: forall m. MonadHTTP m | |
| => Configuration | The configuration to use in the request |
| -> Update_plan_add_onParameters | Contains all available parameters of this operation (query and path parameters) |
| -> AddOnUpdate | The request body to send |
| -> m (Response ByteString) | Monadic computation which returns the result of the operation |
PUT /plans/{plan_id}/add_ons/{add_on_id}The same as update_plan_add_on but accepts an explicit configuration and returns the raw ByteString.