GenerateTokenRes
extends Message
in package
Generated from protobuf message <code>plugnmeet.GenerateTokenRes</code>
Table of Contents
Properties
- $msg : mixed
- Generated from protobuf field <code>string msg = 2;</code>
- $status : mixed
- Generated from protobuf field <code>bool status = 1;</code>
- $token : mixed
- Generated from protobuf field <code>optional string token = 3;</code>
Methods
- __construct() : mixed
- Constructor.
- clearToken() : mixed
- getMsg() : string
- Generated from protobuf field <code>string msg = 2;</code>
- getStatus() : bool
- Generated from protobuf field <code>bool status = 1;</code>
- getToken() : string
- Generated from protobuf field <code>optional string token = 3;</code>
- hasToken() : mixed
- setMsg() : $this
- Generated from protobuf field <code>string msg = 2;</code>
- setStatus() : $this
- Generated from protobuf field <code>bool status = 1;</code>
- setToken() : $this
- Generated from protobuf field <code>optional string token = 3;</code>
Properties
$msg
Generated from protobuf field <code>string msg = 2;</code>
protected
mixed
$msg
= ''
$status
Generated from protobuf field <code>bool status = 1;</code>
protected
mixed
$status
= false
$token
Generated from protobuf field <code>optional string token = 3;</code>
protected
mixed
$token
= null
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 bool $status @type string $msg @type string $token}
clearToken()
public
clearToken() : mixed
getMsg()
Generated from protobuf field <code>string msg = 2;</code>
public
getMsg() : string
Return values
stringgetStatus()
Generated from protobuf field <code>bool status = 1;</code>
public
getStatus() : bool
Return values
boolgetToken()
Generated from protobuf field <code>optional string token = 3;</code>
public
getToken() : string
Return values
stringhasToken()
public
hasToken() : mixed
setMsg()
Generated from protobuf field <code>string msg = 2;</code>
public
setMsg(string $var) : $this
Parameters
- $var : string
Return values
$thissetStatus()
Generated from protobuf field <code>bool status = 1;</code>
public
setStatus(bool $var) : $this
Parameters
- $var : bool
Return values
$thissetToken()
Generated from protobuf field <code>optional string token = 3;</code>
public
setToken(string $var) : $this
Parameters
- $var : string