PromoteAgentRequest
extends Message
in package
Generated from protobuf message <code>livekit.PromoteAgentRequest</code>
Table of Contents
Properties
- $agent_id : mixed
- Generated from protobuf field <code>string agent_id = 1 [(.logger.name) = "agentID"];</code>
- $dst_deployment : mixed
- Generated from protobuf field <code>string dst_deployment = 3;</code>
- $src_deployment : mixed
- Generated from protobuf field <code>string src_deployment = 2;</code>
Methods
- __construct() : mixed
- Constructor.
- getAgentId() : string
- Generated from protobuf field <code>string agent_id = 1 [(.logger.name) = "agentID"];</code>
- getDstDeployment() : string
- Generated from protobuf field <code>string dst_deployment = 3;</code>
- getSrcDeployment() : string
- Generated from protobuf field <code>string src_deployment = 2;</code>
- setAgentId() : $this
- Generated from protobuf field <code>string agent_id = 1 [(.logger.name) = "agentID"];</code>
- setDstDeployment() : $this
- Generated from protobuf field <code>string dst_deployment = 3;</code>
- setSrcDeployment() : $this
- Generated from protobuf field <code>string src_deployment = 2;</code>
Properties
$agent_id
Generated from protobuf field <code>string agent_id = 1 [(.logger.name) = "agentID"];</code>
protected
mixed
$agent_id
= ''
$dst_deployment
Generated from protobuf field <code>string dst_deployment = 3;</code>
protected
mixed
$dst_deployment
= ''
$src_deployment
Generated from protobuf field <code>string src_deployment = 2;</code>
protected
mixed
$src_deployment
= ''
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 $agent_id @type string $src_deployment @type string $dst_deployment}
getAgentId()
Generated from protobuf field <code>string agent_id = 1 [(.logger.name) = "agentID"];</code>
public
getAgentId() : string
Return values
stringgetDstDeployment()
Generated from protobuf field <code>string dst_deployment = 3;</code>
public
getDstDeployment() : string
Return values
stringgetSrcDeployment()
Generated from protobuf field <code>string src_deployment = 2;</code>
public
getSrcDeployment() : string
Return values
stringsetAgentId()
Generated from protobuf field <code>string agent_id = 1 [(.logger.name) = "agentID"];</code>
public
setAgentId(string $var) : $this
Parameters
- $var : string
Return values
$thissetDstDeployment()
Generated from protobuf field <code>string dst_deployment = 3;</code>
public
setDstDeployment(string $var) : $this
Parameters
- $var : string
Return values
$thissetSrcDeployment()
Generated from protobuf field <code>string src_deployment = 2;</code>
public
setSrcDeployment(string $var) : $this
Parameters
- $var : string