NatsKvUserInfo
extends Message
in package
Generated from protobuf message <code>plugnmeet.NatsKvUserInfo</code>
Table of Contents
Properties
- $disconnected_at : mixed
- Generated from protobuf field <code>uint64 disconnected_at = 10;</code>
- $is_admin : mixed
- Generated from protobuf field <code>bool is_admin = 5;</code>
- $is_presenter : mixed
- Generated from protobuf field <code>bool is_presenter = 6;</code>
- $joined_at : mixed
- Generated from protobuf field <code>uint64 joined_at = 8;</code>
- $metadata : mixed
- Generated from protobuf field <code>string metadata = 7;</code>
- $name : mixed
- Generated from protobuf field <code>string name = 3;</code>
- $reconnected_at : mixed
- Generated from protobuf field <code>uint64 reconnected_at = 9;</code>
- $room_id : mixed
- Generated from protobuf field <code>string room_id = 4;</code>
- $user_id : mixed
- Generated from protobuf field <code>string user_id = 1;</code>
- $user_sid : mixed
- Generated from protobuf field <code>string user_sid = 2;</code>
Methods
- __construct() : mixed
- Constructor.
- getDisconnectedAt() : int|string
- Generated from protobuf field <code>uint64 disconnected_at = 10;</code>
- getIsAdmin() : bool
- Generated from protobuf field <code>bool is_admin = 5;</code>
- getIsPresenter() : bool
- Generated from protobuf field <code>bool is_presenter = 6;</code>
- getJoinedAt() : int|string
- Generated from protobuf field <code>uint64 joined_at = 8;</code>
- getMetadata() : string
- Generated from protobuf field <code>string metadata = 7;</code>
- getName() : string
- Generated from protobuf field <code>string name = 3;</code>
- getReconnectedAt() : int|string
- Generated from protobuf field <code>uint64 reconnected_at = 9;</code>
- getRoomId() : string
- Generated from protobuf field <code>string room_id = 4;</code>
- getUserId() : string
- Generated from protobuf field <code>string user_id = 1;</code>
- getUserSid() : string
- Generated from protobuf field <code>string user_sid = 2;</code>
- setDisconnectedAt() : $this
- Generated from protobuf field <code>uint64 disconnected_at = 10;</code>
- setIsAdmin() : $this
- Generated from protobuf field <code>bool is_admin = 5;</code>
- setIsPresenter() : $this
- Generated from protobuf field <code>bool is_presenter = 6;</code>
- setJoinedAt() : $this
- Generated from protobuf field <code>uint64 joined_at = 8;</code>
- setMetadata() : $this
- Generated from protobuf field <code>string metadata = 7;</code>
- setName() : $this
- Generated from protobuf field <code>string name = 3;</code>
- setReconnectedAt() : $this
- Generated from protobuf field <code>uint64 reconnected_at = 9;</code>
- setRoomId() : $this
- Generated from protobuf field <code>string room_id = 4;</code>
- setUserId() : $this
- Generated from protobuf field <code>string user_id = 1;</code>
- setUserSid() : $this
- Generated from protobuf field <code>string user_sid = 2;</code>
Properties
$disconnected_at
Generated from protobuf field <code>uint64 disconnected_at = 10;</code>
protected
mixed
$disconnected_at
= 0
$is_admin
Generated from protobuf field <code>bool is_admin = 5;</code>
protected
mixed
$is_admin
= false
$is_presenter
Generated from protobuf field <code>bool is_presenter = 6;</code>
protected
mixed
$is_presenter
= false
$joined_at
Generated from protobuf field <code>uint64 joined_at = 8;</code>
protected
mixed
$joined_at
= 0
$metadata
Generated from protobuf field <code>string metadata = 7;</code>
protected
mixed
$metadata
= ''
$name
Generated from protobuf field <code>string name = 3;</code>
protected
mixed
$name
= ''
$reconnected_at
Generated from protobuf field <code>uint64 reconnected_at = 9;</code>
protected
mixed
$reconnected_at
= 0
$room_id
Generated from protobuf field <code>string room_id = 4;</code>
protected
mixed
$room_id
= ''
$user_id
Generated from protobuf field <code>string user_id = 1;</code>
protected
mixed
$user_id
= ''
$user_sid
Generated from protobuf field <code>string user_sid = 2;</code>
protected
mixed
$user_sid
= ''
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 $user_id @type string $user_sid @type string $name @type string $room_id @type bool $is_admin @type bool $is_presenter @type string $metadata @type int|string $joined_at @type int|string $reconnected_at @type int|string $disconnected_at}
getDisconnectedAt()
Generated from protobuf field <code>uint64 disconnected_at = 10;</code>
public
getDisconnectedAt() : int|string
Return values
int|stringgetIsAdmin()
Generated from protobuf field <code>bool is_admin = 5;</code>
public
getIsAdmin() : bool
Return values
boolgetIsPresenter()
Generated from protobuf field <code>bool is_presenter = 6;</code>
public
getIsPresenter() : bool
Return values
boolgetJoinedAt()
Generated from protobuf field <code>uint64 joined_at = 8;</code>
public
getJoinedAt() : int|string
Return values
int|stringgetMetadata()
Generated from protobuf field <code>string metadata = 7;</code>
public
getMetadata() : string
Return values
stringgetName()
Generated from protobuf field <code>string name = 3;</code>
public
getName() : string
Return values
stringgetReconnectedAt()
Generated from protobuf field <code>uint64 reconnected_at = 9;</code>
public
getReconnectedAt() : int|string
Return values
int|stringgetRoomId()
Generated from protobuf field <code>string room_id = 4;</code>
public
getRoomId() : string
Return values
stringgetUserId()
Generated from protobuf field <code>string user_id = 1;</code>
public
getUserId() : string
Return values
stringgetUserSid()
Generated from protobuf field <code>string user_sid = 2;</code>
public
getUserSid() : string
Return values
stringsetDisconnectedAt()
Generated from protobuf field <code>uint64 disconnected_at = 10;</code>
public
setDisconnectedAt(int|string $var) : $this
Parameters
- $var : int|string
Return values
$thissetIsAdmin()
Generated from protobuf field <code>bool is_admin = 5;</code>
public
setIsAdmin(bool $var) : $this
Parameters
- $var : bool
Return values
$thissetIsPresenter()
Generated from protobuf field <code>bool is_presenter = 6;</code>
public
setIsPresenter(bool $var) : $this
Parameters
- $var : bool
Return values
$thissetJoinedAt()
Generated from protobuf field <code>uint64 joined_at = 8;</code>
public
setJoinedAt(int|string $var) : $this
Parameters
- $var : int|string
Return values
$thissetMetadata()
Generated from protobuf field <code>string metadata = 7;</code>
public
setMetadata(string $var) : $this
Parameters
- $var : string
Return values
$thissetName()
Generated from protobuf field <code>string name = 3;</code>
public
setName(string $var) : $this
Parameters
- $var : string
Return values
$thissetReconnectedAt()
Generated from protobuf field <code>uint64 reconnected_at = 9;</code>
public
setReconnectedAt(int|string $var) : $this
Parameters
- $var : int|string
Return values
$thissetRoomId()
Generated from protobuf field <code>string room_id = 4;</code>
public
setRoomId(string $var) : $this
Parameters
- $var : string
Return values
$thissetUserId()
Generated from protobuf field <code>string user_id = 1;</code>
public
setUserId(string $var) : $this
Parameters
- $var : string
Return values
$thissetUserSid()
Generated from protobuf field <code>string user_sid = 2;</code>
public
setUserSid(string $var) : $this
Parameters
- $var : string