RealtimeSegment
extends Message
in package
Generated from protobuf message <code>website.admin.realtime_segments.RealtimeSegment</code>
Table of Contents
Properties
- $content : mixed
- Contenido HTML.
- $create_time : mixed
- Output only. Fecha de creación del segmento.
- $data : mixed
- Generated from protobuf field <code>.website.admin.realtime_segments.SegmentData data = 8 [json_name = "data"];</code>
- $data_type : mixed
- Output only. Enumeración con el tipo de dato del segmento.
- $event_time : mixed
- General news only field. Fecha y hora del acontecimiento.
- $id : mixed
- Generated from protobuf field <code>string id = 1 [json_name = "id"];</code>
- $minutes : mixed
- Número de minutos que han transcurrido en el partido para asociarlo al segmento. Solo se aplica a segmentos de noticias de deportes.
- $news : mixed
- Noticia a la que pertenece.
- $update_time : mixed
- Output only.
Methods
- __construct() : mixed
- Constructor.
- clearCreateTime() : mixed
- clearData() : mixed
- clearEventTime() : mixed
- clearUpdateTime() : mixed
- getContent() : string
- Contenido HTML.
- getCreateTime() : Timestamp|null
- Output only. Fecha de creación del segmento.
- getData() : SegmentData|null
- Generated from protobuf field <code>.website.admin.realtime_segments.SegmentData data = 8 [json_name = "data"];</code>
- getDataType() : int
- Output only. Enumeración con el tipo de dato del segmento.
- getEventTime() : Timestamp|null
- General news only field. Fecha y hora del acontecimiento.
- getId() : string
- Generated from protobuf field <code>string id = 1 [json_name = "id"];</code>
- getMinutes() : int|string
- Número de minutos que han transcurrido en el partido para asociarlo al segmento. Solo se aplica a segmentos de noticias de deportes.
- getNews() : string
- Noticia a la que pertenece.
- getUpdateTime() : Timestamp|null
- Output only.
- hasCreateTime() : mixed
- hasData() : mixed
- hasEventTime() : mixed
- hasUpdateTime() : mixed
- setContent() : $this
- Contenido HTML.
- setCreateTime() : $this
- Output only. Fecha de creación del segmento.
- setData() : $this
- Generated from protobuf field <code>.website.admin.realtime_segments.SegmentData data = 8 [json_name = "data"];</code>
- setDataType() : $this
- Output only. Enumeración con el tipo de dato del segmento.
- setEventTime() : $this
- General news only field. Fecha y hora del acontecimiento.
- setId() : $this
- Generated from protobuf field <code>string id = 1 [json_name = "id"];</code>
- setMinutes() : $this
- Número de minutos que han transcurrido en el partido para asociarlo al segmento. Solo se aplica a segmentos de noticias de deportes.
- setNews() : $this
- Noticia a la que pertenece.
- setUpdateTime() : $this
- Output only.
Properties
$content
Contenido HTML.
protected
mixed
$content
= ''
Generated from protobuf field string content = 2 [json_name = "content"];
$create_time
Output only. Fecha de creación del segmento.
protected
mixed
$create_time
= null
Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [json_name = "createTime"];
$data
Generated from protobuf field <code>.website.admin.realtime_segments.SegmentData data = 8 [json_name = "data"];</code>
protected
mixed
$data
= null
$data_type
Output only. Enumeración con el tipo de dato del segmento.
protected
mixed
$data_type
= 0
Generated from protobuf field .website.admin.realtime_segments.SegmentDataType data_type = 9 [json_name = "dataType"];
$event_time
General news only field. Fecha y hora del acontecimiento.
protected
mixed
$event_time
= null
Generated from protobuf field .google.protobuf.Timestamp event_time = 6 [json_name = "eventTime"];
$id
Generated from protobuf field <code>string id = 1 [json_name = "id"];</code>
protected
mixed
$id
= ''
$minutes
Número de minutos que han transcurrido en el partido para asociarlo al segmento. Solo se aplica a segmentos de noticias de deportes.
protected
mixed
$minutes
= 0
Generated from protobuf field int64 minutes = 5 [json_name = "minutes"];
$news
Noticia a la que pertenece.
protected
mixed
$news
= ''
Generated from protobuf field string news = 7 [json_name = "news"];
$update_time
Output only.
protected
mixed
$update_time
= null
Generated from protobuf field .google.protobuf.Timestamp update_time = 4 [json_name = "updateTime"];
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 $id @type string $content Contenido HTML. @type \Google\Protobuf\Timestamp $create_time Output only. Fecha de creación del segmento. @type \Google\Protobuf\Timestamp $update_time Output only. @type int|string $minutes Número de minutos que han transcurrido en el partido para asociarlo al segmento. Solo se aplica a segmentos de noticias de deportes. @type \Google\Protobuf\Timestamp $event_time General news only field. Fecha y hora del acontecimiento. @type string $news Noticia a la que pertenece. @type \Website\Admin\RealtimeSegments\SegmentData $data @type int $data_type Output only. Enumeración con el tipo de dato del segmento.}
clearCreateTime()
public
clearCreateTime() : mixed
clearData()
public
clearData() : mixed
clearEventTime()
public
clearEventTime() : mixed
clearUpdateTime()
public
clearUpdateTime() : mixed
getContent()
Contenido HTML.
public
getContent() : string
Generated from protobuf field string content = 2 [json_name = "content"];
Return values
stringgetCreateTime()
Output only. Fecha de creación del segmento.
public
getCreateTime() : Timestamp|null
Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [json_name = "createTime"];
Return values
Timestamp|nullgetData()
Generated from protobuf field <code>.website.admin.realtime_segments.SegmentData data = 8 [json_name = "data"];</code>
public
getData() : SegmentData|null
Return values
SegmentData|nullgetDataType()
Output only. Enumeración con el tipo de dato del segmento.
public
getDataType() : int
Generated from protobuf field .website.admin.realtime_segments.SegmentDataType data_type = 9 [json_name = "dataType"];
Return values
intgetEventTime()
General news only field. Fecha y hora del acontecimiento.
public
getEventTime() : Timestamp|null
Generated from protobuf field .google.protobuf.Timestamp event_time = 6 [json_name = "eventTime"];
Return values
Timestamp|nullgetId()
Generated from protobuf field <code>string id = 1 [json_name = "id"];</code>
public
getId() : string
Return values
stringgetMinutes()
Número de minutos que han transcurrido en el partido para asociarlo al segmento. Solo se aplica a segmentos de noticias de deportes.
public
getMinutes() : int|string
Generated from protobuf field int64 minutes = 5 [json_name = "minutes"];
Return values
int|stringgetNews()
Noticia a la que pertenece.
public
getNews() : string
Generated from protobuf field string news = 7 [json_name = "news"];
Return values
stringgetUpdateTime()
Output only.
public
getUpdateTime() : Timestamp|null
Generated from protobuf field .google.protobuf.Timestamp update_time = 4 [json_name = "updateTime"];
Return values
Timestamp|nullhasCreateTime()
public
hasCreateTime() : mixed
hasData()
public
hasData() : mixed
hasEventTime()
public
hasEventTime() : mixed
hasUpdateTime()
public
hasUpdateTime() : mixed
setContent()
Contenido HTML.
public
setContent(string $var) : $this
Generated from protobuf field string content = 2 [json_name = "content"];
Parameters
- $var : string
Return values
$thissetCreateTime()
Output only. Fecha de creación del segmento.
public
setCreateTime(Timestamp $var) : $this
Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [json_name = "createTime"];
Parameters
- $var : Timestamp
Return values
$thissetData()
Generated from protobuf field <code>.website.admin.realtime_segments.SegmentData data = 8 [json_name = "data"];</code>
public
setData(SegmentData $var) : $this
Parameters
- $var : SegmentData
Return values
$thissetDataType()
Output only. Enumeración con el tipo de dato del segmento.
public
setDataType(int $var) : $this
Generated from protobuf field .website.admin.realtime_segments.SegmentDataType data_type = 9 [json_name = "dataType"];
Parameters
- $var : int
Return values
$thissetEventTime()
General news only field. Fecha y hora del acontecimiento.
public
setEventTime(Timestamp $var) : $this
Generated from protobuf field .google.protobuf.Timestamp event_time = 6 [json_name = "eventTime"];
Parameters
- $var : Timestamp
Return values
$thissetId()
Generated from protobuf field <code>string id = 1 [json_name = "id"];</code>
public
setId(string $var) : $this
Parameters
- $var : string
Return values
$thissetMinutes()
Número de minutos que han transcurrido en el partido para asociarlo al segmento. Solo se aplica a segmentos de noticias de deportes.
public
setMinutes(int|string $var) : $this
Generated from protobuf field int64 minutes = 5 [json_name = "minutes"];
Parameters
- $var : int|string
Return values
$thissetNews()
Noticia a la que pertenece.
public
setNews(string $var) : $this
Generated from protobuf field string news = 7 [json_name = "news"];
Parameters
- $var : string
Return values
$thissetUpdateTime()
Output only.
public
setUpdateTime(Timestamp $var) : $this
Generated from protobuf field .google.protobuf.Timestamp update_time = 4 [json_name = "updateTime"];
Parameters
- $var : Timestamp