PollInfo
extends Message
in package
Generated from protobuf message <code>plugnmeet.PollInfo</code>
Table of Contents
Properties
- $closed_by : mixed
- Generated from protobuf field <code>string closed_by = 8;</code>
- $created : mixed
- Generated from protobuf field <code>int64 created = 6;</code>
- $created_by : mixed
- Generated from protobuf field <code>string created_by = 7;</code>
- $id : mixed
- Generated from protobuf field <code>string id = 1;</code>
- $is_running : mixed
- Generated from protobuf field <code>bool is_running = 5;</code>
- $question : mixed
- Generated from protobuf field <code>string question = 3;</code>
- $room_id : mixed
- Generated from protobuf field <code>string room_id = 2;</code>
- $options : mixed
- Generated from protobuf field <code>repeated .plugnmeet.CreatePollOptions options = 4;</code>
Methods
- __construct() : mixed
- Constructor.
- getClosedBy() : string
- Generated from protobuf field <code>string closed_by = 8;</code>
- getCreated() : int|string
- Generated from protobuf field <code>int64 created = 6;</code>
- getCreatedBy() : string
- Generated from protobuf field <code>string created_by = 7;</code>
- getId() : string
- Generated from protobuf field <code>string id = 1;</code>
- getIsRunning() : bool
- Generated from protobuf field <code>bool is_running = 5;</code>
- getOptions() : RepeatedField<string|int, CreatePollOptions>
- Generated from protobuf field <code>repeated .plugnmeet.CreatePollOptions options = 4;</code>
- getQuestion() : string
- Generated from protobuf field <code>string question = 3;</code>
- getRoomId() : string
- Generated from protobuf field <code>string room_id = 2;</code>
- setClosedBy() : $this
- Generated from protobuf field <code>string closed_by = 8;</code>
- setCreated() : $this
- Generated from protobuf field <code>int64 created = 6;</code>
- setCreatedBy() : $this
- Generated from protobuf field <code>string created_by = 7;</code>
- setId() : $this
- Generated from protobuf field <code>string id = 1;</code>
- setIsRunning() : $this
- Generated from protobuf field <code>bool is_running = 5;</code>
- setOptions() : $this
- Generated from protobuf field <code>repeated .plugnmeet.CreatePollOptions options = 4;</code>
- setQuestion() : $this
- Generated from protobuf field <code>string question = 3;</code>
- setRoomId() : $this
- Generated from protobuf field <code>string room_id = 2;</code>
Properties
$closed_by
Generated from protobuf field <code>string closed_by = 8;</code>
protected
mixed
$closed_by
= ''
$created
Generated from protobuf field <code>int64 created = 6;</code>
protected
mixed
$created
= 0
$created_by
Generated from protobuf field <code>string created_by = 7;</code>
protected
mixed
$created_by
= ''
$id
Generated from protobuf field <code>string id = 1;</code>
protected
mixed
$id
= ''
$is_running
Generated from protobuf field <code>bool is_running = 5;</code>
protected
mixed
$is_running
= false
$question
Generated from protobuf field <code>string question = 3;</code>
protected
mixed
$question
= ''
$room_id
Generated from protobuf field <code>string room_id = 2;</code>
protected
mixed
$room_id
= ''
$options
Generated from protobuf field <code>repeated .plugnmeet.CreatePollOptions options = 4;</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 $id @type string $room_id @type string $question @type \Mynaparrot\PlugnmeetProto\CreatePollOptions[] $options @type bool $is_running @type int|string $created @type string $created_by @type string $closed_by}
getClosedBy()
Generated from protobuf field <code>string closed_by = 8;</code>
public
getClosedBy() : string
Return values
stringgetCreated()
Generated from protobuf field <code>int64 created = 6;</code>
public
getCreated() : int|string
Return values
int|stringgetCreatedBy()
Generated from protobuf field <code>string created_by = 7;</code>
public
getCreatedBy() : string
Return values
stringgetId()
Generated from protobuf field <code>string id = 1;</code>
public
getId() : string
Return values
stringgetIsRunning()
Generated from protobuf field <code>bool is_running = 5;</code>
public
getIsRunning() : bool
Return values
boolgetOptions()
Generated from protobuf field <code>repeated .plugnmeet.CreatePollOptions options = 4;</code>
public
getOptions() : RepeatedField<string|int, CreatePollOptions>
Return values
RepeatedField<string|int, CreatePollOptions>getQuestion()
Generated from protobuf field <code>string question = 3;</code>
public
getQuestion() : string
Return values
stringgetRoomId()
Generated from protobuf field <code>string room_id = 2;</code>
public
getRoomId() : string
Return values
stringsetClosedBy()
Generated from protobuf field <code>string closed_by = 8;</code>
public
setClosedBy(string $var) : $this
Parameters
- $var : string
Return values
$thissetCreated()
Generated from protobuf field <code>int64 created = 6;</code>
public
setCreated(int|string $var) : $this
Parameters
- $var : int|string
Return values
$thissetCreatedBy()
Generated from protobuf field <code>string created_by = 7;</code>
public
setCreatedBy(string $var) : $this
Parameters
- $var : string
Return values
$thissetId()
Generated from protobuf field <code>string id = 1;</code>
public
setId(string $var) : $this
Parameters
- $var : string
Return values
$thissetIsRunning()
Generated from protobuf field <code>bool is_running = 5;</code>
public
setIsRunning(bool $var) : $this
Parameters
- $var : bool
Return values
$thissetOptions()
Generated from protobuf field <code>repeated .plugnmeet.CreatePollOptions options = 4;</code>
public
setOptions(array<string|int, CreatePollOptions> $var) : $this
Parameters
- $var : array<string|int, CreatePollOptions>
Return values
$thissetQuestion()
Generated from protobuf field <code>string question = 3;</code>
public
setQuestion(string $var) : $this
Parameters
- $var : string
Return values
$thissetRoomId()
Generated from protobuf field <code>string room_id = 2;</code>
public
setRoomId(string $var) : $this
Parameters
- $var : string