Documentation

PollResponsesResult extends Message
in package

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

Table of Contents

Properties

$question  : mixed
Generated from protobuf field <code>string question = 1;</code>
$total_responses  : mixed
Generated from protobuf field <code>uint64 total_responses = 2;</code>
$options  : mixed
Generated from protobuf field <code>repeated .plugnmeet.PollResponsesResultOptions options = 3;</code>

Methods

__construct()  : mixed
Constructor.
getOptions()  : RepeatedField<string|int, PollResponsesResultOptions>
Generated from protobuf field <code>repeated .plugnmeet.PollResponsesResultOptions options = 3;</code>
getQuestion()  : string
Generated from protobuf field <code>string question = 1;</code>
getTotalResponses()  : int|string
Generated from protobuf field <code>uint64 total_responses = 2;</code>
setOptions()  : $this
Generated from protobuf field <code>repeated .plugnmeet.PollResponsesResultOptions options = 3;</code>
setQuestion()  : $this
Generated from protobuf field <code>string question = 1;</code>
setTotalResponses()  : $this
Generated from protobuf field <code>uint64 total_responses = 2;</code>

Properties

$question

Generated from protobuf field <code>string question = 1;</code>

protected mixed $question = ''

$total_responses

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

protected mixed $total_responses = 0

$options

Generated from protobuf field <code>repeated .plugnmeet.PollResponsesResultOptions options = 3;</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 $question
@type int|string $total_responses
@type \Mynaparrot\PlugnmeetProto\PollResponsesResultOptions[] $options

}

getQuestion()

Generated from protobuf field <code>string question = 1;</code>

public getQuestion() : string
Return values
string

getTotalResponses()

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

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

setQuestion()

Generated from protobuf field <code>string question = 1;</code>

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

setTotalResponses()

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

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

        
On this page

Search results