NatsSystemNotification
extends Message
in package
Generated from protobuf message <code>plugnmeet.NatsSystemNotification</code>
Table of Contents
Properties
- $id : mixed
- Generated from protobuf field <code>string id = 1;</code>
- $msg : mixed
- Generated from protobuf field <code>string msg = 3;</code>
- $sent_at : mixed
- Generated from protobuf field <code>int64 sent_at = 4;</code>
- $type : mixed
- Generated from protobuf field <code>.plugnmeet.NatsSystemNotificationTypes type = 2;</code>
- $with_sound : mixed
- Generated from protobuf field <code>bool with_sound = 5;</code>
Methods
- __construct() : mixed
- Constructor.
- getId() : string
- Generated from protobuf field <code>string id = 1;</code>
- getMsg() : string
- Generated from protobuf field <code>string msg = 3;</code>
- getSentAt() : int|string
- Generated from protobuf field <code>int64 sent_at = 4;</code>
- getType() : int
- Generated from protobuf field <code>.plugnmeet.NatsSystemNotificationTypes type = 2;</code>
- getWithSound() : bool
- Generated from protobuf field <code>bool with_sound = 5;</code>
- setId() : $this
- Generated from protobuf field <code>string id = 1;</code>
- setMsg() : $this
- Generated from protobuf field <code>string msg = 3;</code>
- setSentAt() : $this
- Generated from protobuf field <code>int64 sent_at = 4;</code>
- setType() : $this
- Generated from protobuf field <code>.plugnmeet.NatsSystemNotificationTypes type = 2;</code>
- setWithSound() : $this
- Generated from protobuf field <code>bool with_sound = 5;</code>
Properties
$id
Generated from protobuf field <code>string id = 1;</code>
protected
mixed
$id
= ''
$msg
Generated from protobuf field <code>string msg = 3;</code>
protected
mixed
$msg
= ''
$sent_at
Generated from protobuf field <code>int64 sent_at = 4;</code>
protected
mixed
$sent_at
= 0
$type
Generated from protobuf field <code>.plugnmeet.NatsSystemNotificationTypes type = 2;</code>
protected
mixed
$type
= 0
$with_sound
Generated from protobuf field <code>bool with_sound = 5;</code>
protected
mixed
$with_sound
= false
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 int $type @type string $msg @type int|string $sent_at @type bool $with_sound}
getId()
Generated from protobuf field <code>string id = 1;</code>
public
getId() : string
Return values
stringgetMsg()
Generated from protobuf field <code>string msg = 3;</code>
public
getMsg() : string
Return values
stringgetSentAt()
Generated from protobuf field <code>int64 sent_at = 4;</code>
public
getSentAt() : int|string
Return values
int|stringgetType()
Generated from protobuf field <code>.plugnmeet.NatsSystemNotificationTypes type = 2;</code>
public
getType() : int
Return values
intgetWithSound()
Generated from protobuf field <code>bool with_sound = 5;</code>
public
getWithSound() : bool
Return values
boolsetId()
Generated from protobuf field <code>string id = 1;</code>
public
setId(string $var) : $this
Parameters
- $var : string
Return values
$thissetMsg()
Generated from protobuf field <code>string msg = 3;</code>
public
setMsg(string $var) : $this
Parameters
- $var : string
Return values
$thissetSentAt()
Generated from protobuf field <code>int64 sent_at = 4;</code>
public
setSentAt(int|string $var) : $this
Parameters
- $var : int|string
Return values
$thissetType()
Generated from protobuf field <code>.plugnmeet.NatsSystemNotificationTypes type = 2;</code>
public
setType(int $var) : $this
Parameters
- $var : int
Return values
$thissetWithSound()
Generated from protobuf field <code>bool with_sound = 5;</code>
public
setWithSound(bool $var) : $this
Parameters
- $var : bool