Documentation

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>
$duration  : mixed
Generated from protobuf field <code>uint32 duration = 13;</code>
$expires_at  : mixed
Generated from protobuf field <code>int64 expires_at = 12;</code>
$id  : mixed
Generated from protobuf field <code>string id = 1;</code>
$is_anonymous  : mixed
Generated from protobuf field <code>bool is_anonymous = 9;</code>
$is_multiple  : mixed
Generated from protobuf field <code>bool is_multiple = 10;</code>
$is_quiz  : mixed
Generated from protobuf field <code>bool is_quiz = 11;</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>
getDuration()  : int
Generated from protobuf field <code>uint32 duration = 13;</code>
getExpiresAt()  : int|string
Generated from protobuf field <code>int64 expires_at = 12;</code>
getId()  : string
Generated from protobuf field <code>string id = 1;</code>
getIsAnonymous()  : bool
Generated from protobuf field <code>bool is_anonymous = 9;</code>
getIsMultiple()  : bool
Generated from protobuf field <code>bool is_multiple = 10;</code>
getIsQuiz()  : bool
Generated from protobuf field <code>bool is_quiz = 11;</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>
setDuration()  : $this
Generated from protobuf field <code>uint32 duration = 13;</code>
setExpiresAt()  : $this
Generated from protobuf field <code>int64 expires_at = 12;</code>
setId()  : $this
Generated from protobuf field <code>string id = 1;</code>
setIsAnonymous()  : $this
Generated from protobuf field <code>bool is_anonymous = 9;</code>
setIsMultiple()  : $this
Generated from protobuf field <code>bool is_multiple = 10;</code>
setIsQuiz()  : $this
Generated from protobuf field <code>bool is_quiz = 11;</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 = ''

$duration

Generated from protobuf field <code>uint32 duration = 13;</code>

protected mixed $duration = 0

$expires_at

Generated from protobuf field <code>int64 expires_at = 12;</code>

protected mixed $expires_at = 0

$id

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

protected mixed $id = ''

$is_anonymous

Generated from protobuf field <code>bool is_anonymous = 9;</code>

protected mixed $is_anonymous = false

$is_multiple

Generated from protobuf field <code>bool is_multiple = 10;</code>

protected mixed $is_multiple = false

$is_quiz

Generated from protobuf field <code>bool is_quiz = 11;</code>

protected mixed $is_quiz = false

$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
@type bool $is_anonymous
@type bool $is_multiple
@type bool $is_quiz
@type int|string $expires_at
@type int $duration

}

getClosedBy()

Generated from protobuf field <code>string closed_by = 8;</code>

public getClosedBy() : string
Return values
string

getCreated()

Generated from protobuf field <code>int64 created = 6;</code>

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

getCreatedBy()

Generated from protobuf field <code>string created_by = 7;</code>

public getCreatedBy() : string
Return values
string

getDuration()

Generated from protobuf field <code>uint32 duration = 13;</code>

public getDuration() : int
Return values
int

getExpiresAt()

Generated from protobuf field <code>int64 expires_at = 12;</code>

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

getId()

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

public getId() : string
Return values
string

getIsAnonymous()

Generated from protobuf field <code>bool is_anonymous = 9;</code>

public getIsAnonymous() : bool
Return values
bool

getIsMultiple()

Generated from protobuf field <code>bool is_multiple = 10;</code>

public getIsMultiple() : bool
Return values
bool

getIsQuiz()

Generated from protobuf field <code>bool is_quiz = 11;</code>

public getIsQuiz() : bool
Return values
bool

getIsRunning()

Generated from protobuf field <code>bool is_running = 5;</code>

public getIsRunning() : bool
Return values
bool

getOptions()

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
string

getRoomId()

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

public getRoomId() : string
Return values
string

setClosedBy()

Generated from protobuf field <code>string closed_by = 8;</code>

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

setCreated()

Generated from protobuf field <code>int64 created = 6;</code>

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

setCreatedBy()

Generated from protobuf field <code>string created_by = 7;</code>

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

setDuration()

Generated from protobuf field <code>uint32 duration = 13;</code>

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

setExpiresAt()

Generated from protobuf field <code>int64 expires_at = 12;</code>

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

setId()

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

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

setIsAnonymous()

Generated from protobuf field <code>bool is_anonymous = 9;</code>

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

setIsMultiple()

Generated from protobuf field <code>bool is_multiple = 10;</code>

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

setIsQuiz()

Generated from protobuf field <code>bool is_quiz = 11;</code>

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

setIsRunning()

Generated from protobuf field <code>bool is_running = 5;</code>

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

setOptions()

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
$this

setQuestion()

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

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

setRoomId()

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

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

Search results