SegmentData
extends Message
in package
Generated from protobuf message <code>website.admin.realtime_segments.SegmentData</code>
Table of Contents
Properties
- $data : mixed
Methods
- __construct() : mixed
- Constructor.
- getCard() : Card|null
- Tarjeta roja o amarilla en un partido.
- getContent() : Content|null
- Contenido HTML.
- getData() : string
- getDisallowedGoal() : DisallowedGoal|null
- Indicador de gol anulado en el partido.
- getDiscount() : Discount|null
- Inicio del tiempo de descuento.
- getFacebookPost() : FacebookPost|null
- Post de Facebook.
- getFirstHalf() : FirstHalf|null
- Inicio del primer tiempo.
- getFirstHalfExtra() : FirstHalfExtra|null
- Inicio del primer tiempo de la prorroga.
- getGoal() : Goal|null
- Indicador de gol durante el partido.
- getImages() : Images|null
- Imágenes.
- getIncomingPlayers() : IncomingPlayers|null
- Cambio de jugadores donde solo indicamos los que entran.
- getInstagramPost() : InstagramPost|null
- Post de Instagram.
- getLocation() : Location|null
- Estadio y ciudad donde se celebra el partido Este segmento solo se aplica a noticias de deportes.
- getNewsFeatures() : NewsFeatures|null
- Crónica final como resumen de toda la noticia.
- getPenalties() : Penalties|null
- Inicio del tiempo de penalties.
- getSecondHalf() : SecondHalf|null
- Inicio del segundo tiempo.
- getSecondHalfExtra() : SecondHalfExtra|null
- Inicio del segundo tiempo de la prorroga.
- getSubstitutedPlayers() : SubstitutedPlayers|null
- Cambio de jugadores dónde solo indicamos los que salen.
- getSubstitutions() : Substitutions|null
- Cambios de jugadores.
- getTeams() : Teams|null
- Información del equipo local y visitante junto con su alineación inicial.
- getTweet() : Tweet|null
- Post de twitter.
- getVimeoVideo() : VimeoVideo|null
- Video de Vimeo.
- getYoutubeVideo() : YoutubeVideo|null
- Video de YouTube.
- hasCard() : mixed
- hasContent() : mixed
- hasDisallowedGoal() : mixed
- hasDiscount() : mixed
- hasFacebookPost() : mixed
- hasFirstHalf() : mixed
- hasFirstHalfExtra() : mixed
- hasGoal() : mixed
- hasImages() : mixed
- hasIncomingPlayers() : mixed
- hasInstagramPost() : mixed
- hasLocation() : mixed
- hasNewsFeatures() : mixed
- hasPenalties() : mixed
- hasSecondHalf() : mixed
- hasSecondHalfExtra() : mixed
- hasSubstitutedPlayers() : mixed
- hasSubstitutions() : mixed
- hasTeams() : mixed
- hasTweet() : mixed
- hasVimeoVideo() : mixed
- hasYoutubeVideo() : mixed
- setCard() : $this
- Tarjeta roja o amarilla en un partido.
- setContent() : $this
- Contenido HTML.
- setDisallowedGoal() : $this
- Indicador de gol anulado en el partido.
- setDiscount() : $this
- Inicio del tiempo de descuento.
- setFacebookPost() : $this
- Post de Facebook.
- setFirstHalf() : $this
- Inicio del primer tiempo.
- setFirstHalfExtra() : $this
- Inicio del primer tiempo de la prorroga.
- setGoal() : $this
- Indicador de gol durante el partido.
- setImages() : $this
- Imágenes.
- setIncomingPlayers() : $this
- Cambio de jugadores donde solo indicamos los que entran.
- setInstagramPost() : $this
- Post de Instagram.
- setLocation() : $this
- Estadio y ciudad donde se celebra el partido Este segmento solo se aplica a noticias de deportes.
- setNewsFeatures() : $this
- Crónica final como resumen de toda la noticia.
- setPenalties() : $this
- Inicio del tiempo de penalties.
- setSecondHalf() : $this
- Inicio del segundo tiempo.
- setSecondHalfExtra() : $this
- Inicio del segundo tiempo de la prorroga.
- setSubstitutedPlayers() : $this
- Cambio de jugadores dónde solo indicamos los que salen.
- setSubstitutions() : $this
- Cambios de jugadores.
- setTeams() : $this
- Información del equipo local y visitante junto con su alineación inicial.
- setTweet() : $this
- Post de twitter.
- setVimeoVideo() : $this
- Video de Vimeo.
- setYoutubeVideo() : $this
- Video de YouTube.
Properties
$data
protected
mixed
$data
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\Admin\RealtimeSegments\Images $images Imágenes. @type \Website\Admin\RealtimeSegments\NewsFeatures $news_features Crónica final como resumen de toda la noticia. @type \Website\Admin\RealtimeSegments\YoutubeVideo $youtube_video Video de YouTube. @type \Website\Admin\RealtimeSegments\VimeoVideo $vimeo_video Video de Vimeo. @type \Website\Admin\RealtimeSegments\FacebookPost $facebook_post Post de Facebook. @type \Website\Admin\RealtimeSegments\Tweet $tweet Post de twitter. @type \Website\Admin\RealtimeSegments\InstagramPost $instagram_post Post de Instagram. @type \Website\Admin\RealtimeSegments\Substitutions $substitutions Cambios de jugadores. Este segmento solo se aplica a noticias de deportes. @type \Website\Admin\RealtimeSegments\SubstitutedPlayers $substituted_players Cambio de jugadores dónde solo indicamos los que salen. Este segmento solo se aplica a noticias de deportes. @type \Website\Admin\RealtimeSegments\IncomingPlayers $incoming_players Cambio de jugadores donde solo indicamos los que entran. Este segmento solo se aplica a noticias de deportes. @type \Website\Admin\RealtimeSegments\Card $card Tarjeta roja o amarilla en un partido. Este segmento solo se aplica a noticias de deportes. @type \Website\Admin\RealtimeSegments\Goal $goal Indicador de gol durante el partido. Este segmento solo se aplica a noticias de deportes. @type \Website\Admin\RealtimeSegments\FirstHalf $first_half Inicio del primer tiempo. Este segmento solo se aplica a noticias de deportes. @type \Website\Admin\RealtimeSegments\SecondHalf $second_half Inicio del segundo tiempo. Este segmento solo se aplica a noticias de deportes. @type \Website\Admin\RealtimeSegments\Discount $discount Inicio del tiempo de descuento. Este segmento solo se aplica a noticias de deportes. @type \Website\Admin\RealtimeSegments\FirstHalfExtra $first_half_extra Inicio del primer tiempo de la prorroga. Este segmento solo se aplica a noticias de deportes. @type \Website\Admin\RealtimeSegments\SecondHalfExtra $second_half_extra Inicio del segundo tiempo de la prorroga. Este segmento solo se aplica a noticias de deportes. @type \Website\Admin\RealtimeSegments\Penalties $penalties Inicio del tiempo de penalties. Este segmento solo se aplica a noticias de deportes. @type \Website\Admin\RealtimeSegments\Location $location Estadio y ciudad donde se celebra el partido Este segmento solo se aplica a noticias de deportes. @type \Website\Admin\RealtimeSegments\Teams $teams Información del equipo local y visitante junto con su alineación inicial. Este segmento solo se aplica a noticias de deportes. @type \Website\Admin\RealtimeSegments\Content $content Contenido HTML. @type \Website\Admin\RealtimeSegments\DisallowedGoal $disallowed_goal Indicador de gol anulado en el partido. Este segmento solo se aplica a noticias de deportes.}
getCard()
Tarjeta roja o amarilla en un partido.
public
getCard() : Card|null
Este segmento solo se aplica a noticias de deportes.
Generated from protobuf field .website.admin.realtime_segments.Card card = 11 [json_name = "card"];
Return values
Card|nullgetContent()
Contenido HTML.
public
getContent() : Content|null
Generated from protobuf field .website.admin.realtime_segments.Content content = 21 [json_name = "content"];
Return values
Content|nullgetData()
public
getData() : string
Return values
stringgetDisallowedGoal()
Indicador de gol anulado en el partido.
public
getDisallowedGoal() : DisallowedGoal|null
Este segmento solo se aplica a noticias de deportes.
Generated from protobuf field .website.admin.realtime_segments.DisallowedGoal disallowed_goal = 22 [json_name = "disallowedGoal"];
Return values
DisallowedGoal|nullgetDiscount()
Inicio del tiempo de descuento.
public
getDiscount() : Discount|null
Este segmento solo se aplica a noticias de deportes.
Generated from protobuf field .website.admin.realtime_segments.Discount discount = 15 [json_name = "discount"];
Return values
Discount|nullgetFacebookPost()
Post de Facebook.
public
getFacebookPost() : FacebookPost|null
Generated from protobuf field .website.admin.realtime_segments.FacebookPost facebook_post = 5 [json_name = "facebookPost"];
Return values
FacebookPost|nullgetFirstHalf()
Inicio del primer tiempo.
public
getFirstHalf() : FirstHalf|null
Este segmento solo se aplica a noticias de deportes.
Generated from protobuf field .website.admin.realtime_segments.FirstHalf first_half = 13 [json_name = "firstHalf"];
Return values
FirstHalf|nullgetFirstHalfExtra()
Inicio del primer tiempo de la prorroga.
public
getFirstHalfExtra() : FirstHalfExtra|null
Este segmento solo se aplica a noticias de deportes.
Generated from protobuf field .website.admin.realtime_segments.FirstHalfExtra first_half_extra = 16 [json_name = "firstHalfExtra"];
Return values
FirstHalfExtra|nullgetGoal()
Indicador de gol durante el partido.
public
getGoal() : Goal|null
Este segmento solo se aplica a noticias de deportes.
Generated from protobuf field .website.admin.realtime_segments.Goal goal = 12 [json_name = "goal"];
Return values
Goal|nullgetImages()
Imágenes.
public
getImages() : Images|null
Generated from protobuf field .website.admin.realtime_segments.Images images = 1 [json_name = "images"];
Return values
Images|nullgetIncomingPlayers()
Cambio de jugadores donde solo indicamos los que entran.
public
getIncomingPlayers() : IncomingPlayers|null
Este segmento solo se aplica a noticias de deportes.
Generated from protobuf field .website.admin.realtime_segments.IncomingPlayers incoming_players = 10 [json_name = "incomingPlayers"];
Return values
IncomingPlayers|nullgetInstagramPost()
Post de Instagram.
public
getInstagramPost() : InstagramPost|null
Generated from protobuf field .website.admin.realtime_segments.InstagramPost instagram_post = 7 [json_name = "instagramPost"];
Return values
InstagramPost|nullgetLocation()
Estadio y ciudad donde se celebra el partido Este segmento solo se aplica a noticias de deportes.
public
getLocation() : Location|null
Generated from protobuf field .website.admin.realtime_segments.Location location = 19 [json_name = "location"];
Return values
Location|nullgetNewsFeatures()
Crónica final como resumen de toda la noticia.
public
getNewsFeatures() : NewsFeatures|null
Generated from protobuf field .website.admin.realtime_segments.NewsFeatures news_features = 2 [json_name = "newsFeatures"];
Return values
NewsFeatures|nullgetPenalties()
Inicio del tiempo de penalties.
public
getPenalties() : Penalties|null
Este segmento solo se aplica a noticias de deportes.
Generated from protobuf field .website.admin.realtime_segments.Penalties penalties = 18 [json_name = "penalties"];
Return values
Penalties|nullgetSecondHalf()
Inicio del segundo tiempo.
public
getSecondHalf() : SecondHalf|null
Este segmento solo se aplica a noticias de deportes.
Generated from protobuf field .website.admin.realtime_segments.SecondHalf second_half = 14 [json_name = "secondHalf"];
Return values
SecondHalf|nullgetSecondHalfExtra()
Inicio del segundo tiempo de la prorroga.
public
getSecondHalfExtra() : SecondHalfExtra|null
Este segmento solo se aplica a noticias de deportes.
Generated from protobuf field .website.admin.realtime_segments.SecondHalfExtra second_half_extra = 17 [json_name = "secondHalfExtra"];
Return values
SecondHalfExtra|nullgetSubstitutedPlayers()
Cambio de jugadores dónde solo indicamos los que salen.
public
getSubstitutedPlayers() : SubstitutedPlayers|null
Este segmento solo se aplica a noticias de deportes.
Generated from protobuf field .website.admin.realtime_segments.SubstitutedPlayers substituted_players = 9 [json_name = "substitutedPlayers"];
Return values
SubstitutedPlayers|nullgetSubstitutions()
Cambios de jugadores.
public
getSubstitutions() : Substitutions|null
Este segmento solo se aplica a noticias de deportes.
Generated from protobuf field .website.admin.realtime_segments.Substitutions substitutions = 8 [json_name = "substitutions"];
Return values
Substitutions|nullgetTeams()
Información del equipo local y visitante junto con su alineación inicial.
public
getTeams() : Teams|null
Este segmento solo se aplica a noticias de deportes.
Generated from protobuf field .website.admin.realtime_segments.Teams teams = 20 [json_name = "teams"];
Return values
Teams|nullgetTweet()
Post de twitter.
public
getTweet() : Tweet|null
Generated from protobuf field .website.admin.realtime_segments.Tweet tweet = 6 [json_name = "tweet"];
Return values
Tweet|nullgetVimeoVideo()
Video de Vimeo.
public
getVimeoVideo() : VimeoVideo|null
Generated from protobuf field .website.admin.realtime_segments.VimeoVideo vimeo_video = 4 [json_name = "vimeoVideo"];
Return values
VimeoVideo|nullgetYoutubeVideo()
Video de YouTube.
public
getYoutubeVideo() : YoutubeVideo|null
Generated from protobuf field .website.admin.realtime_segments.YoutubeVideo youtube_video = 3 [json_name = "youtubeVideo"];
Return values
YoutubeVideo|nullhasCard()
public
hasCard() : mixed
hasContent()
public
hasContent() : mixed
hasDisallowedGoal()
public
hasDisallowedGoal() : mixed
hasDiscount()
public
hasDiscount() : mixed
hasFacebookPost()
public
hasFacebookPost() : mixed
hasFirstHalf()
public
hasFirstHalf() : mixed
hasFirstHalfExtra()
public
hasFirstHalfExtra() : mixed
hasGoal()
public
hasGoal() : mixed
hasImages()
public
hasImages() : mixed
hasIncomingPlayers()
public
hasIncomingPlayers() : mixed
hasInstagramPost()
public
hasInstagramPost() : mixed
hasLocation()
public
hasLocation() : mixed
hasNewsFeatures()
public
hasNewsFeatures() : mixed
hasPenalties()
public
hasPenalties() : mixed
hasSecondHalf()
public
hasSecondHalf() : mixed
hasSecondHalfExtra()
public
hasSecondHalfExtra() : mixed
hasSubstitutedPlayers()
public
hasSubstitutedPlayers() : mixed
hasSubstitutions()
public
hasSubstitutions() : mixed
hasTeams()
public
hasTeams() : mixed
hasTweet()
public
hasTweet() : mixed
hasVimeoVideo()
public
hasVimeoVideo() : mixed
hasYoutubeVideo()
public
hasYoutubeVideo() : mixed
setCard()
Tarjeta roja o amarilla en un partido.
public
setCard(Card $var) : $this
Este segmento solo se aplica a noticias de deportes.
Generated from protobuf field .website.admin.realtime_segments.Card card = 11 [json_name = "card"];
Parameters
- $var : Card
Return values
$thissetContent()
Contenido HTML.
public
setContent(Content $var) : $this
Generated from protobuf field .website.admin.realtime_segments.Content content = 21 [json_name = "content"];
Parameters
- $var : Content
Return values
$thissetDisallowedGoal()
Indicador de gol anulado en el partido.
public
setDisallowedGoal(DisallowedGoal $var) : $this
Este segmento solo se aplica a noticias de deportes.
Generated from protobuf field .website.admin.realtime_segments.DisallowedGoal disallowed_goal = 22 [json_name = "disallowedGoal"];
Parameters
- $var : DisallowedGoal
Return values
$thissetDiscount()
Inicio del tiempo de descuento.
public
setDiscount(Discount $var) : $this
Este segmento solo se aplica a noticias de deportes.
Generated from protobuf field .website.admin.realtime_segments.Discount discount = 15 [json_name = "discount"];
Parameters
- $var : Discount
Return values
$thissetFacebookPost()
Post de Facebook.
public
setFacebookPost(FacebookPost $var) : $this
Generated from protobuf field .website.admin.realtime_segments.FacebookPost facebook_post = 5 [json_name = "facebookPost"];
Parameters
- $var : FacebookPost
Return values
$thissetFirstHalf()
Inicio del primer tiempo.
public
setFirstHalf(FirstHalf $var) : $this
Este segmento solo se aplica a noticias de deportes.
Generated from protobuf field .website.admin.realtime_segments.FirstHalf first_half = 13 [json_name = "firstHalf"];
Parameters
- $var : FirstHalf
Return values
$thissetFirstHalfExtra()
Inicio del primer tiempo de la prorroga.
public
setFirstHalfExtra(FirstHalfExtra $var) : $this
Este segmento solo se aplica a noticias de deportes.
Generated from protobuf field .website.admin.realtime_segments.FirstHalfExtra first_half_extra = 16 [json_name = "firstHalfExtra"];
Parameters
- $var : FirstHalfExtra
Return values
$thissetGoal()
Indicador de gol durante el partido.
public
setGoal(Goal $var) : $this
Este segmento solo se aplica a noticias de deportes.
Generated from protobuf field .website.admin.realtime_segments.Goal goal = 12 [json_name = "goal"];
Parameters
- $var : Goal
Return values
$thissetImages()
Imágenes.
public
setImages(Images $var) : $this
Generated from protobuf field .website.admin.realtime_segments.Images images = 1 [json_name = "images"];
Parameters
- $var : Images
Return values
$thissetIncomingPlayers()
Cambio de jugadores donde solo indicamos los que entran.
public
setIncomingPlayers(IncomingPlayers $var) : $this
Este segmento solo se aplica a noticias de deportes.
Generated from protobuf field .website.admin.realtime_segments.IncomingPlayers incoming_players = 10 [json_name = "incomingPlayers"];
Parameters
- $var : IncomingPlayers
Return values
$thissetInstagramPost()
Post de Instagram.
public
setInstagramPost(InstagramPost $var) : $this
Generated from protobuf field .website.admin.realtime_segments.InstagramPost instagram_post = 7 [json_name = "instagramPost"];
Parameters
- $var : InstagramPost
Return values
$thissetLocation()
Estadio y ciudad donde se celebra el partido Este segmento solo se aplica a noticias de deportes.
public
setLocation(Location $var) : $this
Generated from protobuf field .website.admin.realtime_segments.Location location = 19 [json_name = "location"];
Parameters
- $var : Location
Return values
$thissetNewsFeatures()
Crónica final como resumen de toda la noticia.
public
setNewsFeatures(NewsFeatures $var) : $this
Generated from protobuf field .website.admin.realtime_segments.NewsFeatures news_features = 2 [json_name = "newsFeatures"];
Parameters
- $var : NewsFeatures
Return values
$thissetPenalties()
Inicio del tiempo de penalties.
public
setPenalties(Penalties $var) : $this
Este segmento solo se aplica a noticias de deportes.
Generated from protobuf field .website.admin.realtime_segments.Penalties penalties = 18 [json_name = "penalties"];
Parameters
- $var : Penalties
Return values
$thissetSecondHalf()
Inicio del segundo tiempo.
public
setSecondHalf(SecondHalf $var) : $this
Este segmento solo se aplica a noticias de deportes.
Generated from protobuf field .website.admin.realtime_segments.SecondHalf second_half = 14 [json_name = "secondHalf"];
Parameters
- $var : SecondHalf
Return values
$thissetSecondHalfExtra()
Inicio del segundo tiempo de la prorroga.
public
setSecondHalfExtra(SecondHalfExtra $var) : $this
Este segmento solo se aplica a noticias de deportes.
Generated from protobuf field .website.admin.realtime_segments.SecondHalfExtra second_half_extra = 17 [json_name = "secondHalfExtra"];
Parameters
- $var : SecondHalfExtra
Return values
$thissetSubstitutedPlayers()
Cambio de jugadores dónde solo indicamos los que salen.
public
setSubstitutedPlayers(SubstitutedPlayers $var) : $this
Este segmento solo se aplica a noticias de deportes.
Generated from protobuf field .website.admin.realtime_segments.SubstitutedPlayers substituted_players = 9 [json_name = "substitutedPlayers"];
Parameters
- $var : SubstitutedPlayers
Return values
$thissetSubstitutions()
Cambios de jugadores.
public
setSubstitutions(Substitutions $var) : $this
Este segmento solo se aplica a noticias de deportes.
Generated from protobuf field .website.admin.realtime_segments.Substitutions substitutions = 8 [json_name = "substitutions"];
Parameters
- $var : Substitutions
Return values
$thissetTeams()
Información del equipo local y visitante junto con su alineación inicial.
public
setTeams(Teams $var) : $this
Este segmento solo se aplica a noticias de deportes.
Generated from protobuf field .website.admin.realtime_segments.Teams teams = 20 [json_name = "teams"];
Parameters
- $var : Teams
Return values
$thissetTweet()
Post de twitter.
public
setTweet(Tweet $var) : $this
Generated from protobuf field .website.admin.realtime_segments.Tweet tweet = 6 [json_name = "tweet"];
Parameters
- $var : Tweet
Return values
$thissetVimeoVideo()
Video de Vimeo.
public
setVimeoVideo(VimeoVideo $var) : $this
Generated from protobuf field .website.admin.realtime_segments.VimeoVideo vimeo_video = 4 [json_name = "vimeoVideo"];
Parameters
- $var : VimeoVideo
Return values
$thissetYoutubeVideo()
Video de YouTube.
public
setYoutubeVideo(YoutubeVideo $var) : $this
Generated from protobuf field .website.admin.realtime_segments.YoutubeVideo youtube_video = 3 [json_name = "youtubeVideo"];
Parameters
- $var : YoutubeVideo