Documentation

PollResponse extends Message
in package

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

Table of Contents

Properties

$msg  : mixed
Generated from protobuf field <code>string msg = 2;</code>
$poll_id  : mixed
Generated from protobuf field <code>optional string poll_id = 3;</code>
$poll_responses_result  : mixed
Generated from protobuf field <code>optional .plugnmeet.PollResponsesResult poll_responses_result = 11;</code>
$stats  : mixed
Generated from protobuf field <code>optional .plugnmeet.PollsStats stats = 8;</code>
$status  : mixed
Generated from protobuf field <code>bool status = 1;</code>
$total_polls  : mixed
Generated from protobuf field <code>optional uint64 total_polls = 9;</code>
$total_responses  : mixed
Generated from protobuf field <code>optional uint64 total_responses = 4;</code>
$total_running  : mixed
Generated from protobuf field <code>optional uint64 total_running = 10;</code>
$voted  : mixed
Generated from protobuf field <code>optional uint64 voted = 5;</code>
$polls  : mixed
Generated from protobuf field <code>repeated .plugnmeet.PollInfo polls = 7;</code>
$responses  : mixed
Generated from protobuf field <code>map<string, string> responses = 6;</code>

Methods

__construct()  : mixed
Constructor.
clearPollId()  : mixed
clearPollResponsesResult()  : mixed
clearStats()  : mixed
clearTotalPolls()  : mixed
clearTotalResponses()  : mixed
clearTotalRunning()  : mixed
clearVoted()  : mixed
getMsg()  : string
Generated from protobuf field <code>string msg = 2;</code>
getPollId()  : string
Generated from protobuf field <code>optional string poll_id = 3;</code>
getPollResponsesResult()  : PollResponsesResult|null
Generated from protobuf field <code>optional .plugnmeet.PollResponsesResult poll_responses_result = 11;</code>
getPolls()  : RepeatedField<string|int, PollInfo>
Generated from protobuf field <code>repeated .plugnmeet.PollInfo polls = 7;</code>
getResponses()  : MapField
Generated from protobuf field <code>map<string, string> responses = 6;</code>
getStats()  : PollsStats|null
Generated from protobuf field <code>optional .plugnmeet.PollsStats stats = 8;</code>
getStatus()  : bool
Generated from protobuf field <code>bool status = 1;</code>
getTotalPolls()  : int|string
Generated from protobuf field <code>optional uint64 total_polls = 9;</code>
getTotalResponses()  : int|string
Generated from protobuf field <code>optional uint64 total_responses = 4;</code>
getTotalRunning()  : int|string
Generated from protobuf field <code>optional uint64 total_running = 10;</code>
getVoted()  : int|string
Generated from protobuf field <code>optional uint64 voted = 5;</code>
hasPollId()  : mixed
hasPollResponsesResult()  : mixed
hasStats()  : mixed
hasTotalPolls()  : mixed
hasTotalResponses()  : mixed
hasTotalRunning()  : mixed
hasVoted()  : mixed
setMsg()  : $this
Generated from protobuf field <code>string msg = 2;</code>
setPollId()  : $this
Generated from protobuf field <code>optional string poll_id = 3;</code>
setPollResponsesResult()  : $this
Generated from protobuf field <code>optional .plugnmeet.PollResponsesResult poll_responses_result = 11;</code>
setPolls()  : $this
Generated from protobuf field <code>repeated .plugnmeet.PollInfo polls = 7;</code>
setResponses()  : $this
Generated from protobuf field <code>map<string, string> responses = 6;</code>
setStats()  : $this
Generated from protobuf field <code>optional .plugnmeet.PollsStats stats = 8;</code>
setStatus()  : $this
Generated from protobuf field <code>bool status = 1;</code>
setTotalPolls()  : $this
Generated from protobuf field <code>optional uint64 total_polls = 9;</code>
setTotalResponses()  : $this
Generated from protobuf field <code>optional uint64 total_responses = 4;</code>
setTotalRunning()  : $this
Generated from protobuf field <code>optional uint64 total_running = 10;</code>
setVoted()  : $this
Generated from protobuf field <code>optional uint64 voted = 5;</code>

Properties

$msg

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

protected mixed $msg = ''

$poll_id

Generated from protobuf field <code>optional string poll_id = 3;</code>

protected mixed $poll_id = null

$poll_responses_result

Generated from protobuf field <code>optional .plugnmeet.PollResponsesResult poll_responses_result = 11;</code>

protected mixed $poll_responses_result = null

$stats

Generated from protobuf field <code>optional .plugnmeet.PollsStats stats = 8;</code>

protected mixed $stats = null

$status

Generated from protobuf field <code>bool status = 1;</code>

protected mixed $status = false

$total_polls

Generated from protobuf field <code>optional uint64 total_polls = 9;</code>

protected mixed $total_polls = null

$total_responses

Generated from protobuf field <code>optional uint64 total_responses = 4;</code>

protected mixed $total_responses = null

$total_running

Generated from protobuf field <code>optional uint64 total_running = 10;</code>

protected mixed $total_running = null

$voted

Generated from protobuf field <code>optional uint64 voted = 5;</code>

protected mixed $voted = null

$polls

Generated from protobuf field <code>repeated .plugnmeet.PollInfo polls = 7;</code>

private mixed $polls

$responses

Generated from protobuf field <code>map<string, string> responses = 6;</code>

private mixed $responses

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 bool $status
@type string $msg
@type string $poll_id
@type int|string $total_responses
@type int|string $voted
@type array|\Google\Protobuf\Internal\MapField $responses
@type \Mynaparrot\PlugnmeetProto\PollInfo[] $polls
@type \Mynaparrot\PlugnmeetProto\PollsStats $stats
@type int|string $total_polls
@type int|string $total_running
@type \Mynaparrot\PlugnmeetProto\PollResponsesResult $poll_responses_result

}

clearPollResponsesResult()

public clearPollResponsesResult() : mixed

clearTotalResponses()

public clearTotalResponses() : mixed

getMsg()

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

public getMsg() : string
Return values
string

getPollId()

Generated from protobuf field <code>optional string poll_id = 3;</code>

public getPollId() : string
Return values
string

getPolls()

Generated from protobuf field <code>repeated .plugnmeet.PollInfo polls = 7;</code>

public getPolls() : RepeatedField<string|int, PollInfo>
Return values
RepeatedField<string|int, PollInfo>

getResponses()

Generated from protobuf field <code>map<string, string> responses = 6;</code>

public getResponses() : MapField
Return values
MapField

getStats()

Generated from protobuf field <code>optional .plugnmeet.PollsStats stats = 8;</code>

public getStats() : PollsStats|null
Return values
PollsStats|null

getStatus()

Generated from protobuf field <code>bool status = 1;</code>

public getStatus() : bool
Return values
bool

getTotalPolls()

Generated from protobuf field <code>optional uint64 total_polls = 9;</code>

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

getTotalResponses()

Generated from protobuf field <code>optional uint64 total_responses = 4;</code>

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

getTotalRunning()

Generated from protobuf field <code>optional uint64 total_running = 10;</code>

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

getVoted()

Generated from protobuf field <code>optional uint64 voted = 5;</code>

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

hasPollResponsesResult()

public hasPollResponsesResult() : mixed

setMsg()

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

public setMsg(string $var) : $this
Parameters
$var : string
Return values
$this

setPollId()

Generated from protobuf field <code>optional string poll_id = 3;</code>

public setPollId(string $var) : $this
Parameters
$var : string
Return values
$this

setPollResponsesResult()

Generated from protobuf field <code>optional .plugnmeet.PollResponsesResult poll_responses_result = 11;</code>

public setPollResponsesResult(PollResponsesResult $var) : $this
Parameters
$var : PollResponsesResult
Return values
$this

setPolls()

Generated from protobuf field <code>repeated .plugnmeet.PollInfo polls = 7;</code>

public setPolls(array<string|int, PollInfo$var) : $this
Parameters
$var : array<string|int, PollInfo>
Return values
$this

setResponses()

Generated from protobuf field <code>map<string, string> responses = 6;</code>

public setResponses(array<string|int, mixed>|MapField $var) : $this
Parameters
$var : array<string|int, mixed>|MapField
Return values
$this

setStats()

Generated from protobuf field <code>optional .plugnmeet.PollsStats stats = 8;</code>

public setStats(PollsStats $var) : $this
Parameters
$var : PollsStats
Return values
$this

setStatus()

Generated from protobuf field <code>bool status = 1;</code>

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

setTotalPolls()

Generated from protobuf field <code>optional uint64 total_polls = 9;</code>

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

setTotalResponses()

Generated from protobuf field <code>optional uint64 total_responses = 4;</code>

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

setTotalRunning()

Generated from protobuf field <code>optional uint64 total_running = 10;</code>

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

setVoted()

Generated from protobuf field <code>optional uint64 voted = 5;</code>

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

        
On this page

Search results