Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation list_add_ons
Synopsis
- list_add_ons :: forall m. MonadHTTP m => List_add_onsParameters -> ClientT m (Response List_add_onsResponse)
- data List_add_onsParameters = List_add_onsParameters {
- list_add_onsParametersQueryBegin_time :: Maybe JsonDateTime
- list_add_onsParametersQueryEnd_time :: Maybe JsonDateTime
- list_add_onsParametersQueryIds :: Maybe [Text]
- list_add_onsParametersQueryLimit :: Maybe Int
- list_add_onsParametersQueryOrder :: Maybe List_add_onsParametersQueryOrder
- list_add_onsParametersQuerySort :: Maybe List_add_onsParametersQuerySort
- list_add_onsParametersQueryState :: Maybe List_add_onsParametersQueryState
- mkList_add_onsParameters :: List_add_onsParameters
- data List_add_onsParametersQueryOrder
- data List_add_onsParametersQuerySort
- data List_add_onsParametersQueryState
- data List_add_onsResponse
- list_add_onsWithConfiguration :: forall m. MonadHTTP m => Configuration -> List_add_onsParameters -> m (Response List_add_onsResponse)
- list_add_onsRaw :: forall m. MonadHTTP m => List_add_onsParameters -> ClientT m (Response ByteString)
- list_add_onsWithConfigurationRaw :: forall m. MonadHTTP m => Configuration -> List_add_onsParameters -> m (Response ByteString)
Documentation
:: forall m. MonadHTTP m | |
=> List_add_onsParameters | Contains all available parameters of this operation (query and path parameters) |
-> ClientT m (Response List_add_onsResponse) | Monadic computation which returns the result of the operation |
GET /add_ons
See the Pagination Guide to learn how to use pagination in the API and Client Libraries.
data List_add_onsParameters Source #
Defines the object schema located at paths./add_ons.GET.parameters
in the specification.
List_add_onsParameters | |
|
Instances
FromJSON List_add_onsParameters Source # | |
Defined in RecurlyClient.Operations.List_add_ons | |
ToJSON List_add_onsParameters Source # | |
Defined in RecurlyClient.Operations.List_add_ons toJSON :: List_add_onsParameters -> Value # toEncoding :: List_add_onsParameters -> Encoding # toJSONList :: [List_add_onsParameters] -> Value # | |
Show List_add_onsParameters Source # | |
Defined in RecurlyClient.Operations.List_add_ons showsPrec :: Int -> List_add_onsParameters -> ShowS # show :: List_add_onsParameters -> String # showList :: [List_add_onsParameters] -> ShowS # | |
Eq List_add_onsParameters Source # | |
Defined in RecurlyClient.Operations.List_add_ons |
mkList_add_onsParameters :: List_add_onsParameters Source #
Create a new List_add_onsParameters
with all required fields.
data List_add_onsParametersQueryOrder Source #
Defines the enum schema located at paths./add_ons.GET.parameters.properties.queryOrder
in the specification.
Represents the parameter named 'order'
Sort order.
List_add_onsParametersQueryOrderOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
List_add_onsParametersQueryOrderTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
List_add_onsParametersQueryOrderEnumAsc | Represents the JSON value |
List_add_onsParametersQueryOrderEnumDesc | Represents the JSON value |
data List_add_onsParametersQuerySort Source #
Defines the enum schema located at paths./add_ons.GET.parameters.properties.querySort
in the specification.
Represents the parameter named 'sort'
Sort field. You *really* only want to sort by `updated_at` in ascending order. In descending order updated records will move behind the cursor and could prevent some records from being returned.
List_add_onsParametersQuerySortOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
List_add_onsParametersQuerySortTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
List_add_onsParametersQuerySortEnumCreated_at | Represents the JSON value |
List_add_onsParametersQuerySortEnumUpdated_at | Represents the JSON value |
data List_add_onsParametersQueryState Source #
Defines the enum schema located at paths./add_ons.GET.parameters.properties.queryState
in the specification.
Represents the parameter named 'state'
Filter by state.
List_add_onsParametersQueryStateOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
List_add_onsParametersQueryStateTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
List_add_onsParametersQueryStateEnumActive | Represents the JSON value |
List_add_onsParametersQueryStateEnumInactive | Represents the JSON value |
data List_add_onsResponse Source #
Represents a response of the operation list_add_ons
.
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), List_add_onsResponseError
is used.
List_add_onsResponseError String | Means either no matching case available or a parse error |
List_add_onsResponse200 AddOnList | A list of add-ons. |
List_add_onsResponse400 Error | Invalid or unpermitted parameter. |
List_add_onsResponse404 Error | Incorrect site or add-on ID. |
List_add_onsResponseDefault Error | Unexpected error. |
Instances
Show List_add_onsResponse Source # | |
Defined in RecurlyClient.Operations.List_add_ons showsPrec :: Int -> List_add_onsResponse -> ShowS # show :: List_add_onsResponse -> String # showList :: [List_add_onsResponse] -> ShowS # | |
Eq List_add_onsResponse Source # | |
Defined in RecurlyClient.Operations.List_add_ons (==) :: List_add_onsResponse -> List_add_onsResponse -> Bool # (/=) :: List_add_onsResponse -> List_add_onsResponse -> Bool # |
list_add_onsWithConfiguration Source #
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> List_add_onsParameters | Contains all available parameters of this operation (query and path parameters) |
-> m (Response List_add_onsResponse) | Monadic computation which returns the result of the operation |
GET /add_ons
The same as list_add_ons
but accepts an explicit configuration.
:: forall m. MonadHTTP m | |
=> List_add_onsParameters | Contains all available parameters of this operation (query and path parameters) |
-> ClientT m (Response ByteString) | Monadic computation which returns the result of the operation |
GET /add_ons
The same as list_add_ons
but returns the raw ByteString
.
list_add_onsWithConfigurationRaw Source #
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> List_add_onsParameters | Contains all available parameters of this operation (query and path parameters) |
-> m (Response ByteString) | Monadic computation which returns the result of the operation |
GET /add_ons
The same as list_add_ons
but accepts an explicit configuration and returns the raw ByteString
.