CreatePollReq
extends Message
in package
Generated from protobuf message <code>plugnmeet.CreatePollReq</code>
Table of Contents
Properties
- $duration : mixed
- Generated from protobuf field <code>uint32 duration = 9;</code>
- $is_anonymous : mixed
- Generated from protobuf field <code>bool is_anonymous = 6;</code>
- $is_multiple : mixed
- Generated from protobuf field <code>bool is_multiple = 7;</code>
- $is_quiz : mixed
- Generated from protobuf field <code>bool is_quiz = 8;</code>
- $poll_id : mixed
- Generated from protobuf field <code>string poll_id = 3;</code>
- $question : mixed
- Generated from protobuf field <code>string question = 4;</code>
- $room_id : mixed
- Generated from protobuf field <code>string room_id = 1;</code>
- $user_id : mixed
- Generated from protobuf field <code>string user_id = 2;</code>
- $options : mixed
- Generated from protobuf field <code>repeated .plugnmeet.CreatePollOptions options = 5;</code>
Methods
- __construct() : mixed
- Constructor.
- getDuration() : int
- Generated from protobuf field <code>uint32 duration = 9;</code>
- getIsAnonymous() : bool
- Generated from protobuf field <code>bool is_anonymous = 6;</code>
- getIsMultiple() : bool
- Generated from protobuf field <code>bool is_multiple = 7;</code>
- getIsQuiz() : bool
- Generated from protobuf field <code>bool is_quiz = 8;</code>
- getOptions() : RepeatedField<string|int, CreatePollOptions>
- Generated from protobuf field <code>repeated .plugnmeet.CreatePollOptions options = 5;</code>
- getPollId() : string
- Generated from protobuf field <code>string poll_id = 3;</code>
- getQuestion() : string
- Generated from protobuf field <code>string question = 4;</code>
- getRoomId() : string
- Generated from protobuf field <code>string room_id = 1;</code>
- getUserId() : string
- Generated from protobuf field <code>string user_id = 2;</code>
- setDuration() : $this
- Generated from protobuf field <code>uint32 duration = 9;</code>
- setIsAnonymous() : $this
- Generated from protobuf field <code>bool is_anonymous = 6;</code>
- setIsMultiple() : $this
- Generated from protobuf field <code>bool is_multiple = 7;</code>
- setIsQuiz() : $this
- Generated from protobuf field <code>bool is_quiz = 8;</code>
- setOptions() : $this
- Generated from protobuf field <code>repeated .plugnmeet.CreatePollOptions options = 5;</code>
- setPollId() : $this
- Generated from protobuf field <code>string poll_id = 3;</code>
- setQuestion() : $this
- Generated from protobuf field <code>string question = 4;</code>
- setRoomId() : $this
- Generated from protobuf field <code>string room_id = 1;</code>
- setUserId() : $this
- Generated from protobuf field <code>string user_id = 2;</code>
Properties
$duration
Generated from protobuf field <code>uint32 duration = 9;</code>
protected
mixed
$duration
= 0
$is_anonymous
Generated from protobuf field <code>bool is_anonymous = 6;</code>
protected
mixed
$is_anonymous
= false
$is_multiple
Generated from protobuf field <code>bool is_multiple = 7;</code>
protected
mixed
$is_multiple
= false
$is_quiz
Generated from protobuf field <code>bool is_quiz = 8;</code>
protected
mixed
$is_quiz
= false
$poll_id
Generated from protobuf field <code>string poll_id = 3;</code>
protected
mixed
$poll_id
= ''
$question
Generated from protobuf field <code>string question = 4;</code>
protected
mixed
$question
= ''
$room_id
Generated from protobuf field <code>string room_id = 1;</code>
protected
mixed
$room_id
= ''
$user_id
Generated from protobuf field <code>string user_id = 2;</code>
protected
mixed
$user_id
= ''
$options
Generated from protobuf field <code>repeated .plugnmeet.CreatePollOptions options = 5;</code>
private
mixed
$options
Methods
__construct()
Constructor.
public
__construct([array<string|int, mixed> $data = null ]) : mixed
Parameters
- $data : array<string|int, mixed> = null
-
{ Optional. Data for populating the Message object.
@type string $room_id @type string $user_id @type string $poll_id @type string $question @type \Mynaparrot\PlugnmeetProto\CreatePollOptions[] $options @type bool $is_anonymous @type bool $is_multiple @type bool $is_quiz @type int $duration}
getDuration()
Generated from protobuf field <code>uint32 duration = 9;</code>
public
getDuration() : int
Return values
intgetIsAnonymous()
Generated from protobuf field <code>bool is_anonymous = 6;</code>
public
getIsAnonymous() : bool
Return values
boolgetIsMultiple()
Generated from protobuf field <code>bool is_multiple = 7;</code>
public
getIsMultiple() : bool
Return values
boolgetIsQuiz()
Generated from protobuf field <code>bool is_quiz = 8;</code>
public
getIsQuiz() : bool
Return values
boolgetOptions()
Generated from protobuf field <code>repeated .plugnmeet.CreatePollOptions options = 5;</code>
public
getOptions() : RepeatedField<string|int, CreatePollOptions>
Return values
RepeatedField<string|int, CreatePollOptions>getPollId()
Generated from protobuf field <code>string poll_id = 3;</code>
public
getPollId() : string
Return values
stringgetQuestion()
Generated from protobuf field <code>string question = 4;</code>
public
getQuestion() : string
Return values
stringgetRoomId()
Generated from protobuf field <code>string room_id = 1;</code>
public
getRoomId() : string
Return values
stringgetUserId()
Generated from protobuf field <code>string user_id = 2;</code>
public
getUserId() : string
Return values
stringsetDuration()
Generated from protobuf field <code>uint32 duration = 9;</code>
public
setDuration(int $var) : $this
Parameters
- $var : int
Return values
$thissetIsAnonymous()
Generated from protobuf field <code>bool is_anonymous = 6;</code>
public
setIsAnonymous(bool $var) : $this
Parameters
- $var : bool
Return values
$thissetIsMultiple()
Generated from protobuf field <code>bool is_multiple = 7;</code>
public
setIsMultiple(bool $var) : $this
Parameters
- $var : bool
Return values
$thissetIsQuiz()
Generated from protobuf field <code>bool is_quiz = 8;</code>
public
setIsQuiz(bool $var) : $this
Parameters
- $var : bool
Return values
$thissetOptions()
Generated from protobuf field <code>repeated .plugnmeet.CreatePollOptions options = 5;</code>
public
setOptions(array<string|int, CreatePollOptions> $var) : $this
Parameters
- $var : array<string|int, CreatePollOptions>
Return values
$thissetPollId()
Generated from protobuf field <code>string poll_id = 3;</code>
public
setPollId(string $var) : $this
Parameters
- $var : string
Return values
$thissetQuestion()
Generated from protobuf field <code>string question = 4;</code>
public
setQuestion(string $var) : $this
Parameters
- $var : string
Return values
$thissetRoomId()
Generated from protobuf field <code>string room_id = 1;</code>
public
setRoomId(string $var) : $this
Parameters
- $var : string
Return values
$thissetUserId()
Generated from protobuf field <code>string user_id = 2;</code>
public
setUserId(string $var) : $this
Parameters
- $var : string