Documentation

PollResponsesResultOptions extends Message
in package

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

Table of Contents

Properties

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

Methods

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

Properties

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

}

getId()

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

public getId() : int|string
Return values
int|string

getIsCorrect()

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

public getIsCorrect() : bool
Return values
bool

getText()

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

public getText() : string
Return values
string

getVoteCount()

Generated from protobuf field <code>uint64 vote_count = 3;</code>

public getVoteCount() : int|string
Return values
int|string

setId()

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

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

setIsCorrect()

Generated from protobuf field <code>bool is_correct = 4;</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

setVoteCount()

Generated from protobuf field <code>uint64 vote_count = 3;</code>

public setVoteCount(int|string $var) : $this
Parameters
$var : int|string
Return values
$this
On this page

Search results