MatchScoreReply
extends Message
in package
Generated from protobuf message <code>website.web.realtime.MatchScoreReply</code>
Table of Contents
Properties
- $alternative_title : mixed
- Subtítulo de la noticia del partido.
- $city : mixed
- Ciudad donde se celebra el partido.
- $local : mixed
- Datos del equipo local.
- $stadium : mixed
- Estadio donde se celebra el partido
- $status : mixed
- Enumeración con el estado del partido.
- $status_text : mixed
- Texto con el estado del partido.
- $title : mixed
- Título de la noticia del partido.
- $url : mixed
- URL completa de la noticia del partido.
- $visitor : mixed
- Datos del equipo visitante.
Methods
- __construct() : mixed
- Constructor.
- clearLocal() : mixed
- clearVisitor() : mixed
- getAlternativeTitle() : string
- Subtítulo de la noticia del partido.
- getCity() : string
- Ciudad donde se celebra el partido.
- getLocal() : Team|null
- Datos del equipo local.
- getStadium() : string
- Estadio donde se celebra el partido
- getStatus() : int
- Enumeración con el estado del partido.
- getStatusText() : string
- Texto con el estado del partido.
- getTitle() : string
- Título de la noticia del partido.
- getUrl() : string
- URL completa de la noticia del partido.
- getVisitor() : Team|null
- Datos del equipo visitante.
- hasLocal() : mixed
- hasVisitor() : mixed
- setAlternativeTitle() : $this
- Subtítulo de la noticia del partido.
- setCity() : $this
- Ciudad donde se celebra el partido.
- setLocal() : $this
- Datos del equipo local.
- setStadium() : $this
- Estadio donde se celebra el partido
- setStatus() : $this
- Enumeración con el estado del partido.
- setStatusText() : $this
- Texto con el estado del partido.
- setTitle() : $this
- Título de la noticia del partido.
- setUrl() : $this
- URL completa de la noticia del partido.
- setVisitor() : $this
- Datos del equipo visitante.
Properties
$alternative_title
Subtítulo de la noticia del partido.
protected
mixed
$alternative_title
= ''
Generated from protobuf field string alternative_title = 9 [json_name = "alternativeTitle"];
$city
Ciudad donde se celebra el partido.
protected
mixed
$city
= ''
Generated from protobuf field string city = 3 [json_name = "city"];
$local
Datos del equipo local.
protected
mixed
$local
= null
Generated from protobuf field .website.web.realtime.Team local = 1 [json_name = "local"];
$stadium
Estadio donde se celebra el partido
protected
mixed
$stadium
= ''
Generated from protobuf field string stadium = 4 [json_name = "stadium"];
$status
Enumeración con el estado del partido.
protected
mixed
$status
= 0
Generated from protobuf field .website.web.realtime.MatchStatus status = 5 [json_name = "status"];
$status_text
Texto con el estado del partido.
protected
mixed
$status_text
= ''
Generated from protobuf field string status_text = 6 [json_name = "statusText"];
$title
Título de la noticia del partido.
protected
mixed
$title
= ''
Generated from protobuf field string title = 8 [json_name = "title"];
$url
URL completa de la noticia del partido.
protected
mixed
$url
= ''
Generated from protobuf field string url = 7 [json_name = "url"];
$visitor
Datos del equipo visitante.
protected
mixed
$visitor
= null
Generated from protobuf field .website.web.realtime.Team visitor = 2 [json_name = "visitor"];
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 \Website\Web\Realtime\Team $local Datos del equipo local. @type \Website\Web\Realtime\Team $visitor Datos del equipo visitante. @type string $city Ciudad donde se celebra el partido. @type string $stadium Estadio donde se celebra el partido @type int $status Enumeración con el estado del partido. @type string $status_text Texto con el estado del partido. @type string $url URL completa de la noticia del partido. @type string $title Título de la noticia del partido. @type string $alternative_title Subtítulo de la noticia del partido.}
clearLocal()
public
clearLocal() : mixed
clearVisitor()
public
clearVisitor() : mixed
getAlternativeTitle()
Subtítulo de la noticia del partido.
public
getAlternativeTitle() : string
Generated from protobuf field string alternative_title = 9 [json_name = "alternativeTitle"];
Return values
stringgetCity()
Ciudad donde se celebra el partido.
public
getCity() : string
Generated from protobuf field string city = 3 [json_name = "city"];
Return values
stringgetLocal()
Datos del equipo local.
public
getLocal() : Team|null
Generated from protobuf field .website.web.realtime.Team local = 1 [json_name = "local"];
Return values
Team|nullgetStadium()
Estadio donde se celebra el partido
public
getStadium() : string
Generated from protobuf field string stadium = 4 [json_name = "stadium"];
Return values
stringgetStatus()
Enumeración con el estado del partido.
public
getStatus() : int
Generated from protobuf field .website.web.realtime.MatchStatus status = 5 [json_name = "status"];
Return values
intgetStatusText()
Texto con el estado del partido.
public
getStatusText() : string
Generated from protobuf field string status_text = 6 [json_name = "statusText"];
Return values
stringgetTitle()
Título de la noticia del partido.
public
getTitle() : string
Generated from protobuf field string title = 8 [json_name = "title"];
Return values
stringgetUrl()
URL completa de la noticia del partido.
public
getUrl() : string
Generated from protobuf field string url = 7 [json_name = "url"];
Return values
stringgetVisitor()
Datos del equipo visitante.
public
getVisitor() : Team|null
Generated from protobuf field .website.web.realtime.Team visitor = 2 [json_name = "visitor"];
Return values
Team|nullhasLocal()
public
hasLocal() : mixed
hasVisitor()
public
hasVisitor() : mixed
setAlternativeTitle()
Subtítulo de la noticia del partido.
public
setAlternativeTitle(string $var) : $this
Generated from protobuf field string alternative_title = 9 [json_name = "alternativeTitle"];
Parameters
- $var : string
Return values
$thissetCity()
Ciudad donde se celebra el partido.
public
setCity(string $var) : $this
Generated from protobuf field string city = 3 [json_name = "city"];
Parameters
- $var : string
Return values
$thissetLocal()
Datos del equipo local.
public
setLocal(Team $var) : $this
Generated from protobuf field .website.web.realtime.Team local = 1 [json_name = "local"];
Parameters
- $var : Team
Return values
$thissetStadium()
Estadio donde se celebra el partido
public
setStadium(string $var) : $this
Generated from protobuf field string stadium = 4 [json_name = "stadium"];
Parameters
- $var : string
Return values
$thissetStatus()
Enumeración con el estado del partido.
public
setStatus(int $var) : $this
Generated from protobuf field .website.web.realtime.MatchStatus status = 5 [json_name = "status"];
Parameters
- $var : int
Return values
$thissetStatusText()
Texto con el estado del partido.
public
setStatusText(string $var) : $this
Generated from protobuf field string status_text = 6 [json_name = "statusText"];
Parameters
- $var : string
Return values
$thissetTitle()
Título de la noticia del partido.
public
setTitle(string $var) : $this
Generated from protobuf field string title = 8 [json_name = "title"];
Parameters
- $var : string
Return values
$thissetUrl()
URL completa de la noticia del partido.
public
setUrl(string $var) : $this
Generated from protobuf field string url = 7 [json_name = "url"];
Parameters
- $var : string
Return values
$thissetVisitor()
Datos del equipo visitante.
public
setVisitor(Team $var) : $this
Generated from protobuf field .website.web.realtime.Team visitor = 2 [json_name = "visitor"];
Parameters
- $var : Team