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 the surveys owned by the authenticated user.
See: Surveys API Reference for surveys.surveys.list
.
Synopsis
- type SurveysListResource = "surveys" :> ("v2" :> ("surveys" :> (QueryParam "token" Text :> (QueryParam "startIndex" (Textual Word32) :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] SurveysListResponse))))))
- surveysList :: SurveysList
- data SurveysList
- slToken :: Lens' SurveysList (Maybe Text)
- slStartIndex :: Lens' SurveysList (Maybe Word32)
- slMaxResults :: Lens' SurveysList (Maybe Word32)
REST Resource
type SurveysListResource = "surveys" :> ("v2" :> ("surveys" :> (QueryParam "token" Text :> (QueryParam "startIndex" (Textual Word32) :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] SurveysListResponse)))))) Source #
A resource alias for surveys.surveys.list
method which the
SurveysList
request conforms to.
Creating a Request
surveysList :: SurveysList Source #
Creates a value of SurveysList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SurveysList Source #
Lists the surveys owned by the authenticated user.
See: surveysList
smart constructor.