GetRequest
extends Message
in package
Generated from protobuf message <code>website.admin.realtime_segments.GetRequest</code>
Table of Contents
Properties
- $id : mixed
- Generated from protobuf field <code>string id = 1 [json_name = "id"];</code>
- $news : mixed
- Noticia a la que pertenece.
Methods
- __construct() : mixed
- Constructor.
- getId() : string
- Generated from protobuf field <code>string id = 1 [json_name = "id"];</code>
- getNews() : string
- Noticia a la que pertenece.
- setId() : $this
- Generated from protobuf field <code>string id = 1 [json_name = "id"];</code>
- setNews() : $this
- Noticia a la que pertenece.
Properties
$id
Generated from protobuf field <code>string id = 1 [json_name = "id"];</code>
protected
mixed
$id
= ''
$news
Noticia a la que pertenece.
protected
mixed
$news
= ''
Generated from protobuf field string news = 2 [json_name = "news"];
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 $news Noticia a la que pertenece.}
getId()
Generated from protobuf field <code>string id = 1 [json_name = "id"];</code>
public
getId() : string
Return values
stringgetNews()
Noticia a la que pertenece.
public
getNews() : string
Generated from protobuf field string news = 2 [json_name = "news"];
Return values
stringsetId()
Generated from protobuf field <code>string id = 1 [json_name = "id"];</code>
public
setId(string $var) : $this
Parameters
- $var : string
Return values
$thissetNews()
Noticia a la que pertenece.
public
setNews(string $var) : $this
Generated from protobuf field string news = 2 [json_name = "news"];
Parameters
- $var : string