Documentation

CreatePollOptions extends Message
in package

Generated from protobuf message <code>plugnmeet.CreatePollOptions</code>

Table of Contents

Properties

$id  : mixed
Generated from protobuf field <code>uint32 id = 1;</code>
$is_correct  : mixed
Generated from protobuf field <code>bool is_correct = 3;</code>
$text  : mixed
Generated from protobuf field <code>string text = 2;</code>

Methods

__construct()  : mixed
Constructor.
getId()  : int
Generated from protobuf field <code>uint32 id = 1;</code>
getIsCorrect()  : bool
Generated from protobuf field <code>bool is_correct = 3;</code>
getText()  : string
Generated from protobuf field <code>string text = 2;</code>
setId()  : $this
Generated from protobuf field <code>uint32 id = 1;</code>
setIsCorrect()  : $this
Generated from protobuf field <code>bool is_correct = 3;</code>
setText()  : $this
Generated from protobuf field <code>string text = 2;</code>

Properties

$id

Generated from protobuf field <code>uint32 id = 1;</code>

protected mixed $id = 0

$is_correct

Generated from protobuf field <code>bool is_correct = 3;</code>

protected mixed $is_correct = false

$text

Generated from protobuf field <code>string text = 2;</code>

protected mixed $text = ''

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 int $id
@type string $text
@type bool $is_correct

}

getId()

Generated from protobuf field <code>uint32 id = 1;</code>

public getId() : int
Return values
int

getIsCorrect()

Generated from protobuf field <code>bool is_correct = 3;</code>

public getIsCorrect() : bool
Return values
bool

getText()

Generated from protobuf field <code>string text = 2;</code>

public getText() : string
Return values
string

setId()

Generated from protobuf field <code>uint32 id = 1;</code>

public setId(int $var) : $this
Parameters
$var : int
Return values
$this

setIsCorrect()

Generated from protobuf field <code>bool is_correct = 3;</code>

public setIsCorrect(bool $var) : $this
Parameters
$var : bool
Return values
$this

setText()

Generated from protobuf field <code>string text = 2;</code>

public setText(string $var) : $this
Parameters
$var : string
Return values
$this
On this page

Search results