Hercules.API.Attribute
data AttributeType Source #
Constructors
Defined in Hercules.API.Attribute
Methods
(==) :: AttributeType -> AttributeType -> Bool #
(/=) :: AttributeType -> AttributeType -> Bool #
An arbitrary ordering
compare :: AttributeType -> AttributeType -> Ordering #
(<) :: AttributeType -> AttributeType -> Bool #
(<=) :: AttributeType -> AttributeType -> Bool #
(>) :: AttributeType -> AttributeType -> Bool #
(>=) :: AttributeType -> AttributeType -> Bool #
max :: AttributeType -> AttributeType -> AttributeType #
min :: AttributeType -> AttributeType -> AttributeType #
showsPrec :: Int -> AttributeType -> ShowS #
show :: AttributeType -> String #
showList :: [AttributeType] -> ShowS #
Associated Types
type Rep AttributeType :: Type -> Type #
from :: AttributeType -> Rep AttributeType x #
to :: Rep AttributeType x -> AttributeType #
toJSON :: AttributeType -> Value #
toEncoding :: AttributeType -> Encoding #
toJSONList :: [AttributeType] -> Value #
toEncodingList :: [AttributeType] -> Encoding #
parseJSON :: Value -> Parser AttributeType #
parseJSONList :: Value -> Parser [AttributeType] #
rnf :: AttributeType -> () #
declareNamedSchema :: Proxy AttributeType -> Declare (Definitions Schema) NamedSchema #
data Attribute a Source #
Fields
fmap :: (a -> b) -> Attribute a -> Attribute b #
(<$) :: a -> Attribute b -> Attribute a #
fold :: Monoid m => Attribute m -> m #
foldMap :: Monoid m => (a -> m) -> Attribute a -> m #
foldMap' :: Monoid m => (a -> m) -> Attribute a -> m #
foldr :: (a -> b -> b) -> b -> Attribute a -> b #
foldr' :: (a -> b -> b) -> b -> Attribute a -> b #
foldl :: (b -> a -> b) -> b -> Attribute a -> b #
foldl' :: (b -> a -> b) -> b -> Attribute a -> b #
foldr1 :: (a -> a -> a) -> Attribute a -> a #
foldl1 :: (a -> a -> a) -> Attribute a -> a #
toList :: Attribute a -> [a] #
null :: Attribute a -> Bool #
length :: Attribute a -> Int #
elem :: Eq a => a -> Attribute a -> Bool #
maximum :: Ord a => Attribute a -> a #
minimum :: Ord a => Attribute a -> a #
sum :: Num a => Attribute a -> a #
product :: Num a => Attribute a -> a #
traverse :: Applicative f => (a -> f b) -> Attribute a -> f (Attribute b) #
sequenceA :: Applicative f => Attribute (f a) -> f (Attribute a) #
mapM :: Monad m => (a -> m b) -> Attribute a -> m (Attribute b) #
sequence :: Monad m => Attribute (m a) -> m (Attribute a) #
(==) :: Attribute a -> Attribute a -> Bool #
(/=) :: Attribute a -> Attribute a -> Bool #
showsPrec :: Int -> Attribute a -> ShowS #
show :: Attribute a -> String #
showList :: [Attribute a] -> ShowS #
type Rep (Attribute a) :: Type -> Type #
from :: Attribute a -> Rep (Attribute a) x #
to :: Rep (Attribute a) x -> Attribute a #
toJSON :: Attribute a -> Value #
toEncoding :: Attribute a -> Encoding #
toJSONList :: [Attribute a] -> Value #
toEncodingList :: [Attribute a] -> Encoding #
parseJSON :: Value -> Parser (Attribute a) #
parseJSONList :: Value -> Parser [Attribute a] #
rnf :: Attribute a -> () #
declareNamedSchema :: Proxy (Attribute a) -> Declare (Definitions Schema) NamedSchema #
newtype AttributePath Source #
(==) :: AttributePath -> AttributePath -> Bool #
(/=) :: AttributePath -> AttributePath -> Bool #
type Rep AttributePath :: Type -> Type #
from :: AttributePath -> Rep AttributePath x #
to :: Rep AttributePath x -> AttributePath #
rnf :: AttributePath -> () #
toUrlPiece :: AttributePath -> Text #
toEncodedUrlPiece :: AttributePath -> Builder #
toHeader :: AttributePath -> ByteString #
toQueryParam :: AttributePath -> Text #
parseUrlPiece :: Text -> Either Text AttributePath #
parseHeader :: ByteString -> Either Text AttributePath #
parseQueryParam :: Text -> Either Text AttributePath #
toParamSchema :: forall (t :: SwaggerKind Type). Proxy AttributePath -> ParamSchema t #