CreatePollReq
extends Message
in package
Generated from protobuf message <code>plugnmeet.CreatePollReq</code>
Table of Contents
Properties
- $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.
- 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>
- 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
$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}
getOptions()
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
stringsetOptions()
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