| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
ChatWork.Types.Base
Contents
Synopsis
- data Room = Room {
- roomToRoomId :: Int
- roomToName :: Text
- roomToIconPath :: Text
- data Account = Account {}
- data IconPreset
- data TaskStatus
- type AccountId = Int
Documentation
Constructors
| Room | |
Fields
| |
Instances
| Eq Room Source # | |
| Show Room Source # | |
| Generic Room Source # | |
| ToJSON Room Source # | |
Defined in ChatWork.Types.Base | |
| FromJSON Room Source # | |
| type Rep Room Source # | |
Defined in ChatWork.Types.Base type Rep Room = D1 (MetaData "Room" "ChatWork.Types.Base" "chatwork-0.1.3.5-8RDvlHLJTETLae7YWh0Dee" False) (C1 (MetaCons "Room" PrefixI True) (S1 (MetaSel (Just "roomToRoomId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int) :*: (S1 (MetaSel (Just "roomToName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "roomToIconPath") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))) | |
Constructors
| Account | |
Fields | |
Instances
| Eq Account Source # | |
| Show Account Source # | |
| Generic Account Source # | |
| ToJSON Account Source # | |
Defined in ChatWork.Types.Base | |
| FromJSON Account Source # | |
| type Rep Account Source # | |
Defined in ChatWork.Types.Base type Rep Account = D1 (MetaData "Account" "ChatWork.Types.Base" "chatwork-0.1.3.5-8RDvlHLJTETLae7YWh0Dee" False) (C1 (MetaCons "Account" PrefixI True) (S1 (MetaSel (Just "accountToAccountId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int) :*: (S1 (MetaSel (Just "accountToName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "accountToAvatarImageUrl") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))) | |
data IconPreset Source #
use create new room see : http://developer.chatwork.com/ja/endpoint_rooms.html#POST-rooms
Constructors
| Group | |
| Check | |
| Document | |
| Meeting | |
| Event | |
| Project | |
| Business | |
| Study | |
| Security | |
| Star | |
| Idea | |
| Heart | |
| Magcup | |
| Beer | |
| Music | |
| Sports | |
| Travel |
Instances
data TaskStatus Source #
use get tasks on room see: http://developer.chatwork.com/ja/endpoint_rooms.html#GET-rooms-room_id-tasks
Instances
use get files on room see: http://developer.chatwork.com/ja/endpoint_rooms.html#GET-rooms-room_id-files
Orphan instances
| FromHttpApiData a => FromHttpApiData [a] Source # | |
Methods parseUrlPiece :: Text -> Either Text [a] # parseHeader :: ByteString -> Either Text [a] # parseQueryParam :: Text -> Either Text [a] # | |