Copyright | (c) 2015-2016 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 |
Lists human memberships in a space.
See: Hangouts Chat API Reference for chat.spaces.members.list
.
Synopsis
- type SpacesMembersListResource = "v1" :> (Capture "parent" Text :> ("members" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListMembershipsResponse))))))))))
- spacesMembersList :: Text -> SpacesMembersList
- data SpacesMembersList
- smlParent :: Lens' SpacesMembersList Text
- smlXgafv :: Lens' SpacesMembersList (Maybe Xgafv)
- smlUploadProtocol :: Lens' SpacesMembersList (Maybe Text)
- smlAccessToken :: Lens' SpacesMembersList (Maybe Text)
- smlUploadType :: Lens' SpacesMembersList (Maybe Text)
- smlPageToken :: Lens' SpacesMembersList (Maybe Text)
- smlPageSize :: Lens' SpacesMembersList (Maybe Int32)
- smlCallback :: Lens' SpacesMembersList (Maybe Text)
REST Resource
type SpacesMembersListResource = "v1" :> (Capture "parent" Text :> ("members" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListMembershipsResponse)))))))))) Source #
A resource alias for chat.spaces.members.list
method which the
SpacesMembersList
request conforms to.
Creating a Request
Creates a value of SpacesMembersList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SpacesMembersList Source #
Lists human memberships in a space.
See: spacesMembersList
smart constructor.
Instances
Request Lenses
smlParent :: Lens' SpacesMembersList Text Source #
Required. The resource name of the space for which membership list is to be fetched, in the form "spaces/*". Example: spaces/AAAAMpdlehY
smlUploadProtocol :: Lens' SpacesMembersList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
smlAccessToken :: Lens' SpacesMembersList (Maybe Text) Source #
OAuth access token.
smlUploadType :: Lens' SpacesMembersList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
smlPageToken :: Lens' SpacesMembersList (Maybe Text) Source #
A token identifying a page of results the server should return.
smlPageSize :: Lens' SpacesMembersList (Maybe Int32) Source #
Requested page size. The value is capped at 1000. Server may return fewer results than requested. If unspecified, server will default to 100.
smlCallback :: Lens' SpacesMembersList (Maybe Text) Source #
JSONP