UserMetadata
extends Message
in package
Generated from protobuf message <code>plugnmeet.UserMetadata</code>
Table of Contents
Properties
- $ex_user_id : mixed
- if remain empty then will use value from user_id
- $is_admin : mixed
- Generated from protobuf field <code>bool is_admin = 2;</code>
- $is_presenter : mixed
- Generated from protobuf field <code>bool is_presenter = 4 [(.buf.validate.field) = {</code>
- $lock_settings : mixed
- Generated from protobuf field <code>.plugnmeet.LockSettings lock_settings = 8;</code>
- $metadata_id : mixed
- we'll use this as version control
- $preferred_lang : mixed
- Generated from protobuf field <code>optional string preferred_lang = 7;</code>
- $profile_pic : mixed
- Generated from protobuf field <code>optional string profile_pic = 1 [(.buf.validate.field) = {</code>
- $raised_hand : mixed
- Generated from protobuf field <code>bool raised_hand = 5 [(.buf.validate.field) = {</code>
- $record_webcam : mixed
- Generated from protobuf field <code>optional bool record_webcam = 3;</code>
- $wait_for_approval : mixed
- Generated from protobuf field <code>bool wait_for_approval = 6 [(.buf.validate.field) = {</code>
- $extra_data : mixed
- Generated from protobuf field <code>map<string, string> extra_data = 10;</code>
Methods
- __construct() : mixed
- Constructor.
- clearExUserId() : mixed
- clearLockSettings() : mixed
- clearMetadataId() : mixed
- clearPreferredLang() : mixed
- clearProfilePic() : mixed
- clearRecordWebcam() : mixed
- getExtraData() : MapField
- Generated from protobuf field <code>map<string, string> extra_data = 10;</code>
- getExUserId() : string
- if remain empty then will use value from user_id
- getIsAdmin() : bool
- Generated from protobuf field <code>bool is_admin = 2;</code>
- getIsPresenter() : bool
- Generated from protobuf field <code>bool is_presenter = 4 [(.buf.validate.field) = {</code>
- getLockSettings() : LockSettings|null
- Generated from protobuf field <code>.plugnmeet.LockSettings lock_settings = 8;</code>
- getMetadataId() : string
- we'll use this as version control
- getPreferredLang() : string
- Generated from protobuf field <code>optional string preferred_lang = 7;</code>
- getProfilePic() : string
- Generated from protobuf field <code>optional string profile_pic = 1 [(.buf.validate.field) = {</code>
- getRaisedHand() : bool
- Generated from protobuf field <code>bool raised_hand = 5 [(.buf.validate.field) = {</code>
- getRecordWebcam() : bool
- Generated from protobuf field <code>optional bool record_webcam = 3;</code>
- getWaitForApproval() : bool
- Generated from protobuf field <code>bool wait_for_approval = 6 [(.buf.validate.field) = {</code>
- hasExUserId() : mixed
- hasLockSettings() : mixed
- hasMetadataId() : mixed
- hasPreferredLang() : mixed
- hasProfilePic() : mixed
- hasRecordWebcam() : mixed
- setExtraData() : $this
- Generated from protobuf field <code>map<string, string> extra_data = 10;</code>
- setExUserId() : $this
- if remain empty then will use value from user_id
- setIsAdmin() : $this
- Generated from protobuf field <code>bool is_admin = 2;</code>
- setIsPresenter() : $this
- Generated from protobuf field <code>bool is_presenter = 4 [(.buf.validate.field) = {</code>
- setLockSettings() : $this
- Generated from protobuf field <code>.plugnmeet.LockSettings lock_settings = 8;</code>
- setMetadataId() : $this
- we'll use this as version control
- setPreferredLang() : $this
- Generated from protobuf field <code>optional string preferred_lang = 7;</code>
- setProfilePic() : $this
- Generated from protobuf field <code>optional string profile_pic = 1 [(.buf.validate.field) = {</code>
- setRaisedHand() : $this
- Generated from protobuf field <code>bool raised_hand = 5 [(.buf.validate.field) = {</code>
- setRecordWebcam() : $this
- Generated from protobuf field <code>optional bool record_webcam = 3;</code>
- setWaitForApproval() : $this
- Generated from protobuf field <code>bool wait_for_approval = 6 [(.buf.validate.field) = {</code>
Properties
$ex_user_id
if remain empty then will use value from user_id
protected
mixed
$ex_user_id
= null
Generated from protobuf field optional string ex_user_id = 11;
$is_admin
Generated from protobuf field <code>bool is_admin = 2;</code>
protected
mixed
$is_admin
= false
$is_presenter
Generated from protobuf field <code>bool is_presenter = 4 [(.buf.validate.field) = {</code>
protected
mixed
$is_presenter
= false
$lock_settings
Generated from protobuf field <code>.plugnmeet.LockSettings lock_settings = 8;</code>
protected
mixed
$lock_settings
= null
$metadata_id
we'll use this as version control
protected
mixed
$metadata_id
= null
Generated from protobuf field optional string metadata_id = 9 [(.buf.validate.field) = {
$preferred_lang
Generated from protobuf field <code>optional string preferred_lang = 7;</code>
protected
mixed
$preferred_lang
= null
$profile_pic
Generated from protobuf field <code>optional string profile_pic = 1 [(.buf.validate.field) = {</code>
protected
mixed
$profile_pic
= null
$raised_hand
Generated from protobuf field <code>bool raised_hand = 5 [(.buf.validate.field) = {</code>
protected
mixed
$raised_hand
= false
$record_webcam
Generated from protobuf field <code>optional bool record_webcam = 3;</code>
protected
mixed
$record_webcam
= null
$wait_for_approval
Generated from protobuf field <code>bool wait_for_approval = 6 [(.buf.validate.field) = {</code>
protected
mixed
$wait_for_approval
= false
$extra_data
Generated from protobuf field <code>map<string, string> extra_data = 10;</code>
private
mixed
$extra_data
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 $profile_pic @type bool $is_admin @type bool $record_webcam @type bool $is_presenter @type bool $raised_hand @type bool $wait_for_approval @type string $preferred_lang @type \Mynaparrot\PlugnmeetProto\LockSettings $lock_settings @type string $metadata_id we'll use this as version control @type array|\Google\Protobuf\Internal\MapField $extra_data @type string $ex_user_id if remain empty then will use value from user_id}
clearExUserId()
public
clearExUserId() : mixed
clearLockSettings()
public
clearLockSettings() : mixed
clearMetadataId()
public
clearMetadataId() : mixed
clearPreferredLang()
public
clearPreferredLang() : mixed
clearProfilePic()
public
clearProfilePic() : mixed
clearRecordWebcam()
public
clearRecordWebcam() : mixed
getExtraData()
Generated from protobuf field <code>map<string, string> extra_data = 10;</code>
public
getExtraData() : MapField
Return values
MapFieldgetExUserId()
if remain empty then will use value from user_id
public
getExUserId() : string
Generated from protobuf field optional string ex_user_id = 11;
Return values
stringgetIsAdmin()
Generated from protobuf field <code>bool is_admin = 2;</code>
public
getIsAdmin() : bool
Return values
boolgetIsPresenter()
Generated from protobuf field <code>bool is_presenter = 4 [(.buf.validate.field) = {</code>
public
getIsPresenter() : bool
Return values
boolgetLockSettings()
Generated from protobuf field <code>.plugnmeet.LockSettings lock_settings = 8;</code>
public
getLockSettings() : LockSettings|null
Return values
LockSettings|nullgetMetadataId()
we'll use this as version control
public
getMetadataId() : string
Generated from protobuf field optional string metadata_id = 9 [(.buf.validate.field) = {
Return values
stringgetPreferredLang()
Generated from protobuf field <code>optional string preferred_lang = 7;</code>
public
getPreferredLang() : string
Return values
stringgetProfilePic()
Generated from protobuf field <code>optional string profile_pic = 1 [(.buf.validate.field) = {</code>
public
getProfilePic() : string
Return values
stringgetRaisedHand()
Generated from protobuf field <code>bool raised_hand = 5 [(.buf.validate.field) = {</code>
public
getRaisedHand() : bool
Return values
boolgetRecordWebcam()
Generated from protobuf field <code>optional bool record_webcam = 3;</code>
public
getRecordWebcam() : bool
Return values
boolgetWaitForApproval()
Generated from protobuf field <code>bool wait_for_approval = 6 [(.buf.validate.field) = {</code>
public
getWaitForApproval() : bool
Return values
boolhasExUserId()
public
hasExUserId() : mixed
hasLockSettings()
public
hasLockSettings() : mixed
hasMetadataId()
public
hasMetadataId() : mixed
hasPreferredLang()
public
hasPreferredLang() : mixed
hasProfilePic()
public
hasProfilePic() : mixed
hasRecordWebcam()
public
hasRecordWebcam() : mixed
setExtraData()
Generated from protobuf field <code>map<string, string> extra_data = 10;</code>
public
setExtraData(array<string|int, mixed>|MapField $var) : $this
Parameters
- $var : array<string|int, mixed>|MapField
Return values
$thissetExUserId()
if remain empty then will use value from user_id
public
setExUserId(string $var) : $this
Generated from protobuf field optional string ex_user_id = 11;
Parameters
- $var : string
Return values
$thissetIsAdmin()
Generated from protobuf field <code>bool is_admin = 2;</code>
public
setIsAdmin(bool $var) : $this
Parameters
- $var : bool
Return values
$thissetIsPresenter()
Generated from protobuf field <code>bool is_presenter = 4 [(.buf.validate.field) = {</code>
public
setIsPresenter(bool $var) : $this
Parameters
- $var : bool
Return values
$thissetLockSettings()
Generated from protobuf field <code>.plugnmeet.LockSettings lock_settings = 8;</code>
public
setLockSettings(LockSettings $var) : $this
Parameters
- $var : LockSettings
Return values
$thissetMetadataId()
we'll use this as version control
public
setMetadataId(string $var) : $this
Generated from protobuf field optional string metadata_id = 9 [(.buf.validate.field) = {
Parameters
- $var : string
Return values
$thissetPreferredLang()
Generated from protobuf field <code>optional string preferred_lang = 7;</code>
public
setPreferredLang(string $var) : $this
Parameters
- $var : string
Return values
$thissetProfilePic()
Generated from protobuf field <code>optional string profile_pic = 1 [(.buf.validate.field) = {</code>
public
setProfilePic(string $var) : $this
Parameters
- $var : string
Return values
$thissetRaisedHand()
Generated from protobuf field <code>bool raised_hand = 5 [(.buf.validate.field) = {</code>
public
setRaisedHand(bool $var) : $this
Parameters
- $var : bool
Return values
$thissetRecordWebcam()
Generated from protobuf field <code>optional bool record_webcam = 3;</code>
public
setRecordWebcam(bool $var) : $this
Parameters
- $var : bool
Return values
$thissetWaitForApproval()
Generated from protobuf field <code>bool wait_for_approval = 6 [(.buf.validate.field) = {</code>
public
setWaitForApproval(bool $var) : $this
Parameters
- $var : bool