Copyright | (c) 2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Updates sent by a client reporting the status of peers in a room. For internal use by the Games SDK only. Calling this method directly is unsupported.
See: Google Play Game Services API Reference for games.rooms.reportStatus
.
- type RoomsReportStatusResource = "games" :> ("v1" :> ("rooms" :> (Capture "roomId" Text :> ("reportstatus" :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` RoomP2PStatuses :> Post `[JSON]` RoomStatus)))))))
- roomsReportStatus :: RoomP2PStatuses -> Text -> RoomsReportStatus
- data RoomsReportStatus
- rrsPayload :: Lens' RoomsReportStatus RoomP2PStatuses
- rrsRoomId :: Lens' RoomsReportStatus Text
- rrsLanguage :: Lens' RoomsReportStatus (Maybe Text)
REST Resource
type RoomsReportStatusResource = "games" :> ("v1" :> ("rooms" :> (Capture "roomId" Text :> ("reportstatus" :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` RoomP2PStatuses :> Post `[JSON]` RoomStatus))))))) Source
A resource alias for games.rooms.reportStatus
method which the
RoomsReportStatus
request conforms to.
Creating a Request
Creates a value of RoomsReportStatus
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data RoomsReportStatus Source
Updates sent by a client reporting the status of peers in a room. For internal use by the Games SDK only. Calling this method directly is unsupported.
See: roomsReportStatus
smart constructor.
Request Lenses
rrsPayload :: Lens' RoomsReportStatus RoomP2PStatuses Source
Multipart request metadata.
rrsRoomId :: Lens' RoomsReportStatus Text Source
The ID of the room.
rrsLanguage :: Lens' RoomsReportStatus (Maybe Text) Source
The preferred language to use for strings returned by this method.