Poll

Poll is a domain object which encapsulates the poll details in the PollDetails object:

{     "type":"object",   "required":[        "pollOptions",      "pollQuestion",      "pollTitle"   ],   "properties":{        "pollId":{           "type":"string"      },      "pollTitle":{           "type":"string"      },      "pollQuestion":{           "type":"string"      },      "pollOptions":{           "type":"array",         "items":{              "type":"string"         }      }   }}

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.