Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Operations.List_plan_add_ons
Description
Contains the different functions to run the operation list_plan_add_ons
Synopsis
- list_plan_add_ons :: forall m. MonadHTTP m => List_plan_add_onsParameters -> ClientT m (Response List_plan_add_onsResponse)
- data List_plan_add_onsParameters = List_plan_add_onsParameters {
- list_plan_add_onsParametersPathPlan_id :: Text
- list_plan_add_onsParametersQueryBegin_time :: Maybe JsonDateTime
- list_plan_add_onsParametersQueryEnd_time :: Maybe JsonDateTime
- list_plan_add_onsParametersQueryIds :: Maybe [Text]
- list_plan_add_onsParametersQueryLimit :: Maybe Int
- list_plan_add_onsParametersQueryOrder :: Maybe List_plan_add_onsParametersQueryOrder
- list_plan_add_onsParametersQuerySort :: Maybe List_plan_add_onsParametersQuerySort
- list_plan_add_onsParametersQueryState :: Maybe List_plan_add_onsParametersQueryState
- mkList_plan_add_onsParameters :: Text -> List_plan_add_onsParameters
- data List_plan_add_onsParametersQueryOrder
- data List_plan_add_onsParametersQuerySort
- data List_plan_add_onsParametersQueryState
- data List_plan_add_onsResponse
- list_plan_add_onsWithConfiguration :: forall m. MonadHTTP m => Configuration -> List_plan_add_onsParameters -> m (Response List_plan_add_onsResponse)
- list_plan_add_onsRaw :: forall m. MonadHTTP m => List_plan_add_onsParameters -> ClientT m (Response ByteString)
- list_plan_add_onsWithConfigurationRaw :: forall m. MonadHTTP m => Configuration -> List_plan_add_onsParameters -> m (Response ByteString)
Documentation
Arguments
:: forall m. MonadHTTP m | |
=> List_plan_add_onsParameters | Contains all available parameters of this operation (query and path parameters) |
-> ClientT m (Response List_plan_add_onsResponse) | Monadic computation which returns the result of the operation |
GET /plans/{plan_id}/add_ons
See the Pagination Guide to learn how to use pagination in the API and Client Libraries.
data List_plan_add_onsParameters Source #
Defines the object schema located at paths./plans/{plan_id}/add_ons.GET.parameters
in the specification.
Constructors
List_plan_add_onsParameters | |
Fields
|
Instances
mkList_plan_add_onsParameters Source #
Create a new List_plan_add_onsParameters
with all required fields.
data List_plan_add_onsParametersQueryOrder Source #
Defines the enum schema located at paths./plans/{plan_id}/add_ons.GET.parameters.properties.queryOrder
in the specification.
Represents the parameter named 'order'
Sort order.
Constructors
List_plan_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_plan_add_onsParametersQueryOrderTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
List_plan_add_onsParametersQueryOrderEnumAsc | Represents the JSON value |
List_plan_add_onsParametersQueryOrderEnumDesc | Represents the JSON value |
Instances
data List_plan_add_onsParametersQuerySort Source #
Defines the enum schema located at paths./plans/{plan_id}/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.
Constructors
List_plan_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_plan_add_onsParametersQuerySortTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
List_plan_add_onsParametersQuerySortEnumCreated_at | Represents the JSON value |
List_plan_add_onsParametersQuerySortEnumUpdated_at | Represents the JSON value |
Instances
data List_plan_add_onsParametersQueryState Source #
Defines the enum schema located at paths./plans/{plan_id}/add_ons.GET.parameters.properties.queryState
in the specification.
Represents the parameter named 'state'
Filter by state.
Constructors
List_plan_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_plan_add_onsParametersQueryStateTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
List_plan_add_onsParametersQueryStateEnumActive | Represents the JSON value |
List_plan_add_onsParametersQueryStateEnumInactive | Represents the JSON value |
Instances
data List_plan_add_onsResponse Source #
Represents a response of the operation list_plan_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_plan_add_onsResponseError
is used.
Constructors
List_plan_add_onsResponseError String | Means either no matching case available or a parse error |
List_plan_add_onsResponse200 AddOnList | A list of add-ons. |
List_plan_add_onsResponse400 Error | Invalid or unpermitted parameter. |
List_plan_add_onsResponse404 Error | Incorrect site or plan ID. |
List_plan_add_onsResponseDefault Error | Unexpected error. |
Instances
Show List_plan_add_onsResponse Source # | |
Defined in RecurlyClient.Operations.List_plan_add_ons Methods showsPrec :: Int -> List_plan_add_onsResponse -> ShowS # show :: List_plan_add_onsResponse -> String # showList :: [List_plan_add_onsResponse] -> ShowS # | |
Eq List_plan_add_onsResponse Source # | |
Defined in RecurlyClient.Operations.List_plan_add_ons Methods (==) :: List_plan_add_onsResponse -> List_plan_add_onsResponse -> Bool # (/=) :: List_plan_add_onsResponse -> List_plan_add_onsResponse -> Bool # |
list_plan_add_onsWithConfiguration Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> List_plan_add_onsParameters | Contains all available parameters of this operation (query and path parameters) |
-> m (Response List_plan_add_onsResponse) | Monadic computation which returns the result of the operation |
GET /plans/{plan_id}/add_ons
The same as list_plan_add_ons
but accepts an explicit configuration.
Arguments
:: forall m. MonadHTTP m | |
=> List_plan_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 /plans/{plan_id}/add_ons
The same as list_plan_add_ons
but returns the raw ByteString
.
list_plan_add_onsWithConfigurationRaw Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> List_plan_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 /plans/{plan_id}/add_ons
The same as list_plan_add_ons
but accepts an explicit configuration and returns the raw ByteString
.