PollDetails

PollDetails is a composite object which has Poll, RespondentDetails, and PollResponseStatistics embedded. This models the API response for fetching the details of the polls:

{    "type":"object",   "properties":{       "createdBy":{          "type":"object",         "$ref":"/#definitions/RespondentDetails"      },      "poll":{          "type":"object",         "$ref":"/#definitions/Poll"      },      "statistics":{          "type":"array",         "$ref":"/#definitions/PollResponseStatistics"      }   }}

Get Hands-On Serverless Applications with Kotlin now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.