Android SDK 100ms
lib
/
live.hms.video.polls.models.question
/
HMSPollQuestionOption
HMSPoll
Question
Option
data
class
HMSPollQuestionOption
(
val
index
:
Int
,
val
text
:
String
?
=
""
,
val
weight
:
Int
?
=
null
,
val
case
:
Boolean
=
false
,
val
trim
:
Boolean
=
false
,
var
voteCount
:
Long
=
0
)
Constructors
Properties
Constructors
HMSPoll
Question
Option
Link copied to clipboard
fun
HMSPollQuestionOption
(
index
:
Int
,
text
:
String
?
=
""
,
weight
:
Int
?
=
null
,
case
:
Boolean
=
false
,
trim
:
Boolean
=
false
,
voteCount
:
Long
=
0
)
Properties
case
Link copied to clipboard
@
SerializedName
(
value
=
"case"
)
val
case
:
Boolean
=
false
index
Link copied to clipboard
@
SerializedName
(
value
=
"index"
)
val
index
:
Int
text
Link copied to clipboard
@
SerializedName
(
value
=
"text"
)
val
text
:
String
?
trim
Link copied to clipboard
@
SerializedName
(
value
=
"trim"
)
val
trim
:
Boolean
=
false
vote
Count
Link copied to clipboard
var
voteCount
:
Long
=
0
weight
Link copied to clipboard
@
SerializedName
(
value
=
"weight"
)
val
weight
:
Int
?
=
null