Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Contains the types generated from the schema CustomFieldDefinition
Synopsis
- data CustomFieldDefinition = CustomFieldDefinition {
- customFieldDefinitionCreated_at :: Maybe JsonDateTime
- customFieldDefinitionDeleted_at :: Maybe JsonDateTime
- customFieldDefinitionDisplay_name :: Maybe Text
- customFieldDefinitionId :: Maybe Text
- customFieldDefinitionName :: Maybe Text
- customFieldDefinitionObject :: Maybe Text
- customFieldDefinitionRelated_type :: Maybe CustomFieldDefinitionRelated_type
- customFieldDefinitionTooltip :: Maybe Text
- customFieldDefinitionUpdated_at :: Maybe JsonDateTime
- customFieldDefinitionUser_access :: Maybe CustomFieldDefinitionUser_access
- mkCustomFieldDefinition :: CustomFieldDefinition
- data CustomFieldDefinitionRelated_type
- = CustomFieldDefinitionRelated_typeOther Value
- | CustomFieldDefinitionRelated_typeTyped Text
- | CustomFieldDefinitionRelated_typeEnumAccount
- | CustomFieldDefinitionRelated_typeEnumItem
- | CustomFieldDefinitionRelated_typeEnumPlan
- | CustomFieldDefinitionRelated_typeEnumSubscription
- | CustomFieldDefinitionRelated_typeEnumCharge
- data CustomFieldDefinitionUser_access
Documentation
data CustomFieldDefinition Source #
Defines the object schema located at components.schemas.CustomFieldDefinition
in the specification.
CustomFieldDefinition | |
|
Instances
FromJSON CustomFieldDefinition Source # | |
Defined in RecurlyClient.Types.CustomFieldDefinition parseJSON :: Value -> Parser CustomFieldDefinition # parseJSONList :: Value -> Parser [CustomFieldDefinition] # | |
ToJSON CustomFieldDefinition Source # | |
Defined in RecurlyClient.Types.CustomFieldDefinition toJSON :: CustomFieldDefinition -> Value # toEncoding :: CustomFieldDefinition -> Encoding # toJSONList :: [CustomFieldDefinition] -> Value # toEncodingList :: [CustomFieldDefinition] -> Encoding # | |
Show CustomFieldDefinition Source # | |
Defined in RecurlyClient.Types.CustomFieldDefinition showsPrec :: Int -> CustomFieldDefinition -> ShowS # show :: CustomFieldDefinition -> String # showList :: [CustomFieldDefinition] -> ShowS # | |
Eq CustomFieldDefinition Source # | |
Defined in RecurlyClient.Types.CustomFieldDefinition (==) :: CustomFieldDefinition -> CustomFieldDefinition -> Bool # (/=) :: CustomFieldDefinition -> CustomFieldDefinition -> Bool # |
mkCustomFieldDefinition :: CustomFieldDefinition Source #
Create a new CustomFieldDefinition
with all required fields.
data CustomFieldDefinitionRelated_type Source #
Defines the enum schema located at components.schemas.CustomFieldDefinition.properties.related_type
in the specification.
CustomFieldDefinitionRelated_typeOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
CustomFieldDefinitionRelated_typeTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
CustomFieldDefinitionRelated_typeEnumAccount | Represents the JSON value |
CustomFieldDefinitionRelated_typeEnumItem | Represents the JSON value |
CustomFieldDefinitionRelated_typeEnumPlan | Represents the JSON value |
CustomFieldDefinitionRelated_typeEnumSubscription | Represents the JSON value |
CustomFieldDefinitionRelated_typeEnumCharge | Represents the JSON value |
data CustomFieldDefinitionUser_access Source #
Defines the enum schema located at components.schemas.CustomFieldDefinition.properties.user_access
in the specification.
The access control applied inside Recurly's admin UI: - `api_only` - No one will be able to view or edit this field's data via the admin UI. - `read_only` - Users with the Customers role will be able to view this field's data via the admin UI, but editing will only be available via the API. - `write` - Users with the Customers role will be able to view and edit this field's data via the admin UI. - `set_only` - Users with the Customers role will be able to set this field's data via the admin console.
CustomFieldDefinitionUser_accessOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
CustomFieldDefinitionUser_accessTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
CustomFieldDefinitionUser_accessEnumApi_only | Represents the JSON value |
CustomFieldDefinitionUser_accessEnumRead_only | Represents the JSON value |
CustomFieldDefinitionUser_accessEnumWrite | Represents the JSON value |
CustomFieldDefinitionUser_accessEnumSet_only | Represents the JSON value |