shared
Toggle table of contents
common
Platform filter
common
Switch theme
Search in API
shared
shared
/
com.mediasfu.sdk.model
/
Poll
Poll
@
Serializable
data
class
Poll
(
val
id
:
String
?
=
null
,
val
question
:
String
,
val
type
:
String
?
=
null
,
val
options
:
List
<
String
>
=
emptyList()
,
val
votes
:
List
<
Int
>
=
emptyList()
,
val
status
:
String
?
=
null
,
val
voters
:
Map
<
String
,
Int
>
=
emptyMap()
)
Members
Members & Extensions
Constructors
Poll
Link copied to clipboard
constructor
(
id
:
String
?
=
null
,
question
:
String
,
type
:
String
?
=
null
,
options
:
List
<
String
>
=
emptyList()
,
votes
:
List
<
Int
>
=
emptyList()
,
status
:
String
?
=
null
,
voters
:
Map
<
String
,
Int
>
=
emptyMap()
)
Properties
id
Link copied to clipboard
val
id
:
String
?
=
null
options
Link copied to clipboard
val
options
:
List
<
String
>
question
Link copied to clipboard
val
question
:
String
status
Link copied to clipboard
val
status
:
String
?
=
null
type
Link copied to clipboard
val
type
:
String
?
=
null
voters
Link copied to clipboard
val
voters
:
Map
<
String
,
Int
>
votes
Link copied to clipboard
val
votes
:
List
<
Int
>
Functions
to
Transport
Map
Link copied to clipboard
fun
Poll
.
toTransportMap
(
)
:
Map
<
String
,
Any
?
>