Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- type Rooms = [RoomDetail]
- data RoomDetail = RoomDetail {
- roomDetailToRoomId :: Int
- roomDetailToName :: Text
- roomDetailToType :: Text
- roomDetailToRole :: Text
- roomDetailToSticky :: Bool
- roomDetailToUnreadNum :: Int
- roomDetailToMentionNum :: Int
- roomDetailToMytaskNum :: Int
- roomDetailToMessageNum :: Int
- roomDetailToFileNum :: Int
- roomDetailToTaskNum :: Int
- roomDetailToIconPath :: Text
- roomDetailToLastUpdateTime :: Int
- roomDetailToDescription :: Maybe Text
- newtype RoomIdWrap = RoomIdWrap {}
- type Members = [Member]
- data Member = Member {}
- data MembersPermission = MembersPermission {}
- type Messages = [Message]
- data Message = Message {}
- newtype MessageIdWrap = MessageIdWrap {
- getMessageId :: Text
- type RoomTasks = [RoomTask]
- data RoomTask = RoomTask {}
- newtype TaskIdsWrap = TaskIdsWrap {
- getTaskIds :: [Int]
- type Files = [File]
- data File = File {}
- data CreateRoomParams = CreateRoomParams {
- cRoomDescription :: Maybe Text
- cIconPreset :: Maybe IconPreset
- cMembersAdminIds :: [Int]
- cMembersMemberIds :: Maybe [Int]
- cMembersReadonlyIds :: Maybe [Int]
- cRoomName :: Text
- data UpdateRoomParams = UpdateRoomParams {}
- data RoomMembersParams = RoomMembersParams {
- getAdminIds :: [Int]
- getMemberIds :: Maybe [Int]
- getReadonlyIds :: Maybe [Int]
- data GetTasksParams = GetTasksParams {}
- data CreateTaskParams = CreateTaskParams {
- getTaskBody :: Text
- getTaskLimit :: Maybe Int
- getTaskToIds :: [Int]
- data DeleteRoomActionType
- type Force = Bool
- type MessageBody = Text
- type CreateUrlFlag = Bool
Documentation
type Rooms = [RoomDetail] Source #
data RoomDetail Source #
Instances
newtype RoomIdWrap Source #
Instances
Instances
data MembersPermission Source #
Instances
Instances
Eq Message Source # | |
Show Message Source # | |
Generic Message Source # | |
ToJSON Message Source # | |
Defined in ChatWork.Types.Rooms | |
FromJSON Message Source # | |
type Rep Message Source # | |
Defined in ChatWork.Types.Rooms type Rep Message = D1 (MetaData "Message" "ChatWork.Types.Rooms" "chatwork-0.1.3.5-8RDvlHLJTETLae7YWh0Dee" False) (C1 (MetaCons "Message" PrefixI True) ((S1 (MetaSel (Just "messageToMessageId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "messageToAccount") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Account)) :*: (S1 (MetaSel (Just "messageToBody") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: (S1 (MetaSel (Just "messageToSendTime") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int) :*: S1 (MetaSel (Just "messageToUpdateTime") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int))))) |
newtype MessageIdWrap Source #
Instances
Instances
newtype TaskIdsWrap Source #
TaskIdsWrap | |
|
Instances
File | |
|
Instances
Eq File Source # | |
Show File Source # | |
Generic File Source # | |
ToJSON File Source # | |
Defined in ChatWork.Types.Rooms | |
FromJSON File Source # | |
type Rep File Source # | |
Defined in ChatWork.Types.Rooms type Rep File = D1 (MetaData "File" "ChatWork.Types.Rooms" "chatwork-0.1.3.5-8RDvlHLJTETLae7YWh0Dee" False) (C1 (MetaCons "File" PrefixI True) ((S1 (MetaSel (Just "fileToFileId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int) :*: (S1 (MetaSel (Just "fileToAccount") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Account) :*: S1 (MetaSel (Just "fileToMessageId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text))) :*: (S1 (MetaSel (Just "fileToFilename") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: (S1 (MetaSel (Just "fileToFilesize") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int) :*: S1 (MetaSel (Just "fileToUploadTime") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int))))) |
data CreateRoomParams Source #
CreateRoomParams | |
|
Instances
Show CreateRoomParams Source # | |
Defined in ChatWork.Types.Rooms showsPrec :: Int -> CreateRoomParams -> ShowS # show :: CreateRoomParams -> String # showList :: [CreateRoomParams] -> ShowS # | |
FromForm CreateRoomParams Source # | |
Defined in ChatWork.Types.Rooms |
data UpdateRoomParams Source #
Instances
Show UpdateRoomParams Source # | |
Defined in ChatWork.Types.Rooms showsPrec :: Int -> UpdateRoomParams -> ShowS # show :: UpdateRoomParams -> String # showList :: [UpdateRoomParams] -> ShowS # | |
FromForm UpdateRoomParams Source # | |
Defined in ChatWork.Types.Rooms |
data RoomMembersParams Source #
RoomMembersParams | |
|
Instances
Show RoomMembersParams Source # | |
Defined in ChatWork.Types.Rooms showsPrec :: Int -> RoomMembersParams -> ShowS # show :: RoomMembersParams -> String # showList :: [RoomMembersParams] -> ShowS # | |
FromForm RoomMembersParams Source # | |
Defined in ChatWork.Types.Rooms |
data GetTasksParams Source #
Instances
Show GetTasksParams Source # | |
Defined in ChatWork.Types.Rooms showsPrec :: Int -> GetTasksParams -> ShowS # show :: GetTasksParams -> String # showList :: [GetTasksParams] -> ShowS # |
data CreateTaskParams Source #
CreateTaskParams | |
|
Instances
Show CreateTaskParams Source # | |
Defined in ChatWork.Types.Rooms showsPrec :: Int -> CreateTaskParams -> ShowS # show :: CreateTaskParams -> String # showList :: [CreateTaskParams] -> ShowS # | |
FromForm CreateTaskParams Source # | |
Defined in ChatWork.Types.Rooms |
data DeleteRoomActionType Source #
Instances
type MessageBody = Text Source #