Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Operations.List_custom_field_definitions
Description
Contains the different functions to run the operation list_custom_field_definitions
Synopsis
- list_custom_field_definitions :: forall m. MonadHTTP m => List_custom_field_definitionsParameters -> ClientT m (Response List_custom_field_definitionsResponse)
- data List_custom_field_definitionsParameters = List_custom_field_definitionsParameters {
- list_custom_field_definitionsParametersQueryBegin_time :: Maybe JsonDateTime
- list_custom_field_definitionsParametersQueryEnd_time :: Maybe JsonDateTime
- list_custom_field_definitionsParametersQueryIds :: Maybe [Text]
- list_custom_field_definitionsParametersQueryLimit :: Maybe Int
- list_custom_field_definitionsParametersQueryOrder :: Maybe List_custom_field_definitionsParametersQueryOrder
- list_custom_field_definitionsParametersQueryRelated_type :: Maybe List_custom_field_definitionsParametersQueryRelated_type
- list_custom_field_definitionsParametersQuerySort :: Maybe List_custom_field_definitionsParametersQuerySort
- mkList_custom_field_definitionsParameters :: List_custom_field_definitionsParameters
- data List_custom_field_definitionsParametersQueryOrder
- data List_custom_field_definitionsParametersQueryRelated_type
- = List_custom_field_definitionsParametersQueryRelated_typeOther Value
- | List_custom_field_definitionsParametersQueryRelated_typeTyped Text
- | List_custom_field_definitionsParametersQueryRelated_typeEnumAccount
- | List_custom_field_definitionsParametersQueryRelated_typeEnumItem
- | List_custom_field_definitionsParametersQueryRelated_typeEnumPlan
- | List_custom_field_definitionsParametersQueryRelated_typeEnumSubscription
- | List_custom_field_definitionsParametersQueryRelated_typeEnumCharge
- data List_custom_field_definitionsParametersQuerySort
- data List_custom_field_definitionsResponse
- list_custom_field_definitionsWithConfiguration :: forall m. MonadHTTP m => Configuration -> List_custom_field_definitionsParameters -> m (Response List_custom_field_definitionsResponse)
- list_custom_field_definitionsRaw :: forall m. MonadHTTP m => List_custom_field_definitionsParameters -> ClientT m (Response ByteString)
- list_custom_field_definitionsWithConfigurationRaw :: forall m. MonadHTTP m => Configuration -> List_custom_field_definitionsParameters -> m (Response ByteString)
Documentation
list_custom_field_definitions Source #
Arguments
:: forall m. MonadHTTP m | |
=> List_custom_field_definitionsParameters | Contains all available parameters of this operation (query and path parameters) |
-> ClientT m (Response List_custom_field_definitionsResponse) | Monadic computation which returns the result of the operation |
GET /custom_field_definitions
See the Pagination Guide to learn how to use pagination in the API and Client Libraries.
data List_custom_field_definitionsParameters Source #
Defines the object schema located at paths./custom_field_definitions.GET.parameters
in the specification.
Constructors
List_custom_field_definitionsParameters | |
Fields
|
mkList_custom_field_definitionsParameters :: List_custom_field_definitionsParameters Source #
Create a new List_custom_field_definitionsParameters
with all required fields.
data List_custom_field_definitionsParametersQueryOrder Source #
Defines the enum schema located at paths./custom_field_definitions.GET.parameters.properties.queryOrder
in the specification.
Represents the parameter named 'order'
Sort order.
Constructors
List_custom_field_definitionsParametersQueryOrderOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
List_custom_field_definitionsParametersQueryOrderTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
List_custom_field_definitionsParametersQueryOrderEnumAsc | Represents the JSON value |
List_custom_field_definitionsParametersQueryOrderEnumDesc | Represents the JSON value |
Instances
data List_custom_field_definitionsParametersQueryRelated_type Source #
Defines the enum schema located at paths./custom_field_definitions.GET.parameters.properties.queryRelated_type
in the specification.
Represents the parameter named 'related_type'
Filter by related type.
Constructors
List_custom_field_definitionsParametersQueryRelated_typeOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
List_custom_field_definitionsParametersQueryRelated_typeTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
List_custom_field_definitionsParametersQueryRelated_typeEnumAccount | Represents the JSON value |
List_custom_field_definitionsParametersQueryRelated_typeEnumItem | Represents the JSON value |
List_custom_field_definitionsParametersQueryRelated_typeEnumPlan | Represents the JSON value |
List_custom_field_definitionsParametersQueryRelated_typeEnumSubscription | Represents the JSON value |
List_custom_field_definitionsParametersQueryRelated_typeEnumCharge | Represents the JSON value |
Instances
data List_custom_field_definitionsParametersQuerySort Source #
Defines the enum schema located at paths./custom_field_definitions.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_custom_field_definitionsParametersQuerySortOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
List_custom_field_definitionsParametersQuerySortTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
List_custom_field_definitionsParametersQuerySortEnumCreated_at | Represents the JSON value |
List_custom_field_definitionsParametersQuerySortEnumUpdated_at | Represents the JSON value |
Instances
data List_custom_field_definitionsResponse Source #
Represents a response of the operation list_custom_field_definitions
.
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_custom_field_definitionsResponseError
is used.
Constructors
List_custom_field_definitionsResponseError String | Means either no matching case available or a parse error |
List_custom_field_definitionsResponse200 CustomFieldDefinitionList | A list of the site's custom field definitions. |
List_custom_field_definitionsResponse400 Error | Invalid or unpermitted parameter. |
List_custom_field_definitionsResponse404 Error | Incorrect site ID. |
List_custom_field_definitionsResponseDefault Error | Unexpected error. |
Instances
list_custom_field_definitionsWithConfiguration Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> List_custom_field_definitionsParameters | Contains all available parameters of this operation (query and path parameters) |
-> m (Response List_custom_field_definitionsResponse) | Monadic computation which returns the result of the operation |
GET /custom_field_definitions
The same as list_custom_field_definitions
but accepts an explicit configuration.
list_custom_field_definitionsRaw Source #
Arguments
:: forall m. MonadHTTP m | |
=> List_custom_field_definitionsParameters | 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 /custom_field_definitions
The same as list_custom_field_definitions
but returns the raw ByteString
.
list_custom_field_definitionsWithConfigurationRaw Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> List_custom_field_definitionsParameters | Contains all available parameters of this operation (query and path parameters) |
-> m (Response ByteString) | Monadic computation which returns the result of the operation |
GET /custom_field_definitions
The same as list_custom_field_definitions
but accepts an explicit configuration and returns the raw ByteString
.