Team
extends Message
in package
Generated from protobuf message <code>website.web.realtime.Team</code>
Table of Contents
Properties
- $display_name : mixed
- Nombre del equipo.
- $goals : mixed
- Goles marcados.
- $name : mixed
- Identificador del equipo.
Methods
- __construct() : mixed
- Constructor.
- getDisplayName() : string
- Nombre del equipo.
- getGoals() : int
- Goles marcados.
- getName() : string
- Identificador del equipo.
- setDisplayName() : $this
- Nombre del equipo.
- setGoals() : $this
- Goles marcados.
- setName() : $this
- Identificador del equipo.
Properties
$display_name
Nombre del equipo.
protected
mixed
$display_name
= ''
Generated from protobuf field string display_name = 2 [json_name = "displayName"];
$goals
Goles marcados.
protected
mixed
$goals
= 0
Generated from protobuf field int32 goals = 3 [json_name = "goals"];
$name
Identificador del equipo.
protected
mixed
$name
= ''
Generated from protobuf field string name = 1 [json_name = "name"];
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 $name Identificador del equipo. @type string $display_name Nombre del equipo. @type int $goals Goles marcados.}
getDisplayName()
Nombre del equipo.
public
getDisplayName() : string
Generated from protobuf field string display_name = 2 [json_name = "displayName"];
Return values
stringgetGoals()
Goles marcados.
public
getGoals() : int
Generated from protobuf field int32 goals = 3 [json_name = "goals"];
Return values
intgetName()
Identificador del equipo.
public
getName() : string
Generated from protobuf field string name = 1 [json_name = "name"];
Return values
stringsetDisplayName()
Nombre del equipo.
public
setDisplayName(string $var) : $this
Generated from protobuf field string display_name = 2 [json_name = "displayName"];
Parameters
- $var : string
Return values
$thissetGoals()
Goles marcados.
public
setGoals(int $var) : $this
Generated from protobuf field int32 goals = 3 [json_name = "goals"];
Parameters
- $var : int
Return values
$thissetName()
Identificador del equipo.
public
setName(string $var) : $this
Generated from protobuf field string name = 1 [json_name = "name"];
Parameters
- $var : string