SurveysResourceApi class


SurveysResourceApi(ApiRequester client)


hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited


delete(String surveyUrlId, { String $fields }) → Future<SurveysDeleteResponse>
Removes a survey from view in all user GET requests. [...]
get(String surveyUrlId, { String $fields }) → Future<Survey>
Retrieves information about the specified survey. [...]
insert(Survey request, { String $fields }) → Future<Survey>
Creates a survey. [...]
list({int maxResults, int startIndex, String token String $fields }) → Future<SurveysListResponse>
Lists the surveys owned by the authenticated user. [...]
start(SurveysStartRequest request, String resourceId, { String $fields }) → Future<SurveysStartResponse>
Begins running a survey. [...]
stop(String resourceId, { String $fields }) → Future<SurveysStopResponse>
Stops a running survey. [...]
update(Survey request, String surveyUrlId, { String $fields }) → Future<Survey>
Updates a survey. Currently the only property that can be updated is the owners property. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
toString() → String
Returns a string representation of this object.


operator ==(dynamic other) → bool
The equality operator.