GetNewsRequest
extends Message
in package
Generated from protobuf message <code>website.web.realtime.GetNewsRequest</code>
Table of Contents
Properties
- $name : mixed
- News ID.
Methods
- __construct() : mixed
- Constructor.
- getName() : string
- News ID.
- setName() : $this
- News ID.
Properties
$name
News ID.
protected
mixed
$name
= ''
Format: realtime-news/1234
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 News ID. Format: realtime-news/1234}
getName()
News ID.
public
getName() : string
Format: realtime-news/1234
Generated from protobuf field string name = 1 [json_name = "name"];
Return values
stringsetName()
News ID.
public
setName(string $var) : $this
Format: realtime-news/1234
Generated from protobuf field string name = 1 [json_name = "name"];
Parameters
- $var : string