Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Operations.List_entitlements
Description
Contains the different functions to run the operation list_entitlements
Synopsis
- list_entitlements :: forall m. MonadHTTP m => ClientT m (Response List_entitlementsResponse)
- data List_entitlementsResponse
- list_entitlementsWithConfiguration :: forall m. MonadHTTP m => Configuration -> m (Response List_entitlementsResponse)
- list_entitlementsRaw :: forall m. MonadHTTP m => ClientT m (Response ByteString)
- list_entitlementsWithConfigurationRaw :: forall m. MonadHTTP m => Configuration -> m (Response ByteString)
Documentation
Arguments
:: forall m. MonadHTTP m | |
=> ClientT m (Response List_entitlementsResponse) | Monadic computation which returns the result of the operation |
GET /accounts/{account_id}/entitlements
List entitlements granted to an account
data List_entitlementsResponse Source #
Represents a response of the operation list_entitlements
.
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_entitlementsResponseError
is used.
Constructors
List_entitlementsResponseError String | Means either no matching case available or a parse error |
List_entitlementsResponse200 Entitlements | A list of the entitlements granted to an account. |
List_entitlementsResponse404 Error | Incorrect site or account ID. |
List_entitlementsResponseDefault Error | Unexpected error. |
Instances
Show List_entitlementsResponse Source # | |
Defined in RecurlyClient.Operations.List_entitlements Methods showsPrec :: Int -> List_entitlementsResponse -> ShowS # show :: List_entitlementsResponse -> String # showList :: [List_entitlementsResponse] -> ShowS # | |
Eq List_entitlementsResponse Source # | |
Defined in RecurlyClient.Operations.List_entitlements Methods (==) :: List_entitlementsResponse -> List_entitlementsResponse -> Bool # (/=) :: List_entitlementsResponse -> List_entitlementsResponse -> Bool # |
list_entitlementsWithConfiguration Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> m (Response List_entitlementsResponse) | Monadic computation which returns the result of the operation |
GET /accounts/{account_id}/entitlements
The same as list_entitlements
but accepts an explicit configuration.
Arguments
:: forall m. MonadHTTP m | |
=> ClientT m (Response ByteString) | Monadic computation which returns the result of the operation |
GET /accounts/{account_id}/entitlements
The same as list_entitlements
but returns the raw ByteString
.
list_entitlementsWithConfigurationRaw Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> m (Response ByteString) | Monadic computation which returns the result of the operation |
GET /accounts/{account_id}/entitlements
The same as list_entitlements
but accepts an explicit configuration and returns the raw ByteString
.